mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-11-14 13:43:09 +00:00
19 lines
375 B
Text
19 lines
375 B
Text
|
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
|
||
|
"""
|
||
|
}
|