New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Types #7

Closed
thejmazz opened this Issue Jul 3, 2016 · 3 comments

Comments

2 participants
@thejmazz
Member

thejmazz commented Jul 3, 2016

value

Pass something in directly, as it is, with no resolution. Could be a boolean, string, number, Array, Function, Promise, ...

{ value: 'foo' }

file

a glob expression/regex to be resolved to a full path before/after task

{ file: '**/*.sra' }

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' } }
@thejmazz

This comment has been minimized.

Member

thejmazz commented Jul 3, 2016

The objs for #6

@thejmazz

This comment has been minimized.

Member

thejmazz commented Jul 3, 2016

EDIT:

switched from

{ val: 'foo', type: 'value' }

to

{ value: 'foo' }
@thejmazz

This comment has been minimized.

Member

thejmazz commented Jul 4, 2016

Closing as per port into wiki.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment