Skip to content

Commit

Permalink
phylogenetic: Use latest ingest data
Browse files Browse the repository at this point in the history
I missed this in review of #38.
The phylogenetic workflow was still pulling from old S3 URLs
and not the ingest workflow output data.

This commit corrects the S3 URL to the ingest output files and updates
the `strain_id_field` config param to use the appropriate ID column
from the ingest output.
  • Loading branch information
joverlee521 committed Apr 11, 2024
1 parent 416c22d commit 4226f0c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion phylogenetic/config/config_dengue.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
strain_id_field: "accession"
strain_id_field: "genbank_accession"
display_strain_field: "strain"

filter:
Expand Down
4 changes: 2 additions & 2 deletions phylogenetic/rules/prepare_sequences.smk
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ rule download:
metadata = "data/metadata_{serotype}.tsv.zst"

params:
sequences_url = "https://data.nextstrain.org/files/dengue/sequences_{serotype}.fasta.zst",
metadata_url = "https://data.nextstrain.org/files/dengue/metadata_{serotype}.tsv.zst"
sequences_url = "https://data.nextstrain.org/files/workflows/dengue/sequences_{serotype}.fasta.zst",
metadata_url = "https://data.nextstrain.org/files/workflows/dengue/metadata_{serotype}.tsv.zst"
shell:
"""
curl -fsSL --compressed {params.sequences_url:q} --output {output.sequences}
Expand Down

0 comments on commit 4226f0c

Please sign in to comment.