---
id: "dbgap_study_accession"
kind: "datatype"
status: "draft"
is_pii: false
categories: ["science"]
langs: ["common"]
quality: 85
url: "http://registry.apicrafter.io/datatype/dbgap_study_accession"
---

# dbGaP study accession (`dbgap_study_accession`)

> **Draft.** Draft records have not been reviewed yet and may be incomplete or wrong; do not treat them as authoritative for legal or compliance decisions.

Accession of a study in dbGaP, the NCBI database that archives and distributes the results of studies of how genotype and phenotype interact. It is phs and six digits, optionally followed by the version of the study and of its participant set, as in phs000768.v2.p1.

- Personal data (PII): no
- Categories: Scientific (science)
- Countries: global
- Languages: Common to most languages (common)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^phs[0-9]{6}(\.v\d+\.p\d+)?$
```

## Examples

- `phs000768.v2.p1` — Study with version and participant set; Bioregistry example
- `phs000768` — The same study without versions
- `phs768` (invalid example) — Fewer than six digits

## Mappings

- bioregistry: `dbgap`

## Sources

- doc: <https://www.ncbi.nlm.nih.gov/gap/>
- other: <https://bioregistry.io/registry/dbgap>

## Quality

Score 85/100. Missing: translation, detector coverage.

JSON: <http://registry.apicrafter.io/api/v1/datatypes/dbgap_study_accession.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/science/dbgap_study_accession.yaml>
