Skip to content

Commit

Permalink
fix rbs_motif None values
Browse files Browse the repository at this point in the history
  • Loading branch information
oschwengers committed Aug 25, 2021
1 parent 539137b commit 0727b25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bakta/features/cds.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def parse_prodigal_output(genome, sequences, gff_path, proteins_path):
cds['gene'] = None
cds['product'] = None
cds['start_type'] = gff_annotations['start_type']
cds['rbs_motif'] = gff_annotations['rbs_motif']
cds['rbs_motif'] = gff_annotations['rbs_motif'] if gff_annotations['rbs_motif'] != 'None' else None
cds['db_xrefs'] = [so.SO_CDS.id]

if(cds['strand'] == bc.STRAND_FORWARD):
Expand Down

0 comments on commit 0727b25

Please sign in to comment.