Hi!
I am trying to parse PAF file generated from minimap2.1 to get primary and supplementary alignments of reads but excluding secundary alignments. In SAM format I would search for flags: 0, 16, 2048 and 2064. Unfortunately I don't currently find a nice way to get the same information out of PAF file.
Does anyone knows how to retrieve supplementary/primary but not secundary alignments from PAF file?