for plant species names, sometimes there is hybrid species, which named as "Genus × epithetic".
So if a newick tree containing tips with "×" symbol, using function of "nw_labels, nw_renames", etc in newickutils, it will crash.
For example,
[cactus]$ nw_labels -I speciesname.tre|wc -l
ERROR: missing ')' at line 0 near 'leylandii'
0
if I use phyx to check which tip has the issue:
[cactus]$ pxlstr -t speciesname.tre -i|grep "leylandii"
Cupressus_×leylandii
Appreciate if you can fix it.
Thanks!
Miao