Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
  • Loading branch information
nathandunn committed Jun 11, 2020
1 parent cf971b4 commit 26cae6e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
11 changes: 3 additions & 8 deletions test-data/gene-top.gff
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
##gff-version 3
##sequence-region Merlin 1 172788
ctg123 example gene 1050 9000 . + . ID=EDEN;Name=EDEN;Note=protein kinase
ctg123 example mRNA 1050 9000 . + . ID=EDEN.1;Parent=EDEN;Name=EDEN.1;Index=1
ctg123 example five_prime_UTR 1050 1200 . + . Parent=EDEN.1
ctg123 example CDS 1201 1500 . + 0 Parent=EDEN.1
ctg123 example CDS 3000 3902 . + 0 Parent=EDEN.1
ctg123 example CDS 5000 5500 . + 0 Parent=EDEN.1
ctg123 example CDS 7000 7608 . + 0 Parent=EDEN.1
ctg123 example three_prime_UTR 7609 9000 . + . Parent=EDEN.1
Merlin GeneMark.hmm mRNA 2 691 . + . ID=Merlin_1_mRNA;Parent=Merlin_1;seqid=Merlin;color=#00ff00
Merlin GeneMark.hmm exon 2 691 . + . ID=Merlin_1_exon;Parent=Merlin_1_mRNA;seqid=Merlin
Merlin GeneMark.hmm CDS 2 691 . + 0 ID=Merlin_1_CDS;Parent=Merlin_1_mRNA;seqid=Merlin
4 changes: 3 additions & 1 deletion test/annotations_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
def parse(path):
in_handle = open(path)
for rec in GFF.parse(in_handle):
yield rec
print("rec -> "+str(rec)+"\n")
for f in rec.features:
print("feature ->" + str(f)+"\n")


class AnnotationsTest(ApolloTestCase):
Expand Down

0 comments on commit 26cae6e

Please sign in to comment.