Entering edit mode
4.4 years ago
PeterWu
▴
20
I want to know whether there is quick way to remove zero-length edges in newick tree, like
input: ((a:1,b:1)Node_0:0,c:1);
output:(a:1,b:1,c:1);
Thanks for any help
the input/output is a string?
yes, newick is a format to record a rooted tree