Skip to content

Commit

Permalink
update CDS Pyrodigal inference tag in GFF3
Browse files Browse the repository at this point in the history
  • Loading branch information
oschwengers committed Nov 13, 2024
1 parent 30b3928 commit a70608f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bakta/io/gff.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ def write_features(data: dict, features_by_sequence: Dict[str, dict], gff3_path:
if(cfg.compliant):
gene_id = f"{feat['locus']}_gene"
annotations['Parent'] = gene_id
annotations['inference'] = 'EXISTENCE:non-experimental evidence, no additional details recorded' if feat.get('source', None) == bc.CDS_SOURCE_USER else 'ab initio prediction:Prodigal:2.6'
annotations['inference'] = 'EXISTENCE:non-experimental evidence, no additional details recorded' if feat.get('source', None) == bc.CDS_SOURCE_USER else 'ab initio prediction:Pyrodigal:3.5'
annotations['Dbxref'], annotations['Note'] = insdc.revise_dbxref_insdc(feat['db_xrefs']) # remove INSDC invalid DbXrefs
annotations['Note'], ec_number = insdc.extract_ec_from_notes_insdc(annotations, 'Note')
if(ec_number is not None):
Expand Down

0 comments on commit a70608f

Please sign in to comment.