seasonal-flu icon indicating copy to clipboard operation
seasonal-flu copied to clipboard

Assign clades to nodes via tabular metadata

Open uee9 opened this issue 2 years ago • 0 comments

Context

I am working on using Nextstrain for global surveillance of Influenza. As part of our bioinformatics workflow, we already assign each sequenced virus to a clade (e.g., 3C.2a1b.2a.2) and we can pull this as part of the tabular metadata for a build. Currently augur clades recomputes this for each node using the definitions file.

Description

I would like to write to a clades.json directly from tabular metadata instead of recomputing the clade based on augur clades.

Examples

Possible solution

  1. Function in the API to write an augur formatted json based on tabular data.
  2. Logic within augur clades to write the json from strain and clade columns.

uee9 avatar Nov 22 '22 14:11 uee9