GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — gorder/pygorder at main · VachaLab/gorder

Expand file tree

/

pygorder

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
/

pygorder

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
docs
docs
 
 
python/gorder
python/gorder
 
 
src
src
 
 
tests
tests
 
 
.gitignore
.gitignore
 
 
Cargo.toml
Cargo.toml
 
 
DEV-README.md
DEV-README.md
 
 
MANIFEST.in
MANIFEST.in
 
 
README.md
README.md
 
 
make_types.sh
make_types.sh
 
 
pyproject.toml
pyproject.toml
 
 
uv.lock
uv.lock
 
 

README.md

Outline

Python bindings for gorder

This project contains Python bindings for the gorder tool for calculating lipid order parameters from Gromacs simulations.

See the gorder manual and Python API documentation for more information.

Installation

To install gorder as a Python package, you can use pip:

pip install git+https://github.com/Ladme/gorder.git#subdirectory=pygorder

But you should use uv instead. Here is how you add gorder to your uv project:

uv add git+https://github.com/Ladme/gorder.git#subdirectory=pygorder

Example

The following script calculates coarse-grained lipid order parameters using a TPR file system.tpr and a trajectory file md.xtc. The results are written into order.yaml.

import gorder

analysis = gorder.Analysis(
    structure = "system.tpr",
    trajectory = "md.xtc",
    analysis_type = gorder.analysis_types.CGOrder("@membrane"),
    output_yaml = "order.yaml",
)

results = analysis.run()

results.write()
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.