Skip to content

Commit

Permalink
fix: addresssing incompatibility with snakemake>=8.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rroutsong committed Feb 8, 2024
1 parent 7ba731a commit f50e75c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/dryrun.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: docker://snakemake/snakemake:v7.32.4
- name: Dry Run with test data
run: |
docker run -h cn0000 -v $PWD:/opt2 -w /opt2 snakemake/snakemake:stable /bin/bash -c \
docker run -h cn0000 -v $PWD:/opt2 -w /opt2 snakemake/snakemake:v7.32.4 /bin/bash -c \
"source get_submods.sh; pip install -r requirements.txt; ./weave run --sheetname paired_end.csv -s /opt2/.tests/paired_end -o /opt2/.tests/dry_run_out --local --dry-run /opt2/.tests/paired_end"
- name: View the pipeline config file
run: |
Expand Down Expand Up @@ -52,7 +52,7 @@ jobs:
- uses: docker://snakemake/snakemake:v7.32.4
- name: Dry Run with test data
run: |
docker run -h cn0000 -v $PWD:/opt2 -w /opt2 snakemake/snakemake:stable /bin/bash -c \
docker run -h cn0000 -v $PWD:/opt2 -w /opt2 snakemake/snakemake:v7.32.4 /bin/bash -c \
"source get_submods.sh; pip install -r requirements.txt;./weave run --sheetname single_end.csv -s /opt2/.tests/single_end -o /opt2/.tests/dry_run_out --local --dry-run /opt2/.tests/single_end"
- name: View the pipeline config file
run: |
Expand Down
2 changes: 1 addition & 1 deletion workflow/qc.smk
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ rule fastqc_trimmed:
threads: 4
resources:
mem_mb = 8096,
disk_mb = int(500e3) if config['use_scratch'] else 0,
disk_mb = int(500e3) if config.get('use_scratch', True) else 0,
log: config['out_to'] + "/logs/" + config["project"] + "/fastqc_trimmed/{sids}_R{rnums}.log"
shell:
"""
Expand Down

0 comments on commit f50e75c

Please sign in to comment.