Skip to content

Commit

Permalink
Disable probabilistic sampling for test builds
Browse files Browse the repository at this point in the history
Test builds sample so few sequences that probabilistic subsampling can
end up picking too few sequences for augur refine to work properly. This
commit disables probabilistic sampling for those builds.
  • Loading branch information
huddlej committed Jan 6, 2021
1 parent 1069b2e commit 84fe289
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions tests/builds/tb/Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ rule filter:
--exclude {input.exclude} \
--group-by {params.group_by} \
--sequences-per-group {params.sequences_per_group} \
--no-probabilistic-sampling
"""

rule mask:
Expand Down
2 changes: 1 addition & 1 deletion tests/builds/various_export_settings/base.snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ rule filter:
--output {output.sequences} \
--group-by {params.group_by} \
--sequences-per-group {params.sequences_per_group} \
--no-probabilistic-sampling \
--min-date {params.min_date}
"""

Expand Down Expand Up @@ -112,4 +113,3 @@ rule refine:
--date-inference {params.date_inference} \
--clock-filter-iqd {params.clock_filter_iqd}
"""

0 comments on commit 84fe289

Please sign in to comment.