treeio
treeio copied to clipboard
treeio read tree files form nexus format with extra quotation marks
Dear @GuangchuangYu I recently use ggtree to process my phylogenetic tree. I obtained the tree file through IQTree and exported the file in nexus format by figtree. But I meet up with a bug with groupOTU which confused me for a long time. I found the reason is that treeio read the qutoation marks in the nexus file which lead to the group information can not match the sequence names in tree object. I am writing to report this problem and I am wondering if the problem can be fixed. wuke
pls provide a reproducible example.
pls provide a reproducible example.
I attached one example file here, but this problem does not just appeared here. This file have problem with double quotation marks. I guess this is because NEXUS file format have too much freedom in Taxa block and the error occurs when read information from Taxa block.
@xiangpin pls test reading the file with read.beast.
@wook2014 you would better provide source code to reproduce the issue of groupOTU which you mentioned previously.