Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

annotated tree read_nexus_phylo #19

Open
damientully opened this issue Sep 14, 2020 · 1 comment
Open

annotated tree read_nexus_phylo #19

damientully opened this issue Sep 14, 2020 · 1 comment

Comments

@damientully
Copy link

Hi,

I am using the read_nexus_phylo command. It is definitely much faster than other similar commands for reading in big phylo trees. But I was wondering if it could take annotated information contained within a tree such as
Begin Trees; Tree tree1=((USA_CA_SCCPHD_UC183_2020:0.00008[&location="North America"],((Singapore_24_2020:0.00004[&location="Asia"],

@fmichonneau
Copy link
Owner

Hi, thanks for your question.
The rncl relies on the NEXUS Class Library which intends to stick closely to the NEXUS file specifications. These specifications say that anything in square brackets is a comment. While it's possible that there are some internal ways for NCL to parse annotations in square brackets, it's currently not implemented/accessible to the R package. I would happily consider a pull request if it's something you wanted to work on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants