Skip to content

Commit

Permalink
trigger_rebuild_pipeline: Update inputs to match ncov builds
Browse files Browse the repository at this point in the history
The inputs required to trigger downstream ncov builds were originally
set in Nov 2022 (80e5384).

The downstream ncov builds have since been updated to use different
input files from S3 in April 2023:
1. use aligned.fasta instead of sequences.fasta
2. use zst instead of gz/xz files
3. 21L inputs were updated to aligned.fasta and zst files

This commit updates the inputs for the trigger rule to ensure that the
downstream ncov builds are only triggered after the appropriate files
have been uploaded to S3.

[1] nextstrain/ncov@1376d82
[2] nextstrain/ncov@ad0d1e3
[3] nextstrain/ncov@2323afd
  • Loading branch information
joverlee521 committed Mar 6, 2024
1 parent d06e653 commit a19668d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions workflow/snakemake_rules/trigger.smk
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ These output files are empty flag files to force Snakemake to run the trigger ru
rule trigger_rebuild_pipeline:
message: "Triggering nextstrain/ncov rebuild action (via repository dispatch)"
input:
metadata_upload = f"data/{database}/metadata.tsv.gz.upload",
fasta_upload = f"data/{database}/sequences.fasta.xz.upload",
metadata_upload = f"data/{database}/metadata.tsv.zst.upload",
fasta_upload = f"data/{database}/aligned.fasta.zst.upload",
output:
touch(f"data/{database}/trigger-rebuild.done")
params:
Expand Down

0 comments on commit a19668d

Please sign in to comment.