the splitting methods: • splitText - line by line • splitCsv - comma separated values format • splitFasta - by FASTA sequences • splitFastq - by FASTQ sequences
file y from ch_2 file 'data.fa' from ch_3 stdin from from ch_4 set (x, 'file.txt') from ch_5 process procName { ! ! ! ! ! ! ! ! ! """ <your script> """ ! }
: Simply declares some variables prefixed by params When launching your script you can override the default values $ nextflow run <script file> -‐-‐p1 'delta' -‐-‐p2 'gamma'
by upstream processes my_items.collectFile(storeDir:'path/name') { ! def key = get_a_key_from_the_item(it) def content = get_the_item_value(it) [ key, content ] ! } Collect the items and group them into files having a names defined by a grouping criteria
$ module purge $ module load nextflow/0.12.3-‐goolf-‐1.4.10-‐no-‐OFED-‐Java-‐1.7.0_21 $ curl -‐fsSL get.nextflow.io | bash Login in ANT-LOGIN If you have module configured: Otherwise install it downloading from internet