Drug Discovery Tools & APIs
The MediAI Drug Discovery Assistant leverages several powerful tools and APIs to provide accurate and valuable drug modification suggestions.
PubChem API
PubChem is a database of chemical molecules and their activities against biological assays. The API provides access to chemical structures, properties, and more.
Learn moreIntegration Notes
Currently used to fetch SMILES notations and basic compound properties. Integration is via REST API calls.
LLM Explanations
Generates detailed scientific explanations of drug modifications using large language models, explaining mechanisms and potential benefits or drawbacks.
Integration Notes
Integrated via DeepSeek and OpenAI APIs, with automatic fallback between providers. Converts structured chemical data into accessible scientific explanations.
RDKit
An open-source cheminformatics toolkit that provides functionality for working with chemical structures, substructure searching, molecular rendering, and more.
Learn moreIntegration Notes
Will require Python backend. Planned for analyzing and modifying chemical structures based on SMILES formats.
DeepChem
DeepChem provides a high quality open-source toolchain for deep learning in drug discovery, materials science, and other fields of chemistry.
Learn moreIntegration Notes
Will require Python backend with GPU support for optimal performance. Planned for molecular property prediction.
IBM RXN for Chemistry
An AI system that predicts the outcomes of chemical reactions and helps with retrosynthesis planning.
Learn moreIntegration Notes
Requires API key. Planned for evaluating synthetic feasibility of proposed molecular modifications.
SwissADME
Free web tool to evaluate pharmacokinetics, druglikeness and medicinal chemistry friendliness of small molecules.
Learn moreIntegration Notes
No official API. Would require web scraping or custom adapter. Planned for evaluating drug-likeness of modified molecules.
MedCAT
Medical Concept Annotation Tool for extracting medical concepts from text and linking them to biomedical ontologies.
Learn moreIntegration Notes
Requires Python backend. Planned for advanced drug name extraction and understanding modification goals from user queries.
SMILES/InChI Format
Simplified Molecular Input Line Entry System (SMILES) and InChI are textual representations of chemical structures.
Integration Notes
Currently implemented to represent molecular structures. Used as the foundation for all molecular manipulations.
Implementation Architecture
Current Implementation
- User enters a query about drug modifications
- Backend extracts drug names from the query (simple keyword matching)
- System retrieves predefined modification suggestions for known drugs
- If no predefined modification exists, system attempts to fetch the drug's SMILES format from PubChem
- The system returns a detailed response about suggested modifications
- An AI-generated scientific explanation of the modification is provided using LLMs
Full Implementation (Planned)
- User enters a query about drug modifications
- MedCAT processes the query to extract drug names and modification goals (reduced toxicity, improved bioavailability, etc.)
- System retrieves drug information and SMILES from PubChem
- RDKit analyzes the molecular structure and suggests potential modifications
- IBM RXN evaluates the synthetic feasibility of the modifications
- DeepChem predicts properties of the modified molecules
- SwissADME evaluates pharmacokinetic properties
- System returns comprehensive analysis with visualizations and property predictions
- AI generates a detailed scientific explanation of the modification with mechanistic insights
APIs Required
- PubChem API for drug information and SMILES (free, implemented)
- DeepSeek/OpenAI API for generating scientific explanations (requires API key, implemented)
- IBM RXN API for reaction prediction (free for basic usage)
- SwissADME for property prediction (free web service, may require custom adapter)
- Python backend for RDKit and DeepChem integration (both are free, open-source libraries)