|
|
|
@ -2,14 +2,15 @@ process CHECKM_LINEAGEWF {
|
|
|
|
|
tag "$meta.id"
|
|
|
|
|
label 'process_medium'
|
|
|
|
|
|
|
|
|
|
conda (params.enable_conda ? "bioconda::checkm-genome=1.1.3" : null)
|
|
|
|
|
conda (params.enable_conda ? "bioconda::checkm-genome=1.2.1" : null)
|
|
|
|
|
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
|
|
|
|
|
'https://depot.galaxyproject.org/singularity/checkm-genome:1.1.3--py_1' :
|
|
|
|
|
'quay.io/biocontainers/checkm-genome:1.1.3--py_1' }"
|
|
|
|
|
'https://depot.galaxyproject.org/singularity/checkm-genome:1.2.1--pyhdfd78af_0' :
|
|
|
|
|
'quay.io/biocontainers/checkm-genome:1.2.1--pyhdfd78af_0' }"
|
|
|
|
|
|
|
|
|
|
input:
|
|
|
|
|
tuple val(meta), path(fasta)
|
|
|
|
|
val fasta_ext
|
|
|
|
|
path db
|
|
|
|
|
|
|
|
|
|
output:
|
|
|
|
|
tuple val(meta), path("${prefix}") , emit: checkm_output
|
|
|
|
@ -20,9 +21,12 @@ process CHECKM_LINEAGEWF {
|
|
|
|
|
task.ext.when == null || task.ext.when
|
|
|
|
|
|
|
|
|
|
script:
|
|
|
|
|
def args = task.ext.args ?: ''
|
|
|
|
|
prefix = task.ext.prefix ?: "${meta.id}"
|
|
|
|
|
def args = task.ext.args ?: ''
|
|
|
|
|
prefix = task.ext.prefix ?: "${meta.id}"
|
|
|
|
|
checkm_db = db ? "export CHECKM_DATA_PATH=${db}" : ""
|
|
|
|
|
"""
|
|
|
|
|
$checkm_db
|
|
|
|
|
|
|
|
|
|
checkm \\
|
|
|
|
|
lineage_wf \\
|
|
|
|
|
-t $task.cpus \\
|
|
|
|
|