-
Notifications
You must be signed in to change notification settings - Fork 18
Gene Finder #8
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
base: master
Are you sure you want to change the base?
Gene Finder #8
Conversation
SeunginLyu
left a comment
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.
It looks good overall! The only suggestion I have is that adding more custom unit tests would be helpful for making sure that your functions all run correctly or not! (strongly recommend doing so for future mini projects)
| @@ -1,8 +1,8 @@ | |||
| # -*- coding: utf-8 -*- | |||
| """ | |||
| YOUR HEADER COMMENT HERE | |||
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.
In future mini projects, please leave a header comment that describes what this code is about. It's going to help you a lot when the code base gets large.
| YOUR HEADER COMMENT HERE | ||
| @author: YOUR NAME HERE | ||
| @author: |
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.
Please write your name. It's like writing your name for any other quizzes or projects.
| stop_codons = ["TAG", "TAA","TGA"] | ||
| for i in range(0,len(dna),3): | ||
| codon = dna[i:i+3] | ||
| for stop in stop_codons: |
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.
you can do if codon in stop_codons:
| """ | ||
| # TODO: implement this | ||
| pass | ||
| return [i for j in range(0,3) for i in find_all_ORFs_oneframe(dna[j:])] |
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.
nice usage of list comprehension! 👍
| import doctest | ||
| doctest.testmod() | ||
| # import doctest | ||
| # # doctest.testmod() |
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.
please remove comments for final code submission
No description provided.