nf-core_modules/tools/gatk/dict/main.nf

19 lines
375 B
Text
Raw Normal View History

process gatk_dict {
tag {fasta}
container 'quay.io/biocontainers/gatk4-spark:4.1.4.1--1'
input:
path(fasta)
output:
path("${fasta.baseName}.dict")
script:
"""
gatk --java-options "-Xmx${task.memory.toGiga()}g" \
CreateSequenceDictionary \
--REFERENCE ${fasta} \
--OUTPUT ${fasta.baseName}.dict
"""
}