Skip to content

Commit

Permalink
Updated gzrt to 0.9.1 version
Browse files Browse the repository at this point in the history
  • Loading branch information
mazzalab committed Dec 18, 2024
1 parent 4b578d0 commit 0bd2532
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion modules/nf-core/gzrt/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ channels:
- conda-forge
- bioconda
dependencies:
- "bioconda::gzrt=0.8"
- "bioconda::gzrt=0.9.1"
6 changes: 4 additions & 2 deletions modules/nf-core/gzrt/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ process GZRT {

conda "${moduleDir}/environment.yml"
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
'https://depot.galaxyproject.org/singularity/gzrt:0.8--he4a0461_0':
'biocontainers/gzrt:0.8--he4a0461_0' }"
'https://depot.galaxyproject.org/singularity/gzrt:0.9.1--h577a1d6_0':
'biocontainers/gzrt:0.9.1--h577a1d6_0' }"

input:
tuple val(meta), path(fastqgz)
Expand All @@ -23,6 +23,7 @@ process GZRT {
}

prefix = task.ext.prefix ?: "${meta.id}_recovered"
if ("${fastqgz}" == "${prefix}.fastq.gz") error "Input and output names are the same, set prefix in module configuration to disambiguate!"
"""
gzrecover -p ${fastqgz} | gzip > ${prefix}.fastq.gz
Expand All @@ -36,6 +37,7 @@ process GZRT {

stub:
prefix = task.ext.prefix ?: "${meta.id}_recovered"
if ("${fastqgz}" == "${prefix}.fastq.gz") error "Input and output names are the same, set prefix in module configuration to disambiguate!"
"""
echo "" | gzip > ${prefix}.fastq.gz
Expand Down

0 comments on commit 0bd2532

Please sign in to comment.