Skip to content

Commit

Permalink
Merge pull request #33 from nextstrain/remove-traits-32
Browse files Browse the repository at this point in the history
Remove `traits` rule and associated config [#32]
  • Loading branch information
genehack authored Jul 22, 2024
2 parents 0f42407 + 21d7f78 commit 77b2720
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 28 deletions.
4 changes: 0 additions & 4 deletions phylogenetic/defaults/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ viruses:
clock_filter_iqd: 4
annotate_phylogeny:
inference: "joint"
columns: "country"
nl63:
reference: "defaults/nl63/reference.fasta"
genemap: "defaults/nl63/genemap.gff"
Expand All @@ -65,7 +64,6 @@ nl63:
clock_filter_iqd: 4
annotate_phylogeny:
inference: "joint"
columns: "country"
oc43:
reference: "defaults/oc43/reference.fasta"
genemap: "defaults/oc43/genemap.gff"
Expand All @@ -83,7 +81,6 @@ oc43:
clock_filter_iqd: 4
annotate_phylogeny:
inference: "joint"
columns: "country"
hku1:
reference: "defaults/hku1/reference.fasta"
genemap: "defaults/hku1/genemap.gff"
Expand All @@ -101,4 +98,3 @@ hku1:
clock_filter_iqd: 4
annotate_phylogeny:
inference: "joint"
columns: "country"
24 changes: 0 additions & 24 deletions phylogenetic/rules/annotate_phylogeny.smk
Original file line number Diff line number Diff line change
Expand Up @@ -51,27 +51,3 @@ rule translate:
--output {output.node_data:q} \
2>{log:q}
"""


rule traits:
input:
tree="results/{virus}/tree.nwk",
metadata=lambda wildcards: config[wildcards.virus]["metadata"],
output:
node_data="results/{virus}/traits.json",
log:
"logs/{virus}/traits.txt",
benchmark:
"benchmarks/{virus}/traits.txt"
params:
columns=lambda wildcards: config[wildcards.virus]["annotate_phylogeny"]["columns"],
shell:
"""
augur traits \
--tree {input.tree:q} \
--metadata {input.metadata:q} \
--output-node-data {output.node_data:q} \
--columns {params.columns:q} \
--confidence \
2>{log:q}
"""

0 comments on commit 77b2720

Please sign in to comment.