import org.forester.phylogeny.Phylogeny;
import org.forester.phylogeny.PhylogenyMethods;
+import org.forester.phylogeny.PhylogenyMethods.DESCENDANT_SORT_PRIORITY;
import org.forester.phylogeny.PhylogenyNode;
import org.forester.phylogeny.iterators.PhylogenyNodeIterator;
if ( strip_evaluator_phylogenies ) {
unstripped_evaluator_phylogeny = evaluator_phylogeny.copy();
SupportCount.strip( seq_names_to_keep, evaluator_phylogeny );
- evaluator_phylogeny.orderAppearance( true ); // This is for
+ PhylogenyMethods.orderAppearance( evaluator_phylogeny.getRoot(),
+ true,
+ true,
+ DESCENDANT_SORT_PRIORITY.TAXONOMY ); // This is for
// easer
// comparison if
// phylos are saved
// to file.
+ evaluator_phylogeny.externalNodesHaveChanged();
+ evaluator_phylogeny.hashIDs();
+ evaluator_phylogeny.recalculateNumberOfExternalDescendants( true );
}
final double s = SupportCount.compare( phylogeny,
evaluator_phylogenies[ i ],
true,
similarity_threshold );
if ( ( similarity_threshold < 0.0 ) || ( s >= similarity_threshold ) ) {
- unstripped_evaluator_phylogeny.orderAppearance( true );
+ PhylogenyMethods.orderAppearance( unstripped_evaluator_phylogeny.getRoot(),
+ true,
+ true,
+ DESCENDANT_SORT_PRIORITY.TAXONOMY );
evaluator_phylogenies_above_threshold.add( unstripped_evaluator_phylogeny );
}
if ( verbose ) {