nf-core_modules/software/htslib/tabix/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
224 B
Text

process htslib_tabix {
tag "$vcf"
container 'quay.io/biocontainers/tabix:0.2.6--ha92aebf_0'
input:
path vcf
output:
path "${vcf}.tbi"
script:
"""
tabix -p vcf ${vcf}
"""
}