Skip to content

Instantly share code, notes, and snippets.

@egonw
Created July 24, 2018 16:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save egonw/884b30a49bea876969a19d6c105624a1 to your computer and use it in GitHub Desktop.
Save egonw/884b30a49bea876969a19d6c105624a1 to your computer and use it in GitHub Desktop.
Channel.fromPath('batch1.txt').set { batches }
process iterateBatches {
input:
val x from batches
output:
file 'range_*' into masses
exec:
println x
}
process iterateMasses {
input:
val massRange from masses
exec:
println "Mass $massRange"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment