Hi All. I wonder if anyone of you have inconsistent mapping result generated by samtools flagstat
and samtools view
command?
My samtools flagstat output is as below:
3217 + 0 in total (QC-passed reads + QC-failed reads)
0 + 0 duplicates
2788 + 0 mapped (86.66%:nan%)
393 + 0 read1
393 + 0 read2
480 + 0 properly paired (61.07%:nan%)
480 + 0 with itself and mate mapped
148 + 0 singletons (18.83%:nan%)
0 + 0 with mate mapped to a different chr
0 + 0 with mate mapped to a different chr (mapQ>=5)
The total mapped reads number is 2788. However, when I did samtools view
and do a read count on those mapped to reference, the number was 2936. I wonder why the number is different in this case.
What represents the number 3217? The total number of reads analized?
What you mean by
analyzed
? It means in this file there are 3217 reads.Sorry for the mistake and thank you for the answer. I was a little confused with my own results of flagstat: