Skip to content

Commit cc995fa

Browse files
committed
Update config key case for genbank features
1 parent aa743de commit cc995fa

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

config/config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ WINDOW:
6464
WIDTH: 1000
6565
STEP: 50
6666
GB_FEATURES:
67-
include: # any
67+
INCLUDE: # any
6868
product:
6969
- "ORF1ab polyprotein"
7070
- "surface glycoprotein"
@@ -77,7 +77,7 @@ GB_FEATURES:
7777
- "ORF8 protein"
7878
- "nucleocapsid phosphoprotein"
7979
- "ORF10 protein"
80-
# exclude: ... # all
80+
# EXCLUDE: ... # all
8181
GISAID:
8282
CREDENTIALS: "config/gisaid.yaml"
8383
DATE_COLUMN: "CollectionDate"

workflow/scripts/N_S_sites_from_fasta.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,8 @@ def main():
8989
logging.debug("Selecting all features")
9090
feature_iterator = iter(gb.features)
9191
else:
92-
included = snakemake.params.features.get("include", {})
93-
excluded = snakemake.params.features.get("exclude", {})
92+
included = snakemake.params.features.get("INCLUDE", {})
93+
excluded = snakemake.params.features.get("EXCLUDE", {})
9494
logging.debug(f"Selecting features including any of {included} and excluding all of {excluded}")
9595
feature_iterator = (
9696
feature for feature in gb.features

workflow/scripts/window.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ def main():
7474
logging.debug("Selecting all features")
7575
feature_iterator = iter(gb.features)
7676
else:
77-
included = snakemake.params.features.get("include", {})
78-
excluded = snakemake.params.features.get("exclude", {})
77+
included = snakemake.params.features.get("INCLUDE", {})
78+
excluded = snakemake.params.features.get("EXCLUDE", {})
7979
logging.debug(f"Selecting features including any of {included} and excluding all of {excluded}")
8080
feature_iterator = (
8181
feature for feature in gb.features

0 commit comments

Comments
 (0)