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

Question about deletion in nucleotide to amino acid sequence translation #372

Open
paulovic96 opened this issue Jul 26, 2023 · 0 comments
Open

Comments

@paulovic96
Copy link

Hey:
I have a question about the translation of amino acid sequence from a nucleotide sequence (bunch_translate()).
I understand the gist of the function but I struggle understanding the cases in which a deletion is inserted.
e.g. we have a nucleotide sequence with either length

37 (ny %% 3 == 1): TGTGCGAGTAAATCGAACGAC GGGGAAAGGCTACTGG resulting in
--> TGTGCGAGTAAATCGAACGAC NNN AC GGGGAAAGGCTACTGG

or

38 (ny %% 3 == 2): TGTGCGAGTAAATCGAAC GA CGGGGAAAGGCTACTGGG resulting in
--> TGTGCGAGTAAATCGAAC NNN CGGGGAAAGGCTACTGGG

For the 37 seq a additional "AC" is inserted after the "NNN" instead of dropping a "G" while for the 38 seq "GA" is simply dropped. Why is there a difference between those two cases?

Thank ! :)

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

No branches or pull requests

1 participant