Skip to content

added new REST endpoint /phenotype/gene/:species/:gene

Marek Szuba requested to merge github/fork/ima23/master into master

Created by: ima23

Requirements

  • corresponding ensembl-rest_private pull request

Description

Added a new REST endpoint /phenotype/gene/:species/:gene with two options: include_associated and include_overlap. It works both with gene Ensembl stable identifiers and gene symbols.

Use case

/phenotype/gene/homo_sapiens/MLXIPL /phenotype/gene/homo_sapiens/SAP30BP?include_associated=1 /phenotype/gene/homo_sapiens/SAP30BP?content-type=application/json;include_associated=1;include_overlap=1

Testing

added tests: t/phenotype_gene.t

Merge request reports