Skip to content
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
Closed

Types #7

thejmazz opened this issue Jul 3, 2016 · 3 comments
Assignees
Labels

Comments

@thejmazz
Copy link
Member

@thejmazz 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
Copy link
Member Author

@thejmazz thejmazz commented Jul 3, 2016

The objs for #6

@thejmazz
Copy link
Member Author

@thejmazz thejmazz commented Jul 3, 2016

EDIT:

switched from

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

to

{ value: 'foo' }
@thejmazz
Copy link
Member Author

@thejmazz 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
Projects
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants