API & links

Useful links
Description URL template URL examples
Gene-centric page https://dgrpool.epfl.ch/genes?q=[GENE_SYMBOL|GENE_NAME|FLYBASE_IDENTIFIER] https://dgrpool.epfl.ch/genes?q=Arfip
https://dgrpool.epfl.ch/genes?q=Arfaptin
https://dgrpool.epfl.ch/genes?q=FBgn0037884
Variant-centric page https://dgrpool.epfl.ch/variants?q=[VARIANT_IDENTIFIER|RANGE]&assembly=[dm3|dm6] https://dgrpool.epfl.ch/variants?q=3R_1007_SNP&assembly=dm3
https://dgrpool.epfl.ch/variants?q=2R:4600000-4620000&assembly=dm3
DGRP line data
Get data associated to a DGRP line https://dgrpool.epfl.ch/dgrp_line/#ID.json
For example: https://dgrpool.epfl.ch/dgrp_lines/230.json

or the list of all DGRP lines: https://dgrpool.epfl.ch/dgrp_lines.json

The available fields:
Field name Type Description
id integer The DGRP line ID
name text The name of the DGRP line (e.g. DGRP_398)
nber_studies integer Number of associated studies
nber_phenotypes integer Number of associated phenotypes
fbsn text FlyBase identifier
bloomington_id integer Bloomington ID
dgrp_status text DGRP status (Unavailable, Genotyped, Available)
created_at Date of creation
updated_at timestamp Date of modification
Study data
Get data associated to a study https://dgrpool.epfl.ch/studies/#ID.json
For example: https://dgrpool.epfl.ch/studies/22.json

or the list of all studies: https://dgrpool.epfl.ch/studies.json

The available fields:
Field name Type Description
id integer The study ID
title text The title of the related article
authors_json text List of authors in JSON format
abstract text Abstract of the related article
journal text Journal of the related article
doi text DOI of the related article
created_at Date of creation
updated_at timestamp Date of modification
status text Status of the study (accepted, integrated (curated), rejected)
first_author text Last name of the first author of the study
volume text Journal volume
year text Journal issue
published_at timestamp Date of publication of the study
comment text DGRPool comment about the study
flybase_ref text Flybase reference for this study
description text Description of the study
repository_identifiers text List of identifiers to repositories
phenotype_ids text JSON array of the phenotype IDs
Phenotype data
Phenotype data are downloadable throught the following GET path: https://dgrpool.epfl.ch/phenotypes/#ID.json

For example: https://dgrpool.epfl.ch/phenotypes/2797.json

or the list of all non-obsolete phenotypes: https://dgrpool.epfl.ch/phenotypes.json?no_obsolete=1

or the list of all phenotypes from curated studies: https://dgrpool.epfl.ch/phenotypes.json?only_curated_studies=1

or the list of all phenotypes (including obsolete ones and from non-curated studies): https://dgrpool.epfl.ch/phenotypes.json?all=1

The available fields:
Field name Type Description
id integer The phenotype ID
study_id integer The study ID
name string The phenotype name
is_summary boolean True if the original data is of a summary type (only one value per DGRP line and sex), or False in the opposite case (many samples per DGRP line and sex)
is_continuous boolean True if the data are numerical and continuous
is_numeric boolean True if the data are numeric
created_at timestamp Date of creation
updated_at timestamp Date of modification
summary_type string Type of the summary if is_summary is true
unit string The unit in which the data are expressed
original_data hash Original data by DGRP line and sex (only for the individual phenotype request)
summary_data hash Summary data by type of summary data, DGRP line and sex (only for the individual phenotype request)
url string The URL where to download this resource