-
Notifications
You must be signed in to change notification settings - Fork 23
PB Screw formats
Steve Bond edited this page Oct 2, 2015
·
1 revision
Convert the trees in one file format to another file format. Currently, NEXUS, Newick, and NeXML are supported.
((A,(B,C)),(D,E));
(((A,B),C),(D,E,F));
$: pb alpha_tree.nwk -sf nexus
#NEXUS
BEGIN TAXA;
DIMENSIONS NTAX=6;
TAXLABELS
A
B
C
D
E
F
;
END;
BEGIN TREES;
TREE 1 = ((A:1.0,(B:1.0,C:1.0):1.0):1.0,(D:1.0,E:1.0):1.0):1.0;
TREE 2 = (((A:1.0,B:1.0):1.0,C:1.0):1.0,(D:1.0,E:1.0,F:1.0):1.0):1.0;
END;