Hello,
I think the main point is to know if you are interested in unmapped reads (as you said) or somehow unmapped pairs.
If you are interested in unmapped reads, you don't need to query for the mate, so the condition would be just "unmapped".
If you are interested in a fully unmapped read pair, then you need to ask for the current read and it's pair to be unpammed: "unmapped and mate_is_unmapped"
If you are interested in read pairs that are not fully mapped (one end mapped but the other end unmapped), then you need to ask for reads which some of the ends are unmapped:
"unmapped or mate_is_unmapped"
For the mapped ones, you musy add "not" in front of the condition, again taking into consideration if you need only reads, or read pairs, and if those read pairs have to be fully mapped of half mapped.
El dia dimecres, 9 de juny de 2021 a les 15:57:19 UTC+2,
kdb....@gmail.com va escriure: