Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
inter_CATI_omics
Hackathon_octobre2021
atelier_repro
Commits
169fecc5
Commit
169fecc5
authored
Oct 08, 2021
by
Ludovic Legrand
Browse files
collect avec creation des arguments pour une ligne de commande
parent
014f6cd9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Nextflow/05operateurs/operateur.collect2.nf
0 → 100644
View file @
169fecc5
nextflow.enable.dsl=2
test = Channel.fromPath('./rawdata/dev/control/*.fastq.gz')
process gunzip {
publishDir('result')
input:
val(par)
output:
path('log')
script:
println(par.join(' '))
"""
echo $par > log
"""
}
workflow {
gunzip(test.collect{ "--variant $it " })
gunzip.out[0].view()
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment