biopython v1.71.0 Bio.Phylo.CDAOIO
I/O function wrappers for the RDF/CDAO file format.
This is an RDF format that conforms to the Comparative Data Analysis Ontology (CDAO). See: http://www.evolutionaryontology.org/cdao
This module requires the librdf Python bindings (http://www.librdf.org)
The CDAOIO.Parser, in addition to parsing text files, can also parse directly from a triple store that implements the Redland storage interface; similarly, the CDAOIO.Writer can store triples in a triple store instead of serializing them to a file.
Link to this section Summary
Format label for librdf
Iterate over the trees in a CDAO file handle
Resolve URI for librdf
Write a trees in CDAO format to the given file handle
Link to this section Functions
Format label for librdf.
Iterate over the trees in a CDAO file handle.
:returns: generator of Bio.Phylo.CDAO.Tree objects.
Resolve URI for librdf.
Write a trees in CDAO format to the given file handle.
:returns: number of trees written.