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 phylogeny and its subnodes, in order.
source code
 
clade(self, obj)
Serialize a clade and its subnodes, in order.
source code
 
accession(self, obj)
Serialize a accession and its subnodes, in order.
source code
 
annotation(self, obj)
Serialize a 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 clade_relation and its subnodes, in order.
source code
 
color(self, obj)
Serialize a color and its subnodes, in order.
source code
 
confidence(self, obj)
Serialize a confidence and its subnodes, in order.
source code
 
date(self, obj)
Serialize a date and its subnodes, in order.
source code
 
distribution(self, obj)
Serialize a distribution and its subnodes, in order.
source code
 
domain(self, obj)
Serialize a domain node.
source code
 
domain_architecture(self, obj)
Serialize a domain_architecture and its subnodes, in order.
source code
 
events(self, obj)
Serialize a events and its subnodes, in order.
source code
 
id(self, obj)
Serialize a id and its subnodes, in order.
source code
 
mol_seq(self, obj)
Serialize a mol_seq and its subnodes, in order.
source code
 
node_id(self, obj)
Serialize a node_id and its subnodes, in order.
source code
 
point(self, obj)
Serialize a point and its subnodes, in order.
source code
 
polygon(self, obj)
Serialize a polygon and its subnodes, in order.
source code
 
property(self, obj)
Serialize a property and its subnodes, in order.
source code
 
reference(self, obj)
Serialize a reference and its subnodes, in order.
source code
 
sequence(self, obj)
Serialize a sequence and its subnodes, in order.
source code
 
sequence_relation(self, obj)
Serialize a sequence_relation and its subnodes, in order.
source code
 
taxonomy(self, obj)
Serialize a taxonomy and its subnodes, in order.
source code
 
uri(self, obj)
Serialize a uri and its subnodes, in order.
source code
 
alt(self, obj)
Serialize a simple alt node.
source code
 
branch_length(self, obj)
Serialize a simple branch_length node.
source code
 
lat(self, obj)
Serialize a simple lat node.
source code
 
long(self, obj)
Serialize a simple long node.
source code
 
maximum(self, obj)
Serialize a simple maximum node.
source code
 
minimum(self, obj)
Serialize a simple minimum node.
source code
 
value(self, obj)
Serialize a simple value node.
source code
 
width(self, obj)
Serialize a simple width node.
source code
 
blue(self, obj)
Serialize a simple blue node.
source code
 
duplications(self, obj)
Serialize a simple duplications node.
source code
 
green(self, obj)
Serialize a simple green node.
source code
 
losses(self, obj)
Serialize a simple losses node.
source code
 
red(self, obj)
Serialize a simple red node.
source code
 
speciations(self, obj)
Serialize a simple speciations node.
source code
 
bc(self, obj)
Serialize a simple bc node.
source code
 
code(self, obj)
Serialize a simple code node.
source code
 
common_name(self, obj)
Serialize a simple common_name node.
source code
 
desc(self, obj)
Serialize a simple desc node.
source code
 
description(self, obj)
Serialize a simple description node.
source code
 
location(self, obj)
Serialize a simple location node.
source code
 
name(self, obj)
Serialize a simple name node.
source code
 
rank(self, obj)
Serialize a simple rank node.
source code
 
scientific_name(self, obj)
Serialize a simple scientific_name node.
source code
 
symbol(self, obj)
Serialize a simple symbol node.
source code
 
synonym(self, obj)
Serialize a simple synonym node.
source code
 
type(self, obj)
Serialize a simple 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__