Open nkkarpov opened 3 weeks ago
Thanks for reporting this!
Steps I think we should take:
I am short with time at the moment + this is easy to handle on the user side so I won't be prioritizing it at the moment, but I would be happy to accept PRs, as long as they follow the steps above.
For example,
edlib.align("ACGT", "", k=1)
returns4
instead of-1
. Additionally, it appears that the CIGAR string and locations are unreliable when the query string is empty, as they containNone
even whenk
is larger than the edit distance.