Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ChEMBL Indication Processor #39

Closed
cthoyt opened this issue Oct 12, 2021 · 0 comments · Fixed by #40
Closed

ChEMBL Indication Processor #39

cthoyt opened this issue Oct 12, 2021 · 0 comments · Fixed by #40
Assignees
Labels
Processor A new processor

Comments

@cthoyt
Copy link
Member

cthoyt commented Oct 12, 2021

This SQL statement can be used with the chembl_downloader to get links between chemicals and their indications (either as mesh or EFO/HP) and their maximum clinical phase:

SELECT
    MOLECULE_DICTIONARY.chembl_id,
    MOLECULE_DICTIONARY.pref_name,
    DRUG_INDICATION.mesh_id,
    DRUG_INDICATION.mesh_heading,
    DRUG_INDICATION.efo_id,
    DRUG_INDICATION.efo_term,
    DRUG_INDICATION.max_phase_for_ind
FROM MOLECULE_DICTIONARY
JOIN DRUG_INDICATION ON MOLECULE_DICTIONARY.molregno == DRUG_INDICATION.molregno

There's another column in MOLECULE_DICTIONARY called chebi_par_id but a spot check of the first 10 rows showed this doesn't have good coverage

@cthoyt cthoyt added the Processor A new processor label Oct 12, 2021
@cthoyt cthoyt changed the title ChEMBL Indication Procesor ChEMBL Indication Processor Oct 12, 2021
@cthoyt cthoyt self-assigned this Oct 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Processor A new processor
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant