PhyloSoC:BioPerl integration of the NeXML exchange standard and Bio::Phylo toolkit/HOWTO
This is a HOWTO about the Template:PM module, and how to use it to read and write complete Nexml documents. We will also describe how the Template:PM, Template:PM, and Template:PM modules work for outputting individual objects to nexml.
- 1 Abstract
- 2 Authors
- 3 Introduction
- 4 Design
- 5 Reading/Writing Entire Nexml Documents
- 6 Reading/Writing Individual Datatypes (e.g. trees)
- 7 Differences in Roundtrip (BETTER NAME)
These nexml modules integrate the NeXML exchange standard into BioPerl, facilitating the adoption of this standard and easing the transition from the overworked NEXUS standard. A wrapper was used to allow BioPerl native access to the preferred NeXML parser (Bio::Phylo), allowing Bio::Phylo and NeXML to co-evolve without being encumbered by BioPerl
Nexml functionality in bioperl consists of four modules that allow the user to interact with nexml data in two different ways. Bio::nexml allows users to read/write an entire nexml document, whereas Bio::SeqIO::nexml, Bio::AlignIO::nexml, and Bio::TreeIO::nexml allow the user to only read/write one data type (seqs, alns, or trees, respectively).
Reading/Writing Entire Nexml Documents
Reading and writing a whole nexml document is accomplished with the Bio::Nexml module. The Bio::Nexml module can read a nexml document and maintain many of the data associations allowable by Bio::Phylo (however at this point not all data associations are maintained[link to list])
Reading/Writing Individual Datatypes (e.g. trees)
Differences in Roundtrip (BETTER NAME)
Some things in biophylo were not implemented in Bioperl because it either was very diffcult or did not make sense to