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

simplify upload/download commands #22

Open
klearned opened this issue Aug 11, 2017 · 1 comment
Open

simplify upload/download commands #22

klearned opened this issue Aug 11, 2017 · 1 comment

Comments

@klearned
Copy link

klearned commented Aug 11, 2017

Right now we need to use log docker commands, it would be great if these were simpler.

Perhaps you could create a script so the user could just list their token, the relative path and filename of the manifest, the relative path for where the directory containing the samples and the relative path for the outputs. At this point, I just look up a previous upload or download and edit those three things...nothing else changes.

So, go from this:

docker run --rm -it -e ACCESS_TOKEN=<mytokenhere> -e REDWOOD_ENDPOINT=ucsc-cgp.org -v $(pwd)/myDirectory/myManifest.tsv:/dcc/manifest.tsv -v $(pwd)/myDirectory:/samples -v $(pwd)/myDirectory/outputs:/outputs quay.io/ucsc_cgl/core-client:1.1.0 spinnaker-upload --force-upload --skip-submit /dcc/manifest.tsv

to:

$ rwUpload myToken myDirectory/myManifest.tsv myDirectory myDirectory/outputs

@klearned
Copy link
Author

@wshands @kozbo

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

No branches or pull requests

1 participant