Skip to content

Commit

Permalink
should fix the addition of the Shine_Dalgarno_sequence
Browse files Browse the repository at this point in the history
  • Loading branch information
nathandunn committed Jan 29, 2021
1 parent 446cdac commit 6ebc3db
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ Or with the Arrow client:
History
-------

- 4.2.10
- Bugfix handling Shine-Dalgarno sequences (https://github.com/galaxy-genome-annotation/python-apollo/issues/48)
- 4.2.9
- Bugfix to update_organism when using suppress_output
- 4.2.8
Expand Down
4 changes: 2 additions & 2 deletions apollo/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
noncoding_transcript_types = ['transcript', 'tRNA', 'snRNA', 'snoRNA', 'ncRNA', 'rRNA', 'mRNA', 'miRNA', 'guide_RNA',
'RNase_P_RNA', 'telomerase_RNA', 'SRP_RNA', 'lnc_RNA', 'RNase_MRP_RNA', 'scRNA', 'piRNA',
'tmRNA', 'enzymatic_RNA']
single_level_feature_types = ["repeat_region", "terminator", "shine_dalgarno_sequence", "transposable_element"]
single_level_feature_types = ["repeat_region", "terminator", "transposable_element"]


def WAAuth(parser):
Expand Down Expand Up @@ -89,7 +89,7 @@ def AssertAdmin(user):


def _tnType(feature):
if feature.type in ('gene', 'mRNA', 'exon', 'CDS', 'terminator', 'tRNA', 'snRNA', 'snoRNA', 'ncRNA', 'rRNA', 'miRNA', 'repeat_region', 'transposable_element', 'pseudogene', 'transcript'):
if feature.type in ('gene', 'mRNA', 'exon', 'CDS', 'terminator', 'tRNA', 'snRNA', 'snoRNA', 'ncRNA', 'rRNA', 'miRNA', 'repeat_region', 'transposable_element', 'pseudogene', 'transcript','Shine_Dalgarno_sequence'):
return feature.type
else:
return 'exon'
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

setup(
name="apollo",
version='4.2.9',
version='4.2.10',
description="Apollo API library",
long_description=readme,
author="Helena Rasche;Anthony Bretaudeau;Nathan Dunn",
Expand Down

0 comments on commit 6ebc3db

Please sign in to comment.