Skip to content

Commit

Permalink
Merge pull request #2 from TRON-Bioinformatics/resource-params
Browse files Browse the repository at this point in the history
Parameterize cpus and memory options
  • Loading branch information
ozlemmuslu authored Feb 4, 2025
2 parents 47acd20 + 2cc71ce commit d032afe
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions modules/merge_replicates.nf
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

process MERGE_REPLICATES {
tag "$name"
cpus 1
memory '4g'
cpus "${params.cpus}"
memory "${params.memory}"

conda (params.enable_conda ? 'conda-forge::libgcc-ng=10.3.0 conda-forge::gsl=2.7 bioconda::samtools=1.15.1' : null)

Expand Down Expand Up @@ -37,4 +37,4 @@ process MERGE_REPLICATES {
${normal_merge_cmd}
samtools index ${name}.normal.bam
"""
}
}
4 changes: 2 additions & 2 deletions modules/strelka2.nf
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ process STRELKA2 {
}

process CONCAT_FILES {
cpus 1
memory '4g'
cpus "${params.cpus}"
memory "${params.memory}"
publishDir "${params.output}/${name}", mode: 'copy'
tag "${name}"

Expand Down
2 changes: 1 addition & 1 deletion nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ process.shell = ['/bin/bash', '-euo', 'pipefail']

cleanup = true

VERSION = '0.2.2'
VERSION = '0.2.3'
DOI = 'doi'

manifest {
Expand Down

0 comments on commit d032afe

Please sign in to comment.