Hi! Could you please explain me the differense between -f and -F in samtools view while filtering bam file?
Hi! Could you please explain me the differense between -f and -F in samtools view while filtering bam file?
Hi doramora, those are samtools options,
-f (required flag) -F (filtering flag)
Let say that you want to count all entries mapping to the positive strand, you can use this called "flag", -F 16 where you are filtering the reverse strand.
In this website as well as many others more, you can find a specific number based on what you require or filtering
https://www.samformat.info/sam-format-flag
all the best :)
Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
What is unclear based on the entry in the manual?