add nextflow d30e48d

This commit is contained in:
2026-04-29 23:01:54 +02:00
parent d0b12d668d
commit 97cc9058d3
2840 changed files with 730250 additions and 0 deletions

39
nextflow/tests/tuples.nf Normal file
View File

@@ -0,0 +1,39 @@
#!/usr/bin/env nextflow
process touch {
input:
tuple val(id), val(fileName)
output:
tuple val(id), path('file*')
script:
"""
echo Creating $id
touch $fileName
"""
}
process makeFiles {
input:
tuple val(id), path('file_x')
output:
tuple val(id), path('*')
script:
"""
cp file_x copy_$id
touch beta_$id
"""
}
workflow {
Channel
.from( ['a', 'file1'], ['b','file2'] ) \
| touch \
| makeFiles \
| flatten \
| subscribe { println it }
}