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

Refactor io/add auspice output #232

Merged
merged 5 commits into from
Apr 19, 2023
Merged

Refactor io/add auspice output #232

merged 5 commits into from
Apr 19, 2023

Conversation

rneher
Copy link
Member

@rneher rneher commented Apr 18, 2023

The output directory now contains a json file that is compatible with auspice.us. Both time scaled phylogenies and ancestral inferences can now be visualized and explored using auspice. Available colorings are "Date", "Genotype", "Branch support", and "Excluded". The first two work exactly like standard nextstrain/auspice viz.

  • "Excluded" is a coloring that indicates whether this leaf was flagged by the clock-filter. The date constraints of the excluded leafs are ignored.
  • "Branch Support" colors branches by 1 minus the inverse of the exponential of the number of mutations on the branch. This approximates a bootstrap support value (for closely related strains) and in particular will mark all branches without mutation support (introduced during polytomy resolution) as having no support.

In addition, this PR moves many functions that do IO for command line wrappers into a separate file CLI_io.py.

@rneher rneher merged commit 9481e6e into master Apr 19, 2023
5 checks passed
@rneher rneher deleted the refactor-io branch April 19, 2023 08:17
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

Successfully merging this pull request may close these issues.

None yet

1 participant