Organize outputs by lineage and geo resolution#7
Merged
Conversation
To support multiple geographic resolutions in this workflow with different data prep settings per resolution, this commit updates the workflow to more closely match the forecasts-ncov workflow. The config in `config/defaults.yaml` now has a `prepare_data` section that sets the thresholds per geographic resolution and a lineages list that includes all three major lineages. The workflow produces model results in files like `results/h3n2/country/mlr/MLR_results.json` or `results/h3n2/region/mlr/MLR_results.json`. This commit does not include the additional nested structure of the forecasts-ncov workflow of data provenance and variant classification, but we could add these if we think we'll want to build models with different combinations of those fields.
9 tasks
genehack
approved these changes
Mar 7, 2025
Contributor
Author
|
I'm going to merge this now. We can refine these changes in later commits, if there are issues. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of proposed changes
To support multiple geographic resolutions in this workflow with different data prep settings per resolution, this commit updates the workflow to more closely match the forecasts-ncov workflow. The config in
config/defaults.yamlnow has aprepare_datasection that sets the thresholds per geographic resolution and a lineages list that includes all three major lineages. The workflow produces model results in files likeresults/h3n2/country/mlr/MLR_results.jsonorresults/h3n2/region/mlr/MLR_results.json.This commit does not include the additional nested structure of the forecasts-ncov workflow of data provenance and variant classification, but we could add these if we think we'll want to build models with different combinations of those fields.
Related issue(s)
Related to #2
Checklist