Open panxiaoguang opened 2 years ago
I find the reson, in the line440, sometimes self.sequence[ref_cur-1].nt
would be an empty dict.? I don't know why?
This may be due to the malformed CIGAR string. Line 440 deals with 'I' (insertion), which should not be in the first place a CIGAR string. You can check whether in your input file some CIGAR strings begin with 'I'.
This may be due to the malformed CIGAR string. Line 440 deals with 'I' (insertion), which should not be in the first place a CIGAR string. You can check whether in your input file some CIGAR strings begin with 'I'.
I found you din't use --eqx
when you use minimap2 to align nanopore reads, so your cigar string will not contain "=", But the cg tag in my PAF file both have =
and x
, so your code will not deal with "=" ?
Yes, no need to use --eqx
in minimap2. 'M' includes both '=' and 'x'.
Hi, I met an error like this, do you know why ?