[Biopython (old issues only) - Bug #2597] Enforce alphabet letters in Seq objects
[email protected] Thu, 19 Jan 2017 16:59:13 +0000
| Newsgroups | gmane.comp.python.bio.devel |
|---|---|
| Message-ID | <redmine.journal-15389.20170119165913.ebbad53aa4dc0a70@redmine.open-bio.org> |
Issue #2597 has been updated by Peter Cock. Assignee changed from Biopython Dev Mailing List to Peter Cock Moved to GitHub as https://github.com/biopython/biopython/issues/1040 ---------------------------------------- Bug #2597: Enforce alphabet letters in Seq objects https://redmine.open-bio.org/issues/2597#change-15389 * Author: Peter Cock * Status: In Progress * Priority: Normal * Assignee: Peter Cock * Category: Main Distribution * Target version: Not Applicable * URL: ---------------------------------------- If a Seq object is created with an alphabet with a pre-defined set of letters (e.g. the IUPAC alphabets) then I think Biopython should validate that the sequence does indeed only use those letters. This will catch mis-use of ambiguous sequences with non-ambiguous alphabets, letters in an unexpected case, and most importantly any unexpected symbols (e.g. from a parsing problem). This will impose a performance overhead - which can be avoided if the user instead chooses to use a generic dna/rna/protein alphabet which does not list the letters expected. Note that we will have to resolve Bug 2532 before doing this, as currently some parts of Biopython are mis-using the upper case only IUPAC alphabet objects with mixed case sequences. ---Files-------------------------------- bug2597.patch (459 Bytes) -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here and login: http://redmine.open-bio.org _______________________________________________ Biopython-dev mailing list [email protected] http://mailman.open-bio.org/mailman/listinfo/biopython-dev