Skip to content

Commit

Permalink
Refactor assay-specific Snakefiles to include SCALE_RESOURCES variable
Browse files Browse the repository at this point in the history
  • Loading branch information
alsmith151 committed Jul 23, 2024
1 parent 7c54954 commit 6ff4793
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion seqnado/workflow/snakefile_atac
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ from seqnado.helpers import format_config_dict, symlink_fastq_files, remove_unwa
####################

ASSAY = "ATAC"
SCALE_RESOURCES = os.environ.get("SCALE_RESOURCES", "1")
SCALE_RESOURCES = float(os.environ.get("SCALE_RESOURCES", "1"))

configfile: "config_atac.yml"
container: "library://asmith151/seqnado/seqnado_pipeline:latest"
Expand Down
2 changes: 1 addition & 1 deletion seqnado/workflow/snakefile_chip
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ from seqnado.helpers import format_config_dict, symlink_fastq_files, get_scale_m
####################

ASSAY = "ChIP"
SCALE_RESOURCES = os.environ.get("SCALE_RESOURCES", "1")
SCALE_RESOURCES = float(os.environ.get("SCALE_RESOURCES", "1"))
configfile: "config_chip.yml"
container: "library://asmith151/seqnado/seqnado_pipeline:latest"

Expand Down
2 changes: 1 addition & 1 deletion seqnado/workflow/snakefile_rna
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ from seqnado.helpers import format_config_dict, symlink_fastq_files, remove_unwa
# Hardcoded config #
####################
ASSAY = "RNA"
SCALE_RESOURCES = os.environ.get("SCALE_RESOURCES", "1")
SCALE_RESOURCES = float(os.environ.get("SCALE_RESOURCES", "1"))


configfile: "config_rna.yml"
Expand Down
2 changes: 1 addition & 1 deletion seqnado/workflow/snakefile_snp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ from seqnado.helpers import format_config_dict, symlink_fastq_files, remove_unwa
####################

ASSAY = "SNP"
SCALE_RESOURCES = os.environ.get("SCALE_RESOURCES", "1")
SCALE_RESOURCES = float(os.environ.get("SCALE_RESOURCES", "1"))
configfile: "config_snp.yml"
container: "library://asmith151/seqnado/seqnado_pipeline:latest"

Expand Down

0 comments on commit 6ff4793

Please sign in to comment.