Skip to content

Instantly share code, notes, and snippets.

View jbyars's full-sized avatar

Jason Byars jbyars

  • not so secret desert lair
View GitHub Profile
@jbyars
jbyars / baseline.nf
Last active May 24, 2016 21:21
I'm a bit confused how to achieve a rational resume behavior when combining `publishDir` and `when:`. The idea is we have 3 input files and 3 processes. Let's assume there is some output from each stage we want to preserve, that also needs to be used in subsequent stages. No way are we lucky enough to have independent processes :-P
#!/usr/bin/env nextflow
// Baseline example of processes. Everything is supposed to work right
// in this one.
params.srcDir = 'in'
params.dstDir = 'out'
//create the test cases
new File(params.srcDir + "/moe.txt").createNewFile()
@jbyars
jbyars / 0_reuse_code.js
Created October 27, 2015 17:48
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console