Skip to content
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

Add extension conditional branch to insertion #119

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nokara26
Copy link
Contributor

@nokara26 nokara26 commented Feb 6, 2025

I added extension branch to insertion.

@nokara26 nokara26 requested review from federkasten and k-kom February 6, 2025 05:01
@nokara26 nokara26 self-assigned this Feb 6, 2025
"chr1" 26773690 "C" "CGCAGCA" {:prefer-insertion? true} '("p.Q1334_R1335insQQ")
;; prefer-insertion?
"chr1" 26773690 "C" "CGCAGCA" {:prefer-insertion? true} '("p.Q1334_R1335insQQ") ;; not actual example (+)
"chr10" 103089678 "T" "TTCC" {:prefer-insertion? true} '("p.*562Eext*1") ;; not actual example (-)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

master branch return value: '("p.E561_*562insE")

(and (some? unit) (= ref-repeat 1) (= alt-repeat 2)) :duplication
(and (some? unit) (pos? alt-repeat)) :repeated-seqs
(and (pos? nprefo) (zero? npalto)) :deletion
(and (pos? nprefo) (pos? npalto)) (if (= base-ppos 1)
:extension
:indel)
(and (zero? nprefo) (pos? npalto)) :insertion
(and (zero? nprefo) (pos? npalto)) (if first-diff-aa-is-ter-site
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

first-diff-aa-is-ter-site is boolean and true when first changed codon is stop codon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant