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

Add exports #24

Open
batson opened this issue Feb 12, 2021 · 2 comments
Open

Add exports #24

batson opened this issue Feb 12, 2021 · 2 comments

Comments

@batson
Copy link

batson commented Feb 12, 2021

Hello!

I believe you shared with me some code for exporting a baltic tree as a Nextstrain JSON. I expect it would be widely useful at this point.

exportJSON perhaps?

@evogytis
Copy link
Owner

Hey, Josh!

I've gotten clade padding working and will implement a rudimentary export to JSON soon and push everything to pip. For now feel free to use this workaround: #20

Best,
G.

@evogytis
Copy link
Owner

Hey Josh,

I've decided that exporting to auspice JSON is better done via a separate notebook rather than integrated into baltic itself because the automation of transfering all the traits from baltic into JSON might require more work than I can dedicate right now, as well as the meta portion of the JSON requiring a lot of customisation.
Here's the notebook I prepared for the baltic gallery (it's not yet up on the website though): https://github.com/phylo-baltic/baltic-gallery/blob/gh-pages/assets/notebooks/advanced-auspice-export.ipynb
Let me know if that addresses your need or if you run into any problems!

Best,
G.

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