Closed chxp closed 6 years ago
I was able to reproduce this error and found it can be fixed by opening the newick file in a text editor, deleting the header and saving. i.e. delete the following lines from the newick file:
[All-Species Living Tree. 16S rRNA. June 2018
tree_LTPs132_SSU:
New sequences in this tree were added to the previous
release (LTPs128) using ARB parsimony.
LTP 30% maximum frequency filter was used.
Groups are displayed accordingly to monophyletism and
valid taxonomic affiliations when possible. The
phylogeny of each species is capitulated in the
field "phyl_ltp".
Fields displayed: fullname_ltp, acc, hi_tax_ltp, name
]
Thanks for brj1, your answer can solve my problem.
Maybe read.tree can add the support for the annotation header in newick file.
The read.tree
function comes from the ape
package (http://ape-package.ird.fr/). To fix this issue it would have to fixed in that package.
Issues
Cannot read the correct tip.label & node.label in the newick format file from “The All-Species Living Tree" Project.
The newick file is downloaded from https://www.arb-silva.de/no_cache/download/archive/living_tree/LTP_release_132/
The newick file name is LTPs132_SSU_tree.newick, the file can read correctly in MEGA-X.
Error message
The code I using is:
SessionInfo