Advertisement
Guest User

Untitled

a guest
Oct 21st, 2019
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. my_input_files = Channel.fromPath( './data/*.txt' )
  2.  
  3. process doSomething {
  4.  
  5. label (params.GPU == "ON" ? 'with_gpus': 'with_cpus')
  6.  
  7. input:
  8. set file(inputfile) from my_input_files
  9.  
  10. output:
  11. set file("${inputfile}.out") into my_output_files
  12.  
  13. script:
  14. """
  15. echo "my wonderful ${inputfile} > ${inputfile}.out"
  16. """
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement