Install
openclaw skills install automd-vizGenerate publication-quality molecular dynamics visualizations including structures, data plots, trajectory projections, and full reports with journal-specif...
openclaw skills install automd-vizVersion: 1.0.0
Author: Xuan Guo (xguo608@connect.hkust-gz.edu.cn)
License: MIT
Repository: https://github.com/Billwanttobetop/automd-viz
AutoMD-Viz is a standalone visualization toolkit for generating publication-quality figures from molecular dynamics simulation data. It supports multiple visualization types and journal-specific styles (Nature, Science, Cell).
Key Features:
# Via ClawHub
clawhub install automd-viz
# Or manual installation
git clone https://github.com/Billwanttobetop/automd-viz.git
cd automd-viz
chmod +x automd-viz.sh
# Generate protein structure figure
./automd-viz.sh --type structure --structure protein.pdb --style nature
# Plot RMSD/RMSF data
./automd-viz.sh --type data --input rmsd.xvg --style science
# Trajectory visualization (PCA)
./automd-viz.sh --type trajectory --structure protein.pdb --trajectory md.xtc
# Generate complete report
./automd-viz.sh --type report --structure protein.pdb --trajectory md.xtc --style nature
--type structure)Generate high-quality molecular structure figures using PyMOL.
Options:
--structure <file> - Input structure (PDB/GRO)--style <nature|science|cell> - Journal style--representation <cartoon|surface|sticks> - Display style--color <spectrum|chain|secondary> - Coloring scheme--resolution <300|600> - Output DPIExample:
./automd-viz.sh --type structure \
--structure protein.pdb \
--style nature \
--representation cartoon \
--color spectrum \
--resolution 600
Output:
structure_nature.png (high-resolution raster)structure_nature.pse (PyMOL session)--type data)Plot time-series data (RMSD, RMSF, energy, etc.) with journal-quality formatting.
Options:
--input <file> - Input data file (XVG format)--style <nature|science|cell> - Journal style--xlabel <text> - X-axis label--ylabel <text> - Y-axis label--title <text> - Plot titleExample:
./automd-viz.sh --type data \
--input rmsd.xvg \
--style science \
--xlabel "Time (ns)" \
--ylabel "RMSD (nm)"
Output:
data_plot.pdf (vector graphics)data_plot.png (raster graphics)--type trajectory)Visualize trajectory in reduced dimensionality space (PCA/t-SNE/UMAP).
Options:
--structure <file> - Reference structure--trajectory <file> - Trajectory file (XTC/TRR)--method <pca|tsne|umap> - Dimensionality reduction method--style <nature|science|cell> - Journal styleExample:
./automd-viz.sh --type trajectory \
--structure protein.pdb \
--trajectory md.xtc \
--method pca \
--style nature
Output:
trajectory_pca_2d.pdf (2D projection)trajectory_pca_3d.pdf (3D projection)free_energy_landscape.pdf (FEL)--type report)Generate a complete set of publication-ready figures.
Options:
--structure <file> - Reference structure--trajectory <file> - Trajectory file--input <dir> - Analysis results directory--style <nature|science|cell> - Journal styleExample:
./automd-viz.sh --type report \
--structure protein.pdb \
--trajectory md.xtc \
--input analysis-results/ \
--style nature
Output:
figures/ directory with all figuresVISUALIZATION_REPORT.md (summary)Required:
Optional (for advanced features):
Auto-install:
pip install numpy matplotlib seaborn scikit-learn umap-learn MDAnalysis
AutoMD-Viz is designed to work seamlessly with AutoMD-GROMACS analysis results.
After running analysis:
# Run analysis
advanced-analysis -s md.tpr -f md.xtc
# Visualize results
automd-viz --type report --input advanced-analysis/ --style nature
Supported analysis outputs:
analysis.sh)advanced-analysis.sh)binding-analysis.sh)trajectory-analysis.sh)property-analysis.sh)See publication-viz-errors.md for common issues and solutions.
Quick fixes:
--no-structure--font-fallback--strideSee examples/ directory for complete workflows:
example_protein/ - Protein structure visualizationexample_ligand/ - Protein-ligand complexexample_membrane/ - Membrane protein systemexample_trajectory/ - Trajectory analysisContributions welcome! Please submit issues and pull requests on GitHub.
MIT License - see LICENSE file for details.