A web application for analyzing functional groups in molecular structures, built with React frontend and Flask backend.
- Molecular Input: Support for SMILES, SMARTS, and MOL file formats
- Functional Group Analysis: Identifies functional groups using SMARTS pattern matching
- Interactive Interface: Modern, responsive web interface
- Real-time Results: Fast analysis with detailed functional group information
- ChEBI Integration: Links to ChEBI database for additional chemical information
- Node.js (v16 or higher)
- Python 3.9+
- Git
- GitHub account
- Render.com account (free)
-
Clone the repository:
git clone https://github.com/hypowergravity/FunctionalGroupAnalyzer.git cd functional-group-analyzer -
Install frontend dependencies:
npm install
-
Install backend dependencies:
cd backend pip install -r requirements.txt cd ..
-
Start the backend server:
cd backend python app.py -
Start the frontend (in a separate terminal):
npm start
-
Open http://localhost:3000 to view the application.
-
Enter Molecule: Input your molecule structure using:
- SMILES notation (e.g.,
CCOfor ethanol) - SMARTS patterns for substructure queries
- MOL file content (paste or upload)
- SMILES notation (e.g.,
-
Analyze: Click "Analyze Functional Groups" to process the molecule
-
View Results: Browse the identified functional groups with detailed information including:
- Functional group names and descriptions
- Chemical categories and classifications
- Reactivity information
- ChEBI database links
- SMARTS patterns
- Frontend: React.js with styled-components
- Backend: Flask (Python) with RDKit
- Chemical Analysis: RDKit for molecular processing
- Hosting: Render.com (free tier)
- Database: JSON file (functional groups database)
The application uses a comprehensive functional group database (functional_group_with_chebi_updated.json) containing:
- 850+ functional group patterns
- SMARTS pattern definitions
- ChEBI database integration
- Chemical categorization
- Reactivity information
This project is licensed under the MIT License.