Skip to content

Commit

Permalink
add translation table qualifier to GenBank output
Browse files Browse the repository at this point in the history
  • Loading branch information
oschwengers committed Nov 26, 2020
1 parent 16262a9 commit 6214cb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bakta/io/genbank.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ def write_genbank(genome, features, genbank_path):
elif(feature['type'] == bc.FEATURE_CDS) or (feature['type'] == bc.FEATURE_SORF):
qualifiers['translation'] = feature['sequence']
qualifiers['codon_start'] = 1
qualifiers['transl_table'] = cfg.translation_table
insdc_feature_type = bc.INSDC_FEATURE_CDS
inference = []
inference.append('ab initio prediction:Prodigal:2.6' if feature['type'] == bc.FEATURE_CDS else 'ab initio prediction:Bakta')
Expand Down Expand Up @@ -136,7 +137,6 @@ def write_genbank(genome, features, genbank_path):
qualifiers['repeat_consensus'] = feature['repeat_consensus']
qualifiers['repeat_length'] = feature['repeat_length']
qualifiers['spacer_length'] = feature['spacer_length']
feature['type'] = 'misc_feature'
insdc_feature_type = bc.INSDC_FEATURE_MISC_FEATURE

strand = None
Expand Down

0 comments on commit 6214cb2

Please sign in to comment.