Skip to content

Instantly share code, notes, and snippets.

View huguesfontenelle's full-sized avatar

Hugues Fontenelle huguesfontenelle

View GitHub Profile
ch = Channel.from(1)
process rerun {
echo true
errorStrategy{task.attempt==1 ? 'retry' : 'ignore'}
input:
val(no) from ch
script:
@huguesfontenelle
huguesfontenelle / pipe_file.nf
Created October 12, 2015 08:31
Nextflow piping files
#!/usr/bin/env nextflow
output_path = new File('').getAbsolutePath() + '/data'
filenames = Channel
.from( "alpha", "beta" )
process dostuffs {
storeDir output_path