Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cattle outbreak clock filter #110

Merged
merged 2 commits into from
Dec 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,9 @@ def refine_clock_rates(w):
return f"--clock-rate {info[w.segment][0]} --clock-std-dev {info[w.segment][1]}"

def refine_clock_filter(w):
filter = get_config('refine', 'clock_filter_iqd', w)
filter = get_config('refine', 'genome_clock_filter_iqd', w) \
if w.segment=='genome' \
else get_config('refine', 'clock_filter_iqd', w)
return f"--clock-filter-iqd {filter}" if filter else ""


Expand Down
2 changes: 2 additions & 0 deletions config/h5n1-cattle-outbreak.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ refine:
coalescent: const
date_inference: marginal

genome_clock_filter_iqd:
FALLBACK: 3
clock_filter_iqd:
FALLBACK: false

Expand Down
3 changes: 3 additions & 0 deletions ingest/build-configs/ncbi/defaults/host-map.tsv
Original file line number Diff line number Diff line change
Expand Up @@ -92,3 +92,6 @@ western sandpiper Avian
Wild-Bird Avian
EMU Avian
Emu Avian
Dromaius novaehollandiae Avian
White-winged Dove Avian
Rock Pigeon Avian
Loading