-
-
Notifications
You must be signed in to change notification settings - Fork 547
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
protein-translation: Add canonical data. #997
Changes from 1 commit
aed9084
4c5b8e8
34c34a1
be571bd
135bcbe
a3e63c7
91095fa
a0be642
630c53d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -118,13 +118,13 @@ | |
"expected": ["Methionine","Phenylalanine","Tryptophan"] | ||
}, | ||
{ | ||
"description": "Translation stops if STOP codon present 1", | ||
"description": "Translation stops if STOP codon present in short string", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Perhaps There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. or There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Still need to distinguish between this case and the next... perhaps |
||
"property": "translate", | ||
"strand": "AUGUUUUAA", | ||
"expected": ["Methionine","Phenylalanine"] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
}, | ||
{ | ||
"description": "Translation stops if codon present 2", | ||
"description": "Translation stops if codon present in longer string", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Per my above comment, perhaps a change in wording? |
||
"property": "translate", | ||
"strand": "UGGUGUUAUUAAUGGUUU", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Put some thought put into which sequences are easiest for humans to read and distinguish. |
||
"expected": ["Tryptophan","Cysteine","Tyrosine"] | ||
|
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.
The type returned by
translate
should be consistent; until this line, the output oftranslate
has been a string, but now a list is expected. The python test cases use two different propertiesof_codon
andof_rna
for these; something similar would be appropriate.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.
Ah of course - my mistake! I'll correct that 🙂
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.
This feels a lot like what has been discussed recently at #983.
"translate_codon"
seems to be an intermediate test of what the description is really asking for. The"translate_codon"
tests may not belong. @petertseng, @Insti thoughts?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.
@rpottsoh I believe @ErikSchierboom beat you to it. See his comments.