Skip to content

Commit

Permalink
making it so that the UTRs are returned with the children
Browse files Browse the repository at this point in the history
  • Loading branch information
adamjohnwright committed May 9, 2019
1 parent 06e3593 commit 91e73b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/rest_api/classes/sequence/core.clj
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,6 @@
[context-left context-right] (if (neg? (- (:start context-obj) (:stop context-obj)))
[(- (:start context-obj) padding) (+ (:stop context-obj) padding)]
[(- (:stop context-obj) padding) (+ (:start context-obj) padding)])

seq-features-with-introns (add-introns seq-features)
positive-features (some->> seq-features-with-introns
(map (fn [feature]
Expand Down
2 changes: 2 additions & 0 deletions src/rest_api/db/sql/sequence.sql
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,6 @@ WHERE n.name = :name
AND (t.tag LIKE "transcript%"
OR t.tag LIKE "CDS%"
OR t.tag LIKE "exon%"
OR t.tag LIKE "three_prime_UTR%"
OR t.tag LIKE "five_prime_UTR%"
OR t.tag LIKE "mRNA%")

0 comments on commit 91e73b4

Please sign in to comment.