Closed Marjan-Hosseini closed 11 months ago
When get_forward_sequence()
returns None, it is because the SAM/BAM record omits the sequence (so e.g. in SAM the SEQ field is *
). It would appear that sorted.bam contains such records but this reform.py code does not handle them.
You should probably report this as a squigualiser issue.
I have a bam file basecalled using dorado with the following:
Then I am trying to re-squiggle to change the move table produced by dorado, since dorado gives a fix stride = 5. To be able to use squigualiser command, first I have to get a .paf file which is needed for that purpose:
It gives me the following error: reform.py", line 77, in run len_seq = len(sam_record.get_forward_sequence()) - kmer_length + 1 # to get the number of kmers TypeError: object of type 'NoneType' has no len()
I even tried base call using slow5-dorado, but it no reads are basecalled:
Samples/s: 0.000000e+00