Accelerating AI-driven drug discovery through machine learning, cheminformatics, and molecular intelligence.
MOLE-AI is an open-source platform for AI-powered molecular property prediction and computational drug discovery.
The project combines cheminformatics, machine learning, deep learning, and computational chemistry into a unified framework for developing molecular prediction pipelines, QSAR models, molecular similarity analysis, and drug discovery workflows.
The primary goal of MOLE-AI is to provide researchers, students, and developers with an extensible toolkit for molecular analysis and predictive modeling while promoting reproducible and open scientific research.
MOLE-AI includes a Streamlit-based interface for molecular analysis and AI prediction.
**Try MOLE-AI online:**https://mole-ai-toolkit.streamlit.app/
Current capabilities:
β
SMILES-based molecular analysis
β
Molecular fingerprint generation
β
QSAR-based pIC50 prediction
β
Molecular structure visualization
β
Prediction history export
Launch locally:
streamlit run mole_ai/app.py- 𧬠Molecular preprocessing using RDKit
- π§ͺ SMILES validation and molecular analysis
- π Molecular descriptor calculation
- π§ Machine Learning (QSAR)
- π€ Deep Learning models
- πΈοΈ Graph Neural Network foundation
- π¬ Transformer-based molecular models
- π ADMET prediction utilities
- βοΈ Molecular optimization
- π§© Molecular similarity search
- π Prediction reporting
- π Interactive Streamlit web interface
- π§ͺ Automated testing with pytest
- π Modular Python API
- π Open-source and extensible architecture
The first stable release includes a complete molecular processing pipeline covering:
- Molecular preprocessing
- Descriptor generation
- Fingerprint generation
- Feature engineering
- ChEMBL data processing
- QSAR model training
- Prediction pipeline
- Model evaluation
- Batch prediction
- Prediction reports
- Dataset management
- Molecular similarity search
- Experiment tracking
- Model registry
- Streamlit interface
- Documentation
- Automated testing
MOLE-AI provides a modular collection of tools for molecular analysis, machine learning, and AI-assisted drug discovery.
MOLE-AI includes an interactive Streamlit web application for molecular analysis and AI-based molecular property prediction.
The interface is organized into four main modules:
Analyze molecules directly from SMILES input.
Features:
- SMILES validation using RDKit
- Molecular structure visualization
- Molecular descriptors calculation
- Drug-likeness properties
- Lipinski rule analysis
Screenshot:
The Fingerprint Generation module converts molecules into machine-learning-ready molecular representations.
Features:
- β Morgan fingerprint generation
- β 2048-bit molecular fingerprints
- β Molecular feature encoding
- β Visualization of active fingerprint bits
Screenshot:
The AI Prediction module uses a QSAR machine learning model to estimate molecular activity.
Current prediction workflow:
text
SMILES Input
β
RDKit Molecular Processing
β
Morgan Fingerprint Generation
β
Random Forest QSAR Model
β
Predicted pIC50 Activity
Features:
β Random Forest regression model β Morgan fingerprint-based prediction β pIC50 activity prediction β Activity interpretation β Prediction history tracking β CSV export capability
Screenshot
Provides an overview of the MOLE-AI platform, including its scientific workflow, technology stack, and future development roadmap.
Features:
- 𧬠AI-driven drug discovery workflow
- π§ͺ Cheminformatics and machine learning pipeline overview
- π Technology stack information
- π Project architecture overview
- πΊ Future development roadmap
The About section summarizes how MOLE-AI integrates:
Molecular Input β RDKit Processing β Molecular Features β Machine Learning Models β Property Prediction β Drug Discovery Insights
Screenshot
| Feature | Description | Status |
|---|---|---|
| β SMILES Validation | Validate molecular SMILES strings using RDKit | β |
| β Molecular Parsing | Convert SMILES into RDKit molecule objects | β |
| β Descriptor Calculation | Generate physicochemical descriptors | β |
| β Morgan Fingerprints | Circular fingerprints for molecular representation | β |
| β Molecular Similarity | Tanimoto similarity search | β |
| β Molecular Visualization | Interactive molecular structure display | β |
| Feature | Description | Status |
|---|---|---|
| β Feature Engineering | Molecular feature generation pipeline | β |
| β QSAR Modelling | Random Forest regression models | β |
| β Model Training | Train predictive molecular models | β |
| β Batch Prediction | Predict multiple molecules simultaneously | β |
| β Model Evaluation | MAE, RMSE and RΒ² metrics | β |
| β Prediction Reports | Automatic prediction summaries | β |
| β Model Registry | Save and manage trained models | β |
Current prediction engine:
| Component | Description |
|---|---|
| Algorithm | Random Forest Regression |
| Input Features | 2048-bit Morgan Fingerprints |
| Prediction | pIC50 Activity |
| Chemistry Engine | RDKit |
| Model Type | Supervised Machine Learning |
Workflow:
SMILES
β
RDKit Molecular Processing
β
Morgan Fingerprint
β
Random Forest Model
β
Predicted pIC50
| Feature | Description | Status |
|---|---|---|
| β Feed-forward Neural Networks | Deep QSAR models | β |
| β Graph Neural Network Foundation | Molecular graph learning modules | β |
| β Transformer Models | Transformer-based molecular prediction | β |
| π Large Language Models | Future integration | Planned |
| Feature | Description | Status |
|---|---|---|
| β ADMET Prediction | Drug-likeness utilities | β |
| β Molecular Optimization | Lead optimization tools | β |
| β Molecular Generation | AI-assisted molecule generation | β |
| β Docking Utilities | Docking workflow support | β |
| β Candidate Ranking | Rank compounds by predicted performance | β |
| β ChEMBL Processing | Dataset preprocessing pipeline | β |
| Feature | Description | Status |
|---|---|---|
| β Streamlit Application | Interactive web interface | β |
| β Python API | Easy integration into Python projects | β |
| β Command-Line Interface | Terminal-based workflows | β |
| β Modular Package Design | Reusable Python modules | β |
MOLE-AI currently supports the complete workflow below:
SMILES Input
β
βΌ
Validation
β
βΌ
Descriptor Generation
β
βΌ
Fingerprint Generation
β
βΌ
Feature Engineering
β
βΌ
Machine Learning Prediction
β
βΌ
Model Evaluation
β
βΌ
Prediction Report
MOLE-AI was designed with the following principles:
- 𧬠Modular architecture
- β‘ Fast molecular preprocessing
- π€ AI-first drug discovery workflows
- π¬ Reproducible computational research
- π Open-source development
- π§ͺ Extensible machine learning pipelines
- π Interactive web interface
- π¦ Easy integration into existing research projects
| Metric | Value |
|---|---|
| Programming Language | Python 3.11+ |
| Core Cheminformatics Library | RDKit |
| Machine Learning Framework | Scikit-learn |
| Deep Learning Framework | PyTorch |
| Web Framework | Streamlit |
| Documentation | Markdown |
| Testing Framework | Pytest |
| License | MIT |
| Current Release | v1.0.0 |
MOLE-AI follows a modular architecture that separates molecular preprocessing, feature engineering, machine learning, deep learning, and drug discovery utilities into reusable components.
The platform is designed to be scalable, allowing researchers to extend individual modules without affecting the rest of the system.
βββββββββββββββββββββββββ
β User/API β
ββββββββββββ¬βββββββββββββ
β
βββββββββββββββββ΄ββββββββββββββββ
β β
Streamlit App Command Line Interface
β β
βββββββββββββββββ¬ββββββββββββββββ
β
Python API Layer
β
ββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββ
β β β
βΌ βΌ βΌ
Chemistry Module Feature Engineering Machine Learning
β β β
βΌ βΌ βΌ
Descriptors Molecular Features QSAR Models
Fingerprints Dataset Processing Model Training
SMILES Validation ChEMBL Pipeline Prediction
β β β
ββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββ
β
βΌ
Drug Discovery Modules
β
βββββββββββββββββ¬ββββββββββββββββ¬ββββββββββββββββ
βΌ βΌ βΌ βΌ
ADMET Similarity Search Docking Optimization
β
βΌ
Prediction Reports
β
βΌ
Final Results
MOLE-AI is organized into independent modules.
| Module | Purpose |
|---|---|
| chem | Molecular preprocessing and cheminformatics |
| features | Feature engineering and descriptor pipelines |
| models | Machine learning and deep learning models |
| data | Dataset loading and processing |
| examples | Example workflows |
| tests | Automated unit testing |
| docs | Documentation |
| app.py | Streamlit web application |
| cli.py | Command-line interface |
Input SMILES
β
βΌ
SMILES Validation
β
βΌ
RDKit Molecule
β
βΌ
Descriptor Generation
β
βΌ
Morgan Fingerprints
β
βΌ
Feature Engineering
β
βΌ
Machine Learning Models
β
βΌ
Deep Learning Models
β
βΌ
Property Prediction
β
βΌ
ADMET Prediction
β
βΌ
Similarity Search
β
βΌ
Docking Utilities
β
βΌ
Lead Optimization
β
βΌ
Prediction Report
The figure below summarizes the complete data flow implemented in MOLE-AI.
SMILES
β
βΌ
RDKit
β
βΌ
Descriptors
β
βΌ
Fingerprints
β
βΌ
Feature Matrix
β
βΌ
Machine Learning
β
βΌ
Prediction
β
βΌ
Evaluation
β
βΌ
Visualization
MOLE-AI has been developed following modern software engineering practices.
- β Modular architecture
- β Reusable components
- β Object-oriented design
- β Python package structure
- β Automated testing
- β Documentation-first development
- β Scalable project organization
- β Easy integration with external tools
The architecture was designed to support:
- AI-assisted drug discovery
- Molecular property prediction
- Reproducible computational workflows
- Educational bioinformatics projects
- Future deep learning extensions
- Open-source community contributions
MOLE-AI has been tested with the following environment.
| Requirement | Version |
|---|---|
| Python | 3.11+ |
| Conda | Latest |
| RDKit | Latest |
| Streamlit | Latest |
| Scikit-learn | Latest |
| PyTorch | Latest |
git clone https://github.com/Mehwish55/MOLE-AI.git
cd MOLE-AIconda create -n mole-ai python=3.11
conda activate mole-aipip install -r requirements.txtRun:
pytest -vIf all tests pass successfully, MOLE-AI has been installed correctly.
The simplest way to use MOLE-AI is through the Python API.
from mole_ai.chem.smiles import validate_smiles
print(validate_smiles("CCO"))Output
True
Validate a SMILES string
from mole_ai.chem.smiles import validate_smiles
validate_smiles("CCO")Generate molecular descriptors
from mole_ai.chem.smiles import smiles_to_mol
from mole_ai.chem.descriptors import calculate_descriptors
mol = smiles_to_mol("CCO")
calculate_descriptors(mol)Generate Morgan fingerprints
from mole_ai.chem.smiles import smiles_to_mol
from mole_ai.chem.fingerprints import generate_morgan_fingerprint
mol = smiles_to_mol("CCO")
generate_morgan_fingerprint(mol)Predict molecular properties
from mole_ai.models.predict import predict_from_smiles
prediction = predict_from_smiles("CCO")
print(prediction)Display the installed version.
python -m mole_ai.cli --versionRun molecular prediction.
python -m mole_ai.cli \
--predict \
--model models/model.pkl \
--input data/features.csv \
--output predictions.csvMOLE-AI includes an interactive Streamlit application for molecular property prediction.
Launch the application
streamlit run mole_ai/app.pyOpen your browser
http://localhost:8501
The Streamlit application currently supports:
- β SMILES input
- β Molecular validation
- β Property prediction
- β Prediction summary
- β Interactive interface
Screenshot coming soon
After launching the application you can enter a molecular SMILES string such as:
CCO
The application validates the molecule and returns prediction results through an interactive interface.
The repository includes example scripts demonstrating common workflows.
examples/
build_features.py
prediction_example.py
training_example.py
Clone Repository
β
Install Dependencies
β
Prepare Dataset
β
Generate Features
β
Train Model
β
Evaluate Model
β
Predict Properties
β
Generate Reports
β
Visualize Results
Current implementation supports:
- Molecular preprocessing
- Descriptor generation
- Fingerprint calculation
- QSAR prediction
- Batch prediction
- Prediction reports
- Molecular similarity
- Interactive web interface
The modular design allows future expansion with additional machine learning models and drug discovery workflows.
The repository follows a modular architecture designed for scalability, maintainability, and reproducible computational research.
MOLE-AI/
β
βββ assets/
β βββ images/
β βββ logo.png
β βββ github-banner.png
β
βββ data/
β βββ raw/
β βββ processed/
β βββ external/
β
βββ docs/
β βββ index.md
β βββ api.md
β βββ user_guide.md
β βββ workflow.md
β
βββ examples/
β βββ build_features.py
β βββ prediction_example.py
β βββ training_example.py
β
βββ mole_ai/
β βββ chem/
β β βββ descriptors.py
β β βββ fingerprints.py
β β βββ smiles.py
β β
β βββ data/
β β
β βββ features/
β β
β βββ models/
β β βββ train.py
β β βββ predict.py
β β βββ evaluate.py
β β βββ registry.py
β β βββ tuning.py
β β βββ explainability.py
β β βββ graph_neural_network.py
β β βββ transformer.py
β β βββ admet.py
β β βββ optimization.py
β β βββ docking.py
β β
β βββ app.py
β βββ cli.py
β
βββ notebooks/
β
βββ tests/
β
βββ requirements.txt
βββ pyproject.toml
βββ LICENSE
βββ README.md
| Directory | Description |
|---|---|
| assets/ | Images, logos, and project branding |
| data/ | Raw, processed, and external datasets |
| docs/ | Project documentation |
| examples/ | Example scripts and tutorials |
| mole_ai/ | Core Python package |
| notebooks/ | Jupyter notebooks |
| tests/ | Automated unit tests |
| requirements.txt | Python dependencies |
| pyproject.toml | Project configuration |
| README.md | Project overview |
Responsible for molecular preprocessing.
Functions include:
- SMILES validation
- RDKit molecule conversion
- Molecular descriptors
- Morgan fingerprints
- Similarity calculations
Responsible for preparing machine learning inputs.
Includes:
- Descriptor extraction
- Fingerprint generation
- Feature matrices
- Dataset preparation
- ChEMBL preprocessing
Implements predictive models.
Includes:
- Random Forest
- Model training
- Model evaluation
- Batch prediction
- Prediction reports
- Hyperparameter tuning
Provides neural-network-based models.
Includes:
- Feed-forward neural networks
- Graph neural network foundation
- Transformer models
Utilities supporting molecular design.
Includes:
- ADMET prediction
- Docking utilities
- Molecular optimization
- Candidate ranking
- Similarity search
Two interfaces are available.
Designed for researchers and developers.
Designed for interactive molecular prediction.
| Category | Status |
|---|---|
| Python Package | β |
| RDKit Integration | β |
| Machine Learning | β |
| Deep Learning | β |
| Documentation | β |
| Unit Testing | β |
| GitHub Release | β |
| Streamlit Interface | β |
| CLI Support | β |
The project uses pytest for automated testing.
Current coverage includes:
- Molecular preprocessing
- Descriptor calculation
- Fingerprint generation
- Feature engineering
- Model training
- Prediction
- Evaluation
- Reporting
- Dataset utilities
- Similarity search
Run all tests:
pytest -vRun an individual test:
pytest tests/test_predict.py -vProject documentation is available in the docs/ directory.
docs/
βββ index.md
βββ api.md
βββ workflow.md
βββ user_guide.md
Documentation includes:
- Installation Guide
- User Guide
- API Reference
- Workflow Documentation
MOLE-AI has been developed with the following goals:
- Modular architecture
- Reusable Python components
- Reproducible computational workflows
- Open-source collaboration
- Extensible AI framework
- Educational usability
- Production-ready project organization
MOLE-AI is built using a modern scientific Python ecosystem for computational chemistry, machine learning, and bioinformatics.
- Python 3.11+
- RDKit
- Scikit-learn
- NumPy
- Pandas
- PyTorch
- PyTorch Geometric (foundation for future graph-based models)
- ChEMBL
- PubChem
- Protein Data Bank (PDB)
- Streamlit
- Matplotlib
- Git
- GitHub
- Pytest
- Conda
MOLE-AI is designed to work with publicly available molecular datasets.
Supported datasets include:
- ChEMBL
- PubChem
- Protein Data Bank (PDB)
Typical applications include:
- QSAR modelling
- Molecular property prediction
- Feature engineering
- Molecular similarity analysis
- Drug discovery research
The project follows software engineering best practices.
- β Modular architecture
- β Version control using Git
- β Automated unit testing
- β Reproducible workflows
- β Open-source development
- β Continuous documentation
The following features are planned for future releases.
- Enhanced Streamlit dashboard
- Molecular visualization
- Improved prediction reports
- Additional QSAR algorithms
- Advanced Graph Neural Networks
- Transformer fine-tuning
- Additional molecular descriptors
- Model comparison dashboard
- Large molecular foundation models
- AI-assisted molecular generation
- Multi-objective optimization
- Cloud deployment
- REST API
- Docker support
- Interactive molecular visualization
- Automated benchmarking
Contributions are welcome.
If you would like to contribute:
-
Fork the repository
-
Clone your fork
git clone https://github.com/<your-username>/MOLE-AI.git- Create a feature branch
git checkout -b feature/new-feature- Commit your changes
git commit -m "Add new feature"- Push your branch
git push origin feature/new-feature- Open a Pull Request
Please ensure that:
- Code follows project style
- Tests pass successfully
- Documentation is updated where appropriate
If you use MOLE-AI in your research, teaching, or publications, please cite this repository.
Shafiq, M.
MOLE-AI:
An Open-Source Platform for Molecular Property Prediction
and Computational Drug Discovery.
GitHub Repository.
https://github.com/Mehwish55/MOLE-AI
A formal citation (e.g., DOI via Zenodo) may be added in future releases.
This project is licensed under the MIT License.
See the LICENSE file for additional information.
Mehwish Shafiq
Computational Biologist | Bioinformatics Researcher | AI for Drug Discovery
Research interests include:
- Computational Drug Discovery
- Bioinformatics
- Machine Learning
- Artificial Intelligence
- Molecular Property Prediction
- Multi-Objective Drug Design
- Computational Biology
For questions, feature requests, or collaboration opportunities:
- Open a GitHub Issue
- Submit a Pull Request
- Connect through GitHub
Repository:
https://github.com/Mehwish55/MOLE-AI
If you find MOLE-AI useful:
- β Star the repository
- π΄ Fork the project
- π§ͺ Try the examples
- π Report bugs
- π‘ Suggest new features
- π€ Contribute improvements
Your support helps improve the project and encourages future development.
MOLE-AI aims to provide an open, modular, and extensible platform that bridges computational chemistry, bioinformatics, and artificial intelligence.
The long-term vision is to support researchers, students, and developers in accelerating molecular discovery through reproducible, AI-driven workflows.
𧬠MOLE-AI
Accelerating AI-driven Drug Discovery
Made with β€οΈ using Python, RDKit, Machine Learning, and Open Science.




