We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 658026a commit 083360eCopy full SHA for 083360e
src/varity/vcf_to_hgvs/protein.clj
@@ -179,10 +179,10 @@
179
180
(defn- ter-site-same-pos?
181
[ref-prot-seq alt-prot-seq]
182
- (let [ref-ter-pos (count ref-prot-seq)
183
- alt-ter-pos (inc (count (first (string/split alt-prot-seq #"\*"))))]
184
- (and (string/includes? ref-prot-seq "*")
185
- (string/includes? alt-prot-seq "*")
+ (and (string/includes? ref-prot-seq "*")
+ (string/includes? alt-prot-seq "*")
+ (let [ref-ter-pos (count ref-prot-seq)
+ alt-ter-pos (inc (count (first (string/split alt-prot-seq #"\*"))))]
186
(= ref-ter-pos alt-ter-pos))))
187
188
(defn- cds-start-upstream?
0 commit comments