bpp-phyl3
3.0.0
|
The so-called 'Nhx - New Hampshire eXtended' parenthetic format. More...
#include <Bpp/Phyl/Io/Nhx.h>
Classes | |
struct | Property |
Public Member Functions | |
Nhx (bool useTagsAsPptNames=true) | |
Build a new Nhx reader/writer. More... | |
virtual | ~Nhx () |
std::unique_ptr< TreeTemplate< Node > > | parenthesisToTree (const std::string &description) const |
std::unique_ptr< PhyloTree > | parenthesisToPhyloTree (const std::string &description) const |
std::string | treeToParenthesis (const TreeTemplate< Node > &tree) const |
std::string | treeToParenthesis (const PhyloTree &tree) const |
void | registerProperty (const Property &property) |
void | changeTagsToNames (Node &node) const |
Convert property names from tag to names. More... | |
void | changeTagsToNames (PhyloTree &tree, std::shared_ptr< PhyloNode > node) const |
void | changeNamesToTags (Node &node) const |
Convert property names from names to tags. More... | |
void | changeNamesToTags (PhyloTree &tree, std::shared_ptr< PhyloNode > node) const |
void | useTagsAsPropertyNames (bool yn) |
bool | useTagsAsPropertyNames () const |
std::string | propertiesToParenthesis (const Node &node) const |
std::string | propertiesToParenthesis (const PhyloTree &tree, const std::shared_ptr< PhyloNode > node) const |
std::unique_ptr< Tree > | readTree (std::istream &in) const override |
Read a tree from a stream. More... | |
std::unique_ptr< Tree > | readTree (const std::string &path) const override |
Read a tree from a file. More... | |
virtual std::unique_ptr< TreeTemplate< Node > > | readTreeTemplate (const std::string &path) const |
virtual const std::string | getDataType () const |
virtual void | writeTree (const Tree &tree, const std::string &path, bool overwrite) const |
Write a tree to a file. More... | |
virtual void | readTrees (const std::string &path, std::vector< std::unique_ptr< Tree >> &trees) const override |
Read trees from a file. More... | |
virtual void | writeTrees (const std::vector< const Tree * > &trees, const std::string &path, bool overwrite) const |
Write trees to a file. More... | |
std::unique_ptr< PhyloTree > | readPhyloTree (const std::string &path) const override |
Read a tree from a file. More... | |
virtual void | writePhyloTree (const PhyloTree &tree, const std::string &path, bool overwrite) const |
Write a tree to a file. More... | |
virtual void | readPhyloTrees (const std::string &path, std::vector< std::unique_ptr< PhyloTree >> &trees) const override |
Read trees from a file. More... | |
virtual void | writePhyloTrees (const std::vector< const PhyloTree * > &trees, const std::string &path, bool overwrite) const |
Write trees to a file. More... | |
The IOTree interface | |
const std::string | getFormatName () const override |
const std::string | getFormatDescription () const override |
The ITree interface | |
std::unique_ptr< TreeTemplate< Node > > | readTreeTemplate (std::istream &in) const override |
std::unique_ptr< PhyloTree > | readPhyloTree (std::istream &in) const override |
Read a tree from a stream. More... | |
virtual std::unique_ptr< TreeTemplate< Node > > | readTreeTemplate (std::istream &in) const=0 |
virtual std::unique_ptr< TreeTemplate< Node > > | readTreeTemplate (const std::string &path) const |
std::unique_ptr< PhyloTree > | readPhyloTree (std::istream &in) const override=0 |
std::unique_ptr< PhyloTree > | readPhyloTree (const std::string &path) const override |
The OTree interface | |
void | writeTree (const Tree &tree, std::ostream &out) const override |
Write a tree to a stream. More... | |
void | writePhyloTree (const PhyloTree &tree, std::ostream &out) const override |
Write a tree to a stream. More... | |
virtual void | writeTree (const Tree &tree, std::ostream &out) const=0 |
virtual void | writeTree (const Tree &tree, const std::string &path, bool overwrite) const |
virtual void | writePhyloTree (const PhyloTree &tree, std::ostream &out) const=0 |
virtual void | writePhyloTree (const PhyloTree &tree, const std::string &path, bool overwrite) const |
The IMultiTree interface | |
void | readTrees (std::istream &in, std::vector< std::unique_ptr< Tree >> &trees) const override |
Read trees from a stream. More... | |
void | readPhyloTrees (std::istream &in, std::vector< std::unique_ptr< PhyloTree >> &trees) const override |
Read trees from a stream. More... | |
virtual void | readTrees (std::istream &in, std::vector< std::unique_ptr< Tree >> &trees) const override=0 |
virtual void | readTrees (const std::string &path, std::vector< std::unique_ptr< Tree >> &trees) const override |
virtual void | readPhyloTrees (std::istream &in, std::vector< std::unique_ptr< PhyloTree >> &trees) const override=0 |
virtual void | readPhyloTrees (const std::string &path, std::vector< std::unique_ptr< PhyloTree >> &trees) const override |
The OMultiTree interface | |
void | writeTrees (const std::vector< const Tree * > &trees, std::ostream &out) const override |
Write trees to a stream. More... | |
void | writePhyloTrees (const std::vector< const PhyloTree * > &trees, std::ostream &out) const override |
Write trees to a stream. More... | |
virtual void | writeTrees (const std::vector< const Tree * > &trees, std::ostream &out) const=0 |
virtual void | writeTrees (const std::vector< const Tree * > &trees, const std::string &path, bool overwrite) const |
virtual void | writePhyloTrees (const std::vector< const PhyloTree * > &trees, std::ostream &out) const=0 |
virtual void | writePhyloTrees (const std::vector< const PhyloTree * > &trees, const std::string &path, bool overwrite) const |
Protected Member Functions | |
void | write_ (const Tree &tree, std::ostream &out) const |
void | write_ (const PhyloTree &tree, std::ostream &out) const |
template<class N > | |
void | write_ (const TreeTemplate< N > &tree, std::ostream &out) const |
void | write_ (const std::vector< const Tree * > &trees, std::ostream &out) const |
void | write_ (const std::vector< const PhyloTree * > &trees, std::ostream &out) const |
template<class N > | |
void | write_ (const std::vector< TreeTemplate< N > * > &trees, std::ostream &out) const |
IOTree::Element | getElement (const std::string &elt) const override |
std::string | nodeToParenthesis (const Node &node) const |
std::string | nodeToParenthesis (const PhyloTree &tree, const std::shared_ptr< PhyloNode > node) const |
bool | setNodeProperties (Node &node, const std::string properties) const |
bool | setNodeProperties (PhyloTree &tree, std::shared_ptr< PhyloNode > node, const std::string properties) const |
void | checkNodesId_ (PhyloTree &tree) const |
check and fill all nodes ids. More... | |
Static Protected Member Functions | |
static std::string | propertyToString_ (const Clonable *pptObject, short type) |
static Clonable * | stringToProperty_ (const std::string &pptDesc, short type) |
Private Member Functions | |
Node * | parenthesisToNode (const std::string &description) const |
std::shared_ptr< PhyloNode > | parenthesisToNode (PhyloTree &tree, std::shared_ptr< PhyloNode > father, const std::string &description) const |
Private Attributes | |
std::set< Property > | supportedProperties_ |
bool | useTagsAsPropertyNames_ |
bool | hasIds_ |
The so-called 'Nhx - New Hampshire eXtended' parenthetic format.
See http://www.phylosoft.org/NHX/ for details.
Branch lengths and node annotations are supported:
ex: ((A:0.1[&&NHX:S=human], B:0.15[&&NHX:S=chimp]):0.2[&&NHX:B=90:D=N:S=primates], C:0.27[&&NHX:S=mouse]);
Where e.g. "S=human" means that the sequence A comes from species "human", "B=90" stands for a support value, and "D=N" means that there was no duplication at the node. Other tags are allowed, see http://www.phylosoft.org/NHX/. By default, comments between "[" and "]" are removed, unless the opening bracket is followed by "&&NHX".
Code example:
All node annotations are stored as node properties, with type bppString for all properties except for support values, where a Number is used.
Nhx::Nhx | ( | bool | useTagsAsPptNames = true | ) |
Build a new Nhx reader/writer.
Comments between hooks ('[' ']') are ignored.
useTagsAsPptNames | Tells if the NHX tag should be used as a property name in the parsed tree. |
Definition at line 29 of file Nhx.cpp.
References bpp::TreeTools::BOOTSTRAP, and registerProperty().
void Nhx::changeNamesToTags | ( | Node & | node | ) | const |
Convert property names from names to tags.
If a tree has been parsed using useTagsAsPropertyNames=false, this method allows to convert the tree as is it was parsed using the option set to true.
node | The root node of the subtree to convert. |
Definition at line 619 of file Nhx.cpp.
References bpp::Node::deleteBranchProperty(), bpp::Node::deleteNodeProperty(), bpp::Node::getBranchProperty(), bpp::Node::getNodeProperty(), bpp::Node::getNumberOfSons(), bpp::Node::getSon(), bpp::Node::hasBranchProperty(), bpp::Node::hasNodeProperty(), bpp::Node::setBranchProperty(), bpp::Node::setNodeProperty(), and supportedProperties_.
Referenced by changeNamesToTags().
Definition at line 685 of file Nhx.cpp.
References changeNamesToTags(), bpp::AssociationTreeGraphImplObserver< class, class, class >::getEdgeToFather(), bpp::AssociationTreeGraphImplObserver< class, class, class >::getSons(), bpp::AssociationTreeGraphImplObserver< class, class, class >::hasFather(), and supportedProperties_.
void Nhx::changeTagsToNames | ( | Node & | node | ) | const |
Convert property names from tag to names.
If a tree has been parsed using useTagsAsPropertyNames=true, this method allows to convert the tree as is it was parsed using the option set to false.
node | The root node of the subtree to convert. |
Definition at line 590 of file Nhx.cpp.
References bpp::Node::deleteBranchProperty(), bpp::Node::deleteNodeProperty(), bpp::Node::getBranchProperty(), bpp::Node::getNodeProperty(), bpp::Node::getNumberOfSons(), bpp::Node::getSon(), bpp::Node::hasBranchProperty(), bpp::Node::hasNodeProperty(), bpp::Node::setBranchProperty(), bpp::Node::setNodeProperty(), and supportedProperties_.
Referenced by changeTagsToNames().
Definition at line 648 of file Nhx.cpp.
References changeTagsToNames(), bpp::AssociationTreeGraphImplObserver< class, class, class >::getEdgeToFather(), bpp::AssociationTreeGraphImplObserver< class, class, class >::getSons(), bpp::AssociationTreeGraphImplObserver< class, class, class >::hasFather(), and supportedProperties_.
|
protected |
check and fill all nodes ids.
Definition at line 431 of file Nhx.cpp.
References bpp::AssociationTreeGraphImplObserver< class, class, class >::allNodesIterator(), bpp::ApplicationTools::displayWarning(), bpp::AssociationTreeGraphImplObserver< class, class, class >::getEdgeToFather(), bpp::AssociationTreeGraphImplObserver< class, class, class >::getNodeIndex(), bpp::AssociationTreeGraphImplObserver< class, class, class >::getNumberOfNodes(), bpp::AssociationTreeGraphImplObserver< class, class, class >::hasFather(), bpp::AssociationTreeGraphImplObserver< class, class, class >::hasNodeIndex(), bpp::AssociationTreeGraphImplObserver< class, class, class >::setEdgeIndex(), and bpp::AssociationTreeGraphImplObserver< class, class, class >::setNodeIndex().
Referenced by parenthesisToPhyloTree().
|
inlinevirtualinherited |
Implements bpp::IOFormat.
|
overrideprotectedvirtual |
Reimplemented from bpp::AbstractITree.
Definition at line 203 of file Nhx.cpp.
References element.
Referenced by parenthesisToNode().
|
overridevirtual |
Implements bpp::IOFormat.
|
overridevirtual |
Implements bpp::IOFormat.
|
protected |
Definition at line 802 of file Nhx.cpp.
References bpp::Node::getDistanceToFather(), bpp::Node::getName(), bpp::Node::getNumberOfSons(), bpp::Node::hasDistanceToFather(), bpp::Node::hasNoSon(), and propertiesToParenthesis().
Referenced by nodeToParenthesis(), and treeToParenthesis().
|
protected |
Definition at line 861 of file Nhx.cpp.
References bpp::AssociationTreeGraphImplObserver< class, class, class >::getEdgeToFather(), bpp::AssociationTreeGraphImplObserver< class, class, class >::getNumberOfSons(), bpp::AssociationTreeGraphImplObserver< class, class, class >::getSons(), bpp::AssociationTreeGraphImplObserver< class, class, class >::hasFather(), nodeToParenthesis(), and propertiesToParenthesis().
|
private |
Definition at line 288 of file Nhx.cpp.
References bpp::Node::addSon(), bpp::IOTree::Element::annotation, bpp::IOTree::Element::content, getElement(), hasIds_, bpp::NestedStringTokenizer::hasMoreToken(), bpp::TextTools::isEmpty(), bpp::IOTree::Element::isLeaf, bpp::IOTree::Element::length, bpp::NestedStringTokenizer::nextToken(), bpp::TextTools::removeSurroundingWhiteSpaces(), bpp::Node::setDistanceToFather(), bpp::Node::setName(), setNodeProperties(), and bpp::TextTools::toDouble().
Referenced by parenthesisToNode(), parenthesisToPhyloTree(), and parenthesisToTree().
|
private |
Definition at line 353 of file Nhx.cpp.
References bpp::IOTree::Element::annotation, bpp::IOTree::Element::content, bpp::AssociationTreeGraphImplObserver< class, class, class >::createNode(), getElement(), hasIds_, bpp::NestedStringTokenizer::hasMoreToken(), bpp::TextTools::isEmpty(), bpp::IOTree::Element::isLeaf, bpp::IOTree::Element::length, bpp::NestedStringTokenizer::nextToken(), parenthesisToNode(), bpp::TextTools::removeSurroundingWhiteSpaces(), setNodeProperties(), and bpp::TextTools::toDouble().
unique_ptr< PhyloTree > Nhx::parenthesisToPhyloTree | ( | const std::string & | description | ) | const |
Definition at line 407 of file Nhx.cpp.
References checkNodesId_(), hasIds_, and parenthesisToNode().
Referenced by readPhyloTree(), and readPhyloTrees().
unique_ptr< TreeTemplate< Node > > Nhx::parenthesisToTree | ( | const std::string & | description | ) | const |
Definition at line 334 of file Nhx.cpp.
References hasIds_, and parenthesisToNode().
Referenced by readTrees(), and readTreeTemplate().
string Nhx::propertiesToParenthesis | ( | const Node & | node | ) | const |
Definition at line 725 of file Nhx.cpp.
References bpp::Node::getBranchProperty(), bpp::Node::getId(), bpp::Node::getNodeProperty(), bpp::Node::hasBranchProperty(), bpp::Node::hasNodeProperty(), propertyToString_(), supportedProperties_, bpp::TextTools::toString(), and useTagsAsPropertyNames_.
Referenced by nodeToParenthesis(), and treeToParenthesis().
string Nhx::propertiesToParenthesis | ( | const PhyloTree & | tree, |
const std::shared_ptr< PhyloNode > | node | ||
) | const |
Definition at line 761 of file Nhx.cpp.
References bpp::AssociationTreeGraphImplObserver< class, class, class >::getEdgeToFather(), bpp::AssociationTreeGraphImplObserver< class, class, class >::getNodeIndex(), bpp::AssociationTreeGraphImplObserver< class, class, class >::hasFather(), propertyToString_(), supportedProperties_, bpp::TextTools::toString(), and useTagsAsPropertyNames_.
|
staticprotected |
Definition at line 1024 of file Nhx.cpp.
References Number< double >::getValue(), Number< int >::getValue(), bpp::BppBoolean::getValue(), bpp::BppString::toSTL(), and bpp::TextTools::toString().
Referenced by propertiesToParenthesis().
|
inlineoverridevirtualinherited |
Read a tree from a file.
path | The file path. |
Exception | If an error occurred. |
Implements bpp::IPhyloTree.
Definition at line 235 of file IoTree.h.
References bpp::AbstractIPhyloTree::readPhyloTree().
|
inlineoverride |
|
overridevirtual |
Read a tree from a stream.
in | The input stream. |
Exception | If an error occurred. |
Implements bpp::AbstractIPhyloTree.
Definition at line 102 of file Nhx.cpp.
References parenthesisToPhyloTree(), and bpp::TextTools::removeSubstrings().
|
override |
|
inlineoverridevirtualinherited |
Read trees from a file.
path | The file path. |
trees | The output trees container. |
Exception | If an error occurred. |
Implements bpp::IMultiPhyloTree.
Definition at line 485 of file IoTree.h.
References bpp::AbstractIMultiPhyloTree::readPhyloTrees().
|
inlineoverride |
|
overridevirtual |
Read trees from a stream.
in | The input stream. |
trees | The output trees container. |
Exception | If an error occurred. |
Implements bpp::AbstractIMultiPhyloTree.
Definition at line 168 of file Nhx.cpp.
References parenthesisToPhyloTree(), and bpp::TextTools::removeSubstrings().
|
override |
|
inlineoverridevirtualinherited |
Read a tree from a file.
path | The file path. |
Exception | If an error occurred. |
Implements bpp::ITree.
Definition at line 201 of file IoTree.h.
References bpp::AbstractITree::readTree().
|
inlineoverridevirtualinherited |
Read a tree from a stream.
in | The input stream. |
Exception | If an error occurred. |
Implements bpp::ITree.
Definition at line 195 of file IoTree.h.
References bpp::AbstractITree::readTreeTemplate().
Referenced by bpp::AbstractITree::readTree().
|
inlineoverridevirtualinherited |
Read trees from a file.
path | The file path. |
trees | The output trees container. |
Exception | If an error occurred. |
Implements bpp::IMultiTree.
Definition at line 464 of file IoTree.h.
References bpp::AbstractIMultiTree::readTrees().
|
inlineoverride |
|
overridevirtual |
Read trees from a stream.
in | The input stream. |
trees | The output trees container. |
Exception | If an error occurred. |
Implements bpp::AbstractIMultiTree.
Definition at line 133 of file Nhx.cpp.
References parenthesisToTree(), and bpp::TextTools::removeSubstrings().
|
override |
|
inlinevirtualinherited |
Definition at line 211 of file IoTree.h.
References bpp::AbstractITree::readTreeTemplate().
|
inline |
|
overridevirtual |
Implements bpp::AbstractITree.
Definition at line 71 of file Nhx.cpp.
References parenthesisToTree(), and bpp::TextTools::removeSubstrings().
virtual std::unique_ptr<TreeTemplate<Node> > bpp::AbstractITree::readTreeTemplate |
|
inline |
|
protected |
Definition at line 479 of file Nhx.cpp.
References bpp::StringTokenizer::hasMoreToken(), bpp::TextTools::hasSubstring(), bpp::TextTools::isDecimalNumber(), bpp::StringTokenizer::nextToken(), bpp::TextTools::removeChar(), bpp::Node::setBranchProperty(), bpp::Node::setId(), bpp::Node::setNodeProperty(), stringToProperty_(), supportedProperties_, bpp::TextTools::toInt(), and useTagsAsPropertyNames_.
Referenced by parenthesisToNode().
|
protected |
Definition at line 530 of file Nhx.cpp.
References bpp::AssociationTreeGraphImplObserver< class, class, class >::getEdgeToFather(), bpp::AssociationTreeGraphImplObserver< class, class, class >::hasFather(), bpp::StringTokenizer::hasMoreToken(), bpp::TextTools::hasSubstring(), bpp::TextTools::isDecimalNumber(), bpp::StringTokenizer::nextToken(), bpp::TextTools::removeChar(), bpp::AssociationTreeGraphImplObserver< class, class, class >::setEdgeIndex(), bpp::AssociationTreeGraphImplObserver< class, class, class >::setNodeIndex(), stringToProperty_(), supportedProperties_, bpp::TextTools::toInt(), and useTagsAsPropertyNames_.
|
staticprotected |
Definition at line 1066 of file Nhx.cpp.
References bpp::TextTools::toDouble(), bpp::TextTools::toInt(), and bpp::TextTools::toString().
Referenced by setNodeProperties().
string Nhx::treeToParenthesis | ( | const PhyloTree & | tree | ) | const |
Definition at line 896 of file Nhx.cpp.
References bpp::AssociationTreeGraphImplObserver< class, class, class >::getEdgeToFather(), bpp::AssociationTreeGraphImplObserver< class, class, class >::getRoot(), bpp::AssociationTreeGraphImplObserver< class, class, class >::getSons(), bpp::AssociationTreeGraphImplObserver< class, class, class >::hasFather(), bpp::AssociationTreeGraphImplObserver< class, class, class >::isRooted(), nodeToParenthesis(), and propertiesToParenthesis().
string Nhx::treeToParenthesis | ( | const TreeTemplate< Node > & | tree | ) | const |
Definition at line 827 of file Nhx.cpp.
References bpp::Node::getDistanceToFather(), bpp::Node::getName(), bpp::Node::getNumberOfSons(), bpp::TreeTemplate< N >::getRootNode(), bpp::Node::getSon(), bpp::Node::hasDistanceToFather(), bpp::Node::hasNoSon(), nodeToParenthesis(), and propertiesToParenthesis().
Referenced by write_().
|
inline |
Definition at line 231 of file Nhx.h.
References useTagsAsPropertyNames_.
|
inline |
Definition at line 230 of file Nhx.h.
References useTagsAsPropertyNames_.
|
protected |
Definition at line 951 of file Nhx.cpp.
References treeToParenthesis().
|
protected |
Definition at line 990 of file Nhx.cpp.
References treeToParenthesis().
|
protected |
Definition at line 976 of file Nhx.cpp.
References treeToParenthesis().
|
protected |
Definition at line 1008 of file Nhx.cpp.
References treeToParenthesis().
|
protected |
Definition at line 940 of file Nhx.cpp.
References treeToParenthesis().
Referenced by writePhyloTree(), writePhyloTrees(), writeTree(), and writeTrees().
|
protected |
Definition at line 964 of file Nhx.cpp.
References treeToParenthesis().
|
inlinevirtualinherited |
Write a tree to a file.
tree | A tree object. |
path | The file path. |
overwrite | Tell if existing file must be overwritten. Otherwise append to the file. |
Exception | If an error occurred. |
Implements bpp::OPhyloTree.
Definition at line 297 of file IoTree.h.
References bpp::IOException::what(), and bpp::AbstractOPhyloTree::writePhyloTree().
|
inline |
|
inlineoverridevirtual |
Write a tree to a stream.
tree | A tree object. |
out | The output stream. |
Exception | If an error occurred. |
Implements bpp::AbstractOPhyloTree.
Definition at line 152 of file Nhx.h.
References write_().
virtual void bpp::AbstractOPhyloTree::writePhyloTree |
|
inlinevirtualinherited |
Write trees to a file.
trees | A vector of tree objects. |
path | The file path. |
overwrite | Tell if existing file must be overwritten. Otherwise append to the file. |
Exception | If an error occurred. |
Implements bpp::OMultiPhyloTree.
Definition at line 528 of file IoTree.h.
References bpp::AbstractOMultiPhyloTree::writePhyloTrees().
|
inline |
|
inlineoverridevirtual |
Write trees to a stream.
trees | A vector of tree objects. |
out | The output stream. |
Exception | If an error occurred. |
Implements bpp::AbstractOMultiPhyloTree.
Definition at line 187 of file Nhx.h.
References write_().
virtual void bpp::AbstractOMultiPhyloTree::writePhyloTrees |
|
inlinevirtualinherited |
Write a tree to a file.
tree | A tree object. |
path | The file path. |
overwrite | Tell if existing file must be overwritten. Otherwise append to the file. |
Exception | If an error occurred. |
Implements bpp::OTree.
Definition at line 263 of file IoTree.h.
References bpp::IOException::what(), and bpp::AbstractOTree::writeTree().
|
inlineoverridevirtual |
Write a tree to a stream.
tree | A tree object. |
out | The output stream. |
Exception | If an error occurred. |
Implements bpp::AbstractOTree.
Definition at line 145 of file Nhx.h.
References write_().
virtual void bpp::AbstractOTree::writeTree |
|
inlinevirtualinherited |
Write trees to a file.
trees | A vector of tree objects. |
path | The file path. |
overwrite | Tell if existing file must be overwritten. Otherwise append to the file. |
Exception | If an error occurred. |
Implements bpp::OMultiTree.
Definition at line 505 of file IoTree.h.
References bpp::AbstractOMultiTree::writeTrees().
|
inlineoverridevirtual |
Write trees to a stream.
trees | A vector of tree objects. |
out | The output stream. |
Exception | If an error occurred. |
Implements bpp::AbstractOMultiTree.
Definition at line 180 of file Nhx.h.
References write_().
virtual void bpp::AbstractOMultiTree::writeTrees |
|
mutableprivate |
Definition at line 100 of file Nhx.h.
Referenced by parenthesisToNode(), parenthesisToPhyloTree(), and parenthesisToTree().
|
private |
Definition at line 98 of file Nhx.h.
Referenced by changeNamesToTags(), changeTagsToNames(), propertiesToParenthesis(), registerProperty(), and setNodeProperties().
|
private |
Definition at line 99 of file Nhx.h.
Referenced by propertiesToParenthesis(), setNodeProperties(), and useTagsAsPropertyNames().