mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-11-15 22:23:09 +00:00
36 lines
937 B
Text
36 lines
937 B
Text
|
process ATAQV_MKARV {
|
||
|
label 'process_medium'
|
||
|
|
||
|
conda (params.enable_conda ? "bioconda::ataqv=1.3.0" : null)
|
||
|
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
|
||
|
'https://depot.galaxyproject.org/singularity/ataqv:1.3.0--py39hccc85d7_2':
|
||
|
'quay.io/biocontainers/ataqv:1.3.0--py39hccc85d7_2' }"
|
||
|
|
||
|
input:
|
||
|
path json
|
||
|
|
||
|
output:
|
||
|
path "html" , emit: html
|
||
|
path "versions.yml", emit: versions
|
||
|
|
||
|
when:
|
||
|
task.ext.when == null || task.ext.when
|
||
|
|
||
|
script:
|
||
|
def args = task.ext.args ?: ''
|
||
|
"""
|
||
|
mkarv \\
|
||
|
$args \\
|
||
|
--concurrency $task.cpus \\
|
||
|
--force \\
|
||
|
./html/ \\
|
||
|
${json.join(' ')}
|
||
|
|
||
|
cat <<-END_VERSIONS > versions.yml
|
||
|
"${task.process}":
|
||
|
# mkarv: \$( mkarv --version ) # Use this when version string has been fixed
|
||
|
ataqv: \$( ataqv --version )
|
||
|
END_VERSIONS
|
||
|
"""
|
||
|
}
|