Skip to content

Commit

Permalink
Run Nextclade on all 8 genes for H1 and H3
Browse files Browse the repository at this point in the history
Adds remaining gene segments to the default list of segments to process
with Nextclade. Since B/Vic only has HA and NA Nextclades datasets right
now, this commit modifies the logic of the workflow to look for a
build-specific list of segments and defines that list for the Vic build.
  • Loading branch information
huddlej committed Oct 15, 2024
1 parent da27f26 commit 3780fc0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
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
2 changes: 1 addition & 1 deletion 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 Down

0 comments on commit 3780fc0

Please sign in to comment.