This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Why sam and paf have different number of lines?

I've tried to run minimap2 using same parameters, one output in SAM format and one PAF format. Are these two files supposed to have same number of lines(except the header in SAM file)? I've observed that SAM file has less lines. Thanks a lot.

alignment

Could you put the minimap2 command you used ?

I sort of know how thing's works, if there's skipped region from the reference(N is cigar) paf will have multi records

1 answer

I think you can find the solution in these issues:

Log in to answer this question.