This PR adds a script, bin/get_dbgap_data_dicts.py, which can be used to download all the dbGaP identifiers from a CSV or TSV file into a specified directory. It is based on bin/get_ncpi_data_dicts.py, but is much more configurable.
There is an unknown bug which you can replicate by trying to download phs000285.v3.p2 or phs000007.v32.p13. Since we need this functionality for BDC ingest, I'm inclined to merge this PR and open an issue for that bug to be debugged later, but I'm happy to try to fix it in this PR first if that is preferable.
This PR adds a script,
bin/get_dbgap_data_dicts.py
, which can be used to download all the dbGaP identifiers from a CSV or TSV file into a specified directory. It is based onbin/get_ncpi_data_dicts.py
, but is much more configurable.There is an unknown bug which you can replicate by trying to download
phs000285.v3.p2
orphs000007.v32.p13
. Since we need this functionality for BDC ingest, I'm inclined to merge this PR and open an issue for that bug to be debugged later, but I'm happy to try to fix it in this PR first if that is preferable.You can test this by running: