add nextflow d30e48d
This commit is contained in:
22
nextflow/tests/stage-out-rsync.nf
Normal file
22
nextflow/tests/stage-out-rsync.nf
Normal file
@@ -0,0 +1,22 @@
|
||||
|
||||
process test {
|
||||
tag "$number"
|
||||
storeDir 'cache/test'
|
||||
stageOutMode 'rsync'
|
||||
|
||||
input:
|
||||
val number
|
||||
|
||||
output:
|
||||
path('*.txt')
|
||||
|
||||
script:
|
||||
"""
|
||||
echo "This is an example process with number: ${number}" > ${number}.txt
|
||||
"""
|
||||
}
|
||||
|
||||
workflow {
|
||||
numbers = channel.of(1, 2, 3)
|
||||
test(numbers).view()
|
||||
}
|
||||
Reference in New Issue
Block a user