nextstrain / seasonal-flu

Scripts. config, and snakefiles for seasonal-flu nextstrain builds
44 stars 26 forks source link

Download clade definitions from GitHub #154

Closed huddlej closed 6 months ago

huddlej commented 6 months ago

Description of proposed changes

Remove local copies of clade and subclade definitions for H1N1pdm, H3N2, and Vic and add configuration and rules to download these files from the corresponding GitHub repositories as needed by each workflow. This approach allows us to maintain local copies of clades and subclades for Yam and other exceptions to the standard maintained clades. Since we only need to maintain the two "clade systems" of "clade" and "subclade" for the main phylogenetic workflow, this commit defines a top-level mapping of clade file URLs to lineages and segments. This is in contrast to the build-specific clade mappings used by the Nextclade workflow (for example).

Note that we eventually want to assign clade labels with Nextclade instead of augur clades, so this implementation should get deleted when that change happens.

Checklist