diff --git a/profiles/nextclade.yaml b/profiles/nextclade.yaml index 44346bc3..0396cb18 100644 --- a/profiles/nextclade.yaml +++ b/profiles/nextclade.yaml @@ -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: @@ -15,3 +21,6 @@ builds: lineage: h3n2 vic: lineage: vic + segments: + - ha + - na diff --git a/profiles/nextclade/run-nextclade.smk b/profiles/nextclade/run-nextclade.smk index d4a8c41e..e1a4445e 100644 --- a/profiles/nextclade/run-nextclade.smk +++ b/profiles/nextclade/run-nextclade.smk @@ -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: