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

Add option to upload compressed files #36

Open
colinbrislawn opened this issue Feb 16, 2019 · 2 comments
Open

Add option to upload compressed files #36

colinbrislawn opened this issue Feb 16, 2019 · 2 comments

Comments

@colinbrislawn
Copy link

Scenario:

Currently, --local-compress only compresses the file passed in --local-save, but the file uploaded are not compressed. I would like an option to upload a compressed files.

Steps to Reproduce:

pacifica-cli upload --proposal 0 --local-save folder.tar.gz --local-compress gzip folder/

Expected Result:

folder.tar.gz is uploaded into datahub

Actual Result:

The contents of folder/ are uploaded, without compression.

@dmlb2000
Copy link
Member

The --local options are for how to manipulate the data locally, not what goes into Pacifica. The option to bundle your data for you and put a single file into Pacifica is the --tar-in-tar option.

Would adding an argument to --tar-in-tar be workable to compress the file put into Pacifica? (i.e. --tar-in-tar=gzip)

@colinbrislawn
Copy link
Author

Currently, I really like being able to see each individual sample file, so I don't plan to use --tar. I think simply gzipping all the fastq files, while redundant for /pic/projects/, is the most elegant solution.

I like the idea of --tar-in-tar=gzip, but my use case doesn't need it.

Feel free to close this issue. 👍

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

2 participants