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

flag to allow input resolution to fallback to cwd #44

Open
thejmazz opened this issue Oct 29, 2016 · 1 comment
Open

flag to allow input resolution to fallback to cwd #44

thejmazz opened this issue Oct 29, 2016 · 1 comment

Comments

@thejmazz
Copy link
Member

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

else need to make sure files end up in DAG

@thejmazz
Copy link
Member Author

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
`)

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

No branches or pull requests

2 participants