How pol-sb/simul-protein-small-molecule works
Main Components
a) Core Simulation Engine:
• Center the OpenMM integration as the primary computational engine
• Simulation configuration and parameter handling
• GPU/CPU platform selection system
b) Module Structure:
• Simulation management modules
• Analysis modules
• Data handling and storage
• Web application interface
c) Data Flow Components:
• Input processing
• Simulation execution
• Results processing
• Database management
Input Layer
• Configuration parsing from command-line arguments
• Protein data input (proteins.csv, proteins.pkl)
• Small molecule parameter handling
Core Processing Layer
• OpenMM simulation engine integration
• Platform management (GPU/CPU selection)
• Simulation control flow
• Small molecule integration system
Analysis Layer
• Density profile analysis
• Database creation and management
• Results visualization
• Testing framework
Output Layer
• Trajectory file generation (.dcd)
• System configuration output (.pdb)
• Logging system
• Results database integration
Use these specific visual elements:
• Hexagons for data stores
• Blue: Core simulation components
• Green: Data processing modules
• Yellow: Analysis tools
• Gray: External dependencies
Key Relationships to Highlight:
Data Flow
Input Files → Simulation Engine → Results Storage → Analysis Tools
Module Dependencies
simulate.py → modules/add_new_IDP.py
• → modules/analyse.py
• → modules/sasa_cg.py
• → modules/small_molecule.py
Results Processing
Simulation Output → result_analysis/density_profile.py
• → result_analysis/plot_densities.py
• → Database (results/simulations_df.pkl)
Specific components:
Command Interface
• simulate
• check_version
• database
• tests
Data Stores
• Protein database
• Results database
• Trajectory files
• Configuration files
Processing Units
• OpenMM simulation engine
• Small molecule integration
• Analysis tools
• Visualization components
External Interfaces
• GPU/CPU platforms
• ntfy.sh notification service
• File system interaction
This architecture should emphasize the modular nature of the system while showing how all components work together to perform IDP simulations with small molecule integration capabilities.