How can I filter out reads who or whose pairs are unmapped in samtools?
I tried using "samtools view -F 4 -F 8 SAMFILE". However, this command just allows filtering out those whose pairs are unmapped (only "-F 8" is effective).
I wonder if it is possible to do the job in one command.
I tried using "samtools view -F 4 -F 8 SAMFILE". However, this command just allows filtering out those whose pairs are unmapped (only "-F 8" is effective).
I wonder if it is possible to do the job in one command.
Comment