Michael Gecht edited this page Dec 13, 2017 · 2 revisions

The LeafletFinder algorithm solves the problem of identifying the groups of lipids that make up the two leaflets of a membrane, given an AtomGroup of the membrane. It is implemented in MDAnalysis.analysis.leaflet, which also has examples.

The algorithm is described in the MDAnalysis paper (PMID 21500218) under Implementation of the LeafletFinder algorithm for lipid bilayer analysis. Briefly:

  1. Find the nearest neighbors of marker groups (such as the phosphorous atoms) within a chosen cutoff distance and construct a graph of all connected markers.
  2. Identify the largest connected subgraphs.
  3. Sort the subgraphs by size. The first and second largest ones are the membrane leaflets.

The cutoff distance needs to be less than the bilayer thickness and comparable to typical lipid-lipid in-plane distances. The algorithm works for membranes of any curvature, including vesicles.

Project Information

GNU GPL v2 code license
Labels: python, molecular dynamics, analysis, DCD, CHARMM, LAMMPS, NAMD, Gromacs, computer simulation, atoms, coordinates, trajectory, XTC, Library, object-oriented
Core Developers


Release Notes
Guide for Developers
Google Summer of Code

Code of Conduct


@mdanalysis on Twitter
Downloads (PyPi)
Mailing Lists:
User discussion group
Developer mailing list

Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.