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

Run Nextclade on all 8 genes for H1 and H3 #185

Merged
merged 2 commits into from
Oct 23, 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
9 changes: 9 additions & 0 deletions profiles/nextclade.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ s3_dst: "s3://nextstrain-data-private/files/workflows/seasonal-flu"
segments:
- ha
- na
- pb2
- pb1
- pa
- np
- mp
- ns

builds:
h1n1pdm:
Expand All @@ -15,3 +21,6 @@ builds:
lineage: h3n2
vic:
lineage: vic
segments:
- ha
- na
4 changes: 2 additions & 2 deletions profiles/nextclade/run-nextclade.smk
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ rule upload_all_nextclade_files:
"data/upload/s3/{filetype}_{lineage}_{segment}.done".format(filetype=filetype, lineage=build["lineage"], segment=segment)
for filetype in ("alignment", "nextclade")
for build in config["builds"].values()
for segment in config["segments"]
for segment in build.get("segments", config["segments"])
]

rule get_nextclade_dataset_for_lineage_and_segment:
Expand All @@ -13,7 +13,7 @@ rule get_nextclade_dataset_for_lineage_and_segment:
shell:
"""
nextclade3 dataset get \
-n flu_{wildcards.lineage}_{wildcards.segment} \
-n 'nextstrain/flu/{wildcards.lineage}/{wildcards.segment}' \
--output-dir {output.nextclade_dir}
"""

Expand Down