An interactive web application for visualizing and exploring cellular metabolic pathways with detailed molecular information.
- Interactive Pathway Visualization: Zoom and pan through metabolic pathways using D3.js
- Detailed Molecule Information: Click on any reaction to see:
- Molecule structures (with SMILES notation)
- Enzyme information (EC numbers, cofactors, descriptions)
- Reaction conditions (pH, temperature, location, regulation)
- Byproducts and co-substrates
- Glycolysis Pathway: Complete data for all 10 steps of glycolysis
src/
├── data/
│ └── glycolysis.js # Glycolysis pathway data (molecules, enzymes, conditions)
├── components/
│ ├── MetabolismViewer.js # Interactive D3.js visualization component
│ └── MoleculeDetail.js # Detail view component for reactions
├── main.js # Main application entry point
└── style.css # Application styles
The glycolysis data (src/data/glycolysis.js) contains structured information for each reaction step:
- Substrate: Starting molecule with formula and SMILES notation
- Enzyme: Enzyme name, EC number, cofactors, and description
- Product(s): Resulting molecule(s)
- Co-substrate: Additional molecules required (e.g., ATP, NAD⁺)
- Byproduct: Molecules produced during the reaction
- Conditions: Reaction environment (location, pH, temperature, regulation)
- Node.js (v20.19.0 or v22.12.0+)
- npm
npm installnpm run devThe application will be available at http://localhost:5173 (or the port shown by Vite).
npm run build-
Navigate the Pathway:
- Scroll to zoom in/out
- Click and drag to pan
- Double-click a reaction node to zoom directly to it
-
View Details:
- Click on any reaction node (numbered circle) to see detailed information
- The detail panel on the right shows:
- Substrate and product molecules
- Enzyme information
- Reaction conditions and regulation
- Co-substrates and byproducts
-
Reset View:
- Click the "Reset Zoom" button to return to the default view
- Integration with chemical structure rendering libraries (SmilesDrawer, RDKit.js, or Ketcher)
- Additional metabolic pathways (Krebs cycle, electron transport chain, etc.)
- Search functionality for molecules and enzymes
- Export functionality for pathway data
- 3D molecular structure visualization
"Metabolism diagram," by Zlir'a (public domain).
This project is open source and available for educational and research purposes.