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

Programmatically create grapetree visualizations #94

Open
crarlus opened this issue Nov 26, 2020 · 2 comments
Open

Programmatically create grapetree visualizations #94

crarlus opened this issue Nov 26, 2020 · 2 comments

Comments

@crarlus
Copy link

crarlus commented Nov 26, 2020

Hi,
thanks for grapetree, we use it a lot by uploading a mstree and metadata to a local grapetree instance in the browser.

However I wonder whether it is possible to create the grapetree visualizions (i.e. the json file) programmatically from the command line?

For instance, is there any such option as
grapetree --json --treefile mstree.nwk --meta metadata.tsv > grapetree_viz.json
?

This would be really helpful for updating the visualization whenever new data is available.

@eam12
Copy link

eam12 commented Jun 21, 2021

I agree. This type of command would be very useful! As great as the interactive program is, it can be laborious when I have to generate multiple MSTs with different subsets of data, node colors, etc.

@HBrendy
Copy link

HBrendy commented Feb 23, 2023

I agree, too. Another nice feature would be the preloading of a json file before launching the local browser instance.

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

3 participants