---
title: "Get all whole genome bisulfite data by PGP-UK hex id"
method: GET
path: "/wgbs/{pgp_hex_id}"
tags: ["Whole Genome Bisulfite Data"]
---

# Get all whole genome bisulfite data by PGP-UK hex id

`GET /wgbs/{pgp_hex_id}`

## Request

- Base URL: `https://www.personalgenomes.org.uk/api/v1.3`
- URL: `https://www.personalgenomes.org.uk/api/v1.3/wgbs/{pgp_hex_id}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/pgp-uk/apis/personal-genome-project-uk/docs/wgbs/:pgp_hex_id/get.ts> (a function with typed inputs; its response is checked against the schema)

This will return an object containing all the data associated with this PGP-UK participant

## Path parameters

- `pgp_hex_id` string, required: PGP-UK unique participant id

## Response `200`

Success

- object[]: Whole Genome Bisulfite Sequencing data
  - `study_accession` string
  - `secondary_study_accession` string
  - `sample_accession` string
  - `secondary_sample_accession` string
  - `experiment_accession` string
  - `run_accession` string
  - `submission_accession` string
  - `tax_id` string
  - `scientific_name` string
  - `instrument_platform` string
  - `instrument_model` string
  - `library_name` string
  - `nominal_length` string
  - `library_layout` string
  - `library_strategy` string
  - `library_source` string
  - `library_selection` string
  - `read_count` string
  - `base_count` string
  - `center_name` string
  - `first_public` string
  - `last_updated` string
  - `experiment_title` string
  - `study_title` string
  - `study_alias` string
  - `experiment_alias` string
  - `run_alias` string
  - `fastq_bytes` string
  - `fastq_md5` string
  - `fastq_ftp` string
  - `fastq_aspera` string
  - `fastq_galaxy` string
  - `submitted_bytes` string
  - `submitted_md5` string
  - `submitted_ftp` string
  - `submitted_aspera` string
  - `submitted_galaxy` string
  - `submitted_format` string
  - `sra_bytes` string
  - `sra_md5` string
  - `sra_ftp` string
  - `sra_aspera` string
  - `sra_galaxy` string
  - `cram_index_ftp` string
  - `cram_index_aspera` string
  - `cram_index_galaxy` string
  - `sample_alias` string
  - `broker_name` string
  - `sample_title` string
  - `nominal_sdev` string
  - `first_created` string
  - `type` string
  - `meta_data_source` string

## Other responses

- `404`: Participant not found

## Changes

- **2018-12-12** `16553e3027b1`: 1 warning, 53 info
  - removed the optional property `items/test` from the response with the `200` status
  - added the optional property `items/base_count` to the response with the `200` status
  - added the optional property `items/broker_name` to the response with the `200` status
  - added the optional property `items/center_name` to the response with the `200` status
  - …50 more
- **2018-12-11** `b25b9654e3d4`: 53 warning, 1 info
  - removed the optional property `items/base_count` from the response with the `200` status
  - removed the optional property `items/broker_name` from the response with the `200` status
  - removed the optional property `items/center_name` from the response with the `200` status
  - removed the optional property `items/cram_index_aspera` from the response with the `200` status
  - …50 more

[Operation history](https://skmtc.dev/pgp-uk/apis/personal-genome-project-uk/changes/wgbs/:pgp_hex_id/get.md)

---

[API](https://skmtc.dev/pgp-uk/apis/personal-genome-project-uk.md) - [All operations](https://skmtc.dev/pgp-uk/apis/personal-genome-project-uk/llms.txt) - [OpenAPI document](https://skmtc.dev/pgp-uk/apis/personal-genome-project-uk/revisions/26f2eb33c4d8?raw)
