Skip to main content

A tool for membrane protein preparation and molecular dynamics analysis

Project description

GateWizard (API)

PyPI version Documentation DOI License: MIT GitHub stars

Python library for membrane protein preparation, system building, equilibration setup, and MD trajectory analysis.

This repository is the API only. It does not include a graphical interface.

If you want a desktop app, use gatewizard-gui, a separate project that calls this library. You can use the API without the GUI, and the GUI without cloning this repo (it installs the API via pip).

📖 Documentation · 💬 Discussions (API + GUI community forum)


Features

  • Preparation — clean structures, pKa (PROPKA), protonation, and termini capping
  • Membrane builder — orient protein, pack lipids and solvent, Amber parametrization (tleap)
  • Equilibration — CHARMM-GUI-style protocols for NAMD, GROMACS, and OpenMM (NVT, NPT, NPAT, NPγT)
  • Analysis — trajectory metrics, structural analysis, and plotting helpers
  • Force fields — Amber protein models (e.g. ff14SB, ff19SB) and common water/lipid setups

Install

conda create -n gatewizard -c conda-forge python sqlite ambertools=24 parmed=4.3.0 openmm cudatoolkit -y
conda activate gatewizard
pip install "gatewizard[full]"
pip install -r requirements-orientation.txt

MemPrO is installed from the MemPrO GitHub release (v0.1.0).

For optional extras without OpenMM (NAMD/GROMACS only):

pip install gatewizard

From source (includes openmm + cudatoolkit via conda):

git clone https://github.com/maurobedoya/gatewizard.git
cd gatewizard
conda env create -f environment.yml
conda activate gatewizard
pip install -e .

Check the version:

python -c "import gatewizard; print(gatewizard.__version__)"

Dependencies

GateWizard is split across two repositories (API + GUI). Below is the full dependency stack; subsections mark what this repo installs automatically.

Python — core (pip install gatewizard) · this repo

Installed automatically:

Package Role
Python ≥ 3.8 Runtime
NumPy Numerical arrays
Matplotlib Plots and analysis figures
MDAnalysis Trajectories and topologies
lipyphilic Membrane / lipid analysis
PROPKA pKa and protonation
RDKit Ligand 2D structures
Pillow Image I/O
psique Structure / sequence tools
requests HTTP helpers

Python — optional [full] · this repo

Package Role
ParmEd Topology conversion (GROMACS, etc.)
OpenMM Equilibration / MD (Python; use with conda cudatoolkit for GPU)
MemPrO Membrane orientation (GitHub)

Install: pip install "gatewizard[full]" then pip install -r requirements-orientation.txt for MemPrO.

Python — GUI backend · gatewizard-gui

Package Role
FastAPI Local HTTP API for the desktop app
Uvicorn ASGI server
gatewizard[full] This API (installed into the embedded runtime)

Conda (building + OpenMM GPU) · this repo via environment.yml; GUI embeds on Linux/WSL/macOS

Package Role
AmberTools 24 tleap, antechamber, packmol, pdb4amber, …
ParmEd 4.3.0 From conda-forge (AmberTools-compatible)
OpenMM ≥ 8.0 MD engine (Python)
cudatoolkit OpenMM CUDA platform (Linux/WSL + NVIDIA driver)

Desktop app · gatewizard-gui

Package Role
Electron Desktop shell
Node.js 20+ App and build runtime
Svelte 5 UI framework
Vite Frontend bundler
Tailwind CSS Styling
Three.js + Threlte 3D structure viewer
electron-updater In-app update checks

External MD engines (install separately · neither repo)

Tool Role
NAMD Run NAMD equilibration — namd3 / namd2 on PATH
GROMACS Run GROMACS equilibration — gmx on PATH

OpenMM needs no separate binary — use openmm + cudatoolkit (conda) with gatewizard[full]. Auto-selects CUDA → OpenCL → CPU; override with PLATFORM=CUDA bash run_equilibration.sh.

python -c "import openmm; print([openmm.Platform.getPlatform(i).getName() for i in range(openmm.Platform.getNumPlatforms())])"

Provided by this repository

Component Included
gatewizard Python package (core + [full] extras) yes
environment.yml (AmberTools, OpenMM, cudatoolkit, …) yes
Desktop app (Electron, Svelte, viewer) no — gatewizard-gui
FastAPI backend no — GUI repo
NAMD / GROMACS binaries no — user install

Desktop GUI

gatewizard-gui — Electron app for the same workflow with a visual interface. It manages its own Python runtime and can update the API from the app.

Community and support

Need Where
Questions, workflows, methodology Discussions — central forum for API and GUI (use labels like api, gui, api:installation, gui:installation)
API bug or feature Issues in this repo
GUI bug or feature Issues in gatewizard-gui
Docs and troubleshooting Documentation

New to the project? Read the welcome post and say hello in the comments.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gatewizard-1.0.44.tar.gz (301.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gatewizard-1.0.44-py3-none-any.whl (465.0 kB view details)

Uploaded Python 3

File details

Details for the file gatewizard-1.0.44.tar.gz.

File metadata

  • Download URL: gatewizard-1.0.44.tar.gz
  • Upload date:
  • Size: 301.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for gatewizard-1.0.44.tar.gz
Algorithm Hash digest
SHA256 88a3c8bca2a4f287443aa6fb5a4c82f34532d400b75f254f45d3ed5febc45eba
MD5 3659c0a985773ad107056e18f85e52e7
BLAKE2b-256 19b9a85aa18a344855a3e7de9a665726d154e4d3205e715c425c909b5b6952f6

See more details on using hashes here.

File details

Details for the file gatewizard-1.0.44-py3-none-any.whl.

File metadata

  • Download URL: gatewizard-1.0.44-py3-none-any.whl
  • Upload date:
  • Size: 465.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for gatewizard-1.0.44-py3-none-any.whl
Algorithm Hash digest
SHA256 d10d12ed56782cfa5c6c86e0cffab89312e0a59dce76717fc344a4e2bb269ce7
MD5 e41fabaff71c827c23af78dbaaa776b8
BLAKE2b-256 fd671703ff25e9abb061582c0bedd97595dc5aa9d2b309d2394b921c0a2332ad

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page