Skip to content

Finding participants by genotype

These tutorial will take you through the methods you can use to find participants by genotypes, either by gene or by locus. This tutorial will help you to build lists of participant IDs or platekeys.

You can find all participants with particular variants using a no code interface in Interactive Variant Analysis (IVA), or using pre-built workflows to search by genes. Using the tables in LabKey and its associated APIs, you can find participants with variants that have been prioritised for causal likelihood by rare disease tiering, cancer tiering and Exomiser. You can also use the germline aggregate and somatic aggregate VCF files to find participants from a particular data freeze.

Cohort building methods

The following tutorials cover:

Genome assembly in finding participants by genotypes

It is vitally important to consider genome assembly when searching for participants by genotypes. The same genomic location will have different coordinates on different genome assemblies. This means any search by genomic coordinates should also specify the genome assembly, and to find all participants with a particular genotype you should repeat any searches with the remapped genome coordinates on other assemblies.

In release 18 (21st December 2023), of the 100kGP Genomes, over 80% of the rare disease genomes were aligned to GRCh38, but some were aligned to GRCh37, whereas all the cancer genomes, both germline and somatic, were aligned to GRCh38. All of the NHS GMS genomes are aligned to GRCh38.

The following table summarises how you should consider genome assembly in the different methods of finding participants by genotype.

Method Genome assembly considerations
Finding participants by genotype in IVA IVA includes separate programmes for variants mapped to GRCh37 and GRCh38 in rare disease. To find all participants, you should use both programmes. For searches by coordinates, you should convert them between assemblies.
Using pre-built workflows to find participants by genotypes Both workflows discussed, the Small Variant workflow and the Structural Variant workflow will find participants with genomes mapped to both assemblies when you search by gene.
Finding participants with prioritised variants programmatically The rare disease tiering and Exomiser tables in 100kGP contain some variants mapped to GRCh37 and some to GRCh38; this means that all queries for coordinates should include a genome assembly argument. The 100kGP cancer tiering and NHS GMS data is all mapped to GRCh38.
Querying aggregate VCF files to find participants by genotypes The aggregate VCF files only contain variants from genomes mapped to GRCh38.

Exporting cohort data

All the methods for creating cohorts listed here involve pulling out identifiable participant data, such as participant IDs or platekeys. Therefore, you cannot export any of these tables from the RE. Cohorts created here are intended as a start point for further analyses. Any attempts to export these tables via Airlock will be rejected; you must not copy any of these tables by hand.

Recorded training sessions

You can also find training sessions:

Topic Date recorded Link Notebook location in RE
Finding participants based on genotypes 19th July 2023 materials /gel_data_resources/example_scripts/workshop_scripts/genotypes_20220719