nf-core_modules/software/samtools/faidx/main.nf
Paolo Di Tommaso 70daf8be30
Minor style improvents
This commit provides a minor refactoring with som
Nextflow code style improvments:
- Replaces `.toGiga()` with `.giga`
- Replaces `tag { foo }` with `tag "$foo"`
- Move publishDir before input declarations. Directives should be
  before the first input. Tho this is not enforced, it may be in
  future versions.
- Replaces input `file` with `path`
- Remove unnecessary parentheses
2020-07-27 12:11:42 +02:00

16 lines
238 B
Text

process samtools_faidx {
tag "$fasta"
container 'quay.io/biocontainers/samtools:1.9--h10a08f8_12'
input:
path fasta
output:
path "${fasta}.fai"
script:
"""
samtools faidx ${fasta}
"""
}