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

AARead.ORFs doesn't return all ORFs. #691

Open
bamueh opened this issue Nov 7, 2019 · 0 comments
Open

AARead.ORFs doesn't return all ORFs. #691

bamueh opened this issue Nov 7, 2019 · 0 comments
Labels

Comments

@bamueh
Copy link
Contributor

bamueh commented Nov 7, 2019

In the the sequence SHVANSGYMGMTPRLGLESLLE*A*MIRVASQ, the AARead.ORFs function only returns the ORF GMTPRLGLESLLE but omits TPRLGLESLLE.

Here's a failing test:

def testTwoStartsOneStop(self):
    """
    A sequence with two start codons and one stop codon must return two
    orfs.
    """
    read = AARead('id', 'SHVANSGYMGMTPRLGLESLLE*A*MIRVASQ')
    orfs = list(read.ORFs(False))
    self.assertEqual(2, len(orfs))
@bamueh bamueh added the bug label Nov 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant