Post date: Nov 09, 2013 11:3:14 PM
I used the following command to calculate the number of reads at each site (row, only includes sites with at least one read) for each individual (column). This is written to a file called depth.txt.
samtools depth aln*sorted.bam > depth.txt