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

Load datasource/datatype metadata from static config file in FE rewrite #1291

Closed d0choa closed 3 years ago

d0choa commented 3 years ago

(any other ideas?)

javfg commented 3 years ago

Using the following order, fetched from this doc:

[
  // DataTypes
  { id: 'genetic_association', label: 'Genetic association' },
  { id: 'genetic_literature', label: 'Genetic literature' },
  { id: 'somatic_mutation', label: 'Somatic mutation' },
  { id: 'known_drug', label: 'Known drug' },
  { id: 'affected_pathway', label: 'Affected pathway' },
  { id: 'literature', label: 'Literature' },
  { id: 'rna_expression', label: 'RNA expression' },
  { id: 'animal_model', label: 'Animal model' },

  // DataSources
  { id: 'ot_genetics_portal', label: 'OT Genetics Portal' },
  { id: 'phewas_catalog', label: 'PheWAS Catalog' },
  { id: 'eva', label: 'ClinVar' },
  { id: 'genomics_england', label: 'GEL PanelApp' },
  { id: 'gene2phenotype', label: 'Gene2phenotype' },
  { id: 'uniprot_literature', label: 'UniProt literature' },
  { id: 'clingen', label: 'Clingen' },
  { id: 'cancer_gene_census', label: 'Cancer Gene Census' },
  { id: 'intogen', label: 'IntOGen' },
  { id: 'eva_somatic', label: 'ClinVar (somatic)' },
  { id: 'chembl', label: 'ChEMBL' },
  { id: 'crispr', label: 'Project Score' },
  { id: 'slapenrich', label: 'SLAPenrich' },
  { id: 'progeny', label: 'PROGENy' },
  { id: 'reactome', label: 'Reactome' },
  { id: 'sysbio', label: 'Gene signatures' },
  { id: 'europepmc', label: 'Europe PMC' },
  { id: 'expression_atlas', label: 'Expression Atlas' },
  { id: 'phenodigm', label: 'PhenoDigm' },
]
javfg commented 3 years ago

Final list of labels and order:

[
  // Data types
  { id: 'genetic_association', label: 'Genetic associations (variants)' },
  { id: 'genetic_literature', label: 'Genetic associations (genes)' },
  { id: 'somatic_mutation', label: 'Somatic mutations' },
  { id: 'known_drug', label: 'Drugs' },
  { id: 'affected_pathway', label: 'Pathways & systems biology' },
  { id: 'literature', label: 'Text mining' },
  { id: 'rna_expression', label: 'RNA expression' },
  { id: 'animal_model', label: 'Animal models' },

  // Data sources
  { id: 'ot_genetics_portal', label: 'OT Genetics Portal' },
  { id: 'phewas_catalog', label: 'PheWAS Catalog' },
  { id: 'eva', label: 'ClinVar' },
  { id: 'uniprot', label: 'UniProt curated variants' },
  { id: 'genomics_england', label: 'GEL PanelApp' },
  { id: 'gene2phenotype', label: 'Gene2phenotype' },
  { id: 'uniprot_literature', label: 'UniProt literature' },
  { id: 'clingen', label: 'Clingen' },
  { id: 'cancer_gene_census', label: 'Cancer Gene Census' },
  { id: 'intogen', label: 'IntOGen' },
  { id: 'eva_somatic', label: 'ClinVar (somatic)' },
  { id: 'uniprot_somatic', label: 'UniProt (somatic)' },
  { id: 'chembl', label: 'ChEMBL' },
  { id: 'crispr', label: 'Project Score' },
  { id: 'slapenrich', label: 'SLAPenrich' },
  { id: 'progeny', label: 'PROGENy' },
  { id: 'reactome', label: 'Reactome' },
  { id: 'sysbio', label: 'Gene signatures' },
  { id: 'europepmc', label: 'Europe PMC' },
  { id: 'expression_atlas', label: 'Expression Atlas' },
  { id: 'phenodigm', label: 'PhenoDigm' },
]
d0choa commented 3 years ago

I opened a new ticket (#1312) as I believe this work has messed up the heatmap columns in beta