Skip to content
Open
Show file tree
Hide file tree
Changes from all 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
10 changes: 5 additions & 5 deletions modules/local/sra_fastq_ftp/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ process SRA_FASTQ_FTP {
label 'process_low'
label 'error_retry'

conda "conda-forge::wget=1.20.1"
conda "conda-forge::wget=1.21.4"
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
'https://depot.galaxyproject.org/singularity/wget:1.20.1' :

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason, why the wget singularity container version is not changed?
The container https://depot.galaxyproject.org/singularity/wget:1.20.1 would be inconsistent with the docker and conda environments or am I missing something?

In issue 328 which you are mentioning people are using singularity. In a quick test changing the container to https://depot.galaxyproject.org/singularity/wget:1.21.4 resolves the issue for me.

'biocontainers/wget:1.20.1' }"
'biocontainers/wget:1.21.4' }"

input:
tuple val(meta), val(fastq)
Expand All @@ -24,7 +24,7 @@ process SRA_FASTQ_FTP {
wget \\
$args \\
-O ${meta.id}.fastq.gz \\
${fastq[0]}
ftp://${fastq[0]}

echo "${meta.md5_1} ${meta.id}.fastq.gz" > ${meta.id}.fastq.gz.md5
md5sum -c ${meta.id}.fastq.gz.md5
Expand All @@ -39,15 +39,15 @@ process SRA_FASTQ_FTP {
wget \\
$args \\
-O ${meta.id}_1.fastq.gz \\
${fastq[0]}
ftp://${fastq[0]}

echo "${meta.md5_1} ${meta.id}_1.fastq.gz" > ${meta.id}_1.fastq.gz.md5
md5sum -c ${meta.id}_1.fastq.gz.md5

wget \\
$args \\
-O ${meta.id}_2.fastq.gz \\
${fastq[1]}
ftp://${fastq[1]}

echo "${meta.md5_2} ${meta.id}_2.fastq.gz" > ${meta.id}_2.fastq.gz.md5
md5sum -c ${meta.id}_2.fastq.gz.md5
Expand Down
2 changes: 1 addition & 1 deletion nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ manifest {
description = """Pipeline to fetch metadata and raw FastQ files from public databases"""
mainScript = 'main.nf'
nextflowVersion = '!>=23.04.0'
version = '1.12.0'
version = '1.12.1'
doi = 'https://doi.org/10.5281/zenodo.5070524'
}

Expand Down
Loading