Closed Jokendo-collab closed 1 year ago
Same error here. Note that error continues to happen even if you 'fix' your SAM file with something like this:
awk '{gsub("M","=",$6)}1'
Of course 'M' is perfectly valid CIGAR in the SAM specification, so this error shouldn't happen.
error continues to happen
@marade try replacing delimiter to "\t"
-F $'\t'
did not work but 'BEGIN { FS=OFS="\t" } <expression>'
did the job.
@asan-emirsaleh this will probably result in incorrect output. Recommended strategy is to run minimap2 with the --eqx
option.
I am getting the following error even though I followed the minimap2 aligmnent and sorted my bam file. How can I go around this?