Skip to content

Commit

Permalink
add the rest of the types
Browse files Browse the repository at this point in the history
  • Loading branch information
nathandunn committed Jan 29, 2021
1 parent d2fc35f commit ab4fb45
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions apollo/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,9 @@ 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', 'Shine_Dalgarno_sequence'):
'gene', 'mRNA', 'exon', 'CDS', 'terminator', 'tRNA', 'snRNA', 'snoRNA', 'ncRNA', 'rRNA', 'miRNA',
'repeat_region', 'transposable_element', 'pseudogene', 'transcript', 'Shine_Dalgarno_sequence',
'non_canonical_three_prime_splice_site', 'non_canonical_five_prime_splice_site'):
return feature.type
else:
return 'exon'
Expand Down

0 comments on commit ab4fb45

Please sign in to comment.