mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-11-15 22:23:09 +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
857 B
Text
33 lines
857 B
Text
process GENMAP_INDEX {
|
|
tag "$fasta"
|
|
label 'process_high'
|
|
|
|
conda (params.enable_conda ? "bioconda::genmap=1.3.0" : null)
|
|
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
|
|
'https://depot.galaxyproject.org/singularity/genmap:1.3.0--h1b792b2_1' :
|
|
'quay.io/biocontainers/genmap:1.3.0--h1b792b2_1' }"
|
|
|
|
input:
|
|
path fasta
|
|
|
|
output:
|
|
path "genmap" , emit: index
|
|
path "versions.yml" , emit: versions
|
|
|
|
when:
|
|
task.ext.when == null || task.ext.when
|
|
|
|
script:
|
|
def args = task.ext.args ?: ''
|
|
"""
|
|
genmap \\
|
|
index \\
|
|
-F $fasta \\
|
|
-I genmap
|
|
|
|
cat <<-END_VERSIONS > versions.yml
|
|
"${task.process}":
|
|
genmap: \$(genmap --version 2>&1 | sed 's/GenMap version: //; s/SeqAn.*\$//')
|
|
END_VERSIONS
|
|
"""
|
|
}
|