-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #24 from nextstrain/more-example-data-23
Add Nextclade and geo rules to example-data; disable "prM-E" build in phylo CI
- Loading branch information
Showing
9 changed files
with
44,776 additions
and
45 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,38 @@ | ||
rule copy_example_data: | ||
rule copy_example_ncbi_data: | ||
input: | ||
ncbi_dataset="example-data/ncbi_dataset.zip" | ||
output: | ||
ncbi_dataset=temp("data/ncbi_dataset.zip") | ||
shell: | ||
""" | ||
r""" | ||
cp -f {input.ncbi_dataset} {output.ncbi_dataset} | ||
""" | ||
|
||
# force this rule over NCBI data fetch | ||
ruleorder: copy_example_data > fetch_ncbi_dataset_package | ||
ruleorder: copy_example_ncbi_data > fetch_ncbi_dataset_package | ||
|
||
|
||
DATASET_NAME = config["nextclade"]["dataset_name"] | ||
rule copy_example_nextclade_data: | ||
input: | ||
nextclade_dataset="example-data/nextclade_dataset.zip" | ||
output: | ||
nextclade_dataset=temp("data/nextclade_data/{DATASET_NAME}.zip") | ||
shell: | ||
r""" | ||
cp -f {input.nextclade_dataset} {output.nextclade_dataset} | ||
""" | ||
# force this rule over Nextclade data fetch | ||
ruleorder: copy_example_nextclade_data > get_nextclade_dataset | ||
|
||
|
||
rule copy_example_geolocation_rules: | ||
input: | ||
general_geolocation_rules="example-data/general-geolocation-rules.tsv" | ||
output: | ||
general_geolocation_rules="data/general-geolocation-rules.tsv", | ||
shell: | ||
r""" | ||
cp -f {input.general_geolocation_rules} {output.general_geolocation_rules} | ||
""" | ||
# force this rule over downloading geolocation rules | ||
ruleorder: copy_example_geolocation_rules > fetch_general_geolocation_rules |
44,702 changes: 44,702 additions & 0 deletions
44,702
ingest/example-data/general-geolocation-rules.tsv
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
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 |
---|---|---|
@@ -1,2 +1,4 @@ | ||
builds: | ||
- "genome" | ||
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 |
---|---|---|
@@ -1,3 +1,6 @@ | ||
builds: | ||
- "genome" | ||
- "prM-E" | ||
strain_id_field: "accession" | ||
files: | ||
description: "defaults/description.md" | ||
|
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