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

Extend augur import with auspice mode that imports from auspice.json #1369

Open
corneliusroemer opened this issue Dec 20, 2023 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@corneliusroemer
Copy link
Member

Context

It's a common problem that one wants to decompose an auspice.json file into newick tree and metadata.

It's something many people have written ad hoc scripts for, but there's no augur command for this purpose.

Description

Add a type auspice to augur import besides the only type so far: beast.

Output could be:

  • newick tree
  • metadata.tsv
  • branch_data.jsons

It might be nice to also publicly expose a Python function in the public augur Python API to allow an import of auspice.json directly into a Python datastructure, to avoid having to call the CLI when one just wants to stay in Python.

This was previously requested by a user and discussed in: #438

I think many Nextstrain people have their own scripts, e.g. @huddlej links to one in the issue above. I also have one, Richard too, for sure.

@corneliusroemer corneliusroemer added the enhancement New feature or request label Dec 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant