-
Notifications
You must be signed in to change notification settings - Fork 13
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
more specific operations for MyChem chembl.drug_mechanisms
data
#100
Comments
chembl.drug_mechanisms
data
Related issue: biothings/biothings_explorer#316, JQ development work |
One reason to create a pending api / adjust the parser for that resource: the gene ID being CHEMBL.TARGET is a problem that isn't solved by post-processing (JQ). |
Cross-ref a related issue here: biothings/mygene.info#105 (mapping from CHEMBL Target ID to gene id) |
Notes on the data(6306 records total https://www.ebi.ac.uk/chembl/g/#browse/mechanisms_of_action/) DrugsNot all drugs are "Small molecule". In rough order most to least:
TargetsNot all targets are human stuff. In rough order from most to least:
Mot all targets are proteins. In rough order from most to least:
categories of drug mechanismswhen browsing chembl https://www.ebi.ac.uk/chembl/g/#browse/mechanisms_of_action (roughly in order of most to least):
🧇 not as helpful for the creative-mode issue 532 |
Example of current MyChem structure vs association-based structureBackgroundANG1005 (CHEMBL1089636) has two drug-mechanisms that are different categories:
In MyChemthese two drug-mechanisms are nested inside the chembl.drug_mechanisms field of the MyChem record for this chemical: https://mychem.info/v1/query?q=_exists_:%22chembl.drug_mechanisms%22%20AND%20chembl.molecule_chembl_id:CHEMBL1089636. This means BTE post-processing (JQ?) is needed to retrieve only the
association-based structureHowever, if we use an association-based structure, we can make two separate records. And these two records can be retrieved separately depending on what association.action_type is set to when querying.
|
I've started a pending API python script if the association-based structure is preferred. Will post repo soon. |
Note, I'm not sure how to handle the records that may lack an "action_type" value...they seem to lack a lot of information... https://mychem.info/v1/query?q=_exists_:chembl.drug_mechanisms%20AND%20(NOT%20_exists_:%22chembl.drug_mechanisms.action_type%22)&fields=chembl |
At the moment, creating a new API is not necessary.
|
Leaving open; in the future, we may want to write more specific operations (see the third bullet point "haven't done this yet" in the post above). I therefore moved this issue to "on-hold" |
chembl.drug_mechanisms
datachembl.drug_mechanisms
data
Closing for now: will open another issue to consider writing more specific operations using filter/jmespath |
Related to biothings/biothings_explorer#532 (comment)
MyChem
chembl.drug_mechanisms
data, in subject-association-object formataction_type
.The text was updated successfully, but these errors were encountered: