6 kyu
Protein Synthesis: From DNA to Polypeptide
123 of 262epicbob57
Loading description...
Fundamentals
View
This comment has been reported as {{ abuseKindText }}.
Show
This comment has been hidden. You can view it now .
This comment can not be viewed.
- |
- Reply
- Edit
- View Solution
- Expand 1 Reply Expand {{ comments?.length }} replies
- Collapse
- Spoiler
- Remove
- Remove comment & replies
- Report
{{ fetchSolutionsError }}
-
-
Your rendered github-flavored markdown will appear here.
-
Label this discussion...
-
No Label
Keep the comment unlabeled if none of the below applies.
-
Issue
Use the issue label when reporting problems with the kata.
Be sure to explain the problem clearly and include the steps to reproduce. -
Suggestion
Use the suggestion label if you have feedback on how this kata can be improved.
-
Question
Use the question label if you have questions and/or need help solving the kata.
Don't forget to mention the language you're using, and mark as having spoiler if you include your solution.
-
No Label
- Cancel
Commenting is not allowed on this discussion
You cannot view this solution
There is no solution to show
Please sign in or sign up to leave a comment.
The description (not the coding window) should mention that
CODON_DICT
is preloaded and available.JS fork resolving all issues below, including preloaded codon dictionary
codonDict
and also not marked issue by gergeleh listed here.Approved.
The separate issue goes for the description appearance — it seems like something went wrong during formatting :/
Fixed in your fork.
JS testing framework should be upgraded to Node.JS 18 + testing should be rewritten according to the testing guidelines.
Fixed in your fork.
T -> A should be added to the description for the transcription into rna.
Fixed in this fork
Nice Kata, and nice proposal. Made me remember of my Bioinformatics classes on univesity.
In the example,
"AUG UCG AGC GAU ACU UAG"
becomes
"Met Ser Ser Thr Asp Stop"
It looks like the second-to-last and third-to-last elements need to be swapped in one of these. (GAU should map to Asp, ACU to Thr)
fixed, for the future please mark that kind of messages as an Issues to be more noticeable :D
Nice Kata (solved in JavaScript). However there should be a preloaded list. It's very tiring and time consuming to write a list by hand and doesn't have any meaning in the challenge itself (i.e. it's not a part of the puzzle, it's just an inconvenience).
Ported to Python, with preloaded list added.
btw, when you do a translation, put the link to it in your message. It's easier for us to access it.
Aight https://www.codewars.com/kumite/5dc8f9d668ce6f0013fd75f5?sel=5dc8f9d668ce6f0013fd75f5
No preloaded list?
Apparently not. :/
So, today's contribution:
@JohanWiltink and it's now implemented as preloaded in JS translation, thx :D
Interesting Kata, keep up the good work :D
Thanks! Nice regexing, by the way!