-
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.
Following the pathogen-repo-guide and nextstrain/zika@efe11e3
- Loading branch information
1 parent
88f2e68
commit 15bebcb
Showing
4 changed files
with
51 additions
and
2 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
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,7 @@ | ||
# This configuration file contains the custom configurations parameters | ||
# for the CI workflow to run with the example data. | ||
|
||
# Custom rules to run as part of the CI automated workflow | ||
# The paths should be relative to the phylogenetic directory. | ||
custom_rules: | ||
- build-configs/ci/copy_example_data.smk |
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,17 @@ | ||
rule copy_example_data: | ||
input: | ||
sequences="example_data/sequences.fasta", | ||
metadata="example_data/metadata.tsv", | ||
output: | ||
sequences="data/sequences.fasta", | ||
metadata="data/metadata.tsv", | ||
shell: | ||
""" | ||
cp -f {input.sequences} {output.sequences} | ||
cp -f {input.metadata} {output.metadata} | ||
""" | ||
|
||
# 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 > ... |