---
title: "Get all whole genome sequencing data"
method: GET
path: "/all_wgs"
tags: ["Whole Genome Sequencing"]
---

# Get all whole genome sequencing data

`GET /all_wgs`

## Request

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

This will return an object containing all the data for all PGP-UK participants.

## Response `200`

Success

- object: Whole Genome Sequencing data for all PGP-UK participants
  - `hex_id` string: PGP-UK unique participant id
  - `data` object[]: Whole Genome 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`: Data not found

## Changes

- **2018-12-12** `16553e3027b1`: 1 warning, 53 info
  - removed the optional property `data/items/test` from the response with the `200` status
  - added the optional property `data/items/base_count` to the response with the `200` status
  - added the optional property `data/items/broker_name` to the response with the `200` status
  - added the optional property `data/items/center_name` to the response with the `200` status
  - …50 more
- **2018-12-11** `b25b9654e3d4`: 53 warning, 1 info
  - removed the optional property `data/items/base_count` from the response with the `200` status
  - removed the optional property `data/items/broker_name` from the response with the `200` status
  - removed the optional property `data/items/center_name` from the response with the `200` status
  - removed the optional property `data/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/all_wgs/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)
