-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix exon/intron boundary determine process and frameshift that affects initiation site #92
Fix exon/intron boundary determine process and frameshift that affects initiation site #92
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #92 +/- ##
==========================================
+ Coverage 46.45% 46.93% +0.48%
==========================================
Files 16 16
Lines 2101 2124 +23
Branches 70 71 +1
==========================================
+ Hits 976 997 +21
- Misses 1055 1056 +1
- Partials 70 71 +1 ☔ View full report in Codecov by Sentry. |
(if (= alt \*) | ||
(cond | ||
(or ref-include-utr-ini-site-boundary | ||
(not (string/starts-with? alt-prot-seq "M"))) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To exclude UTR and initiation site is changed but first amino acid of alt-prot-seq is "M".
src/varity/vcf_to_hgvs/protein.clj
Outdated
exon-ranges)))) | ||
(let [[pos nref] (if (= (first ref) (first alt)) | ||
[(inc pos) (dec nref)] | ||
[pos nref])] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
only check changed position
df0b6eb
to
0587070
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Refactor and generalize overlap-exon-intron-boundary?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for reviewing #93. Approved.
I fixed exon/intron boundary determine process to check position only changed.
And I fixed frameshift that affects initiation site.