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

Download clade definitions from GitHub #154

Merged
merged 1 commit into from
Feb 23, 2024
Merged

Download clade definitions from GitHub #154

merged 1 commit into from
Feb 23, 2024

Conversation

huddlej
Copy link
Contributor

@huddlej huddlej commented Feb 23, 2024

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

  • Checks pass

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 [1].

[1] https://github.com/nextstrain/seasonal-flu/blob/d439f897f2819961dee431f92ea4e6f45343688a/nextclade/config/config_dict.yaml#L8-L16
@huddlej huddlej marked this pull request as ready for review February 23, 2024 00:09
@huddlej huddlej merged commit cd5bed4 into master Feb 23, 2024
3 checks passed
@huddlej huddlej deleted the download-clades branch February 23, 2024 17:28
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.

2 participants