How elseviersoftwarex/softx-d-25-00304 works
gorder is a CLI and library for calculating lipid order parameters from molecular-dynamics simulations, with Rust and Python APIs. The main user workflow is to provide YAML analysis settings and structure/trajectory inputs, run an atomistic, coarse-grained, or united-atom analysis, then inspect results in a selected output format. Documented capabilities also include molecule classification, leaflet and geometry selection, dynamic membrane normals, order maps, and error estimation. Edges are limited to README statements and visible source-index references; unsampled feature internals are represented without asserted call paths.
Main entry points: analysis/mod.rs Shared analysis · topology/mod.rs System topology · application/mod.rs Application · lib.rs Python API
Components 26
Configuration
- Analysis settings
src/input/analysis.rs - Feature settings
src/input
Topology
- System topology
src/analysis/topology/mod.rs - Bond topology
src/analysis/topology/bond.rs - Atom topology
src/analysis/topology/atom.rs - Molecule classification
src/analysis/topology/classify.rs
Analysis
- Atomistic order
src/analysis/aaorder.rs - Coarse-grained order
src/analysis/cgorder.rs - United-atom order
src/analysis/uaorder.rs - Shared analysis
src/analysis/mod.rs - Leaflet assignment
src/analysis/leaflets.rs - Region selection
src/analysis/geometry.rs - Membrane normals
src/analysis/normal.rs - Order maps
src/analysis/ordermap.rs - Periodic boundaries
src/analysis/pbc.rs - Error estimation
src/analysis/timewise.rs
Results and APIs
- Result conversion
src/presentation/converter.rs - Typed results
src/presentation/aaresults.rs - Output presenters
src/presentation/mod.rs - Rust API
src/lib.rs - Python API
pygorder/src/lib.rs - Python analysis features
pygorder/src/analysis.rs
Other components
- Analyst
- CLI entry
src/main.rs - Application
src/application/mod.rs - Result files
Connections 26
- Analyst → CLI entry: runs
- Analyst → Analysis settings: configures
- CLI entry → Application: dispatches
src/main.rs - Analysis settings → Application: configures
- Feature settings → Shared analysis: configures
src/analysis/mod.rs - Application → Shared analysis: starts analysis
- Shared analysis → Atomistic order: dispatches
src/analysis/mod.rs - Shared analysis → Coarse-grained order: dispatches
src/analysis/mod.rs - Shared analysis → United-atom order: dispatches
src/analysis/mod.rs - System topology → Bond topology: uses
src/analysis/topology/mod.rs - System topology → Atom topology: uses
src/analysis/topology/mod.rs - System topology → Molecule classification: uses
src/analysis/topology/mod.rs - Shared analysis → System topology: builds topology
src/analysis/mod.rs - Shared analysis → Leaflet assignment: supports
src/analysis/mod.rs - Shared analysis → Region selection: supports
src/analysis/mod.rs - Shared analysis → Membrane normals: supports
src/analysis/mod.rs - Shared analysis → Order maps: supports
src/analysis/mod.rs - Shared analysis → Periodic boundaries: uses
src/analysis/pbc.rs - Shared analysis → Error estimation: supports
src/analysis/mod.rs - Shared analysis → Result conversion: converts results
- Result conversion → Typed results: constructs
src/presentation/converter.rs - Output presenters → Result files: writes
src/presentation/mod.rs - Analyst → Result files: reads
- Rust API → Shared analysis: exposes
src/lib.rs - Python API → Python analysis features: registers
pygorder/src/lib.rs - Python API → Rust API: wraps core