[Bioperl-guts-l] [Bug 2211] New: TreeIO::nexus parsing problem for taxa with spaces

bugzilla-daemon at portal.open-bio.org bugzilla-daemon at portal.open-bio.org
Sat Feb 17 23:09:18 EST 2007


           Summary: TreeIO::nexus parsing problem for taxa with spaces
           Product: BioPerl
           Version: main-trunk
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core Components
        AssignedTo: bioperl-guts-l at bioperl.org
        ReportedBy: jason at open-bio.org
         QAContact: jason at open-bio.org
                CC: ffnt at uaf.edu

>From Naoki Takebayashi

1. When it is reading in tree with "translate" (numbers to actual taxon),
it had problem with the taxon names with space.



   1   'Allium drummondii',
   2   'Allium cernuum',
   3    A.cyaneum
   TREE onion = [&R] ((1,2),3);

The taxon names for the first two nodes become both 'Allium.  Also it
wasn't removing the trailing spaces for the last taxon, so it became
"A.cyaneum  ".

2. nexus format specifies that in the tree statement, it can have *
before the tree name to indicate that the tree is the default tree.
For example:

        TREE * onionGrp =  [&R]

It had troubles reading the trees with *, and it was skipping them.

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 Bioperl-guts-l mailing list