How to cite: Weiss AKH. Membrane Builder. akhw.at local browser tools, version 0.14.4-alpha, build 2026-06-12-tools5. PHP tool: membrane-builder.php.
Documentation

Membrane Builder

Build a rectangular bilayer PDB from a curated Packmol-Memgen lipid set. This PHP page fetches the lipid-template archive automatically through its own library endpoint, imports only the selected lipids, then exposes each leaflet as 100% composition sliders. Defaults keep lateral packing close to the requested area per lipid. The two leaflets are first placed so their average lipid lengths meet at the bilayer center. Then real cross-leaflet heavy-atom van der Waals clashes are checked and the leaflets are shifted apart step-by-step only until the clashes disappear.

1. Lipid library

Packmol-Memgen exact allowed lipid set

The PHP endpoint fetches pdbs.tar.gz automatically and imports ONLY these 48 lipid templates: DAPA, DMPA, DPPA, PLPA, SDPA, DAPC, DMPC, DPPC, PLPC, SDPC, DAPE, DMPE, DPPE, PLPE, SDPE, DAPG, DMPG, DPPG, PLPG, SDPG, DAPS, DMPS, DPPS, PLPS, SDPS, DLPA, DOPA, DSPA, POPA, PSM, DLPC, DOPC, DSPC, POPC, SSM, DLPE, DOPE, DSPE, POPE, CHL1, DLPG, DOPG, DSPG, POPG, DLPS, DOPS, DSPS, POPS.

Waiting to load the allowed online lipid library...

Available templates

NameAtomsResiduesz spanSource

2. Membrane settings

Average lipid-length contact
100.0%
100.0%

Each leaflet is kept at 100%. Moving one slider redistributes the remaining percentage over the other loaded lipids. Lipids at 0% are ignored in the build. Copy and paste uses a simple code such as POPC=70;DOPC=30.

Packing safety

Uses heavy-atom VdW radii

Protein insertion, experimental

No protein loaded.

The auto mode estimates a membrane axis from 3D clusters of hydrophobic residue centroids, centers the hydrophobic band at z = 0, then removes full lipid molecules whose heavy atoms overlap the inserted protein. It is a heuristic starting pose, not an OPM/PPM replacement.

Effective grid spacing- Effective area/lipid- Average-touch P-to-P separation- Final P-to-P separation- Applied relative z shift- Contact-start clashes- VdW clash check-
No build yet.

3. Preview and checks

Important limitations
  • This creates a starting geometry. It does not energy-minimize, solvate, add ions, or validate force-field parameters.
  • The PHP file bundles one small POPC fallback template and fetches the Packmol-Memgen lipid-template archive through ?action=packmol_library by default, but imports only the selected 48 lipid codes shown in the lipid library section.
  • The packing is grid-based with optional jitter and rotations. The z contact is based on average lipid length and VdW clash removal, not energy minimization. Run tleap, inspect the structure, then minimize and equilibrate.
  • For very large systems, PDB serial or residue numbers can exceed fixed-width PDB limits. Use a smaller patch or convert to a format that supports larger indices.

4. tleap helper

Build a membrane first.

5. Output PDB