type APIVersion { z: String! suffix: String y: String! x: String! } "Significant adverse event entries" type AdverseEvent { "Number of reports mentioning drug and adverse event" count: Long! "Log-likelihood ratio" logLR: Float! "8 digit unique meddra identification number" meddraCode: String "Meddra term on adverse event" name: String! } "Significant adverse events inferred from FAERS reports" type AdverseEvents { "LLR critical value to define significance" criticalValue: Float! "Significant adverse event entries" rows: [AdverseEvent!]! "Total significant adverse events" count: Long! } type AlleleFrequency { alleleFrequency: Float populationName: String } "Associated Disease Entity" type AssociatedDisease { datasourceScores: [ScoredComponent!]! datatypeScores: [ScoredComponent!]! score: Float! "Disease" disease: Disease! } type AssociatedDiseases { count: Long! datasources: [DatasourceSettings!]! "Associated Targets using (On the fly method)" rows: [AssociatedDisease!]! } "Associated Target Entity" type AssociatedTarget { datasourceScores: [ScoredComponent!]! datatypeScores: [ScoredComponent!]! score: Float! "Target" target: Target! } type AssociatedTargets { count: Long! datasources: [DatasourceSettings!]! "Associated Targets using (On the fly method)" rows: [AssociatedTarget!]! } type BiologicalModels { allelicComposition: String! literature: [String!] id: String geneticBackground: String! } type BiomarkerGeneExpression { name: String id: GeneOntologyTerm } type Biosample { xrefs: [String!] ancestors: [String!] biosampleName: String! biosampleId: String! descendants: [String!] description: String synonyms: [String!] parents: [String!] children: [String!] } type CancerHallmark { pmid: Long! label: String! description: String! impact: String } type CanonicalTranscript { start: Long! end: Long! id: String! strand: String! chromosome: String! } type CellType { level: Int! reliability: Boolean! name: String! } type ChemicalProbe { origin: [String!] id: String! scoreInOrganisms: Float isHighQuality: Boolean! drugId: String probeMinerScore: Float targetFromSourceId: String! mechanismOfAction: [String!] control: String scoreInCells: Float urls: [ChemicalProbeUrl!]! probesDrugsScore: Float } type ChemicalProbeUrl { url: String niceName: String! } type Colocalisation { colocalisationMethod: String! rightStudyType: String! h3: Float h4: Float clpp: Float chromosome: String! betaRatioSignAverage: Float numberColocalisingVariants: Long! "Credible set" otherStudyLocus: CredibleSet } "Colocalisations" type Colocalisations { count: Long! rows: [Colocalisation!]! } type Constraint { obs: Long constraintType: String! oe: Float oeLower: Float score: Float exp: Float upperRank: Long upperBin: Long oeUpper: Float upperBin6: Long } type CredibleSet { purityMeanR2: Float qtlGeneId: String qualityControls: [String!] pValueExponent: Int studyId: String locusStart: Int confidence: String credibleSetlog10BF: Float standardError: Float effectAlleleFrequencyFromSource: Float finemappingMethod: String credibleSetIndex: Int position: Int ldSet: [LdSet!] purityMinR2: Float chromosome: String locusEnd: Int pValueMantissa: Float studyLocusId: String! region: String beta: Float sampleSize: Int subStudyDescription: String isTransQtl: Boolean zScore: Float 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! iteration: String year: String! } type Datasource { datasourceId: String! datasourceNiceName: String! datasourceCount: Int! } type DatasourceSettings { required: Boolean! propagate: Boolean! weight: Float! id: String! } input DatasourceSettingsInput { id: String! "Weight assigned to the datasource. Should be between 0 and 1" weight: Float! propagate: Boolean! required: Boolean = false } type DbXref { source: String id: String } type DepMapEssentiality { tissueName: String screens: [GeneEssentialityScreen!]! tissueId: String } "Disease or phenotype entity" type Disease { "List of indirect location Disease terms" indirectLocationIds: [String!] "List of external cross reference IDs" dbXRefs: [String!] "Open Targets disease id" id: String! ancestors: [String!]! "List of direct location Disease terms" directLocationIds: [String!] descendants: [String!]! "Disease description" description: String "Disease synonyms" synonyms: [DiseaseSynonyms!] "List of obsolete diseases" obsoleteTerms: [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 { id: String tissueId: String tissue: 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 { "This field refers to the database and database identifier. EG. OMIM" diseaseFromSourceId: String! "This field indicates the source of the information used for the annotation (phenotype.hpoa)" references: [String!]! "This optional field can be used to qualify the annotation. Values: [True or False]" qualifierNot: Boolean! "This field contains the strings MALE or FEMALE if the annotation in question is limited to males or females." sex: 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 "One of P (Phenotypic abnormality), I (inheritance), C (onset and clinical course). Might be null (MONDO)" aspect: String "This field indicates the level of evidence supporting the annotation." evidenceType: String "Related name from the field diseaseFromSourceId" diseaseFromSource: 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 { "Drug trade names" tradeNames: [String!]! "Open Targets molecule id" id: String! "Drug modality" drugType: String! "Alert on life-threteaning drug side effects provided by FDA" blackBoxWarning: Boolean! "Drug description" description: String "Molecule synonyms" synonyms: [String!]! "Alias for maximumClinicalTrialPhase == 4" isApproved: Boolean crossReferences: [DrugReferences!] "Has drug been withdrawn from the market" hasBeenWithdrawn: Boolean! "Year drug was approved for the first time" yearOfFirstApproval: Int "Maximum phase observed in clinical trial records and post-marketing package inserts" maximumClinicalTrialPhase: Float "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 { source: String! ids: [String!]! } "Drug warnings as calculated by ChEMBL" type DrugWarning { "Source of withdrawal information" references: [DrugWarningReference!] id: Long "Country issuing warning" country: String "High level toxicity category by Meddra System Organ Class" toxicityClass: String "Either 'black box warning' or 'withdrawn'" warningType: String! "Reason for withdrawal" description: String chemblIds: [String!] "Year of withdrawal" year: Int "ID of the curated EFO term that represents the adverse outcome" efoId: String "ID of the curated EFO term that represents the high level warning class" efoIdForWarningClass: String " label of the curated EFO term that represents the adverse outcome" efoTerm: String } type DrugWarningReference { source: String! url: String! id: 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 { datatypeId: String! diseaseFromSourceId: String "Predicted reason(s) why the study has been stopped based on studyStopReason" studyStopReasonCategories: [String!] variantAminoacidDescriptions: [String!] "Release date" releaseDate: String "Evidence identifier" id: String! interactingTargetFromSourceId: String phenotypicConsequencePValue: Float "Sample size" studySampleSize: Long pathways: [Pathway!] pValueExponent: Long "Warning message" warningMessage: String studyId: String mutatedSamples: [EvidenceVariation!] contrast: String biomarkerName: String significantDriverMethods: [String!] diseaseModelAssociatedHumanPhenotypes: [LabelledElement!] textMiningSentences: [EvidenceTextMiningSentence!] "Assessments" assessments: [String!] cohortShortName: String publicationFirstAuthor: String interactingTargetRole: String "Variant dbSNP identifier" variantRsId: String diseaseFromSourceMappedId: String biomarkers: biomarkers drugFromSource: String cohortPhenotypes: [String!] confidence: String biosamplesFromSource: [String!] geneticInteractionScore: Float geneticInteractionFDR: Float alleleOrigins: [String!] clinicalPhase: Float crisprScreenLibrary: String biologicalModelAllelicComposition: String "The statistical method used to calculate the association" statisticalMethod: String targetFromSource: String assays: [assays!] "Number of cases in a case-control study that carry at least one allele of the qualifying variant" studyCasesWithQualifyingVariants: Long resourceScore: Float "Release version" releaseVersion: String oddsRatio: Float oddsRatioConfidenceIntervalUpper: Float "Overview of the statistical method used to calculate the association" statisticalMethodOverview: String targetInModel: String "Variant effect" variantEffect: String publicationYear: Long diseaseModelAssociatedModelPhenotypes: [LabelledElement!] targetModulation: String statisticalTestTail: String cohortDescription: String targetFromSourceId: String "Evidence score" score: Float! clinicalStatus: String clinicalSignificances: [String!] phenotypicConsequenceLogFoldChange: Float diseaseCellLines: [DiseaseCellLine!] studyCases: Long "Primary Project Id" primaryProjectId: String datasourceId: String! cellLineBackground: String cellType: String targetRole: String studyStartDate: String studyOverview: String log2FoldChangeValue: Float betaConfidenceIntervalLower: Float geneticInteractionPValue: Float pValueMantissa: Float biologicalModelGeneticBackground: String "Genetic origin of a population" ancestry: String log2FoldChangePercentileRank: Long urls: [LabelledUri!] biomarkerList: [NameDescription!] reactionId: String "Primary Project Hit" primaryProjectHit: Boolean "list of pub med publications ids" literature: [String!] "Confidence interval lower-bound" oddsRatioConfidenceIntervalLower: Float reactionName: String studyStopReason: String beta: Float biologicalModelId: String betaConfidenceIntervalUpper: Float projectDescription: String phenotypicConsequenceFDR: Float diseaseFromSource: String cohortId: String geneInteractionType: String "Direction On Trait" directionOnTrait: String "Identifier of the ancestry in the HANCESTRO ontology" ancestryId: String allelicRequirements: [String!] projectId: 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 { datatype: String! datasource: String! } type EvidenceTextMiningSentence { text: String! section: String! tEnd: Long! tStart: Long! dEnd: Long! dStart: Long! } "Sequence Ontology Term" type EvidenceVariation { numberSamplesTested: Long numberMutatedSamples: Long numberSamplesWithMutationType: Long functionalConsequence: SequenceOntologyTerm } "Evidence for a Target-Disease pair" type Evidences { count: Long! cursor: String rows: [Evidence!]! } type Expression { protein: ProteinExpression! tissue: Tissue! rna: RNAExpression! } type GeneEssentialityScreen { cellLineName: String expression: Float depmapId: String mutation: String geneEffect: Float diseaseCellLineId: String diseaseFromSource: String } type GeneOntology { source: String! geneProduct: String! evidence: String! aspect: 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 { "Phenotype description" description: String "Open Targets hpo id" id: String! "namespace" namespace: [String!] "Phenotype name" name: String! } type HallmarkAttribute { pmid: Long description: String! name: String! } type Hallmarks { cancerHallmarks: [CancerHallmark!]! attributes: [HallmarkAttribute!]! } type Homologue { targetPercentageIdentity: Float! targetGeneSymbol: String! isHighConfidence: String speciesId: String! queryPercentageIdentity: Float! homologyType: String! speciesName: String! targetGeneId: String! } type IdAndSource { source: String! id: String! } type IndicationReference { source: String! ids: [String!] } type IndicationRow { references: [IndicationReference!] maxPhaseForIndication: Float! "Disease" disease: Disease! } type Indications { approvedIndications: [String!] count: Long! rows: [IndicationRow!]! } type Interaction { speciesB: InteractionSpecies intA: String! count: Long! intBBiologicalRole: String! intB: String! intABiologicalRole: String! speciesA: InteractionSpecies sourceDatabase: String! score: Float targetA: Target targetB: Target "List of evidences for this interaction" evidences: [InteractionEvidence!]! } type InteractionEvidence { interactionTypeMiIdentifier: String interactionIdentifier: String interactionDetectionMethodShortName: String! evidenceScore: Float interactionDetectionMethodMiIdentifier: String! intASource: String! hostOrganismScientificName: String hostOrganismTaxId: Long expansionMethodShortName: String pubmedId: String participantDetectionMethodB: [InteractionEvidencePDM!] expansionMethodMiIdentifier: String participantDetectionMethodA: [InteractionEvidencePDM!] intBSource: String! interactionTypeShortName: String } type InteractionEvidencePDM { miIdentifier: String shortName: String } type InteractionResources { databaseVersion: String! sourceDatabase: String! } type InteractionSpecies { taxonId: Long scientificName: String mnemonic: String } type Interactions { count: Long! rows: [Interaction!]! } type Interval { pmid: String! end: Int! studyId: String! biosampleName: String! resourceScore: [ResourceScore!]! score: Float! datasourceId: String! start: Int! chromosome: String! intervalType: String! distanceToTss: Int! "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! "Source urls for FDA or package inserts" references: [KnownDrugReference!]! "Trial status" status: String "Clinical Trial phase" phase: Float! "Clinicaltrials.gov identifiers on entry trials" ctIds: [String!]! "Open Targets drug id" drugId: String! approvedName: String! "Drug modality" drugType: String! "Drug target Open Targets id based on curated mechanism of action" targetId: String! "Drug target class based on curated mechanism of action" targetClass: [String!]! "Mechanism of Action description" mechanismOfAction: String! "Curated disease indication Open Targets id" diseaseId: String! "Drug target approved symbol based on curated mechanism of action" approvedSymbol: String! "Drug name" prefName: String! "Source urls from clinical trials" urls: [URL!]! "Curated disease indication entity" disease: Disease "Drug target entity based on curated mechanism of action" target: Target "Curated drug entity" drug: Drug } type KnownDrugReference { source: String! ids: [String!]! urls: [String!]! } "Set of clinical precedence for drugs with investigational or approved indications targeting gene products according to their curated mechanism of action" type KnownDrugs { "Total unique known mechanism of action targetsTotal unique known mechanism of action targets" uniqueTargets: Long! "Clinical precedence entries with known mechanism of action" rows: [KnownDrug!]! "Total number of entries" count: Long! "Total unique diseases or phenotypes" uniqueDiseases: Long! cursor: String "Total unique drugs/molecules" uniqueDrugs: Long! } type L2GFeature { shapValue: Float! value: Float! name: String! } type L2GPrediction { score: Float! features: [L2GFeature!] shapBaseValue: Float! studyLocusId: String! "Target" target: Target } type L2GPredictions { id: String! rows: [L2GPrediction!]! count: Long! } type LabelAndSource { source: String! label: String! } type LabelledElement { label: String! id: String! } type LabelledUri { url: String! niceName: String } type LdPopulationStructure { relativeSampleSize: Float ldPopulation: String } type LdSet { tagVariantId: String r2Overall: Float } "Linked Disease Entities" type LinkedDiseases { count: Int! "Disease List" rows: [Disease!]! } "Linked Target Entities" type LinkedTargets { count: Int! "Target List" rows: [Target!]! } type LocationAndSource { location: String! source: String! labelSL: String termSL: String } type Loci { rows: [Locus!] count: Long! } type Locus { posteriorProbability: Float pValueExponent: Int is99CredibleSet: Boolean standardError: Float logBF: Float pValueMantissa: Float is95CredibleSet: Boolean beta: Float r2Overall: Float variant: Variant } type MappingResult { hits: [SearchResult!] term: String! } type MappingResults { aggregations: SearchResultAggs total: Long! "Mappings" mappings: [MappingResult!]! } type MechanismOfActionRow { actionType: String references: [Reference!] targetName: String mechanismOfAction: String! "Target List" targets: [Target!]! } type MechanismsOfAction { uniqueActionTypes: [String!]! rows: [MechanismOfActionRow!]! uniqueTargetTypes: [String!]! } type Meta { dataPrefix: String! product: String! enableDataReleasePrefix: Boolean! dataVersion: DataVersion! apiVersion: APIVersion! name: String! "Return Open Targets downloads information" downloads: String } type ModelPhenotypeClasses { label: String! id: String! } type MousePhenotype { targetInModelMgiId: String! modelPhenotypeId: String! modelPhenotypeLabel: String! targetInModelEnsemblId: String modelPhenotypeClasses: [ModelPhenotypeClasses!]! targetInModel: String! biologicalModels: [BiologicalModels!]! } type NameDescription { description: String! name: String! } type OtarProject { projectName: String status: String reference: String! otarCode: String! integratesInPPP: Boolean } input Pagination { index: Int! size: Int! } "Pathway entry" type Pathway { id: String name: String! } type Pharmacogenomics { literature: [String!] datatypeId: String isDirectTarget: Boolean! variantFunctionalConsequenceId: String variantAnnotation: [VariantAnnotation!] studyId: String genotypeId: String variantRsId: String targetFromSourceId: String datasourceId: String phenotypeText: String pgxCategory: String haplotypeFromSourceId: String genotypeAnnotationText: String variantId: String phenotypeFromSourceId: String evidenceLevel: String haplotypeId: String genotype: String variantFunctionalConsequence: SequenceOntologyTerm "Target entity" target: Target "Drug List" drugs: [DrugWithIdentifiers!]! } type ProteinCodingCoordinate { alternateAminoAcid: String! therapeuticAreas: [String!]! uniprotAccessions: [String!]! variantEffect: Float referenceAminoAcid: String! aminoAcidPosition: Int! datasources: [Datasource!]! "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! reliability: Boolean! cellType: [CellType!]! } 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 { level: Int! zscore: Long! unit: String! value: Float! } type ReactomePathway { pathway: String! pathwayId: String! topLevelTerm: String! } type Reference { source: String! ids: [String!] urls: [String!] } type ResourceScore { value: Float! name: String! } type SafetyBiosample { tissueId: String cellLabel: String cellId: String cellFormat: String tissueLabel: String } type SafetyEffects { direction: String! dosing: String } type SafetyLiability { literature: String biosamples: [SafetyBiosample!] eventId: String studies: [SafetyStudy!] url: String event: String datasource: String! effects: [SafetyEffects!] } type SafetyStudy { description: String type: String name: String } type Sample { ancestry: String sampleSize: Int } type ScoredComponent { score: Float! id: String! } type SearchFacetsCategory { total: Long! name: String! } type SearchFacetsResult { label: String! id: String! category: String! entityIds: [String!] score: Float! datasourceId: String highlights: [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 { multiplier: Float! id: String! category: [String!]! ngrams: [String!] description: String score: Float! highlights: [String!]! keywords: [String!] entity: String! prefixes: [String!] name: 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! id: String! category: String! "Similarity label optionally resolved into an entity" object: EntityUnionType } "Studies" type Studies { count: Long! rows: [Study!]! } "A genome-wide association study" type Study { publicationDate: String discoverySamples: [Sample!] qualityControls: [String!] publicationFirstAuthor: String publicationJournal: String nSamples: Int initialSampleSize: String nCases: Int publicationTitle: String traitFromSourceMappedIds: [String!] pubmedId: String summarystatsLocation: String hasSumstats: Boolean analysisFlags: [String!] traitFromSource: String ldPopulationStructure: [LdPopulationStructure!] cohorts: [String!] nControls: Int "Condition" condition: String sumstatQCValues: [SumStatQC!] replicationSamples: [Sample!] "The project identifier" projectId: String "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 { "Gene Ontology annotations" geneOntology: [GeneOntology!]! "Open Targets target id" id: String! "Target druggability assessment" tractability: [Tractability!]! "Reactome pathways" pathways: [ReactomePathway!]! "Chromosomic location" genomicLocation: GenomicLocation! "Obsolete names" obsoleteNames: [LabelAndSource!]! "Alternative names" nameSynonyms: [LabelAndSource!]! "Approved gene name" approvedName: String! "Target Enabling Package (TEP)" tep: Tep "Database cross references" dbXrefs: [IdAndSource!]! "Symbol synonyms" geneticConstraint: [Constraint!]! targetClass: [TargetClass!]! "Alternative names and symbols" synonyms: [LabelAndSource!]! "Alternative symbols" symbolSynonyms: [LabelAndSource!]! alternativeGenes: [String!]! "Known target safety effects and target safety risk information" safetyLiabilities: [SafetyLiability!]! canonicalTranscript: CanonicalTranscript "Target-modulated essential alterations in cell physiology that dictate malignant growth" hallmarks: Hallmarks "HGNC approved symbol" approvedSymbol: String! chemicalProbes: [ChemicalProbe!]! "Gene homologues" homologues: [Homologue!]! "Location of ..." subcellularLocations: [LocationAndSource!]! "Ensembl transcript IDs" transcriptIds: [String!]! "Related protein IDs" proteinIds: [IdAndSource!]! "..." functionDescriptions: [String!]! "Obsolete symbols" obsoleteSymbols: [LabelAndSource!]! "Molecule biotype" biotype: 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 { level: String! label: String! id: Long! } "Target Enabling Package (TEP)" type Tep { description: String! uri: String! name: String! therapeuticArea: String! } "Tissue, organ and anatomical system" type Tissue { "UBERON tissue label" label: String! "UBERON id" id: String! "Anatomical systems membership" anatomicalSystems: [String!]! "Organs membership" organs: [String!]! } type Tractability { modality: String! label: String! value: Boolean! } type TranscriptConsequence { transcriptId: String lofteePrediction: String aminoAcidChange: String isEnsemblCanonical: Boolean! distanceFromTss: Int! uniprotAccessions: [String!] consequenceScore: Float! codons: String impact: String polyphenPrediction: Float distanceFromFootprint: Int! siftPrediction: Float transcriptIndex: Long! "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 { rsIds: [String!] transcriptConsequences: [TranscriptConsequence!] referenceAllele: String! variantDescription: String! dbXrefs: [DbXref!] variantEffect: [VariantEffect!] position: Int! chromosome: String! alleleFrequencies: [AlleleFrequency!] hgvsId: String id: String! alternateAllele: 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 or genotype in the base case." baseAlleleOrGenotype: String "Allele directionality of the effect." directionality: String "Summary of the impact of the allele on the drug response." effectDescription: String "Allele observed effect." effect: String "Allele or genotype in the comparison case." comparisonAlleleOrGenotype: String "Type of effect." effectType: String "Entity affected by the effect." entity: String } type VariantEffect { assessmentFlag: String normalisedScore: Float score: Float assessment: String method: String "Target" target: Target } type assays { description: String isHit: Boolean shortName: String } type biomarkers { geneticVariation: [geneticVariation!] geneExpression: [BiomarkerGeneExpression!] } type geneticVariation { id: String name: String functionalConsequenceId: SequenceOntologyTerm }