add nextflow d30e48d
This commit is contained in:
6
nextflow/docs/snippets/collectfile.nf
Normal file
6
nextflow/docs/snippets/collectfile.nf
Normal file
@@ -0,0 +1,6 @@
|
||||
channel.of('alpha', 'beta', 'gamma')
|
||||
.collectFile(name: 'sample.txt', newLine: true)
|
||||
.subscribe { file ->
|
||||
println "Entries are saved to file: $file"
|
||||
println "File content is: ${file.text}"
|
||||
}
|
||||
Reference in New Issue
Block a user