Skip to content

Commit

Permalink
fix CDS source in GFF3
Browse files Browse the repository at this point in the history
  • Loading branch information
oschwengers committed Nov 13, 2024
1 parent a70608f commit 7b53962
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 @@ -246,7 +246,7 @@ def write_features(data: dict, features_by_sequence: Dict[str, dict], gff3_path:
annotations[bc.INSDC_FEATURE_PSEUDO] = True
if(feat.get('gene', None)): # add gene annotation if available
annotations['gene'] = feat['gene']
source = '?' if feat.get('source', None) == bc.CDS_SOURCE_USER else 'Prodigal'
source = '?' if feat.get('source', None) == bc.CDS_SOURCE_USER else 'Pyrodigal'
if(cfg.compliant):
gene_id = f"{feat['locus']}_gene"
annotations['Parent'] = gene_id
Expand Down

0 comments on commit 7b53962

Please sign in to comment.