Entering edit mode
9.8 years ago
QVINTVS_FABIVS_MAXIMVS
★
2.6k
I have a BAM file that has 33X whole genome coverage.
I would like to create a new BAM file from the original that has 10X genome coverage.
Is this the correct method?
samtools view -h -s 0.3 in.bam >10x.bam
Also what methods do you use for fast calculation of whole genome coverage? GATK is bloody slow.
~/programs/jvarkit/dist/bamstats04
is pretty good, but it's a pain to compile with ant. Nevertheless, I managed after a day or so and now I'm happy, it's really useful.