From 7b529fbd62cea868c65d57380bf16b5434f816b0 Mon Sep 17 00:00:00 2001 From: Oliver Schwengers Date: Tue, 24 Sep 2024 16:39:20 +0200 Subject: [PATCH] fix wrong original seq id for provided replicons #326 --- bakta/utils.py | 1 - 1 file changed, 1 deletion(-) diff --git a/bakta/utils.py b/bakta/utils.py index e1671a00..7be14693 100644 --- a/bakta/utils.py +++ b/bakta/utils.py @@ -460,7 +460,6 @@ def qc_contigs(contigs: Sequence[dict], replicons: Dict[str, dict]) -> Tuple[Seq if(replicon['name']): contig['name'] = replicon['name'] if(not cfg.keep_contig_headers): - contig['orig_id'] = contig['id'] contig['id'] = replicon['new_locus_id'] if replicon['new_locus_id'] else contig['simple_id'] contig.pop('simple_id')