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

Use mutations rather than mutations-per-site for clade IIb/B.1 builds #230

Merged
merged 2 commits into from
Jan 20, 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
1 change: 1 addition & 0 deletions phylogenetic/config/hmpxv1/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ timetree: true
root: "MK783032 MK783030"
clock_rate: 5.7e-5
clock_std_dev: 2e-5
divergence_units: "mutations"

## recency
recency: true
Expand Down
1 change: 1 addition & 0 deletions phylogenetic/config/hmpxv1_big/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ timetree: true
root: "OP890401"
clock_rate: 5.7e-5
clock_std_dev: 2e-5
divergence_units: "mutations"

## recency
recency: true
Expand Down
1 change: 1 addition & 0 deletions phylogenetic/config/mpxv/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ timetree: false
root: "min_dev"
clock_rate: 3e-6
clock_std_dev: 6e-6
divergence_units: "mutations-per-site"

## recency
recency: true
Expand Down
1 change: 1 addition & 0 deletions phylogenetic/profiles/ci/builds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ timetree: true
root: "MK783032 MK783030"
clock_rate: 5.7e-5
clock_std_dev: 2e-5
divergence_units: "mutations"

## recency
recency: true
Expand Down
3 changes: 2 additions & 1 deletion phylogenetic/workflow/snakemake_rules/core.smk
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,6 @@ rule refine:
- use {params.coalescent} coalescent timescale
- estimate {params.date_inference} node dates
- filter tips more than {params.clock_filter_iqd} IQDs from clock expectation
Note: --use-fft was removed (temporarily) due to https://github.com/neherlab/treetime/issues/242
"""
input:
tree=rules.fix_tree.output.tree
Expand All @@ -244,6 +243,7 @@ rule refine:
if "clock_std_dev" in config
else "",
strain_id=config["strain_id_field"],
divergence_units=config["divergence_units"],
shell:
"""
augur refine \
Expand All @@ -263,6 +263,7 @@ rule refine:
--coalescent {params.coalescent} \
--date-inference {params.date_inference} \
--date-confidence \
--divergence-units {params.divergence_units} \
--clock-filter-iqd {params.clock_filter_iqd}
"""

Expand Down