[Biopython-dev] [Bug 2382] Generic Roche or GSFlex "FASTA" parser

bugzilla-daemon at portal.open-bio.org bugzilla-daemon at portal.open-bio.org
Wed Oct 17 08:06:51 UTC 2007


http://bugzilla.open-bio.org/show_bug.cgi?id=2382


biopython-bugzilla at maubp.freeserve.co.uk changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Generic FASTA parser        |Generic Roche or GSFlex
                   |                            |"FASTA" parser




------- Comment #10 from biopython-bugzilla at maubp.freeserve.co.uk  2007-10-17 04:06 EST -------
Now that I'm clear where these files come from, I would agree with Michiel that
a separate Bio.GSFlex or Bio.Roche module would make more sense.  I've added
these keywords to the bug summary (to help anyone searching in future).

P.S. From Michiel's example, you could use the existing SeqRecord annotations
dictionary if you wanted to avoid adding a new attribute to the objects on the
fly.

for seqrecord, quality in zip(seqrecords, qualities):
    #seqrecord.quality = quality
    #If you would rather use the existing dictionary:
    seqrecord.annotations["quality"] = quality


-- 
Configure bugmail: http://bugzilla.open-bio.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the Biopython-dev mailing list