bionode-watermill icon indicating copy to clipboard operation
bionode-watermill copied to clipboard

flag to allow input resolution to fallback to cwd

Open thejmazz opened this issue 8 years ago • 1 comments

by default off, but can be useful for putting quick pipelines together.

else need to make sure files end up in DAG

thejmazz avatar Oct 29 '16 05:10 thejmazz

For example, to get starting files from CWD into DAG:

const getters = task({
  input: {
    reference: '*.fna',
    reads: '*.fq'
  },
  output: [ 'reference.fna', 'reads.fq' ]
}, ({ input: { reference, reads } }) => `
cp ${reference} reference.fna && \
cp ${reads} reads.fq
`)

thejmazz avatar Oct 29 '16 05:10 thejmazz