Skip to content

Commit

Permalink
forestall wrong sequence completeness inference
Browse files Browse the repository at this point in the history
  • Loading branch information
oschwengers committed Dec 4, 2023
1 parent bb8366a commit 231788b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bakta/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ def qc_contigs(contigs: Sequence[dict], replicons: Dict[str, dict]) -> Tuple[Seq
contig['complete'] = True
contig['topology'] = bc.TOPOLOGY_CIRCULAR
log.debug('qc: detected Unicycler circular topology via description: id=%s, description=%s', contig['id'], contig['description'])
elif('complete' in contig_description): # detection of public/described sequences
elif('complete' in contig_description and 'complete=false' not in contig_description): # detection of public/described sequences
contig['complete'] = True
contig['topology'] = bc.TOPOLOGY_CIRCULAR
log.debug('qc: detected complete replicon via description: id=%s, description=%s', contig['id'], contig['description'])
Expand Down

0 comments on commit 231788b

Please # to comment.