Skip to content

Commit

Permalink
Adding base docker image to all rules
Browse files Browse the repository at this point in the history
  • Loading branch information
skchronicles committed Jan 25, 2023
1 parent 43c5ebd commit 26fa2a5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
5 changes: 1 addition & 4 deletions config/containers.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
{
"images": {
"fastqc": "docker://nciccbr/ccbr_fastqc_0.11.9:v1.1",
"modr": "docker://skchronicles/nanite:v0.1.0",
"multiqc": "docker://skchronicles/multiqc:v0.1.0",
"nanoplot": "docker://staphb/nanoplot:1.33.0"
"modr": "docker://skchronicles/modr:v0.1.0"
}
}
1 change: 0 additions & 1 deletion workflow/envs/modr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ channels:
- anaconda
dependencies:
- nanofilt=2.8.0
- nanoplot=1.38.1
- minimap2=2.24
- fastqc=0.11.9
- nanoplot=1.41.0
Expand Down
8 changes: 4 additions & 4 deletions workflow/rules/qc.smk
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ rule fastqc_raw:
rname = "rawfqc",
outdir = join(workpath, "{name}", "fastqc"),
conda: depending(join(workpath, config['conda']['modr']), use_conda)
container: depending(config['images']['fastqc'], use_singularity)
container: depending(config['images']['modr'], use_singularity)
threads: int(allocated("threads", "fastqc_raw", cluster))
shell: """
fastqc \\
Expand All @@ -44,7 +44,7 @@ rule fastqc_filtered:
rname = "filtfqc",
outdir = join(workpath, "{name}", "fastqc"),
conda: depending(join(workpath, config['conda']['modr']), use_conda)
container: depending(config['images']['fastqc'], use_singularity)
container: depending(config['images']['modr'], use_singularity)
threads: int(allocated("threads", "fastqc_filtered", cluster))
shell: """
fastqc \\
Expand Down Expand Up @@ -72,7 +72,7 @@ rule nanoplot:
rname = "nanoplot",
outdir = join(workpath, "{name}", "nanoplot"),
conda: depending(join(workpath, config['conda']['modr']), use_conda)
container: depending(config['images']['nanoplot'], use_singularity)
container: depending(config['images']['modr'], use_singularity)
threads: int(allocated("threads", "nanoplot", cluster))
shell: """
NanoPlot \\
Expand Down Expand Up @@ -105,7 +105,7 @@ rule multiqc:
outdir = join(workpath, "reports"),
conf = join(workpath, "resources", "multiqc_config.yaml"),
conda: depending(join(workpath, config['conda']['modr']), use_conda)
container: depending(config['images']['multiqc'], use_singularity)
container: depending(config['images']['modr'], use_singularity)
threads: int(allocated("threads", "mulitqc", cluster))
shell: """
multiqc \\
Expand Down

0 comments on commit 26fa2a5

Please sign in to comment.