mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-11-14 05:43:08 +00:00
b5facb2db2
* first draft * fix test run * Apply suggestions from code review Co-authored-by: Jose Espinosa-Carrasco <kadomu@gmail.com> * Update tests/modules/ataqv/mkarv/test.yml * Update tests/modules/ataqv/mkarv/test.yml * Update tests/modules/ataqv/mkarv/test.yml * Update tests/modules/ataqv/mkarv/test.yml * Update tests/modules/ataqv/mkarv/test.yml * Update modules/ataqv/mkarv/nextflow.config * Delete nextflow.config * Update tests/modules/ataqv/mkarv/test.yml * fix linting * fix linting Co-authored-by: bjlang <> Co-authored-by: Jose Espinosa-Carrasco <kadomu@gmail.com>
35 lines
937 B
Text
35 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
|
|
"""
|
|
}
|