How lcbio/cabsflex_standalone works
CABS-flex is a command-line protein modeling and simulation framework for protein flexibility, de novo peptide modeling, and flexible peptide–protein docking. The principal user workflow is to provide structure and run options, prepare a protein or peptide complex, run the CABS simulation, then analyze trajectories and produce structural outputs. The graph emphasizes the job orchestrator and documented modeling branches. Source-index references support several implementation links; unsampled details and optional external-tool wiring are not inferred.
Main entry points: job.py Job Orchestrator · protein.py Protein Complex · optparser.py Options Parser · cg2all.py All-Atom Reconstruction
Components 25
Command Line
- Options Parser
CABS/io/optparser.py - Logging
CABS/io/logger.py - Job Orchestrator
CABS/core/job.py - Configuration
CABS/config_loader.py
Model Preparation
- Protein Complex
CABS/structures/protein.py - Structure I/O
CABS/structures/pdblib.py - Atom Model
CABS/structures/atom.py - 3D Geometry
CABS/structures/vector3d.py - Secondary Structure
CABS/prediction/secstrpredictor.py - Peptide Initialization
CABS/prediction/randinit.py
Simulation
- CABS Engine
CABS/core/cabs.py - Trajectory
CABS/core/trajectory.py
Analysis
- Trajectory Clustering
CABS/analysis/cluster.py - Contact Maps
CABS/analysis/cmap.py - Analysis Plots
CABS/analysis/plots.py - Restraint Analysis
CABS/analysis/restraints.py - Structure Alignment
CABS/utils/align.py
Reconstruction Outputs
- CA Reconstruction
CABS/reconstruction/ca2all.py - All-Atom Reconstruction
CABS/reconstruction/cg2all.py - Trajectory Reconstruction
CABS/reconstruction/cg2all_trajectory.py - Trajectory Movies
CABS/utils/movie_script.py - PyMOL Visualization
CABS/utils/pymol.py - ChimeraX Visualization
CABS/utils/chimerax.py
Other components
- Researcher
- CG2All Tool
Connections 28
- Researcher → Options Parser: sets options
README.md - Options Parser → Job Orchestrator: configures run
CABS/__main__.py - Options Parser → Configuration: loads settings
CABS/io/optparser.py - Options Parser → Logging: reports options
CABS/io/optparser.py - Job Orchestrator → Logging: logs progress
CABS/core/job.py - Job Orchestrator → Protein Complex: prepares structures
CABS/core/job.py - Protein Complex → Structure I/O: loads structures
CABS/structures/protein.py - Protein Complex → Atom Model: builds atom models
CABS/structures/protein.py - Protein Complex → 3D Geometry: uses geometry
CABS/structures/protein.py - Protein Complex → Secondary Structure: predicts structure
CABS/structures/protein.py - Protein Complex → Peptide Initialization: initializes peptides
CABS/structures/protein.py - Job Orchestrator → CABS Engine: runs simulation
CABS/core/job.py - CABS Engine → Trajectory: records frames
CABS/core/cabs.py - Job Orchestrator → Trajectory: processes trajectories
CABS/core/job.py - Job Orchestrator → Trajectory Clustering: clusters results
CABS/core/job.py - Job Orchestrator → Contact Maps: analyzes contacts
CABS/core/job.py - Contact Maps → Analysis Plots: plots maps
CABS/analysis/cmap.py - Job Orchestrator → Analysis Plots: creates plots
CABS/core/job.py - Job Orchestrator → Restraint Analysis: handles restraints
CABS/core/job.py - Job Orchestrator → Structure Alignment: aligns structures
CABS/core/job.py - Job Orchestrator → CA Reconstruction: reconstructs structures
CABS/core/job.py - Job Orchestrator → All-Atom Reconstruction: rebuilds atoms
CABS/core/job.py - Job Orchestrator → Trajectory Reconstruction: rebuilds frames
CABS/core/job.py - Trajectory Reconstruction → All-Atom Reconstruction: uses reconstruction
CABS/reconstruction/cg2all_trajectory.py - All-Atom Reconstruction → CG2All Tool: dispatches conversion
CABS/reconstruction/cg2all.py - Job Orchestrator → Trajectory Movies: prepares visualization
CABS/core/job.py - Job Orchestrator → PyMOL Visualization: exports visualization
CABS/core/job.py - Job Orchestrator → ChimeraX Visualization: exports visualization
CABS/core/job.py