Question: Count Unique Alignments in BAM file
0
gravatar for colin.kern
3.7 years ago by
colin.kern900
United States
colin.kern900 wrote:

I want to get the number of alignments in my bam file that aren't duplicates. I've run Picard Tools to mark duplicates on the bam file, but didn't use the option to actually remove them. I'd prefer not to rerun that step, but I can't figure out how to get a count of this. The samtools flagstat output gives one number (6,689,555) for duplicates, but samtools view -c -F 1024 gives something different (3,266,467). I'm confused.

rna-seq alignment • 1.6k views
ADD COMMENTlink modified 3.7 years ago by geek_y10k • written 3.7 years ago by colin.kern900
0
gravatar for geek_y
3.7 years ago by
geek_y10k
Barcelona
geek_y10k wrote:

You should be using -f instead -F

ADD COMMENTlink written 3.7 years ago by geek_y10k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 948 users visited in the last hour