Skip to content

Organize outputs by lineage and geo resolution#7

Merged
huddlej merged 2 commits into
mainfrom
organize-by-lineage-and-resolution
Mar 12, 2025
Merged

Organize outputs by lineage and geo resolution#7
huddlej merged 2 commits into
mainfrom
organize-by-lineage-and-resolution

Conversation

@huddlej
Copy link
Copy Markdown
Contributor

@huddlej huddlej commented Mar 4, 2025

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.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.

Related issue(s)

Related to #2

Checklist

  • Checks pass

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.
@huddlej
Copy link
Copy Markdown
Contributor Author

huddlej commented Mar 12, 2025

I'm going to merge this now. We can refine these changes in later commits, if there are issues.

@huddlej huddlej merged commit 8a6cc8a into main Mar 12, 2025
@huddlej huddlej deleted the organize-by-lineage-and-resolution branch March 12, 2025 23:44
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