Membrane Builder icon

Membrane Builder

Lipid21-style bilayer builder

Build a rectangular bilayer PDB from a curated Lipid21-compatible template set, adjust leaflet composition with sliders, inspect clashes, and export a PDB plus a LEaP input draft.

Lipid21bilayer PDBLEaP draft

How to cite

Tool citation:

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 citation:

Weiss AKH. Membrane Builder. akhw.at local browser tools, version 0.14.4-alpha, build 2026-06-12-tools5. PHP documentation: docs/membrane-builder.php.

What this page is supposed to do

Fetch or use lipid templates, define membrane dimensions and leaflet composition, place lipids into a rectangular bilayer, check heavy-atom clashes, and export starting files.

Use this page when

  • Curated lipid-template archive loaded through the page endpoint or the built-in fallback template.
  • Membrane dimensions such as x/y lipid grid, area per lipid, box z length, and leaflet separation controls.
  • Upper and lower leaflet composition percentages that sum to 100% per leaflet.

Do not use it as

  • Template placement and clash relief are approximate. The generated membrane still needs force-field validation, solvation, ion placement, minimization, equilibration, and inspection with production MD tools.
  • Do not use a generated or displayed result without checking warnings, assumptions, and downstream compatibility.
  • Do not treat a browser preview as scientific validation.

At a glance

QuestionAnswer
Primary jobFetch or use lipid templates, define membrane dimensions and leaflet composition, place lipids into a rectangular bilayer, check heavy-atom clashes, and export starting files.
Main riskTemplate placement and clash relief are approximate. The generated membrane still needs force-field validation, solvation, ion placement, minimization, equilibration, and inspection with production MD tools.
Best next stepUse the exported PDB and LEaP draft as a handoff to a validated membrane-preparation and Amber MD setup workflow.
Reproducibility fileTemplate source state, lipid set, leaflet percentages, grid size, area per lipid, clash settings, generated PDB, LEaP draft, and warning messages.

Typical inputs

  • Curated lipid-template archive loaded through the page endpoint or the built-in fallback template.
  • Membrane dimensions such as x/y lipid grid, area per lipid, box z length, and leaflet separation controls.
  • Upper and lower leaflet composition percentages that sum to 100% per leaflet.

Typical outputs

  • Rectangular bilayer PDB.
  • tleap_lipid21_membrane.in draft text.
  • Template table, composition table, placement summary, and clash diagnostics.

Where it fits in the modeling workflow

  1. 1
    DNA Builder

    Build an idealized nucleic-acid starting structure when the project needs a simple duplex model.

  2. 2
    Membrane Builder

    Build an approximate membrane starting structure when the project needs a bilayer environment.

  3. 3
    Structural Biology Software Overview

    Choose established downstream preparation, minimization, visualization, and analysis tools.

  4. 4
    AMBER MD Viewer

    Inspect topology and XYZ trajectory material after or during MD-related work.

Step-by-step use

  1. Load the selected lipid library and confirm which templates are available. Do not assume every lipid in the named set was imported successfully.
  2. Choose x and y lipid counts and area per lipid based on the intended system size and lipid type.
  3. Set upper and lower leaflet composition sliders. Confirm that each leaflet sums to 100% and that rare lipids are represented by enough molecules to be meaningful.
  4. Check leaflet separation and VdW overlap controls. Avoid hiding real clashes by allowing too much overlap.
  5. Generate the membrane and read the placement summary, clash diagnostics, box dimensions, and template warnings.
  6. Download the PDB and LEaP input draft. Keep them together with the composition settings and template source information.
  7. Run the exported files through a validated setup workflow, then solvate, neutralize or ionize, minimize, heat, and equilibrate before production simulation.
  8. Inspect the prepared system visually after each major downstream step.

How to interpret what you see

Leaflet composition
The percentage mixture of lipid templates placed in one side of the bilayer.
Area per lipid
The approximate lateral area allocated to each lipid. It influences x/y spacing and packing density.
VdW overlap
The allowed heavy-atom overlap threshold used by the page when separating leaflets.
LEaP draft
A starting input file for Amber setup. It still requires review and adaptation to the actual workflow.

Quality-control checklist before moving on

Troubleshooting

ProblemWhat to check
The online library does not load.Check PHP curl or allow_url_fopen, server access to GitHub, and whether a cached or fallback template is being used.
A lipid is missing.Confirm that the lipid code is in the curated allowed set and was imported from the template archive.
Composition sliders are hard to balance.Use the table and reset controls, then adjust one leaflet at a time.
Many clashes remain.Increase starting separation, review area per lipid, reduce overpacked compositions, and regenerate.
LEaP fails downstream.Check residue names, force-field availability, missing templates, and whether the draft needs project-specific commands.
Special characters display as garbled text.Serve the page as UTF-8 and keep the PHP header at the top of the file. Do not resave the file in a legacy encoding.
The output seems scientifically wrong.Stop the workflow. Check the input format, warnings, force-field assumptions, topology compatibility, and whether the tool is only a helper for that step.

Practical notes

Copyright and disclaimer

Copyright © 2026 Alexander Weiss, akhw.at. All rights reserved.

Research workflow helper only. Generated structures, visualizations, setup drafts, topology interpretation, trajectory displays, and warnings must be validated with established scientific software before use in decisions or publications.