Skip to content
Snippets Groups Projects
Verified Commit c55f3be5 authored by Laurent Modolo's avatar Laurent Modolo
Browse files

fastqc: add singularity to nf files

parent 9b037d38
No related branches found
No related tags found
No related merge requests found
...@@ -5,6 +5,16 @@ profiles { ...@@ -5,6 +5,16 @@ profiles {
process { process {
withName: fastqc_fastq { withName: fastqc_fastq {
container = "fastqc:0.11.5" container = "fastqc:0.11.5"
cpus = 1
}
}
}
singularity {
singularity.enabled = true
process {
withName: fastqc_fastq {
cpus = 1
container = "file://bin/fastqc:0.11.5.sif"
} }
} }
} }
...@@ -15,6 +25,7 @@ profiles { ...@@ -15,6 +25,7 @@ profiles {
module = "FastQC/0.11.5" module = "FastQC/0.11.5"
executor = "sge" executor = "sge"
clusterOptions = "-m e -cwd -V" clusterOptions = "-m e -cwd -V"
cpus = 1
memory = "20GB" memory = "20GB"
time = "12h" time = "12h"
queue = 'monointeldeb128' queue = 'monointeldeb128'
......
...@@ -5,6 +5,16 @@ profiles { ...@@ -5,6 +5,16 @@ profiles {
process { process {
withName: fastqc_fastq { withName: fastqc_fastq {
container = "fastqc:0.11.5" container = "fastqc:0.11.5"
cpus = 1
}
}
}
singularity {
singularity.enabled = true
process {
withName: fastqc_fastq {
cpus = 1
container = "file://bin/fastqc:0.11.5.sif"
} }
} }
} }
...@@ -15,6 +25,7 @@ profiles { ...@@ -15,6 +25,7 @@ profiles {
module = "FastQC/0.11.5" module = "FastQC/0.11.5"
executor = "sge" executor = "sge"
clusterOptions = "-m e -cwd -V" clusterOptions = "-m e -cwd -V"
cpus = 1
memory = "20GB" memory = "20GB"
time = "12h" time = "12h"
queue = 'monointeldeb128' queue = 'monointeldeb128'
......
...@@ -11,7 +11,6 @@ Channel ...@@ -11,7 +11,6 @@ Channel
process fastqc_fastq { process fastqc_fastq {
tag "$file_id" tag "$file_id"
publishDir "results/fastq/fastqc/", mode: 'copy' publishDir "results/fastq/fastqc/", mode: 'copy'
cpus = 1
input: input:
set file_id, file(reads) from fastq_files set file_id, file(reads) from fastq_files
......
./nextflow src/nf_modules/fastqc/fastqc_paired.nf \ ./nextflow src/nf_modules/fastqc/fastqc_paired.nf \
-c src/nf_modules/fastqc/fastqc_paired.config \ -c src/nf_modules/fastqc/fastqc_paired.config \
-profile docker \ -profile docker \
--fastq "data/tiny_dataset/fastq/tiny_R{1,2}.fastq" --fastq "data/tiny_dataset/fastq/tiny_R{1,2}.fastq" \
-resume
./nextflow src/nf_modules/fastqc/fastqc_single.nf \ ./nextflow src/nf_modules/fastqc/fastqc_single.nf \
-c src/nf_modules/fastqc/fastqc_single.config \ -c src/nf_modules/fastqc/fastqc_single.config \
-profile docker \ -profile docker \
--fastq "data/tiny_dataset/fastq/tiny_S.fastq" --fastq "data/tiny_dataset/fastq/tiny_S.fastq" \
-resume
if [ -x "$(command -v singularity)" ]; then
./nextflow src/nf_modules/fastqc/fastqc_paired.nf \
-c src/nf_modules/fastqc/fastqc_paired.config \
-profile singularity \
--fastq "data/tiny_dataset/fastq/tiny_R{1,2}.fastq" \
-resume
./nextflow src/nf_modules/fastqc/fastqc_single.nf \
-c src/nf_modules/fastqc/fastqc_single.config \
-profile singularity \
--fastq "data/tiny_dataset/fastq/tiny_S.fastq" \
-resume
fi
...@@ -14,7 +14,7 @@ profiles { ...@@ -14,7 +14,7 @@ profiles {
process { process {
withName: trimming { withName: trimming {
cpus = 4 cpus = 4
container = "file://bin/UrQt:d62c1f8.sif" container = "file://bin/urqt:d62c1f8.sif"
} }
} }
} }
......
...@@ -13,7 +13,7 @@ profiles { ...@@ -13,7 +13,7 @@ profiles {
singularity.enabled = true singularity.enabled = true
process { process {
withName: trimming { withName: trimming {
container = "file://bin/UrQt:d62c1f8.sif" container = "file://bin/urqt:d62c1f8.sif"
cpus = 4 cpus = 4
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment