opentargets / issues

Issue tracker for Open Targets Platform and Open Targets Genetics Portal
https://platform.opentargets.org https://genetics.opentargets.org
Apache License 2.0
12 stars 2 forks source link

New datasource in associations on-the-fly view #3618

Open d0choa opened 2 weeks ago

d0choa commented 2 weeks ago

The API already contains new datasource with the new associations in the associations endpoint.

We would like to add a new column to the heatmap: Column name GWAS credible sets (subject to changes). Position: first or second Datatype: genetic associations Datasource id in API response gwas_credible_sets

Evidence widget is specified in: https://github.com/opentargets/issues/issues/3604#issuecomment-2459671126

The current graphQL query requires no changes as it returns the new records:

{
  "data": {
    "disease": {
      "id": "EFO_0003767",
      "name": "inflammatory bowel disease",
      "associatedTargets": {
        "count": 11617,
        "rows": [
          {
            "target": {
              "id": "ENSG00000167207",
              "approvedSymbol": "NOD2",
              "approvedName": "nucleotide binding oligomerization domain containing 2"
            },
            "score": 0.8899709975565046,
            "datasourceScores": [
              {
                "componentId": "uniprot_variants",
                "score": 0.9958845303346446
              },
              {
                "componentId": "gwas_credible_sets",
                "score": 0.9401893155936556
              },
              {
                "componentId": "eva",
                "score": 0.8955643816578884
              },
              {
                "componentId": "genomics_england",
                "score": 0.8776156542187763
              },
              {
                "componentId": "ot_genetics_portal",
                "score": 0.8588080964594067
              },
              {
                "componentId": "gene_burden",
                "score": 0.8330558641212007
              },
              {
                "componentId": "uniprot_literature",
                "score": 0.8274613634158176
              },
              {
                "componentId": "europepmc",
                "score": 0.9156411482254075
              },
              {
                "componentId": "impc",
                "score": 0.45630893908334746
              },
              {
                "componentId": "expression_atlas",
                "score": 0.1384615637209791
              }
            ]
          },
...
carcruz commented 1 week ago

The column was added to AotF and is currently displaying the ot_genetics widget.

@chinmehta is currently working on https://github.com/opentargets/issues/issues/3604