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 script to download all HEAL Platform MDS #281

Merged
merged 26 commits into from
Jul 11, 2023

Conversation

gaurav
Copy link
Collaborator

@gaurav gaurav commented Apr 14, 2023

Adds a bin/get_heal_platform_mds_data_dicts.py script that can be run directly to download HEAL Platform MDS studies and data dictionaries (probably into the data/ directory), and then to convert these data dictionaries into dbGaP format so that Dug can ingest them.

Since get_heal_platform_mds_data_dicts.py accepts command line arguments, I've added the Click package to Dug as well.

At the moment, this script generates a single data dictionary for each data dictionary in the Platform MDS, even when it is broken up into "modules". However, it might make more sense to break it up into data dictionaries and load them into Dug separately. There are some deep questions on how we organize Dug going forward.

gaurav added 26 commits April 13, 2023 23:38
This allows us to build better command line interfaces.
Click is https://pypi.org/project/click/
@gaurav gaurav marked this pull request as ready for review July 11, 2023 03:12
@gaurav gaurav requested a review from YaphetKG July 11, 2023 03:14
Copy link
Contributor

@YaphetKG YaphetKG left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@YaphetKG YaphetKG merged commit 9d7eaf2 into develop Jul 11, 2023
@YaphetKG YaphetKG deleted the import-data-from-platform-mds branch July 11, 2023 15:46
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

Successfully merging this pull request may close these issues.

2 participants