Skip to content

Commit

Permalink
Fix traits and frequencies for reference builds
Browse files Browse the repository at this point in the history
Reference builds for GISAID and open data didn't have traits or frequencies parameters specified. This fixes this issue to use more sensible parameters (region traits and frequencies back to 2020).
  • Loading branch information
trvrb committed Mar 9, 2024
1 parent 992f187 commit f442542
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions nextstrain_profiles/nextstrain-gisaid/builds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -877,6 +877,9 @@ subsampling:
# if different traits should be reconstructed for some builds, specify here
# otherwise the default trait config in defaults/parameters.yaml will used
traits:
reference:
sampling_bias_correction: 2.5
columns: ["region"]
global_1m:
sampling_bias_correction: 2.5
columns: ["region"]
Expand Down Expand Up @@ -967,6 +970,10 @@ traits:
# narrow_bandwidth = 0.019 or 7 days for "1m" and "2m"
# narrow_bandwidth = 0.038 or 14 days for "6m" and "all-time"
frequencies:
reference:
min_date: "2020-01-01"
narrow_bandwidth: 0.038
recent_days_to_censor: 7
global_1m:
min_date: "1M"
narrow_bandwidth: 0.019
Expand Down
7 changes: 7 additions & 0 deletions nextstrain_profiles/nextstrain-open/builds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -882,6 +882,9 @@ refine:
# if different traits should be reconstructed for some builds, specify here
# otherwise the default trait config in defaults/parameters.yaml will used
traits:
reference:
sampling_bias_correction: 2.5
columns: ["region"]
global_1m:
sampling_bias_correction: 2.5
columns: ["region"]
Expand Down Expand Up @@ -972,6 +975,10 @@ traits:
# narrow_bandwidth = 0.019 or 7 days for "1m" and "2m"
# narrow_bandwidth = 0.038 or 14 days for "6m" and "all-time"
frequencies:
reference:
min_date: "2020-01-01"
narrow_bandwidth: 0.038
recent_days_to_censor: 7
global_1m:
min_date: "1M"
narrow_bandwidth: 0.019
Expand Down

0 comments on commit f442542

Please sign in to comment.