A tool to help expedite drug development for breast cancer.
See the codeAbout 70%-80% of breast cancers have estrogen receptors. Our platform is designed to generate, evaluate, and optimize novel drug candidates targeting the human estrogen receptor while minimizing toxicity.
Every molecule generated/optimized are passed into RDKit.Chem to analyze the molecular weight, LogP, HBD/HBA, and synthetic accessibility. Only molecules that pass the filters for these metrics are shown as results.
The toxicity and ER-alpha activity values are predicted using Random Forest Classifier from these datasets:
The training information is available in metrics.json or using the "View model training info" button on webpage.
The client web UI (HTML/CSS/JS) sends HTTPS REST requests to a Python Rust/FastAPI server. The backend is fully written in Python, using rdkit, scikit-learn, and other libraries.
Install the Python dependencies"
python3 -m venv .venv
source .venv/bin/activate
python3 -m pip install -r requirements.txt
If you want to train the model:
rm ./artifacts/*
python3 train_models.py
If you want to use our pre-trained artifacts, they are already included in artifacts, no action needed.
Start the application:
python3 -m uvicorn api:app --host 127.0.0.1 --port 8000
Open http://localhost:8000. API doc is at http://localhost:8000/docs.
In the .env file (not included in this repository), these values are required:
HF_TOKEN, a Hugging Face access tokenA tool to help expedite drug development for breast cancer.
See the codeAbout 70%-80% of breast cancers have estrogen receptors. Our platform is designed to generate, evaluate, and optimize novel drug candidates targeting the human estrogen receptor while minimizing toxicity.
Every molecule generated/optimized are passed into RDKit.Chem to analyze the molecular weight, LogP, HBD/HBA, and synthetic accessibility. Only molecules that pass the filters for these metrics are shown as results.
The toxicity and ER-alpha activity values are predicted using Random Forest Classifier from these datasets:
The training information is available in metrics.json or using the "View model training info" button on webpage.
The client web UI (HTML/CSS/JS) sends HTTPS REST requests to a Python Rust/FastAPI server. The backend is fully written in Python, using rdkit, scikit-learn, and other libraries.
Install the Python dependencies"
python3 -m venv .venv
source .venv/bin/activate
python3 -m pip install -r requirements.txt
If you want to train the model:
rm ./artifacts/*
python3 train_models.py
If you want to use our pre-trained artifacts, they are already included in artifacts, no action needed.
Start the application:
python3 -m uvicorn api:app --host 127.0.0.1 --port 8000
Open http://localhost:8000. API doc is at http://localhost:8000/docs.
In the .env file (not included in this repository), these values are required:
HF_TOKEN, a Hugging Face access token