From 7ca2f871efb45f95b7683cdaa0e0544b16bb7a58 Mon Sep 17 00:00:00 2001
From: Sibyl <sibyl@wormbase.org>
Date: Mon, 13 May 2019 15:56:44 +0000
Subject: [PATCH] fix missing 5 prime UTR

---
 src/rest_api/classes/sequence/core.clj | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/rest_api/classes/sequence/core.clj b/src/rest_api/classes/sequence/core.clj
index cb914dd3..03e87d76 100644
--- a/src/rest_api/classes/sequence/core.clj
+++ b/src/rest_api/classes/sequence/core.clj
@@ -296,7 +296,7 @@
                                                  (conj
                                                    (get-spliced-exon-positions positive-features)
                                                    (if (= sequence-strand "+")
-                                                     (first (filter #(= (:type %) :five_primeUTR) positive-features))
+                                                     (first (filter #(= (:type %) :five_prime_UTR) positive-features))
                                                      (first (filter #(= (:type %) :three_prime_UTR) positive-features)))
                                                    (let [feature (if (= sequence-strand "+")
                                                                    (first (filter #(= (:type %) :three_prime_UTR) positive-features))