[Biopython-dev] [Biopython - Bug #3317] (Resolved) Parsing Stockholm files fails with some sequence IDs

redmine at redmine.open-bio.org redmine at redmine.open-bio.org
Mon Jan 30 15:59:43 UTC 2012

Issue #3317 has been updated by Peter Cock.

Status changed from New to Resolved
% Done changed from 0 to 100

Bug #3317: Parsing Stockholm files fails with some sequence IDs

Author: Connor McCoy
Status: Resolved
Priority: Normal
Assignee: Biopython Dev Mailing List
Category: Main Distribution
Target version: 

I ended up with a stockholm file where some sequence IDs end with "/MN1-00", e.g.


This can't be parsed by the BioPython AlignIO module - it fails attempting to convert "MN1" to an integer.

I wrote a quick patch, which just returns the default value if the type conversion fails:

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

More information about the Biopython-dev mailing list