-
Notifications
You must be signed in to change notification settings - Fork 4
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
Maaps #52
Maaps #52
Conversation
Conflicts: requirements.txt
ez merge?
Conflicts: .travis.yml setup.py
@demis001 can you help me understand the code here?. A set will not maintain order so I can't tell what the Also, I can't tell if the output is consistent (it is different in python 3 and python 2).
This corresponds to a place in the sequence which has:
Understanding this will help me to get the tests working. |
I have tested for Python 2, not for Python 3. The input fasta file is a CDS The purpose of "indexm = m.index(list(items)[0])" is to get the position Since the last position of the codon is 993 on the CDS string, the exact I don't know whether the "set" behaves the same under python 2 and 3. Dereje On Fri, Aug 21, 2015 at 4:23 PM, Mike Panciera [email protected]
|
Could you explain how AA position is different from nt position? |
"AA position" is amino acid position after translation, nt position is the On Mon, Aug 24, 2015 at 11:47 AM, Mike Panciera [email protected]
|
This is working well, but the output is inconsistent--for example Additionally, the Amino Acid positions are incorrect. Everything else looks good. I am working on fixing these things. @InaMBerry, do you want one line per codon, or one line per non-degenerate base, or do you not care? (either way you get the same amount of information, it just changes how it's presented. |
# print ambi_codon["Y"] | ||
for key, codon in sorted(codon_list.items()): | ||
# print "key: ", key , "codon:", codon | ||
if list_overlap(codon, ambi_nucl): |
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 seems that there is some redundancy here
I think this can replace the if statement and should be quite a bit faster than the current implementation
items = set(m).intersection(ambi_nucl)
if items:
Wait, is this pull request already merged? Can we close it? |
Sorry, ignore that. I'm confused why the pull request comparison is not showing the latest commit |
${in_genbank} = tests/testinput/sequence.gb | ||
|
||
*** Test Cases *** | ||
TestAmos2Fastq |
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.
Think this should be TestCtleptop
The buid checks out, you can review if you again if youlike, although not much has changed. |
#22