[Bioperl-l] TreeIO::nexus - multiple trees

Heroen Verbruggen heroen.verbruggen at ugent.be
Mon Dec 12 04:37:15 EST 2005


Dear all,

There seems to be a bug in the TreeIO/nexus.pm module. When I tried parsing
a file with multiple trees, I only got every other tree. The problem is that
the parser matches whitespace after each semicolon and requires whitespace
before the subsequent tree (regex on lines 166-167). I've solved it by
removing the terminal whitespace from the regex.

Cheers,

Heroen




More information about the Bioperl-l mailing list