tree in newick format with no names for taxa

10 views
Skip to first unread message

vijayabhaskar badireddi

unread,
May 25, 2024, 10:22:42 PMMay 25
to PhyloNetworks users
hi,

is it possible to create a tree in newick format with no names for taxa ? 
for example (,,,);

Cécile Ané

unread,
May 26, 2024, 10:52:03 AMMay 26
to PhyloNetworks users
No: the reading / parsing function in PhyloNetworks will not accept tips that don't have a label.
But you could assign all tips the same label, like this for a caterpillar tree shape for example:

julia> net = readTopology("(((a,a),a),a);")

HybridNetwork, Rooted Network

6 edges

7 nodes: 4 tips, 0 hybrid nodes, 3 internal tree nodes.

tip labels: a, a, a, a

(((a,a),a),a);


You should probably be careful with downstream analyses, because some functions in PhyloNetworks may assume unique tip labels, however.
Cecile.
Reply all
Reply to author
Forward
0 new messages