I have a bam-file 'stuff.bam' and want to know how many sequences are described in it. I am not getting the same results when using samtools and bamToBed:
...ok, now I count the entries in a conversion of stuff in bed-format:
Why does this give different results, and how can I get the correct number?
--
I am using
samtools-0.1.12a
BEDTools-Version-2.9.0
Code:
[prompt]$ ~/samtools-0.1.12a/samtools view -c stuff.bam 21054492
Code:
[prompt]$ bamToBed -i stuff.bam | wc -l 20567680
--
I am using
samtools-0.1.12a
BEDTools-Version-2.9.0
Comment