gel apis - association for clinical genetic science … apis include: panelapp ... manual curation...

27
GEL APIs ACGS Bioinformatics Group Meeting Aled Jones 12th June 2017

Upload: lamtuyen

Post on 08-Mar-2018

224 views

Category:

Documents


4 download

TRANSCRIPT

Page 1: GEL APIs - Association for Clinical Genetic Science … APIs include: PanelApp ... manual curation of a ‘translation’ table between GEL gene symbols/ensembl ids and those in our

GEL APIs

ACGS Bioinformatics Group Meeting

Aled Jones 12th June 2017

Page 2: GEL APIs - Association for Clinical Genetic Science … APIs include: PanelApp ... manual curation of a ‘translation’ table between GEL gene symbols/ensembl ids and those in our

Application Programming Interface (API)A way of accessing and interacting with an application

Interact using the url eg https://bioinfo.extge.co.uk/crowdsourcing/WebServices/get_panel/56fa8eb88f62030f36e3026b/

Data can be interrogated furtherhttps://bioinfo.extge.co.uk/crowdsourcing/WebServices/get_panel/56fa8eb88f62030f36e3026b/?LevelOfConfidence=HighEvidence

Data can be presented as JSONhttps://bioinfo.extge.co.uk/crowdsourcing/WebServices/get_panel/56fa8eb88f62030f36e3026b/?LevelOfConfidence=HighEvidence/?format=json

GEL APIs include:▷ PanelApp (Gene panels)▷ CIP API (Referrals and test progress)▷ LabKey (Patient demographics)

2

PanelID

PanelID Green genes

PanelID Green genes JSON

Page 3: GEL APIs - Association for Clinical Genetic Science … APIs include: PanelApp ... manual curation of a ‘translation’ table between GEL gene symbols/ensembl ids and those in our

Python requests moduleBuilt in packageCan read (GET) or submit (PUSH) dataCan submit authorisation token and proxy details

response = requests.get(url , headers={"Authorization":"JWT "+token})

Returns an object you can parse

3

Page 4: GEL APIs - Association for Clinical Genetic Science … APIs include: PanelApp ... manual curation of a ‘translation’ table between GEL gene symbols/ensembl ids and those in our

PanelAppCrowd sourced curation of gene panels

4

Page 5: GEL APIs - Association for Clinical Genetic Science … APIs include: PanelApp ... manual curation of a ‘translation’ table between GEL gene symbols/ensembl ids and those in our

?Who is using the PanelApp

panels/API???

5

Page 6: GEL APIs - Association for Clinical Genetic Science … APIs include: PanelApp ... manual curation of a ‘translation’ table between GEL gene symbols/ensembl ids and those in our

PanelApp - 195 Panels

6

Page 7: GEL APIs - Association for Clinical Genetic Science … APIs include: PanelApp ... manual curation of a ‘translation’ table between GEL gene symbols/ensembl ids and those in our

PanelApp - Each Panel has...A ‘stable’ identifier

55d30b0322c1fc2ff2a5bf7b

A human readable nameAmyotrophic lateral sclerosis/motor neuron disease

A version numberv1.7 (only panels with a version number >= 1.0 are used to tier variants)

Green, Amber and Red GenesGreen = ‘High confidence’Amber = ‘Intermediate confidence’Red = ‘Low confidence’

7

Page 8: GEL APIs - Association for Clinical Genetic Science … APIs include: PanelApp ... manual curation of a ‘translation’ table between GEL gene symbols/ensembl ids and those in our

PanelApp - How we use it

Incorporated panels into our LIMS to allow these to be selected as virtual panels in WES ordering system

1. Download all Green and Amber genes from all panelshttps://github.com/NHS-NGS/PanelApp_API

2. Import into our LIMS systemUse stable panel ID (panel name can change and contains spaces,slashes etc)If panel has been updated…

Add the green and amber gene panelsLinking each gene to our internal HGNC snapshot.

8

Page 9: GEL APIs - Association for Clinical Genetic Science … APIs include: PanelApp ... manual curation of a ‘translation’ table between GEL gene symbols/ensembl ids and those in our

PanelApp - ProblemsGene Symbol - not stableGEL HGNC snapshot quite old.

Our HGNC snapshot has 1 ensembl id per gene(?use http://mygene.info/)

List of ensembl ids has included ensembl ids for other genes

API != PanelApp website additional identifiers (OMIM) are available via web

9

Green gene

Gene symbol

Ensembl ID(s) and LRG

Page 10: GEL APIs - Association for Clinical Genetic Science … APIs include: PanelApp ... manual curation of a ‘translation’ table between GEL gene symbols/ensembl ids and those in our

PanelApp - Our approach

We use the ensembl ids to join to our HGNC snapshot when importing genes.

We use the list of gene symbols to ensure we haven’t missed any genes or imported incorrect genes.

Has required a (painful) manual curation of a ‘translation’ table between GEL gene symbols/ensembl ids and those in our HGNC snapshot. (Happy to share this)

10

Page 11: GEL APIs - Association for Clinical Genetic Science … APIs include: PanelApp ... manual curation of a ‘translation’ table between GEL gene symbols/ensembl ids and those in our

CIP APIClinical Interpretation Portal

11

Page 12: GEL APIs - Association for Clinical Genetic Science … APIs include: PanelApp ... manual curation of a ‘translation’ table between GEL gene symbols/ensembl ids and those in our

?Is anyone using the CIP-API???

12

Page 13: GEL APIs - Association for Clinical Genetic Science … APIs include: PanelApp ... manual curation of a ‘translation’ table between GEL gene symbols/ensembl ids and those in our

CIP API - What is available

Each proband sent to GEL is given a participantID

Once analysed each proband has a JSON entry including:▷ Links to download any files created, eg

coverage reports

13

Page 14: GEL APIs - Association for Clinical Genetic Science … APIs include: PanelApp ... manual curation of a ‘translation’ table between GEL gene symbols/ensembl ids and those in our

CIP API - What is available

Each proband sent to GEL is given a participantID

Once analysed each proband has a JSON entry including:▷ Links to download any files created, eg

coverage reports▷ A status

14

Page 15: GEL APIs - Association for Clinical Genetic Science … APIs include: PanelApp ... manual curation of a ‘translation’ table between GEL gene symbols/ensembl ids and those in our

CIP API - What is available

Each proband sent to GEL is given a participantID

Once analysed each proband has a JSON entry including:▷ Links to download any files created, eg

coverage reports▷ A status▷ Clinical reports (one per cip version)

15

Page 16: GEL APIs - Association for Clinical Genetic Science … APIs include: PanelApp ... manual curation of a ‘translation’ table between GEL gene symbols/ensembl ids and those in our

16

Page 17: GEL APIs - Association for Clinical Genetic Science … APIs include: PanelApp ... manual curation of a ‘translation’ table between GEL gene symbols/ensembl ids and those in our

CIP API - What is available

Each proband sent to GEL is given a participantID

Once analysed each proband has a JSON entry including:▷ Links to download any files created, eg

coverage reports▷ A status▷ Clinical reports (one per cip version)▷ Participant and other IDs

17

Page 18: GEL APIs - Association for Clinical Genetic Science … APIs include: PanelApp ... manual curation of a ‘translation’ table between GEL gene symbols/ensembl ids and those in our

CIP API - Generating clinical reports

GitHub repohttps://github.com/NHS-NGS/GEL_reports

▷ Python script which reads API▷ Downloads the GEL html report (most recent report

from highest CIP version)▷ Modifies html▷ Produces PDF

18

Page 19: GEL APIs - Association for Clinical Genetic Science … APIs include: PanelApp ... manual curation of a ‘translation’ table between GEL gene symbols/ensembl ids and those in our

CIP API - Generating clinical reports

▷ Replace/remove GeL Logo and address to make it obvious that this is not a GeL report

19

Clinician nameClinician address

100,000 genomes project result

Page 20: GEL APIs - Association for Clinical Genetic Science … APIs include: PanelApp ... manual curation of a ‘translation’ table between GEL gene symbols/ensembl ids and those in our

CIP API - Generating clinical reports

▷ Proband information added from LIMS

20

Clinician nameClinician address

100,000 genomes project result

Page 21: GEL APIs - Association for Clinical Genetic Science … APIs include: PanelApp ... manual curation of a ‘translation’ table between GEL gene symbols/ensembl ids and those in our

CIP API - Generating clinical reports

▷ Coverage report expanded

21

Page 22: GEL APIs - Association for Clinical Genetic Science … APIs include: PanelApp ... manual curation of a ‘translation’ table between GEL gene symbols/ensembl ids and those in our

CIP API - Generating clinical reports

Code written in a way that will (hopefully) be easily implemented by any lab.

▷ Config file▷ Requirements and notes in ReadMe▷ Patient info table can be modified as required.

22

Page 23: GEL APIs - Association for Clinical Genetic Science … APIs include: PanelApp ... manual curation of a ‘translation’ table between GEL gene symbols/ensembl ids and those in our

Local implementation of PanelApp for selection of exome virtual panel tests

PanelAppholds catalogue of gene panels for each

disease group, along with strength of evidence for each gene-disease pairing

Secure API

GEL

GMCsMachine readable version of entire

PanelApp catalogue that can be kept up-to-date easily

Lab systems

Bespoke to individual labsUsable by all labs

Crowdsourcing & UKGTN, with regular review by GeL to keep content up-to-date

https://github.com/NHS-NGS/PanelApp_API

Page 24: GEL APIs - Association for Clinical Genetic Science … APIs include: PanelApp ... manual curation of a ‘translation’ table between GEL gene symbols/ensembl ids and those in our

?How else can we use the APIs???

▷ Track sample status/progress▷ Labkey

24

Page 25: GEL APIs - Association for Clinical Genetic Science … APIs include: PanelApp ... manual curation of a ‘translation’ table between GEL gene symbols/ensembl ids and those in our

Detail of one system

Page 26: GEL APIs - Association for Clinical Genetic Science … APIs include: PanelApp ... manual curation of a ‘translation’ table between GEL gene symbols/ensembl ids and those in our

Indel benchmarking toolComing very soon

26

Page 27: GEL APIs - Association for Clinical Genetic Science … APIs include: PanelApp ... manual curation of a ‘translation’ table between GEL gene symbols/ensembl ids and those in our

27