type APIVersion { y: String! x: String! z: String! } "Significant adverse event entries" type AdverseEvent { "Log-likelihood ratio" logLR: Float! "Number of reports mentioning drug and adverse event" count: Long! "8 digit unique meddra identification number" meddraCode: String "Meddra term on adverse event" name: String! } "Significant adverse events inferred from FAERS reports" type AdverseEvents { "Significant adverse event entries" rows: [AdverseEvent!]! "Total significant adverse events" count: Long! "LLR critical value to define significance" criticalValue: Float! } type AlleleFrequency { alleleFrequency: Float populationName: String } "Associated Disease Entity" type AssociatedDisease { score: Float! datatypeScores: [ScoredComponent!]! datasourceScores: [ScoredComponent!]! "Disease" disease: Disease! } type AssociatedDiseases { datasources: [DatasourceSettings!]! count: Long! "Associated Targets using (On the fly method)" rows: [AssociatedDisease!]! } "Associated Target Entity" type AssociatedTarget { score: Float! datatypeScores: [ScoredComponent!]! datasourceScores: [ScoredComponent!]! "Target" target: Target! } type AssociatedTargets { datasources: [DatasourceSettings!]! count: Long! "Associated Targets using (On the fly method)" rows: [AssociatedTarget!]! } type BiologicalModels { literature: [String!] geneticBackground: String! id: String allelicComposition: String! } type BiomarkerGeneExpression { name: String id: GeneOntologyTerm } type Biosample { synonyms: [String!] biosampleName: String! descendants: [String!] biosampleId: String! parents: [String!] children: [String!] description: String ancestors: [String!] xrefs: [String!] } type CancerHallmark { label: String! impact: String pmid: Long! description: String! } type CanonicalTranscript { start: Long! end: Long! strand: String! id: String! chromosome: String! } type CellType { level: Int! reliability: Boolean! name: String! } type ChemicalProbe { targetFromSourceId: String! scoreInCells: Float origin: [String!] mechanismOfAction: [String!] control: String probesDrugsScore: Float id: String! scoreInOrganisms: Float isHighQuality: Boolean! urls: [ChemicalProbeUrl!]! probeMinerScore: Float drugId: String } type ChemicalProbeUrl { niceName: String! url: String } type Colocalisation { numberColocalisingVariants: Long! betaRatioSignAverage: Float h4: Float chromosome: String! h3: Float rightStudyType: String! colocalisationMethod: String! clpp: Float "Credible set" otherStudyLocus: CredibleSet } "Colocalisations" type Colocalisations { count: Long! rows: [Colocalisation!]! } type Constraint { oeLower: Float upperRank: Long upperBin6: Long upperBin: Long exp: Float constraintType: String! obs: Long score: Float oe: Float oeUpper: Float } type CredibleSet { credibleSetlog10BF: Float ldSet: [LdSet!] locusStart: Int sampleSize: Int isTransQtl: Boolean chromosome: String position: Int locusEnd: Int purityMinR2: Float pValueExponent: Int qtlGeneId: String beta: Float effectAlleleFrequencyFromSource: Float finemappingMethod: String pValueMantissa: Float confidence: String studyId: String purityMeanR2: Float region: String studyLocusId: String! standardError: Float credibleSetIndex: Int zScore: Float qualityControls: [String!] subStudyDescription: String variant: Variant studyType: StudyTypeEnum l2GPredictions( "Pagination settings with index and size" page: Pagination): L2GPredictions! locus( "Variant IDs" variantIds: [String!], "Pagination settings with index and size" page: Pagination): Loci! colocalisation( "Study types" studyTypes: [StudyTypeEnum!], "Pagination settings with index and size" page: Pagination): Colocalisations! "Gwas study" study: Study } "Credible Sets" type CredibleSets { count: Long! rows: [CredibleSet!]! } type DataVersion { month: String! year: String! iteration: String! } type Datasource { datasourceId: String! datasourceCount: Int! datasourceNiceName: String! } type DatasourceSettings { propagate: Boolean! id: String! required: Boolean! weight: Float! } input DatasourceSettingsInput { id: String! "Weight assigned to the datasource. Should be between 0 and 1" weight: Float! propagate: Boolean! required: Boolean = false } type DbXref { id: String source: String } type DepMapEssentiality { tissueId: String screens: [GeneEssentialityScreen!]! tissueName: String } "Disease or phenotype entity" type Disease { "Disease synonyms" synonyms: [DiseaseSynonyms!] descendants: [String!]! "Open Targets disease id" id: String! "List of direct location Disease terms" directLocationIds: [String!] "Disease description" description: String "List of indirect location Disease terms" indirectLocationIds: [String!] "List of obsolete diseases" obsoleteTerms: [String!] ancestors: [String!]! "List of external cross reference IDs" dbXRefs: [String!] "Disease name" name: String! "Ancestor therapeutic area disease entities in ontology" therapeuticAreas: [Disease!]! "Disease parents entities in ontology" parents: [Disease!]! "Disease children entities in ontology" children: [Disease!]! "Direct Location disease terms" directLocations: [Disease!]! "Indirect Location disease terms" indirectLocations: [Disease!]! "Return similar labels using a model Word2CVec trained with PubMed" similarEntities( "List of IDs either EFO ENSEMBL CHEMBL" additionalIds: [String!], "List of entity names to search for (target, disease, drug,...)" entityNames: [String!], "Threshold similarity between 0 and 1" threshold: Float, size: Int): [Similarity!]! "Return the list of publications that mention the main entity, alone or in combination with other entities" literatureOcurrences( "List of IDs either EFO ENSEMBL CHEMBL" additionalIds: [String!], "Year at the lower end of the filter" startYear: Int, "Month at the lower end of the filter. This value will be ignored if startYear is not set" startMonth: Int, "Year at the higher end of the filter" endYear: Int, "Month at the higher end of the filter. This value will be ignored if endYear is not set" endMonth: Int, cursor: String): Publications! "Is disease a therapeutic area itself" isTherapeuticArea: Boolean! "Phenotype from HPO index" phenotypes( "Pagination settings with index and size" page: Pagination): DiseaseHPOs "The complete list of all possible datasources" evidences( "List of Ensembl IDs" ensemblIds: [String!]!, "Use the disease ontology to retrieve all its descendants and capture their associated evidence." enableIndirect: Boolean, "List of datasource ids" datasourceIds: [String!], size: Int, cursor: String): Evidences! "RNA and Protein baseline expression" otarProjects: [OtarProject!]! "Clinical precedence for investigational or approved drugs indicated for disease and curated mechanism of action" knownDrugs( "Query string" freeTextQuery: String, size: Int, cursor: String): KnownDrugs "associations on the fly" associatedTargets( "List of disease or target IDs" Bs: [String!], "Use the disease ontology to retrieve all its descendants and capture their associated evidence." enableIndirect: Boolean, "List of datasource settings" datasources: [DatasourceSettingsInput!], "List of the facet IDs to filter by (using AND)" facetFilters: [String!], "Filter to apply to the ids with string prefixes" BFilter: String, "Ordering for the associations. By default is score desc" orderByScore: String, "Pagination settings with index and size" page: Pagination): AssociatedTargets! "All parent diseases in the hierarchy from the term up to a therapeutic area." resolvedAncestors: [Disease!]! } type DiseaseCellLine { tissue: String tissueId: String id: String name: String } "Disease and phenotypes annotations" type DiseaseHPO { "List of phenotype annotations." evidence: [DiseaseHPOEvidences!]! "Phenotype entity" phenotypeHPO: HPO "Disease Entity" phenotypeEFO: Disease } "the HPO project provides a large set of phenotype annotations. Source: Phenotype.hpoa" type DiseaseHPOEvidences { "Related name from the field diseaseFromSourceId" diseaseFromSource: String! "This field contains the strings MALE or FEMALE if the annotation in question is limited to males or females." sex: String "This field indicates the source of the information used for the annotation (phenotype.hpoa)" references: [String!]! "A term-id from the HPO-sub-ontology" frequency: String "This refers to the center or user making the annotation and the date on which the annotation was made" bioCuration: String "This field indicates the level of evidence supporting the annotation." evidenceType: String "This field refers to the database and database identifier. EG. OMIM" diseaseFromSourceId: String! "This optional field can be used to qualify the annotation. Values: [True or False]" qualifierNot: Boolean! "One of P (Phenotypic abnormality), I (inheritance), C (onset and clinical course). Might be null (MONDO)" aspect: String "Possible source mapping: HPO or MONDO" resource: String! "HP terms from the Clinical modifier subontology" modifiers: [HPO!]! "A term-id from the HPO-sub-ontology below the term Age of onset." onset: [HPO!]! "HPO Entity" frequencyHPO: HPO } "List of Phenotypes associated with the disease" type DiseaseHPOs { "List of Disease and phenotypes annotations" rows: [DiseaseHPO!]! "Number of entries" count: Long! } type DiseaseSynonyms { terms: [String!]! relation: String! } "Drug/Molecule entity" type Drug { "Molecule synonyms" synonyms: [String!]! "Drug trade names" tradeNames: [String!]! "Open Targets molecule id" id: String! "Has drug been withdrawn from the market" hasBeenWithdrawn: Boolean! "Alias for maximumClinicalTrialPhase == 4" isApproved: Boolean "Year drug was approved for the first time" yearOfFirstApproval: Int "Drug modality" drugType: String! crossReferences: [DrugReferences!] "Maximum phase observed in clinical trial records and post-marketing package inserts" maximumClinicalTrialPhase: Float "Alert on life-threteaning drug side effects provided by FDA" blackBoxWarning: Boolean! "Drug description" description: String "Molecule preferred name" name: String! "ChEMBL ID of parent molecule" parentMolecule: Drug "Chembl IDs of molecules that descend from current molecule." childMolecules: [Drug!]! "Indications for which there is a phase IV clinical trial" approvedIndications: [String!] "Warnings present on drug as identified by ChEMBL." drugWarnings: [DrugWarning!]! "Return similar labels using a model Word2CVec trained with PubMed" similarEntities( "List of IDs either EFO ENSEMBL CHEMBL" additionalIds: [String!], "List of entity names to search for (target, disease, drug,...)" entityNames: [String!], "Threshold similarity between 0 and 1" threshold: Float, size: Int): [Similarity!]! "Return the list of publications that mention the main entity, alone or in combination with other entities" literatureOcurrences( "List of IDs either EFO ENSEMBL CHEMBL" additionalIds: [String!], "Year at the lower end of the filter" startYear: Int, "Month at the lower end of the filter. This value will be ignored if startYear is not set" startMonth: Int, "Year at the higher end of the filter" endYear: Int, "Month at the higher end of the filter. This value will be ignored if endYear is not set" endMonth: Int, cursor: String): Publications! "Mechanisms of action to produce intended pharmacological effects. Curated from scientific literature and post-marketing package inserts" mechanismsOfAction: MechanismsOfAction "Investigational and approved indications curated from clinical trial records and post-marketing package inserts" indications: Indications "Curated Clinical trial records and and post-marketing package inserts with a known mechanism of action" knownDrugs( "Query string" freeTextQuery: String, size: Int, cursor: String): KnownDrugs "Significant adverse events inferred from FAERS reports" adverseEvents( "Pagination settings with index and size" page: Pagination): AdverseEvents "Pharmoacogenomics" pharmacogenomics( "Pagination settings with index and size" page: Pagination): [Pharmacogenomics!]! "Therapeutic indications for drug based on clinical trial data or post-marketed drugs, when mechanism of action is known\"" linkedDiseases: LinkedDiseases "Molecule targets based on drug mechanism of action" linkedTargets: LinkedTargets } type DrugReferences { ids: [String!]! source: String! } "Drug warnings as calculated by ChEMBL" type DrugWarning { "Either 'black box warning' or 'withdrawn'" warningType: String! chemblIds: [String!] " label of the curated EFO term that represents the adverse outcome" efoTerm: String "ID of the curated EFO term that represents the high level warning class" efoIdForWarningClass: String "Source of withdrawal information" references: [DrugWarningReference!] "Year of withdrawal" year: Int id: Long "High level toxicity category by Meddra System Organ Class" toxicityClass: String "Country issuing warning" country: String "Reason for withdrawal" description: String "ID of the curated EFO term that represents the adverse outcome" efoId: String } type DrugWarningReference { id: String! url: String! source: String! } "Drug with drug identifiers" type DrugWithIdentifiers { drugFromSource: String drugId: String "Drug entity" drug: Drug } union EntityUnionType = Target | Drug | Disease | Variant | Study "Evidence for a Target-Disease pair" type Evidence { geneticInteractionFDR: Float "list of pub med publications ids" literature: [String!] statisticalTestTail: String diseaseFromSource: String "Variant dbSNP identifier" variantRsId: String geneInteractionType: String cohortPhenotypes: [String!] biologicalModelAllelicComposition: String assays: [assays!] "Number of cases in a case-control study that carry at least one allele of the qualifying variant" studyCasesWithQualifyingVariants: Long diseaseFromSourceMappedId: String cellType: String "Release version" releaseVersion: String "Warning message" warningMessage: String alleleOrigins: [String!] reactionId: String diseaseModelAssociatedHumanPhenotypes: [LabelledElement!] textMiningSentences: [EvidenceTextMiningSentence!] significantDriverMethods: [String!] crisprScreenLibrary: String publicationFirstAuthor: String targetFromSource: String "Confidence interval lower-bound" oddsRatioConfidenceIntervalLower: Float projectDescription: String "Evidence identifier" id: String! log2FoldChangeValue: Float "Direction On Trait" directionOnTrait: String "Genetic origin of a population" ancestry: String pathways: [Pathway!] betaConfidenceIntervalUpper: Float phenotypicConsequencePValue: Float pValueExponent: Long targetFromSourceId: String cohortId: String "Primary Project Id" primaryProjectId: String phenotypicConsequenceLogFoldChange: Float studyStopReason: String targetModulation: String drugFromSource: String diseaseModelAssociatedModelPhenotypes: [LabelledElement!] "Identifier of the ancestry in the HANCESTRO ontology" ancestryId: String cohortDescription: String studyOverview: String biosamplesFromSource: [String!] allelicRequirements: [String!] publicationYear: Long beta: Float biomarkers: biomarkers projectId: String "Assessments" assessments: [String!] "Variant effect" variantEffect: String betaConfidenceIntervalLower: Float datasourceId: String! "Evidence score" score: Float! pValueMantissa: Float mutatedSamples: [EvidenceVariation!] diseaseFromSourceId: String reactionName: String geneticInteractionPValue: Float urls: [LabelledUri!] variantAminoacidDescriptions: [String!] confidence: String biomarkerName: String geneticInteractionScore: Float "Sample size" studySampleSize: Long studyId: String biologicalModelId: String clinicalSignificances: [String!] "Release date" releaseDate: String cohortShortName: String contrast: String phenotypicConsequenceFDR: Float studyCases: Long clinicalStatus: String "Primary Project Hit" primaryProjectHit: Boolean oddsRatioConfidenceIntervalUpper: Float diseaseCellLines: [DiseaseCellLine!] interactingTargetRole: String resourceScore: Float studyStartDate: String "The statistical method used to calculate the association" statisticalMethod: String oddsRatio: Float datatypeId: String! clinicalPhase: Float targetInModel: String targetRole: String biomarkerList: [NameDescription!] "Predicted reason(s) why the study has been stopped based on studyStopReason" studyStopReasonCategories: [String!] biologicalModelGeneticBackground: String log2FoldChangePercentileRank: Long "Overview of the statistical method used to calculate the association" statisticalMethodOverview: String interactingTargetFromSourceId: String cellLineBackground: String "Target evidence" target: Target! "Disease evidence" disease: Disease! credibleSet: CredibleSet variant: Variant drug: Drug drugResponse: Disease variantFunctionalConsequence: SequenceOntologyTerm variantFunctionalConsequenceFromQtlId: SequenceOntologyTerm "list of central pub med publications ids" pubMedCentralIds: [String!] } type EvidenceSource { datasource: String! datatype: String! } type EvidenceTextMiningSentence { dEnd: Long! text: String! tEnd: Long! tStart: Long! section: String! dStart: Long! } "Sequence Ontology Term" type EvidenceVariation { numberSamplesWithMutationType: Long numberSamplesTested: Long numberMutatedSamples: Long functionalConsequence: SequenceOntologyTerm } "Evidence for a Target-Disease pair" type Evidences { count: Long! cursor: String rows: [Evidence!]! } type Expression { tissue: Tissue! protein: ProteinExpression! rna: RNAExpression! } type GeneEssentialityScreen { cellLineName: String geneEffect: Float diseaseFromSource: String diseaseCellLineId: String mutation: String expression: Float depmapId: String } type GeneOntology { geneProduct: String! evidence: String! aspect: String! source: String! "Gene ontology term" term: GeneOntologyTerm! } type GeneOntologyTerm { id: String! name: String! } type GenomicLocation { start: Long! end: Long! strand: Int! chromosome: String! } "Phenotype entity" type HPO { "Open Targets hpo id" id: String! "namespace" namespace: [String!] "Phenotype description" description: String "Phenotype name" name: String! } type HallmarkAttribute { pmid: Long description: String! name: String! } type Hallmarks { cancerHallmarks: [CancerHallmark!]! attributes: [HallmarkAttribute!]! } type Homologue { isHighConfidence: String targetGeneId: String! targetPercentageIdentity: Float! homologyType: String! queryPercentageIdentity: Float! speciesName: String! speciesId: String! targetGeneSymbol: String! } type IdAndSource { id: String! source: String! } type IndicationReference { ids: [String!] source: String! } type IndicationRow { references: [IndicationReference!] maxPhaseForIndication: Float! "Disease" disease: Disease! } type Indications { rows: [IndicationRow!]! count: Long! approvedIndications: [String!] } type Interaction { speciesB: InteractionSpecies count: Long! sourceDatabase: String! speciesA: InteractionSpecies score: Float intB: String! intABiologicalRole: String! intA: String! intBBiologicalRole: String! targetA: Target targetB: Target "List of evidences for this interaction" evidences: [InteractionEvidence!]! } type InteractionEvidence { hostOrganismTaxId: Long intASource: String! interactionTypeMiIdentifier: String participantDetectionMethodA: [InteractionEvidencePDM!] interactionDetectionMethodShortName: String! expansionMethodShortName: String interactionTypeShortName: String participantDetectionMethodB: [InteractionEvidencePDM!] hostOrganismScientificName: String interactionIdentifier: String expansionMethodMiIdentifier: String intBSource: String! pubmedId: String interactionDetectionMethodMiIdentifier: String! evidenceScore: Float } type InteractionEvidencePDM { miIdentifier: String shortName: String } type InteractionResources { databaseVersion: String! sourceDatabase: String! } type InteractionSpecies { taxonId: Long mnemonic: String scientificName: String } type Interactions { count: Long! rows: [Interaction!]! } type Interval { studyId: String! distanceToTss: Int! chromosome: String! start: Int! datasourceId: String! score: Float! end: Int! biosampleName: String! pmid: String! resourceScore: [ResourceScore!]! intervalType: String! "Target" target: Target! "Biosample" biosample: Biosample } type Intervals { rows: [Interval!]! count: Long! } "A key-value pair" type KeyValue { key: String! value: String! } "An array of key-value pairs" type KeyValueArray { items: [KeyValue!]! } "Clinical precedence entry for drugs with investigational or approved indications targeting gene products according to their curated mechanism of action. Entries are grouped by target, disease, drug, phase, status and mechanism of action" type KnownDrug { "Curated disease indication" label: String! "Clinical Trial phase" phase: Float! "Drug target Open Targets id based on curated mechanism of action" targetId: String! "Source urls for FDA or package inserts" references: [KnownDrugReference!]! "Mechanism of Action description" mechanismOfAction: String! "Clinicaltrials.gov identifiers on entry trials" ctIds: [String!]! "Drug target class based on curated mechanism of action" targetClass: [String!]! "Source urls from clinical trials" urls: [URL!]! approvedName: String! "Trial status" status: String "Drug modality" drugType: String! "Curated disease indication Open Targets id" diseaseId: String! "Drug name" prefName: String! "Open Targets drug id" drugId: String! "Drug target approved symbol based on curated mechanism of action" approvedSymbol: String! "Curated disease indication entity" disease: Disease "Drug target entity based on curated mechanism of action" target: Target "Curated drug entity" drug: Drug } type KnownDrugReference { ids: [String!]! urls: [String!]! source: String! } "Set of clinical precedence for drugs with investigational or approved indications targeting gene products according to their curated mechanism of action" type KnownDrugs { "Clinical precedence entries with known mechanism of action" rows: [KnownDrug!]! cursor: String "Total unique known mechanism of action targetsTotal unique known mechanism of action targets" uniqueTargets: Long! "Total number of entries" count: Long! "Total unique diseases or phenotypes" uniqueDiseases: Long! "Total unique drugs/molecules" uniqueDrugs: Long! } type L2GFeature { shapValue: Float! value: Float! name: String! } type L2GPrediction { score: Float! studyLocusId: String! shapBaseValue: Float! features: [L2GFeature!] "Target" target: Target } type L2GPredictions { rows: [L2GPrediction!]! count: Long! id: String! } type LabelAndSource { label: String! source: String! } type LabelledElement { label: String! id: String! } type LabelledUri { niceName: String url: String! } type LdPopulationStructure { ldPopulation: String relativeSampleSize: Float } type LdSet { r2Overall: Float tagVariantId: String } "Linked Disease Entities" type LinkedDiseases { count: Int! "Disease List" rows: [Disease!]! } "Linked Target Entities" type LinkedTargets { count: Int! "Target List" rows: [Target!]! } type LocationAndSource { termSL: String labelSL: String source: String! location: String! } type Loci { rows: [Locus!] count: Long! } type Locus { pValueExponent: Int pValueMantissa: Float is99CredibleSet: Boolean posteriorProbability: Float logBF: Float r2Overall: Float beta: Float is95CredibleSet: Boolean standardError: Float variant: Variant } type MappingResult { term: String! hits: [SearchResult!] } type MappingResults { aggregations: SearchResultAggs total: Long! "Mappings" mappings: [MappingResult!]! } type MechanismOfActionRow { references: [Reference!] mechanismOfAction: String! targetName: String actionType: String "Target List" targets: [Target!]! } type MechanismsOfAction { rows: [MechanismOfActionRow!]! uniqueTargetTypes: [String!]! uniqueActionTypes: [String!]! } type Meta { apiVersion: APIVersion! dataVersion: DataVersion! name: String! "Return Open Targets downloads information" downloads: String } type ModelPhenotypeClasses { label: String! id: String! } type MousePhenotype { modelPhenotypeId: String! biologicalModels: [BiologicalModels!]! targetInModelEnsemblId: String targetInModelMgiId: String! modelPhenotypeLabel: String! modelPhenotypeClasses: [ModelPhenotypeClasses!]! targetInModel: String! } type NameDescription { description: String! name: String! } type OtarProject { reference: String! integratesInPPP: Boolean otarCode: String! status: String projectName: String } input Pagination { index: Int! size: Int! } "Pathway entry" type Pathway { id: String name: String! } type Pharmacogenomics { targetFromSourceId: String literature: [String!] variantRsId: String isDirectTarget: Boolean! phenotypeText: String pgxCategory: String evidenceLevel: String haplotypeFromSourceId: String phenotypeFromSourceId: String genotypeAnnotationText: String genotype: String variantAnnotation: [VariantAnnotation!] datasourceId: String studyId: String variantId: String haplotypeId: String datatypeId: String genotypeId: String variantFunctionalConsequenceId: String variantFunctionalConsequence: SequenceOntologyTerm "Target entity" target: Target "Drug List" drugs: [DrugWithIdentifiers!]! } type ProteinCodingCoordinate { datasources: [Datasource!]! referenceAminoAcid: String! alternateAminoAcid: String! therapeuticAreas: [String!]! variantEffect: Float uniprotAccessions: [String!]! aminoAcidPosition: Int! "Diseases" diseases: [Disease!]! "Target" target: Target "Variant" variant: Variant "Most severe consequence sequence ontology" variantConsequences: [SequenceOntologyTerm!]! } type ProteinCodingCoordinates { rows: [ProteinCodingCoordinate!]! count: Long! } type ProteinExpression { level: Int! cellType: [CellType!]! reliability: Boolean! } type Publication { pmid: String! pmcid: String "Publication Date" publicationDate: String } "Publication list" type Publications { count: Long! filteredCount: Long! "Earliest publication year." earliestPubYear: Int! cursor: String rows: [Publication!]! } type Query { "Return Open Targets API metadata information" meta: Meta! "Return a Target" target( "Ensembl ID" ensemblId: String!): Target "Return Targets" targets( "List of Ensembl IDs" ensemblIds: [String!]!): [Target!]! "Return a Disease" disease( "EFO ID" efoId: String!): Disease "Return Diseases" diseases( "EFO ID" efoIds: [String!]!): [Disease!]! "Return a drug" drug( "Chembl ID" chemblId: String!): Drug "Return drugs" drugs( "List of Chembl IDs" chemblIds: [String!]!): [Drug!]! "Multi entity search" search( "Query string" queryString: String!, "List of entity names to search for (target, disease, drug,...)" entityNames: [String!], "Pagination settings with index and size" page: Pagination): SearchResults! "Search facets" facets( "Query string" queryString: String, "List of entity names to search for (target, disease, drug,...)" entityNames: [String!], "Category" category: String, "Pagination settings with index and size" page: Pagination): SearchFacetsResults! "Map terms to IDs" mapIds( "List of query terms to map" queryTerms: [String!]!, "List of entity names to search for (target, disease, drug,...)" entityNames: [String!]): MappingResults! "The complete list of all possible datasources" associationDatasources: [EvidenceSource!]! "The complete list of all possible datasources" interactionResources: [InteractionResources!]! "Gene ontology terms" geneOntologyTerms( "List of GO IDs, eg. GO:0005515" goIds: [String!]!): [GeneOntologyTerm]! "Return a Variant" variant( "Variant ID" variantId: String!): Variant "Return a Study" study( "Study ID" studyId: String): Study "Return a studies" studies( "Pagination settings with index and size" page: Pagination, "Study ID" studyId: String, "Disease IDs" diseaseIds: [String!], "Use the disease ontology to retrieve all its descendants and capture all their associated studies." enableIndirect: Boolean): Studies! "Return a Credible Set" credibleSet( "Study-locus ID" studyLocusId: String!): CredibleSet credibleSets( "Pagination settings with index and size" page: Pagination, "Study-locus IDs" studyLocusIds: [String!], "Study IDs" studyIds: [String!], "Variant IDs" variantIds: [String!], "Study types" studyTypes: [StudyTypeEnum!], "Regions" regions: [String!]): CredibleSets! } type RNAExpression { zscore: Long! level: Int! unit: String! value: Float! } type ReactomePathway { pathwayId: String! pathway: String! topLevelTerm: String! } type Reference { ids: [String!] urls: [String!] source: String! } type ResourceScore { value: Float! name: String! } type SafetyBiosample { cellFormat: String cellLabel: String tissueId: String cellId: String tissueLabel: String } type SafetyEffects { dosing: String direction: String! } type SafetyLiability { literature: String effects: [SafetyEffects!] datasource: String! biosamples: [SafetyBiosample!] event: String url: String eventId: String studies: [SafetyStudy!] } type SafetyStudy { type: String description: String name: String } type Sample { sampleSize: Int ancestry: String } type ScoredComponent { score: Float! id: String! } type SearchFacetsCategory { total: Long! name: String! } type SearchFacetsResult { label: String! category: String! id: String! highlights: [String!]! datasourceId: String score: Float! entityIds: [String!] } "Search facets results" type SearchFacetsResults { "Return combined" hits: [SearchFacetsResult!]! "Total number or results given a entity filter" total: Long! "Categories" categories: [SearchFacetsCategory!]! } type SearchResult { score: Float! id: String! highlights: [String!]! prefixes: [String!] multiplier: Float! ngrams: [String!] keywords: [String!] category: [String!]! description: String name: String! entity: String! "Associations for a fixed target" object: EntityUnionType } type SearchResultAggCategory { total: Long! name: String! } type SearchResultAggEntity { categories: [SearchResultAggCategory!]! total: Long! name: String! } type SearchResultAggs { total: Long! entities: [SearchResultAggEntity!]! } "Search results" type SearchResults { "Aggregations" aggregations: SearchResultAggs "Return combined" hits: [SearchResult!]! "Total number or results given a entity filter" total: Long! } "Sequence Ontology Term" type SequenceOntologyTerm { label: String! id: String! } type Similarity { score: Float! category: String! id: String! "Similarity label optionally resolved into an entity" object: EntityUnionType } "Studies" type Studies { count: Long! rows: [Study!]! } "A genome-wide association study" type Study { replicationSamples: [Sample!] publicationJournal: String nCases: Int publicationTitle: String ldPopulationStructure: [LdPopulationStructure!] traitFromSource: String publicationFirstAuthor: String nControls: Int publicationDate: String initialSampleSize: String hasSumstats: Boolean "The project identifier" projectId: String cohorts: [String!] nSamples: Int analysisFlags: [String!] "Condition" condition: String summarystatsLocation: String pubmedId: String discoverySamples: [Sample!] qualityControls: [String!] traitFromSourceMappedIds: [String!] sumstatQCValues: [SumStatQC!] "The study identifier" id: String! "The study type" studyType: StudyTypeEnum "Target" target: Target "biosample" biosample: Biosample diseases: [Disease!] backgroundTraits: [Disease!] "Credible sets" credibleSets( "Pagination settings with index and size" page: Pagination): CredibleSets! } enum StudyTypeEnum { eqtl gwas pqtl sceqtl scpqtl scsqtl sctuqtl sqtl tuqtl } type SumStatQC { QCCheckValue: Float! QCCheckName: String! } "Target entity" type Target { "Target druggability assessment" tractability: [Tractability!]! alternativeGenes: [String!]! "Ensembl transcript IDs" transcriptIds: [String!]! "Obsolete symbols" obsoleteSymbols: [LabelAndSource!]! "Alternative names" nameSynonyms: [LabelAndSource!]! "Location of ..." subcellularLocations: [LocationAndSource!]! canonicalTranscript: CanonicalTranscript "Obsolete names" obsoleteNames: [LabelAndSource!]! "Molecule biotype" biotype: String! chemicalProbes: [ChemicalProbe!]! "Related protein IDs" proteinIds: [IdAndSource!]! "Alternative names and symbols" synonyms: [LabelAndSource!]! "Open Targets target id" id: String! "Reactome pathways" pathways: [ReactomePathway!]! "Gene homologues" homologues: [Homologue!]! "..." functionDescriptions: [String!]! "Gene Ontology annotations" geneOntology: [GeneOntology!]! targetClass: [TargetClass!]! "Known target safety effects and target safety risk information" safetyLiabilities: [SafetyLiability!]! "Database cross references" dbXrefs: [IdAndSource!]! "Target Enabling Package (TEP)" tep: Tep "Alternative symbols" symbolSynonyms: [LabelAndSource!]! "Approved gene name" approvedName: String! "Target-modulated essential alterations in cell physiology that dictate malignant growth" hallmarks: Hallmarks "Symbol synonyms" geneticConstraint: [Constraint!]! "Chromosomic location" genomicLocation: GenomicLocation! "HGNC approved symbol" approvedSymbol: String! credibleSets( "Pagination settings with index and size" page: Pagination): CredibleSets! "Return similar labels using a model Word2CVec trained with PubMed" similarEntities( "List of IDs either EFO ENSEMBL CHEMBL" additionalIds: [String!], "List of entity names to search for (target, disease, drug,...)" entityNames: [String!], "Threshold similarity between 0 and 1" threshold: Float, size: Int): [Similarity!]! "Return the list of publications that mention the main entity, alone or in combination with other entities" literatureOcurrences( "List of IDs either EFO ENSEMBL CHEMBL" additionalIds: [String!], "Year at the lower end of the filter" startYear: Int, "Month at the lower end of the filter. This value will be ignored if startYear is not set" startMonth: Int, "Year at the higher end of the filter" endYear: Int, "Month at the higher end of the filter. This value will be ignored if endYear is not set" endMonth: Int, cursor: String): Publications! "The complete list of all possible datasources" evidences( "EFO ID" efoIds: [String!]!, "List of datasource ids" datasourceIds: [String!], size: Int, cursor: String): Evidences! "Biological pathway membership from Reactome" interactions( "Threshold similarity between 0 and 1" scoreThreshold: Float, "Database name" sourceDatabase: String, "Pagination settings with index and size" page: Pagination): Interactions "Biological pathway membership from Reactome" mousePhenotypes: [MousePhenotype!]! "RNA and Protein baseline expression" expressions: [Expression!]! "Clinical precedence for drugs with investigational or approved indications targeting gene products according to their curated mechanism of action" knownDrugs( "Query string" freeTextQuery: String, size: Int, cursor: String): KnownDrugs "associations on the fly" associatedDiseases( "List of disease or target IDs" Bs: [String!], "Utilize the target interactions to retrieve all diseases associated with them and capture their respective evidence." enableIndirect: Boolean, "List of datasource settings" datasources: [DatasourceSettingsInput!], "List of the facet IDs to filter by (using AND)" facetFilters: [String!], "Filter to apply to the ids with string prefixes" BFilter: String, "Ordering for the associations. By default is score desc" orderByScore: String, "Pagination settings with index and size" page: Pagination): AssociatedDiseases! "Factors influencing target-specific properties informative in a target prioritisation strategy. Values range from -1 (deprioritised) to 1 (prioritised)." prioritisation: KeyValueArray "isEssential" isEssential: Boolean "depMapEssentiality" depMapEssentiality: [DepMapEssentiality!] "Pharmoacogenomics" pharmacogenomics( "Pagination settings with index and size" page: Pagination): [Pharmacogenomics!]! "Protein coding coordinates" proteinCodingCoordinates( "Pagination settings with index and size" page: Pagination): ProteinCodingCoordinates! } type TargetClass { label: String! level: String! id: Long! } "Target Enabling Package (TEP)" type Tep { name: String! uri: String! therapeuticArea: String! description: String! } "Tissue, organ and anatomical system" type Tissue { "UBERON tissue label" label: String! "Anatomical systems membership" anatomicalSystems: [String!]! "Organs membership" organs: [String!]! "UBERON id" id: String! } type Tractability { label: String! value: Boolean! modality: String! } type TranscriptConsequence { polyphenPrediction: Float isEnsemblCanonical: Boolean! impact: String transcriptId: String transcriptIndex: Long! aminoAcidChange: String siftPrediction: Float distanceFromFootprint: Int! lofteePrediction: String codons: String uniprotAccessions: [String!] consequenceScore: Float! distanceFromTss: Int! "Target" target: Target "Most severe consequence sequence ontology" variantConsequences: [SequenceOntologyTerm!]! } "Source URL for clinical trials, FDA and package inserts" type URL { "resource url" url: String! "resource name" name: String! } type Variant { referenceAllele: String! dbXrefs: [DbXref!] alleleFrequencies: [AlleleFrequency!] rsIds: [String!] hgvsId: String alternateAllele: String! chromosome: String! position: Int! variantEffect: [VariantEffect!] transcriptConsequences: [TranscriptConsequence!] id: String! variantDescription: String! "Most severe consequence sequence ontology" mostSevereConsequence: SequenceOntologyTerm "Credible sets" credibleSets( "Pagination settings with index and size" page: Pagination, "Study types" studyTypes: [StudyTypeEnum!]): CredibleSets! "Pharmoacogenomics" pharmacogenomics( "Pagination settings with index and size" page: Pagination): [Pharmacogenomics!]! "The complete list of all possible datasources" evidences( "List of datasource ids" datasourceIds: [String!], size: Int, cursor: String): Evidences! "Protein coding coordinates" proteinCodingCoordinates( "Pagination settings with index and size" page: Pagination): ProteinCodingCoordinates! "Intervals for the variant" intervals( "Pagination settings with index and size" page: Pagination): Intervals! } "PharmGKB's variant curation that supports a clinical annotation." type VariantAnnotation { "PMID of the supporting publication." literature: String "Allele observed effect." effect: String "Type of effect." effectType: String "Allele or genotype in the base case." baseAlleleOrGenotype: String "Allele or genotype in the comparison case." comparisonAlleleOrGenotype: String "Allele directionality of the effect." directionality: String "Summary of the impact of the allele on the drug response." effectDescription: String "Entity affected by the effect." entity: String } type VariantEffect { assessment: String score: Float method: String normalisedScore: Float assessmentFlag: String "Target" target: Target } type assays { isHit: Boolean description: String shortName: String } type biomarkers { geneExpression: [BiomarkerGeneExpression!] geneticVariation: [geneticVariation!] } type geneticVariation { id: String name: String functionalConsequenceId: SequenceOntologyTerm }