Write reproducible code for getting and processing ChEMBL
MIT License
Full Changelog: https://github.com/cthoyt/chembl-downloader/compare/v0.4.4...v0.4.5
Published by cthoyt 9 months ago
Published by cthoyt about 1 year ago
Full Changelog: https://github.com/cthoyt/chembl-downloader/compare/v0.4.2...v0.4.3
Published by cthoyt about 1 year ago
Published by cthoyt almost 2 years ago
Full Changelog: https://github.com/cthoyt/chembl-downloader/compare/v0.4.0...v0.4.1
Published by cthoyt almost 2 years ago
This PR does several things:
bioversions
and just implements the code locallyPublished by cthoyt over 2 years ago
This release adds two new functions:
chembl_downloader.download_monomer_library
which gets this file https://ftp.ebi.ac.uk/pub/databases/chembl/ChEMBLdb/latest/chembl_30_monomer_library.xml for whatever version you specifychembl_downloader.get_monomer_library_root
which does the same as the downloader but also parses the XML for youThanks to @iwatobipen and his recent blog post for inspiring this.
Published by cthoyt almost 3 years ago
chembl_downloader.download_fps
downloads the pre-computed Morgan fingerprint filechembl_downloader.download_chemreps
downloads the chembl-smiles-inchi-inchikey mapchembl_downloader.get_chemreps_df
builds on chembl_downloader.download_chemreps
and loads them in a pandas dataframeisort
to code quality checkingreturn_version
to make a tuple with the version, which is useful if you're having it infer the latest version.Published by cthoyt almost 3 years ago
This release adds the get_substructure_library()
for automating the generation of an RDKit substructure library as described in Greg Landrum's RDKit blog post, Some new features in the SubstructLibrary. The following example shows how it can be used to accomplish some of the first tasks presented in the post:
from rdkit import Chem
import chembl_downloader
library = chembl_downloader.get_substructure_library()
query = Chem.MolFromSmarts('[O,N]=C-c:1:c:c:n:c:c:1')
matches = library.GetMatches(query)
Full Changelog: https://github.com/cthoyt/chembl-downloader/compare/v0.1.2...v0.1.3
Published by cthoyt almost 3 years ago
get_assay_sql()
functionFull Changelog: https://github.com/cthoyt/chembl-downloader/compare/v0.1.1...v0.1.2