-
Notifications
You must be signed in to change notification settings - Fork 69
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
Support for dbGAP #138
Comments
The danger with including the JWT file as an input to the workflow is that the (often sensitive) key is stored in the run directory. I've had a quick play around and it may be better to store the JWT file contents as a Nextflow secret that can be injected into the container. I'll try and run some tests using the prj_phs710EA_test.ngc test key to pull the protected SRR1219902 run. I'll update this issue with the results. |
We also need to update the metadata function to add the "gap" database, basically cloning the method here changing "sra" to "gap" fetchngs/bin/sra_ids_to_runinfo.py Lines 237 to 243 in 084e5ef
|
I've implemented support for the JWT in PR #152 after testing with SRR1219902, however there are some caveats with using a JWT to download dbGAP data in this pipeline: The input(s) provided to In order to use a JWT then, you must generate the JWT for ALL runs tied to a given experiment accession ID. Otherwise, the pipeline will attempt to run sra-tools For example,
How do we mitigate this?
It's not entirely ideal because users may end up pulling data for runs they don't entirely need/want. I am also not entirely sure to what extent dbGAP study data is set up in this way. This is the only real available test for dbGAP with JWT we are able to do. |
This has been implemented in #152 and will be available in v1.10.0. |
Description of feature
Based on the docs, it looks like it is not currently possible to get files from dbGAP. Is this something that could be added? This can be done with 'prefetch' and 'fasterq-dump' by specifying either a JWT file or NGC file (the user would need to provide these).
https://www.ncbi.nlm.nih.gov/sra/docs/sra-dbGAP-cloud-download/
https://www.ncbi.nlm.nih.gov/sra/docs/sra-dbgap-download/
Thanks!
The text was updated successfully, but these errors were encountered: