SHARE
TWEET

Untitled

a guest Oct 21st, 2019 87 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top