Skip to content

Commit

Permalink
Remove time information from Nextclade dataset tree
Browse files Browse the repository at this point in the history
Removes temporal info from Nextclade dataset timetree, since Nextclade doesn't use this information. This change was recommended here: nextstrain/nextclade_data#202 (comment)
  • Loading branch information
kimandrews committed May 30, 2024
1 parent 7b941fc commit 4051dc0
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 9 deletions.
5 changes: 0 additions & 5 deletions nextclade/defaults/auspice_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,6 @@
"title": "Genotype",
"type": "categorical"
},
{
"key": "num_date",
"title": "Date",
"type": "continuous"
},
{
"key": "clade_membership",
"title": "MeV Genotype (Nextstrain)",
Expand Down
2 changes: 0 additions & 2 deletions nextclade/rules/construct_phylogeny.smk
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ rule refine:
metadata = "data/metadata.tsv"
output:
tree = "results/tree.nwk",
node_data = "results/branch_lengths.json"
params:
coalescent = config["refine"]["coalescent"],
date_inference = config["refine"]["date_inference"],
Expand All @@ -45,7 +44,6 @@ rule refine:
--metadata {input.metadata} \
--metadata-id-columns {params.strain_id} \
--output-tree {output.tree} \
--output-node-data {output.node_data} \
--timetree \
--coalescent {params.coalescent} \
--date-confidence \
Expand Down
3 changes: 1 addition & 2 deletions nextclade/rules/export.smk
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ rule export:
input:
tree = "results/tree.nwk",
metadata = "data/metadata.tsv",
branch_lengths = "results/branch_lengths.json",
clades = "results/clades.json",
nt_muts = "results/nt_muts.json",
aa_muts = "results/aa_muts.json",
Expand All @@ -27,7 +26,7 @@ rule export:
--tree {input.tree} \
--metadata {input.metadata} \
--metadata-id-columns {params.strain_id} \
--node-data {input.branch_lengths} {input.nt_muts} {input.aa_muts} {input.clades} \
--node-data {input.nt_muts} {input.aa_muts} {input.clades} \
--colors {input.colors} \
--metadata-columns {params.metadata_columns} \
--auspice-config {input.auspice_config} \
Expand Down

0 comments on commit 4051dc0

Please sign in to comment.