mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-11-13 13:23:09 +00:00
70daf8be30
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
16 lines
292 B
Text
16 lines
292 B
Text
process tcoffee {
|
|
tag "$fasta"
|
|
publishDir "${params.outdir}/tcoffee"
|
|
container 'quay.io/biocontainers/t_coffee:11.0.8--py27pl5.22.0_5'
|
|
|
|
input:
|
|
path "$fasta"
|
|
|
|
output:
|
|
path "${fasta}.aln"
|
|
|
|
script:
|
|
"""
|
|
t_coffee -seq $fasta -outfile ${fasta}.aln
|
|
"""
|
|
}
|