Skip to main content

LipIDens - simulation assisted interpretation of lipid densities

logo

LipIDens is an open-source pipeline for simulation-assisted interpretation of lipid and lipid-like densities observed in cryo-electron microscopy (cryo-EM) structures of membrane proteins.

LipIDens integrates coarse-grained and atomistic molecular dynamics (MD) simulations with PyLipID-based analysis to identify, characterise, and rank lipid binding sites, enabling experimental densities to be connected to specific lipid chemistries.

Key Capabilities:

  • Differentiating between sterol and phospholipid binding sites where structural densities are ambiguous.
  • Assess preferential binding of different lipid types to a site where lipid-like density is observed.
  • Evaluate whether lipid tail densities are likely to belong to the same or adjacent binding sites.
  • Quantify the kinetics of different lipids binding to the same site.
  • Obtain a more complete picture of lipid interactions profiles around the protein in a membrane environment.
  • Assist interpretation of cryo-EM densities during model building and map refinement cycles.
  • Assess which putative lipid binding sites may prevail when not in detergent conditions.

Scope of the Pipeline:

LipIDens provides workflow automation and analysis tools. The user is responsible for:

Running MD simulations (e.g. with GROMACS) Providing trajectories and topology files LipIDens then processes these data to guide structural interpretation.

Installation:

For detailed instructions on LipIDens Installation please refer to the latest version, courtesy of the Stansfeld Lab, University of Warwick.

Latest LipIDens Version and Installation, updated October 2026 (version 1.2.0)

LipIDens requires a python3 environment (>= 3.11). Install it from PyPI:

mamba create -n lipidens python=3.12 -y
mamba activate lipidens
mamba install -c conda-forge gromacs pdb2pqr -y
pip install lipidens

or install the latest development version with pip install git+https://github.com/pstansfeld/LipIDens.git.

This installs LipIDens with its Python dependencies, including PyLipID (>= 1.6) and vermouth (martinize2), together with the workflow scripts and parameter files it uses. See README_INSTALL.md for installing from a clone.

For the atomistic stages (backmapping lipid poses in stage 5 and setting up atomistic simulations in stage 6) also install cg2at-lite (pip install cg2at-lite); the original CG2AT is used instead if cg2at-lite is not installed. Comparing poses with densities (stage 5) writes a PyMOL script.

Running LipIDens

Run the protocol interactively, stage by stage (1a/1b: coarse-grained setup and processing, 2: test PyLipID cut-offs, 3: run PyLipID, 4: screen PyLipID data, 5: rank site lipids, 6: atomistic setup):

lipidens

(or python lipidens_master_run.py from a clone of this repository), or follow the LipIDens workflow notebook.

If you write your own scripts that call LipIDens or PyLipID, put the code under if __name__ == "__main__":: PyLipID calculates in worker processes that re-import the script.

Note: from version 1.2.0 the number of homomeric protein chains (nprot) is passed through to PyLipID (it was previously fixed at 1), so results for homomers can differ from those of earlier versions.

Citation:

Please cite the following if you use LipIDens in your research:

Ansell, T.B., Song, W., Coupland, C.E., Carrique, L., Corey, R.A., Duncan, A.L., Cassidy, C.K., Geurts, M.M.G., Rasmussen, T., Ward, A.B., Siebold, C., Stansfeld, P., Sansom, M.S.P. (2023). LipIDens: Simulation assisted interpretation of lipid densities in cryo-EM structures of membrane proteins. Nature Communications 14, 7774, doi: 10.1038/s41467-023-43392-y

Accompanying step by step protocol citation:

Ansell, T.B., Song, W., Coupland, C.E., Carrique, L., Corey, R.A., Duncan, A.L., Cassidy, C.K., Geurts, M.M.G., Rasmussen, T., Ward, A.B., Siebold, C., Stansfeld, P., Sansom, M.S.P. (2023). Implementation of the LipIDens pipeline: assisted interpretation of lipid densities in membrane protein structures using simulations. protocols exchange, doi: 10.21203/rs.3.pex-2408/v1

The LipIDens logo was designed by Jessica Ansell.

Legacy Installation (OLD):

See above for latest installation of LipIDens. The instructions below are for the original version (1.0.0) in TBGAnsell/LipIDens (Python 3.9, PyLipID 1.5).

LipIDens installation from the GitHub repository:

git clone https://github.com/TBGAnsell/LipIDens
cd LipIDens
python setup.py install

Recomended

Recommended to use dssp version 3 as this is the only current version compatible with martinize2. Check your version using mkdssp --version. (Not needed for the latest version: current martinize2 assigns secondary structure with mdtraj.)

conda install -c salilab dssp

Conda (legacy installation):

conda create -n LipIDens python=3.9
pip install -r requirements.txt

Metadata

Release files for lipidens 1.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lipidens 1.2.0
File Size Uploaded Provenance Actions
lipidens-1.2.0.tar.gz 1.5 MB Without provenance Details for lipidens-1.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for lipidens 1.2.0
File Interpreter ABI Platform Actions
lipidens-1.2.0-py3-none-any.whl Python 3 none any Details for lipidens-1.2.0-py3-none-any.whl

Total release size: 3.1 MB

Release files / lipidens-1.2.0.tar.gz

Download URL lipidens-1.2.0.tar.gz
Size 1.5 MB
Tags Source
SHA-256 checksum
How to use checksums
fa93f266b71f2c76cff7019bc03d0602a5beb5faee84c99dca6ba7334f23dbdc
BLAKE2b-256 checksum
How to use checksums
0888f3118809e4901c1580935c21530ccfe9ba3fda1c1b24b2ee11541cf46ba4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.12

Release files / lipidens-1.2.0-py3-none-any.whl

Download URL lipidens-1.2.0-py3-none-any.whl
Size 1.6 MB
Tags Python 3
SHA-256 checksum
How to use checksums
b878cf88a01be36f5f2c7d6f83a03ef1fa2c98da6b62fc4dec46a75cd78e40e8
BLAKE2b-256 checksum
How to use checksums
fa24c42e89c2f01e27ac924baa604d768e9624bb723311bb181b3f9de581368c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.12

Security for lipidens 1.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.2.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page