1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
|
Description: Fix python3.12 string
Bug-Debian: https://bugs.debian.org/1085372
Author: Andreas Tille <tille@debian.org>
Last-Update: 2024-12-05
--- a/src/busco/busco_tools/miniprot.py
+++ b/src/busco/busco_tools/miniprot.py
@@ -197,7 +197,7 @@ class MiniprotAlignRunner(MiniprotRunner
frameshift_events, frameshift_lengths = self.decode_cigar(self.cigar_seq)
sta_line = gff.readline()
sta_seq = sta_line.strip().split("\t")[1]
- self.ata_seq = re.sub("\*", "", sta_seq.upper())
+ self.ata_seq = re.sub(r"\*", "", sta_seq.upper())
self.busco_matches[busco_id].add(gene_id)
|