void printParent(ostream& os, AlignmentConstPtr alignment, const string& genomeName) { if (genomeName != alignment->getRootName()) { os << alignment->getParentName(genomeName) << endl; } }
void printBranchLength(ostream& os, AlignmentConstPtr alignment, const string& genomeName) { if (genomeName != alignment->getRootName()) { string parentName = alignment->getParentName(genomeName); os << alignment->getBranchLength(parentName, genomeName) << endl; } }