Hence note that in order do remove taxa, you
need not repeat your PDM simulation;
you only need to keep the intermediate
result file
resultsAllTopos.out,
which actually has to be moved to file
resultsAllTopos.bak.
The taxa-pruning algorithm has been implemented in
Java class PruneTaxum.
To apply it, proceed as follows:
resultsAllTopos.out
to the following
output file:
resultsAllTopos.bak.
prune_taxum.in,
which contains one integer number:
the number of the taxum to be removed.
java PruneTaxum > resultsAllTopos.out
(assuming you have compiled
PruneTaxum.java
with
javac PruneTaxum.java.
This command creates a new file
resultsAllTopos.out,
where the topology specified in
prune_taxum.in
has been removed.
JambeAnalyseTopos,
which reads in resultsAllTopos.out.
Shortcomings
The following two topologies result
from pruning a tree of 8 taxa
down to 4 taxa by subsequent application
of PruneTaxum
((2,(3,4)),7)
((2,7),(3,4))
((3,4),7)
(7,(3,4))
PruneTaxum to remove several taxa
may not be advisable.
I assume that this problem is less severe when a single taxum is removed from a tree with many taxa.
Back to the previous page.