Skip to content

Commit ba334ef

Browse files
committed
ingest: add species config param
Add ability to configure species so that users can run ingest for a subset of species. Motivated by discussion in <#56 (comment)>
1 parent 9069001 commit ba334ef

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

ingest/Snakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ workdir: workflow.current_basedir
88
# Use default configuration values. Override with Snakemake's --configfile/--config options.
99
configfile: "defaults/config.yaml"
1010

11-
SPECIES = ['ebov', 'bdbv', 'sudv']
11+
SPECIES = config["species"]
1212

1313
# This is the default rule that Snakemake will run when there are no specified targets.
1414
# The default output of the ingest workflow is usually the curated metadata and sequences.

ingest/defaults/config.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
#
44
# Define optional config parameters with their default values here so that users
55
# do not have to dig through the workflows to figure out the default values
6+
species:
7+
- ebov
8+
- bdbv
9+
- sudv
610

711
ppx_fetch:
812
ebov: # zaire

0 commit comments

Comments
 (0)