nf-core_modules/modules/hisat2/extractsplicesites/main.nf
Harshil Patel 4eed099a12
Bump HISAT2 version to 2.2.1 in all modules (#2139)
* Fix broken Quast module and bump MultiQC version in dumpsoftwareversions

* Bump HISAT2 version to 2.2.1

* Remove empty md5sums

* Remove empty md5sums

* Remove empty md5sums
2022-09-30 20:34:06 +01:00

31 lines
1.1 KiB
Text

process HISAT2_EXTRACTSPLICESITES {
tag "$gtf"
label 'process_medium'
// WARN: Version information not provided by tool on CLI. Please update version string below when bumping container versions.
conda (params.enable_conda ? 'bioconda::hisat2=2.2.1' : null)
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
'https://depot.galaxyproject.org/singularity/hisat2:2.2.1--h1b792b2_3' :
'quay.io/biocontainers/hisat2:2.2.1--h1b792b2_3' }"
input:
path gtf
output:
path "*.splice_sites.txt", emit: txt
path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script:
def args = task.ext.args ?: ''
def VERSION = '2.2.1' // WARN: Version information not provided by tool on CLI. Please update this string when bumping container versions.
"""
hisat2_extract_splice_sites.py $gtf > ${gtf.baseName}.splice_sites.txt
cat <<-END_VERSIONS > versions.yml
"${task.process}":
hisat2: $VERSION
END_VERSIONS
"""
}