Skip to content

Commit

Permalink
fix wrong original seq id for provided replicons #326
Browse files Browse the repository at this point in the history
  • Loading branch information
oschwengers committed Sep 24, 2024
1 parent a68f625 commit 7b529fb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion bakta/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')

Expand Down

0 comments on commit 7b529fb

Please sign in to comment.