prolif
Interaction Fingerprints for protein-ligand complexes and more
What it is and what it does
ProLIF is a Python library for extracting and encoding protein-ligand (and nucleic acid) interactions from molecular dynamics simulations, docking results, and crystal structures into fingerprint representations. It sits at the intersection of structural biology and cheminformatics, converting 3D molecular complexes into discrete, analyzable interaction patterns that can be used for binding analysis, virtual screening validation, and machine learning workflows.
The package wraps mdanalysis for trajectory parsing and uses gemmi for structural geometry calculations, making it a thin but specialized layer atop standard computational chemistry tools. Its main use is converting raw molecular dynamics or docking output into a tabular format where each row represents a frame or pose and each column represents a detected interaction type, enabling downstream statistical analysis or model training.
Use it for:
- Validate docking poses by comparing their interaction fingerprints to known binders or experimental structures.
- Extract interaction patterns from MD trajectories to identify stable binding modes and transient contacts.
- Generate training data for machine learning models predicting binding affinity or selectivity from interaction patterns.
- Analyze ligand-DNA/RNA interactions in molecular dynamics simulations for nucleic acid drug discovery.
- Benchmark virtual screening campaigns by fingerprinting hits and comparing to reference ligands.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
ProLIF generates interaction fingerprints from molecular complexes in MD trajectories, docking simulations, and experimental structures, encoding ligand-protein/DNA/RNA contacts in a machine-readable format.
Yes—if you work with molecular dynamics, docking, or structural biology and need to convert 3D complexes into interaction data. Active maintenance, permissive license, low install friction, no known vulnerabilities, and a focused scope make it a reliable choice. Not worth installing if you only need basic distance-based contact analysis or lack mdanalysis in your workflow.
Install
prolif on PyPI
pip
pip install prolifuv
uv add prolifpoetry
poetry add prolifInstalling prolif
Before you install
Low friction: pure Python wheel with no compiled dependencies beyond its ten runtime packages (pandas, numpy, scipy, mdanalysis, networkx, tqdm, multiprocess, dill, psutil, gemmi). Active maintenance—last commit 2026-08-01, release 18 days old.
License in practice
Apache-2.0 permissive license allows commercial and private use, modification, and distribution with minimal restrictions; suitable for most research and commercial workflows.
Quickstart
pip install prolif
import prolif
from prolif import Fingerprint
# Load trajectory and generate fingerprints
fp = Fingerprint()
results = fp.run(trajectory, ligand_selection, protein_selection)
Requires Python >=3.10 and mdanalysis for trajectory I/O; gemmi for structural analysis.
Verify before relying
- Specific interaction types detected (hydrogen bonds, hydrophobic contacts, etc.) not enumerated in the excerpt.
- Performance characteristics on large trajectories or complex systems not quantified.
- Whether fingerprints are compatible with standard ML libraries or require preprocessing.
Package facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 10 — pandas, numpy, scipy, mdanalysis, networkx, tqdm, multiprocess, dill, psutil, gemmi |
| Maintenance | actively maintained — 18 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 77,299/month — #14,538 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: prolif-2.2.1-py3-none-any.whl
Keywords: science, chemistry, drug-design, cheminformatics, chemoinformatics, molecular-dynamics, interaction-fingerprint
Tags
More Bio-Informatics packages
NetworkX provides data structures and…
permissive · top 1,000 on PyPI
biopythonBiopython provides Python tools for…
unclear · top 5,000 on PyPI
firecrawl-pyClient library for the Firecrawl API that…
permissive · top 5,000 on PyPI
intervaltreeA self-balancing interval tree data structure…
permissive · top 5,000 on PyPI
albumentationsAlbumentations applies image transformations to…
permissive · top 5,000 on PyPI
PubChemPyPubChemPy is a Python wrapper around the…
permissive · top 5,000 on PyPI
pinderPinder provides access to a large…
permissive · top 15,000 on PyPI
propkaPROPKA predicts pKa values of ionizable groups…
copyleft · top 15,000 on PyPI
pdb2pqrPDB2PQR prepares protein structures from PDB…
permissive · top 15,000 on PyPI
aimsim-coreProvides core molecular featurization and…
permissive · top 15,000 on PyPI
mdtrajMDTraj reads, writes, and analyzes molecular…
copyleft · top 15,000 on PyPI
padelpyPaDELPy wraps the PaDEL-Descriptor Java engine…
permissive · top 15,000 on PyPI
py3DmolEmbeds an interactive 3D molecular viewer in…
permissive · top 15,000 on PyPI
logomakerLogomaker creates customized sequence…
permissive · top 15,000 on PyPI
ViennaRNAViennaRNA provides Python bindings to a C…
unclear · top 15,000 on PyPI
fingerprintsGenerates simplified entity identifiers…
permissive · top 15,000 on PyPI