Hi,
I want to select unmapped reads in my bam file generated by bwa. When I use samtools view -f 4, it also selects some reads with flag 141 which does not contain 4. I can see that those reads are not mapped, but isn't -f 4 option supposed to pick up only those reads that have 4 bit set?
I want to select unmapped reads in my bam file generated by bwa. When I use samtools view -f 4, it also selects some reads with flag 141 which does not contain 4. I can see that those reads are not mapped, but isn't -f 4 option supposed to pick up only those reads that have 4 bit set?
Comment