Skip to content

Commit

Permalink
Use weighted sampling for recent samples in global builds
Browse files Browse the repository at this point in the history
This should have been a part of "Use population-based weighted sampling
for global builds" (ae764bb) but got lost in translation.
victorlin committed Nov 16, 2024
1 parent 55bfc26 commit 941613b
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions nextstrain_profiles/nextstrain-gisaid-21L/builds.yaml
Original file line number Diff line number Diff line change
@@ -294,6 +294,7 @@ subsampling:
max_date: "--max-date 1M"
recent:
group_by: "country week"
group_by_weights: "defaults/population_weights.tsv"
max_sequences: 4100
min_date: "--min-date 1M"

@@ -308,6 +309,7 @@ subsampling:
max_date: "--max-date 2M"
recent:
group_by: "country week"
group_by_weights: "defaults/population_weights.tsv"
max_sequences: 4100
min_date: "--min-date 2M"

@@ -322,6 +324,7 @@ subsampling:
max_date: "--max-date 6M"
recent:
group_by: "country year month"
group_by_weights: "defaults/population_weights.tsv"
max_sequences: 4100
min_date: "--min-date 6M"

3 changes: 3 additions & 0 deletions nextstrain_profiles/nextstrain-gisaid/builds.yaml
Original file line number Diff line number Diff line change
@@ -286,6 +286,7 @@ subsampling:
max_date: "--max-date 1M"
recent:
group_by: "country week"
group_by_weights: "defaults/population_weights.tsv"
max_sequences: 4100
min_date: "--min-date 1M"

@@ -300,6 +301,7 @@ subsampling:
max_date: "--max-date 2M"
recent:
group_by: "country week"
group_by_weights: "defaults/population_weights.tsv"
max_sequences: 4100
min_date: "--min-date 2M"

@@ -314,6 +316,7 @@ subsampling:
max_date: "--max-date 6M"
recent:
group_by: "country year month"
group_by_weights: "defaults/population_weights.tsv"
max_sequences: 4100
min_date: "--min-date 6M"

3 changes: 3 additions & 0 deletions nextstrain_profiles/nextstrain-open/builds.yaml
Original file line number Diff line number Diff line change
@@ -286,6 +286,7 @@ subsampling:
max_date: "--max-date 1M"
recent:
group_by: "country week"
group_by_weights: "defaults/population_weights.tsv"
max_sequences: 4100
min_date: "--min-date 1M"

@@ -300,6 +301,7 @@ subsampling:
max_date: "--max-date 2M"
recent:
group_by: "country week"
group_by_weights: "defaults/population_weights.tsv"
max_sequences: 4100
min_date: "--min-date 2M"

@@ -314,6 +316,7 @@ subsampling:
max_date: "--max-date 6M"
recent:
group_by: "country year month"
group_by_weights: "defaults/population_weights.tsv"
max_sequences: 4100
min_date: "--min-date 6M"

0 comments on commit 941613b

Please sign in to comment.