thank you for the website! i have found, that i've got 4 Flag, but i still can't understand, where do i need to use -f
samtools view manual
Hi! Could you please explain me the differense between -f and -F in samtools view while filtering bam file?
• 3,265 views
•
link
1 answer
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 :)
• 0 views
•
link
Log in to answer this question.
What is unclear based on the entry in the manual?