value
Pass something in directly, as it is, with no resolution. Could be a boolean, string, number, Array, Function, Promise, ...
file
a glob expression/regex to be resolved to a full path before/after task
stream
Use this if the task should take a stream as input, output, or both.
task 1
{ input: { value: '2492428' }, output: { stream: 'stdout' } }
task 2
{ input: { stream: 'stdin' }, output: { file: '*_genomic.fna.gz' } }
This will take the output stream of the preceding task and pipe it into the input of this task.
It is also possible to stream out an existing (or as it is created) file:
{ input: { 'stream-file': '*.sam' }, output: { stream: 'stdout' } }
value
Pass something in directly, as it is, with no resolution. Could be a
boolean,string,number,Array,Function,Promise, ...file
a glob expression/regex to be resolved to a full path before/after task
stream
Use this if the task should take a stream as input, output, or both.
task 1
task 2
This will take the
outputstream of the preceding task and pipe it into theinputof this task.It is also possible to stream out an existing (or as it is created) file: