mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-22 11:08:17 +00:00
a0443e2c54
* Update main.nf * Update meta.yml * Re-add logos as not staged in a way that works with MultiQC config files * Update main.nf * Remove now unnecessary input channel * Remove unused channel from tests * Update hAMRonization to 1.1.1 and add hAMRonization farGene * Fix hamronizatio ntests * Prettier * Fix fargene linting * Correct file * Fix fargene output * Apply suggestions from code review Co-authored-by: Jasmin F <73216762+jasmezz@users.noreply.github.com> * Fix summarise tests * Prettier * Fix incorrect quotes in tags Co-authored-by: Jasmin F <73216762+jasmezz@users.noreply.github.com>
33 lines
959 B
Text
33 lines
959 B
Text
process EIDO_VALIDATE {
|
|
tag "$samplesheet"
|
|
label 'process_single'
|
|
|
|
conda (params.enable_conda ? "conda-forge::eido=0.1.9" : null)
|
|
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
|
|
'https://containers.biocontainers.pro/s3/SingImgsRepo/eido/0.1.9_cv2/eido_0.1.9_cv2.sif' :
|
|
'biocontainers/eido:0.1.9_cv2' }"
|
|
|
|
input:
|
|
path samplesheet
|
|
path schema
|
|
path pep_input_base_dir
|
|
|
|
output:
|
|
path "versions.yml" , emit: versions
|
|
path "*.log" , emit: log
|
|
|
|
when:
|
|
task.ext.when == null || task.ext.when
|
|
|
|
script:
|
|
def args = task.ext.args ?: ''
|
|
def prefix = task.ext.prefix ?: "validation"
|
|
"""
|
|
eido validate $args $samplesheet -s $schema -e > ${prefix}.log
|
|
|
|
cat <<-END_VERSIONS > versions.yml
|
|
"${task.process}":
|
|
eido: \$(echo \$(eido --version 2>&1) | sed 's/^.*eido //;s/ .*//' ))
|
|
END_VERSIONS
|
|
"""
|
|
}
|