You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Are you aware of chembl-downloader? I made it so we could more easily write code that does these SQL statements (like in cell 5) and requires no prior setup since it uses SQLite.
importchembl_downloader# this gets put directly in a pandas dataframedf=chembl_downloader.query(
"""\ select canonical_smiles, molregno, activity_id, standard_value, standard_units from activities join assays using (assay_id) join compound_structures using (molregno) where tid = 165 and standard_type = 'Ki' and standard_value is not null and standard_relation = '=' and canonical_smiles not like '%.%'; """
)
This also has the benefit of automatically getting the latest version of ChEMBL for you
Are you aware of
chembl-downloader
? I made it so we could more easily write code that does these SQL statements (like in cell 5) and requires no prior setup since it uses SQLite.This also has the benefit of automatically getting the latest version of ChEMBL for you