mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-11-15 14:13:09 +00:00
90aef30f43
* Set process label to `process_single` for modules with no `task.cpus` usage * Fix tests of 'borked' modules * prettier * More modules are single-threaded and can use process_single * Adding process_single to hmmer/esl* modules * Fix failing tests * Prettier Co-authored-by: Matthieu Muffato <mm49@sanger.ac.uk> Co-authored-by: Daniel Lundin <erik.rikard.daniel@gmail.com>
30 lines
822 B
Text
30 lines
822 B
Text
def VERSION='2.7.1' // Version information not provided by tool on CLI
|
|
|
|
process KRONA_KRONADB {
|
|
label 'process_single'
|
|
|
|
conda (params.enable_conda ? "bioconda::krona=2.7.1" : null)
|
|
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
|
|
'https://depot.galaxyproject.org/singularity/krona:2.7.1--pl526_5' :
|
|
'quay.io/biocontainers/krona:2.7.1--pl526_5' }"
|
|
|
|
output:
|
|
path 'taxonomy/taxonomy.tab', emit: db
|
|
path "versions.yml" , emit: versions
|
|
|
|
when:
|
|
task.ext.when == null || task.ext.when
|
|
|
|
script:
|
|
def args = task.ext.args ?: ''
|
|
"""
|
|
ktUpdateTaxonomy.sh \\
|
|
$args \\
|
|
taxonomy/
|
|
|
|
cat <<-END_VERSIONS > versions.yml
|
|
"${task.process}":
|
|
krona: $VERSION
|
|
END_VERSIONS
|
|
"""
|
|
}
|