Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add singularity.registry = 'quay.io' for tests #3499

Merged
merged 5 commits into from
Jul 1, 2023
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion modules/nf-core/fastqc/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,11 @@ process FASTQC {
printf "%s %s\\n" $rename_to | while read old_name new_name; do
[ -f "\${new_name}" ] || ln -s \$old_name \$new_name
done
fastqc $args --threads $task.cpus $renamed_files

fastqc \\
$args \\
--threads $task.cpus \\
$renamed_files

cat <<-END_VERSIONS > versions.yml
"${task.process}":
Expand Down
4 changes: 3 additions & 1 deletion modules/nf-core/gatk4/applybqsrspark/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ process GATK4_APPLYBQSR_SPARK {
avail_mem = (task.memory.mega*0.8).intValue()
}
"""
gatk --java-options "-Xmx${avail_mem}M" ApplyBQSRSpark \\
gatk \\
--java-options "-Xmx${avail_mem}M" \\
ApplyBQSRSpark \\
--input $input \\
--output ${prefix}.${input.getExtension()} \\
--reference $fasta \\
Expand Down
3 changes: 2 additions & 1 deletion tests/config/nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ process {

if ("$PROFILE" == "singularity") {
singularity.enabled = true
singularity.registry = 'quay.io'
singularity.autoMounts = true
} else if ("$PROFILE" == "conda") {
conda.enabled = true
Expand All @@ -38,5 +39,5 @@ conda { createTimeout = "120 min" }
includeConfig 'test_data.config'

manifest {
nextflowVersion = '!>=22.10.1'
nextflowVersion = '!>=23.04.0'
}
3 changes: 2 additions & 1 deletion tests/config/nf-test.config
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ process {
profiles {
singularity {
singularity.enabled = true
singularity.registry = 'quay.io'
sateeshperi marked this conversation as resolved.
Show resolved Hide resolved
singularity.autoMounts = true
}
conda {
Expand Down Expand Up @@ -44,5 +45,5 @@ conda { createTimeout = "120 min" }
includeConfig 'test_data.config'

manifest {
nextflowVersion = '!>=22.10.1'
nextflowVersion = '!>=23.04.0'
}