mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-11-10 20:23:10 +00:00
add task.cpus to pangolin (#263)
* add task.cpus to pangolin * bumped pangolin to v2.3.2
This commit is contained in:
parent
a552d97849
commit
0218824b86
2 changed files with 5 additions and 4 deletions
|
@ -11,11 +11,11 @@ process PANGOLIN {
|
||||||
mode: params.publish_dir_mode,
|
mode: params.publish_dir_mode,
|
||||||
saveAs: { filename -> saveFiles(filename:filename, options:params.options, publish_dir:getSoftwareName(task.process), publish_id:meta.id) }
|
saveAs: { filename -> saveFiles(filename:filename, options:params.options, publish_dir:getSoftwareName(task.process), publish_id:meta.id) }
|
||||||
|
|
||||||
conda (params.enable_conda ? 'bioconda::pangolin=2.2.2' : null)
|
conda (params.enable_conda ? 'bioconda::pangolin=2.3.2' : null)
|
||||||
if (workflow.containerEngine == 'singularity' && !params.singularity_pull_docker_container) {
|
if (workflow.containerEngine == 'singularity' && !params.singularity_pull_docker_container) {
|
||||||
container 'https://depot.galaxyproject.org/singularity/pangolin:2.2.2--py_0'
|
container 'https://depot.galaxyproject.org/singularity/pangolin:2.3.2--py_0'
|
||||||
} else {
|
} else {
|
||||||
container 'quay.io/biocontainers/pangolin:2.2.2--py_0'
|
container 'quay.io/biocontainers/pangolin:2.3.2--py_0'
|
||||||
}
|
}
|
||||||
|
|
||||||
input:
|
input:
|
||||||
|
@ -32,6 +32,7 @@ process PANGOLIN {
|
||||||
pangolin \\
|
pangolin \\
|
||||||
$fasta\\
|
$fasta\\
|
||||||
--outfile ${prefix}.pangolin.csv \\
|
--outfile ${prefix}.pangolin.csv \\
|
||||||
|
--threads $task.cpus \\
|
||||||
$options.args
|
$options.args
|
||||||
|
|
||||||
pangolin --version | sed "s/pangolin //g" > ${software}.version.txt
|
pangolin --version | sed "s/pangolin //g" > ${software}.version.txt
|
||||||
|
|
|
@ -4,4 +4,4 @@
|
||||||
- pangolin
|
- pangolin
|
||||||
files:
|
files:
|
||||||
- path: ./output/pangolin/test.pangolin.csv
|
- path: ./output/pangolin/test.pangolin.csv
|
||||||
md5sum: 43edd267815f6408b66961a0abf9ddd6
|
md5sum: 1d513775cec0901ebee1359c91035d3a
|
||||||
|
|
Loading…
Reference in a new issue