Hi there,
I am trying to edit a newick tree. This is my tree
(Solanumtuberosum_stu4396:0.10246,(Solanumtuberosum_stu4462:0.0388307,(Solanumtuberosum_stu4373:0.134577,Solanumtuberosum_stu4418:0.0203854)n2:0.0314355)n1:0. 10246)n0;
And, I would like to remove the first part of the Ids "Solanumtuberosum" and just leave the "stu4396" ID. For instance, I would like to have this:
(stu4396:0.10246,(stu4462:0.0388307,(stu4373:0.134577,stu4418:0.0203854)n2:0.0314355)n1:0. 10246)n0;
Thank you very much.
Best
Ivan