Package Bio :: Package Phylo :: Module PhyloXMLIO :: Class Writer
[hide private]
[frames] | no frames]

Class Writer

source code

object --+
         |
        Writer

Methods for serializing a PhyloXML object to XML.
Instance Methods [hide private]
 
__init__(self, phyloxml)
Build an ElementTree from a PhyloXML object.
source code
 
write(self, file, encoding='utf-8', indent=True) source code
 
phyloxml(self, obj) source code
 
other(self, obj) source code
 
phylogeny(self, obj)
Serialize a {http://www.phyloxml.org}phylogeny and its subnodes, in order.
source code
 
clade(self, obj)
Serialize a {http://www.phyloxml.org}clade and its subnodes, in order.
source code
 
accession(self, obj)
Serialize a {http://www.phyloxml.org}accession and its subnodes, in order.
source code
 
annotation(self, obj)
Serialize a {http://www.phyloxml.org}annotation and its subnodes, in order.
source code
 
binary_characters(self, obj)
Serialize a binary_characters node and its subnodes.
source code
 
clade_relation(self, obj)
Serialize a {http://www.phyloxml.org}clade_relation and its subnodes, in order.
source code
 
color(self, obj)
Serialize a {http://www.phyloxml.org}color and its subnodes, in order.
source code
 
confidence(self, obj)
Serialize a {http://www.phyloxml.org}confidence and its subnodes, in order.
source code
 
date(self, obj)
Serialize a {http://www.phyloxml.org}date and its subnodes, in order.
source code
 
distribution(self, obj)
Serialize a {http://www.phyloxml.org}distribution and its subnodes, in order.
source code
 
domain(self, obj)
Serialize a domain node.
source code
 
domain_architecture(self, obj)
Serialize a {http://www.phyloxml.org}domain_architecture and its subnodes, in order.
source code
 
events(self, obj)
Serialize a {http://www.phyloxml.org}events and its subnodes, in order.
source code
 
id(self, obj)
Serialize a {http://www.phyloxml.org}id and its subnodes, in order.
source code
 
node_id(self, obj)
Serialize a {http://www.phyloxml.org}node_id and its subnodes, in order.
source code
 
point(self, obj)
Serialize a {http://www.phyloxml.org}point and its subnodes, in order.
source code
 
polygon(self, obj)
Serialize a {http://www.phyloxml.org}polygon and its subnodes, in order.
source code
 
property(self, obj)
Serialize a {http://www.phyloxml.org}property and its subnodes, in order.
source code
 
reference(self, obj)
Serialize a {http://www.phyloxml.org}reference and its subnodes, in order.
source code
 
sequence(self, obj)
Serialize a {http://www.phyloxml.org}sequence and its subnodes, in order.
source code
 
sequence_relation(self, obj)
Serialize a {http://www.phyloxml.org}sequence_relation and its subnodes, in order.
source code
 
taxonomy(self, obj)
Serialize a {http://www.phyloxml.org}taxonomy and its subnodes, in order.
source code
 
uri(self, obj)
Serialize a {http://www.phyloxml.org}uri and its subnodes, in order.
source code
 
alt(self, obj)
Serialize a simple {http://www.phyloxml.org}alt node.
source code
 
branch_length(self, obj)
Serialize a simple {http://www.phyloxml.org}branch_length node.
source code
 
lat(self, obj)
Serialize a simple {http://www.phyloxml.org}lat node.
source code
 
long(self, obj)
Serialize a simple {http://www.phyloxml.org}long node.
source code
 
maximum(self, obj)
Serialize a simple {http://www.phyloxml.org}maximum node.
source code
 
minimum(self, obj)
Serialize a simple {http://www.phyloxml.org}minimum node.
source code
 
value(self, obj)
Serialize a simple {http://www.phyloxml.org}value node.
source code
 
width(self, obj)
Serialize a simple {http://www.phyloxml.org}width node.
source code
 
blue(self, obj)
Serialize a simple {http://www.phyloxml.org}blue node.
source code
 
duplications(self, obj)
Serialize a simple {http://www.phyloxml.org}duplications node.
source code
 
green(self, obj)
Serialize a simple {http://www.phyloxml.org}green node.
source code
 
losses(self, obj)
Serialize a simple {http://www.phyloxml.org}losses node.
source code
 
red(self, obj)
Serialize a simple {http://www.phyloxml.org}red node.
source code
 
speciations(self, obj)
Serialize a simple {http://www.phyloxml.org}speciations node.
source code
 
bc(self, obj)
Serialize a simple {http://www.phyloxml.org}bc node.
source code
 
code(self, obj)
Serialize a simple {http://www.phyloxml.org}code node.
source code
 
common_name(self, obj)
Serialize a simple {http://www.phyloxml.org}common_name node.
source code
 
desc(self, obj)
Serialize a simple {http://www.phyloxml.org}desc node.
source code
 
description(self, obj)
Serialize a simple {http://www.phyloxml.org}description node.
source code
 
location(self, obj)
Serialize a simple {http://www.phyloxml.org}location node.
source code
 
mol_seq(self, obj)
Serialize a simple {http://www.phyloxml.org}mol_seq node.
source code
 
name(self, obj)
Serialize a simple {http://www.phyloxml.org}name node.
source code
 
rank(self, obj)
Serialize a simple {http://www.phyloxml.org}rank node.
source code
 
scientific_name(self, obj)
Serialize a simple {http://www.phyloxml.org}scientific_name node.
source code
 
symbol(self, obj)
Serialize a simple {http://www.phyloxml.org}symbol node.
source code
 
synonym(self, obj)
Serialize a simple {http://www.phyloxml.org}synonym node.
source code
 
type(self, obj)
Serialize a simple {http://www.phyloxml.org}type node.
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, phyloxml)
(Constructor)

source code 
Build an ElementTree from a PhyloXML object.
Overrides: object.__init__