-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ingest/ci: Use custom rules to manage example data
Keeps the default rules simpler by hiding the use of example data in the custom rules for CI. This matches how we manage example data in the phylogenetic workflow.
- Loading branch information
1 parent
567bccf
commit b9386ad
Showing
4 changed files
with
18 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
rule copy_example_data: | ||
input: | ||
ncbi_dataset="example_data/ncbi_dataset.zip" | ||
output: | ||
ncbi_dataset=temp("data/ncbi_dataset.zip") | ||
shell: | ||
""" | ||
cp -f {input.ncbi_dataset} {output.ncbi_dataset} | ||
""" | ||
|
||
# Add a Snakemake ruleorder directive here if you need to resolve ambiguous rules | ||
# that have the same output as the copy_example_data rule. | ||
|
||
ruleorder: copy_example_data > fetch_ncbi_dataset_package |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters