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

BUG: get_dbgap_accession_as_parts does not correctly parse a full dbgap accession #222

Open
SpencerAxelrod opened this issue Jun 6, 2024 · 0 comments

Comments

@SpencerAxelrod
Copy link
Contributor

gen3.external.nih.utils.get_dbgap_accession_as_parts does not seem to parse a full dbgap accession.

Example:

get_dbgap_accession_as_parts("phs001961.v2.p1.c1")

returns

{
'phsid': 'phs001961', 
'phsid_number': '001961', 
'participant_set': '', 
'participant_set_number': '',
'version': 'v2', 
'version_number': '2', 
'consent': '', 
'consent_number': ''
}

with participant set and consent group information missing

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