Hello,
After mapping Nanopore reads to reference genome with ngmlr, I converted the output to .bam with samtools and found that some part of information about mapping in CIGAR string was lost.
I tried to map again with using --bam-fix function of ngmlr, and now I don't really understand how to process my output .sam files (I am going to search for structural variations).
I tried to convert these fixed .sam files to .bam with samtools, and received an error:
[W::sam_read1] Parse error at line 347854
[main_samview] truncated file.
Which software I can proceed my data? Maybe there is another data format for long read data I don't know?
Many thanks, Anastasiia
Did the suggestion solve the problem? If so please mark the answer as accepted.