In an aligned SAM file, if the two reads of a pair align to multiple different positions in the reference genome, then I will be visualizing multiple records when selecting this pair by its name in the terminal. How can I know just by looking at the records headers, but ignoring their respective flags, which records belong to the same read?
Thanks @d-cameron, yes, multiple alignments for R1 and R2 of the same template have the same name, and I only know how to distinguish if the aligments belong to R1 or R2 through their flags, which I have to check individually at https://broadinstitute.github.io/picard/explain-flags.html. I just wondered if there was another way to know this by checking the records headers other than through their flags to be able to distinguish them faster.