Skip to content

Commit

Permalink
feat: Add pigz to trimgalore
Browse files Browse the repository at this point in the history
  • Loading branch information
edmundmiller committed Dec 6, 2024
1 parent 18ce03b commit 3a9045a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion modules/nf-core/trimgalore/environment.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
channels:
- conda-forge
- bioconda

dependencies:
- bioconda::cutadapt=4.9
- bioconda::trim-galore=0.6.10
- conda-forge::pigz=2.8
6 changes: 3 additions & 3 deletions modules/nf-core/trimgalore/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ process TRIMGALORE {

conda "${moduleDir}/environment.yml"
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
'https://depot.galaxyproject.org/singularity/trim-galore%3A0.6.10--hdfd78af_1' :
'biocontainers/trim-galore:0.6.10--hdfd78af_1' }"
'https://community-cr-prod.seqera.io/docker/registry/v2/blobs/sha256/9b/9becad054093ad4083a961d12733f2a742e11728fe9aa815d678b882b3ede520/data' :
'community.wave.seqera.io/library/cutadapt_trim-galore_pigz:a98edd405b34582d' }"

input:
tuple val(meta), path(reads)
Expand All @@ -24,7 +24,7 @@ process TRIMGALORE {
script:
def args = task.ext.args ?: ''
// Calculate number of --cores for TrimGalore based on value of task.cpus
// See: https://github.com/FelixKrueger/TrimGalore/blob/master/Changelog.md#version-060-release-on-1-mar-2019
// See: https://github.com/FelixKrueger/TrimGalore/blob/master/CHANGELOG.md#version-060-release-on-1-mar-2019
// See: https://github.com/nf-core/atacseq/pull/65
def cores = 1
if (task.cpus) {
Expand Down

0 comments on commit 3a9045a

Please sign in to comment.