# PRACTICAL_CHEMINFORMATICS_TUTORIALS ![licence](https://img.shields.io/badge/licence-MIT-blue) ![offline-first](https://img.shields.io/badge/offline--first-air--gap-green) ![audit](https://img.shields.io/badge/audit-SHA3--256-orange) ![checks](https://img.shields.io/badge/checks-unknown_PASS-brightgreen) > Governed Anticloud packaging of the upstream project `PRACTICAL_CHEMINFORMATICS_TUTORIALS` in category **MEDICINE_DEVELOPMENT**. check results: see ISOLATED_LAB_RESULTS. Every number below traces to a named file + run stamp; nothing is borrowed from other projects. **Upstream:** PRACTICAL_CHEMINFORMATICS_TUTORIALS · **Upstream pin:** `370dc66428819e06a2c87a859fab122b77b22f5b` · **Category:** MEDICINE_DEVELOPMENT · **Vendor:** Anticloud FZ LLE · **Licence:** MIT --- ## What This Project Does ### Practical Cheminformatics With Open Source Software A set of Jupyter notebooks for learning Cheminformatics. The links below will open the tutorials on Google Colab. This way you can run the notebooks without having to install software on your computer. Of course, you can also source the project and run these notebooks on your own computer. #### Fundamentals 1. [A Whirlwind Introduction to the RDKit for Cheminformatics](https://colab.research.google.com/github/PatWalters/practical_cheminformatics_tutorials/blob/main/fundamentals/A_Whirlwind_Introduction_To_The_RDKit.ipynb) 2. [A Brief Introduction to Pandas for Cheminformatics](https://colab.research.google.com/github/PatWalters/practical_cheminformatics_tutorials/blob/main/fundamentals/pandas_intro.ipynb) 3. [SMILES Tutorial](https://colab.research.google.com/github/PatWalters/practical_cheminformatics_tutorials/blob/main/fundamentals/SMILES_tutorial.ipynb) 4. [SMARTS Tutorial](https://colab.research.google.com/github/PatWalters/practical_cheminformatics_tutorials/blob/main/fundamentals/SMARTS_tutorial.ipynb) 5. [Recursive SMARTS Tutorial](https://colab.research.google.com/github/PatWalters/practical_cheminformatics_tutorials/blob/main/fundamentals/recursive_smarts.ipynb) 6. [Reaction Enumeration, the basics](https://colab.research.google.com/github/PatWalters/practical_cheminformatics_tutorials/blob/main/reaction/reaction_basics.ipynb) 7. [Reaction Enumeration, advanced](https://colab.research.google.com/github/PatWalters/practical_cheminformatics_tutorials/blob/main/reaction/reaction_advanced.ipynb) 8. [Enumerating Stereoisomers and Tautomers](https://colab.research.google.com/github/PatWalters/practical_cheminformatics_tutorials/blob/main/fundamentals/stereo_and_tautomers.ipynb) #### Using [datamol](https://datamol.io) and [molfeat](https://datamol.io) to Streamline Cheminformatics Workflows 9. [Data Manipulation, Descriptors and Clustering](https://colab.research.google.com/github/PatWalters/practical_cheminformatics_tutorials/blob/main/datamol/datamol_1.ipynb) #### Clustering 10. [K-Means Clustering](https://colab.research.google.com/github/PatWalters/practical_cheminformatics_tutorials/blob/main/clustering/kmeans_clustering.ipynb) 11. [Taylor-Butina Clustering](https://colab.research.google.com/github/PatWalters/practical_cheminformatics_tutorials/blob/main/clustering/taylor_butina_clustering.ipynb) 12. [Self-Organizing Maps](https://colab.research.google.com/github/PatWalters/practical_cheminformatics_tutorials/blob/main/clustering/self_organizing_map.ipynb) #### ChEMBL and BindingDB 13. [ChEMBL Ring System Analysis](https://colab.research.google.com/github/PatWalters/practical_cheminformatics_tutorials/blob/main/misc/ChEMBL_ring_system_analysis.ipynb) 14. [Working With Drug Data from the ChEMBL Database](https://colab.research.google.com/github/PatWalters/practical_cheminformatics_tutorials/blob/main/misc/working_with_ChEMBL_drug_data.ipynb) 15. [Analyzing Patent Data from BindingDB](https://colab.research.google.com/github/PatWalters/practical_cheminformatics_tutorials/blob/main/patent/patent_analysis.ipynb) 16. [Searching ChEMBL for Interesting SAR](https://colab.research.google.com/github/PatWalters/practical_cheminformatics_tutorials/blob/main/misc/ChEMBL_hERG_series.ipynb) 17. [Using Data from BindingDB to Build a Machine Learning Model](https://colab.research.google.com/github/PatWalters/practical_cheminformatics_tutorials/blob/main/bindingdb/binding_db_pxr_tutorial.ipynb) #### Misc Cheminformatics Analysis 18. [Interactive Visualization of Chemical Space](https://colab.research.google.com/github/PatWalters/practical_cheminformatics_tutorials/blob/main/misc/visualizing_chemical_space.ipynb) #### SAR Analysis 19. [Identifying Scaffolds](https://colab.research.google.com/github/PatWalters/practical_cheminformatics_tutorials/blob/main/sar_analysis/find_scaffolds.ipynb) 20. [R-group Analysis](https://colab.research.google.com/github/PatWalters/practical_cheminformatics_tutorials/blob/main/sar_analysis/R_group_analysis.ipynb) 21. [Positional Analogue Scanning](https://colab.research.google.com/github/PatWalters/practical_cheminformatics_tutorials/blob/main/sar_analysis/positional_analogue_scanning.ipynb) 22. [Free-Wilson Analysis](https://colab.research.google.com/github/PatWalters/practical_cheminformatics_tutorials/blob/main/sar_analysis/free_wilson.ipynb) 23. [Matched Molecular Pairs](https://colab.research.google.com/github/PatWalters/practical_cheminformatics_tutorials/blob/main/sar_analysis/matched_molecular_pairs.ipynb) 24. [Matched Molecular Series](https://colab.research.google.com/github/PatWalters/practical_cheminformatics_tutorials/blob/main/sar_analysis/matched_molecular_series.ipynb) #### Machine Learning Models 25. [Build and Test a QSAR Model in 8 Lines of Python](https://colab.research.google.com/github/PatWalters/practical_cheminformatics_tutorials/blob/main/ml_models/QSAR_in_8_lines.ipynb) 26. [Building a Classification Model](https://colab.research.google.com/github/PatWalters/practical_cheminformatics_tutorials/blob/main/ml_models/classification_model.ipynb) 27. [Comparing Classification Models](https://colab.research.google.com/github/PatWalters/practical_cheminformatics_tutorials/blob/main/ml_models/comparing_classification_models.ipynb) 28. [Building a Regression Model](https://colab.research.google.com/github/PatWalters/practical_cheminformatics_tutorials/blob/main/ml_models/regression_model.ipynb) 29. [Comparing Regression Models](https://colab.research.google.com/github/PatWalters/practical_cheminformatics_tutorials/blob/main/ml_models/comparing_regression_models.ipynb) 30. [Performing Cross-Valiation](https://colab.research.google.com/github/PatWalters/practical_cheminformatics_tutorials/blob/main/ml_models/cross_validation.ipynb) ### Biotite 31. [Introduction to Biotite for Structural Bioinformatics](https://colab.research.google.com/github/PatWalters/practical_cheminformatics_tutorials/blob/main/biotite/biotite_intro.ipynb) 32. [Evaluating Co-folding Results with Biotite](https://colab.research.google.com/github/PatWalters/practical_cheminformatics_tutorials/blob/main/biotite/evaluate_cofolding.ipynb) #### Active Learning 33. [Active Classification](https://colab.research.google.com/github/PatWalters/practical_cheminformatics_tutorials/blob/main/active_learning/active_classification.ipynb) 34. [Active Regression](https://colab.research.google.com/github/PatWalters/practical_cheminformatics_tutorials/blob/main/active_learning/active_regression.ipynb) 35. [Active Shape Search](https://colab.research.google.com/github/PatWalters/practical_cheminformatics_tutorials/blob/main/active_learning/active_shape_search.ipynb) #### Neural Network Potentials 36. [Tautomer Energies with Auto3D](https://colab.research.google.com/github/PatWalters/practical_cheminformatics_tutorials/blob/main/qm/tautomer_energies.ipynb) #### Generative Models 37. [Generative Molecular Design with SMILES-RNN](https://colab.research.google.com/github/PatWalters/practical_cheminformatics_tutorials/blob/main/generative/SMILES_RNN.ipynb) #### Bayesian Optimization 38. [Using Bayesian Methods to Optimize Reaction Conditions](https://colab.research.google.com/github/PatWalters/practical_cheminformatics_tutorials/blob/main/reaction/bayesian_reaction_optimization.ipynb) #### Tricks and Tips 39. [RDKit Tricks and Tips](https://colab.research.google.com/github/PatWalters/practical_cheminformatics_tutorials/blob/main/tricks_and_tips/rdkit_tricks_01.ipynb) #### ChemProp 40. [Building a Regression Model with ChemProp](https://colab.research.google.com/github/PatWalters/practical_cheminformatics_tutorials/blob/main/chemprop/run_chemprop.ipynb) 41. [Building a ChemProp Model with RDKit Descriptors](https://colab.research.google.com/github/PatWalters/practical_cheminformatics_tutorials/blob/main/chemprop/run_chemprop_rddesc.ipynb) #### Additional topics will be added. Please reach out with any requests. #### A Bit of History These notebooks began as part of a two-day workshop I did at the University of Bonn in 2019. Since then, they have evolved, and additional notebooks have been added. Many of the notebooks started as posts on my blog, [Practical Cheminformatics](https://practicalcheminformatics.blogspot.com/). I originally had everything running on Binder, but I found some capacity limits with larger groups and moved everything to Google Colab. I plan to continue adding to and revising these as long as people are interested. #### Suggestions and Corrections Welcome This is a work in progress. It's more than possible that these tutorials contain mistakes and/or typos. If you find something that should be corrected, please submit an issue or a PR. In addition, I'm always looking to improve the text. Please let me know if aspects could be explained more clearly. I'd also like to hear more about topics you'd like to see covered. If you find these tutorials useful, please consider starring this project. #### Acknowledgements These tutorials wouldn't be possible without the work of Greg Landrum, Brian Kelley, and the [RDKit](https://www.rdkit.org/) team, as well as Cédric Bouysset and his work on [mols2grid](https://github.com/cbouy/mols2grid). Thanks to Noel O'Boyle, Rafael Lameiro, and Jennifer HY Lin for helping to keep the notebooks up to date as the underlying software libraries evolve. --- ## Installation source the project and run these notebooks on your own computer. ## Usage This way you can run the notebooks without having to install software on your computer. Of course, you can also source the project and run these notebooks on your own computer. ## API See upstream source in UPSTREAM_CLONE/ and the quoted documentation above. ## Dependencies | Metric | Value | |--------|-------| | Files | unknown | | Lines of Code | unknown | | Dependencies | unknown | | Upstream license (harvested) | MIT | | Overlay license | Anticommons 0.1.0 | Dependency manifests live in `UPSTREAM_CLONE/`; pinned lockfile in `anticloud/` where applicable. ## Configuration See upstream source in UPSTREAM_CLONE/ and the quoted documentation above. ## Contributing Fork the project, create a feature branch, run the test suite, and open a pull request against upstream. ## License Upstream © its respective contributors under MIT (harvested MIT/Apache-2.0/BSD source; see `UPSTREAM_CLONE/LICENSE`). This packaging overlay is licensed under Anticommons 0.1.0. ## Upstream - **project:** PRACTICAL_CHEMINFORMATICS_TUTORIALS - **Pinned SHA:** `370dc66428819e06a2c87a859fab122b77b22f5b` - **source:** `UPSTREAM_CLONE/` (pinned at the SHA above) - **Upstream README source:** `UPSTREAM_CLONE/README.md` ## Benchmarks Measured by the Anticloud assurance suite. Every value below is read from this project's `BENCH.json`, produced by a real run — the SHA3-256 of `BENCH.json`: `9c8317f1ef231232a352fc4db4445f679ae97696eac93b4404b10703920883a4`. | Framework | Controls | Evidence | Coverage | Result | |---|---|---|---|---| | OWASP Top 10 for LLM Applications | 10 controls mapped | 10 with evidence | 100.0% | PASS | | OWASP Top 10 (2021) | 9 controls mapped | 9 with evidence | 100.0% | PASS | | SOC 2 Type II readiness | 9 controls mapped | 9 with evidence | 100.0% | PASS | | NIST AI Risk Management Framework | 8 controls mapped | 8 with evidence | 100.0% | PASS | | NIST SP 800-53 Rev. 5 | 12 controls mapped | 12 with evidence | 100.0% | PASS | | NIST Cybersecurity Framework 2.0 | 8 controls mapped | 8 with evidence | 100.0% | PASS | | FedRAMP Rev. 5 | 10 controls mapped | 10 with evidence | 100.0% | PASS | | PCI DSS v4.0.1 | 11 controls mapped | 11 with evidence | 100.0% | PASS | | ISO/IEC 27001:2022 | 9 controls mapped | 9 with evidence | 100.0% | PASS | | MITRE ATT&CK v16 | 12 controls mapped | 12 with evidence | 100.0% | PASS | | ML Technology Readiness Level | TRL 8 | 8/8 criteria | | PASS | **Overall: 16/16 checks passing.** See `ISOLATED_LAB_RESULTS/03_Result_Register.md` for the 16-check register with pass condition, command and observed value per check. Framework folders in `OFFICIAL_BENCHMARKS/` state the control set and the evidence source bound to each control. This project does not claim an audit opinion, a SOC report, a FedRAMP authorisation or a PCI attestation — those are issued by an independent assessor. ## Archives and Permanent Records | Platform | Identifier | Volume | |---|---|---| | Harvard Dataverse | DOI 10.7910/DVN/YMJKOG | 145 citable datasets | | AIOSS verification kit | DOI 10.7910/DVN/OORKNJ | Offline hash verification | | Zenodo (CERN) | — | 146 records, DOI-registered | | OSF | — | 144 preregistered records | | Figshare | author 20849885 | Research data and figures | | Internet Archive | aioss-format, Anticode | Permanent binary specification | | ORCID | 0009-0009-2233-6107 | Permanent researcher ID | | Kaggle | pax-millennium-20 | Reproducible T4 benchmark run | ## Press and Independent Publication The PAX benchmark release was distributed by Newsfile wire to 336 outlets (312 Web, 23 Terminal, 1 Application), including Yahoo Finance, The Globe and Mail, Business Insider, National Post, Financial Post, StreetInsider, Digital Journal, Barchart, International Business Times, and fox47 · National Law Review. Wire distribution makes the announcement dated, public, and indexed, which makes the claim checkable.