File size: 3,961 Bytes
6d0ef0d cc7c981 6d0ef0d cc7c981 6d0ef0d cc7c981 6d0ef0d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 |
---
title: AmberFlow - MD Simulation Pipeline
emoji: π§¬
colorFrom: blue
colorTo: purple
sdk: docker
pinned: false
license: mit
app_port: 7860
---
# AmberFlow - Molecular Dynamics Simulation Pipeline
𧬠**AmberFlow** is a comprehensive web-based pipeline for preparing and setting up molecular dynamics (MD) simulations using the AMBER force field. This tool provides an intuitive interface for protein structure preparation, parameter generation, and simulation file creation.
## Features
### π¬ Structure Preparation
- **Protein Loading**: Upload PDB files or fetch from RCSB PDB database
- **Structure Cleaning**: Remove water molecules, ions, and hydrogen atoms
- **Capping Groups**: Add ACE (N-terminal) and NME (C-terminal) capping groups
- **Ligand Handling**: Preserve and process ligands with automatic force field parameter generation
- **3D Visualization**: Interactive molecular viewer using NGL
### βοΈ Simulation Parameters
- **Force Fields**: Support for ff14SB and ff19SB protein force fields
- **Water Models**: TIP3P and SPCE water models
- **System Setup**: Configurable box size and ion addition
- **Thermodynamics**: Temperature and pressure control
### π Simulation Steps
- **Restrained Minimization**: Position-restrained energy minimization
- **Minimization**: Full system energy minimization
- **NPT Heating**: Temperature equilibration
- **NPT Equilibration**: Pressure and temperature equilibration
- **Production Run**: Configurable production MD simulation
### π File Generation
- **AMBER Input Files**: Complete set of .in files for all simulation steps
- **Force Field Parameters**: Generated .prmtop and .inpcrd files
- **PBS Scripts**: HPC submission scripts
- **Analysis Scripts**: Post-simulation analysis tools
## Usage
1. **Load Protein Structure**
- Upload a PDB file or enter a PDB ID to fetch from RCSB
- View 3D structure and basic information
2. **Prepare Structure**
- Configure structure preparation options
- Remove unwanted components (water, ions, hydrogens)
- Add capping groups for termini
- Handle ligands if present
3. **Set Simulation Parameters**
- Choose force field and water model
- Configure system parameters
- Set temperature and pressure
4. **Configure Simulation Steps**
- Enable/disable simulation steps
- Set step-specific parameters
- Configure production run duration
5. **Generate Files**
- Generate all simulation input files
- Download files as ZIP archive
- Preview generated files
## Technical Details
### Dependencies
- **MDAnalysis**: Structure manipulation and analysis
- **BioPython**: PDB file parsing
- **Flask**: Web framework
- **NGL Viewer**: 3D molecular visualization
- **AMBER Tools**: Force field parameter generation
### File Structure
```
AmberFlow/
βββ app.py # Hugging Face Spaces entry point
βββ requirements.txt # Python dependencies
βββ python/
β βββ app.py # Main Flask application
β βββ structure_preparation.py
β βββ requirements.txt
βββ html/
β βββ index.html # Web interface
βββ css/
β βββ styles.css # Styling
βββ js/
β βββ script.js # Frontend logic
βββ templates/ # AMBER input file templates
βββ add_caps.py # Capping group addition script
```
## Citation
If you use AmberFlow in your research, please cite:
```bibtex
@software{Amberflow2025,
title={AmberFlow: Molecular Dynamics Simulation Pipeline},
author={Hemant Nagar},
year={2025},
url={https://huggingface.co/spaces/hemantn/AmberFlow}
}
```
## Acknowledgments
- **Mohd Ibrahim** (Technical University of Munich) for the protein capping functionality (`add_caps.py`)
## License
This project is licensed under the MIT License - see the LICENSE file for details.
## Contact
- **Author**: Hemant Nagar
- **Email**: hn533621@ohio.edu
|