Skip to main content

MolClusters

PyPI Python versions DOI Tests Coverage Docs License: LGPL v3+ REUSE compliant

Track the formation, growth, splitting, merging and lifetime of molecular clusters in molecular dynamics trajectories (GROMACS, LAMMPS and any other format MDAnalysis reads).

Documentation: https://emanuelmancio.github.io/MolClusters/

⚠️ Results from v0.6.0 or earlier? Those versions have errors in dipoles, volumes, densities and, in some cases, cluster membership, fixed in v0.7.0. See Known issues in earlier versions for which results are affected and how to correct them.

Installation

MolClusters needs Python 3.12 or newer, and is published on PyPI:

uv tool install molclusters   # the molclusters command, in an environment of its own
# or
pip install molclusters       # into your current environment, e.g. to use it from Python

Releases are also published as an OCI container image, ghcr.io/emanuelmancio/molclusters, for Docker, Podman, Apptainer and Singularity (see Installation).

The latest development version installs from this repository with pip install git+https://github.com/EmanuelMancio/MolClusters@dev.

It depends on MDAnalysis, NetworkX, NumPy, pandas, Pydantic and a few others, installed automatically.

Usage

molclusters traj.xtc topol.tpr config.yml --output-dir results

The user guide covers the configuration file, the output files and using MolClusters from Python; molclusters -h lists the command-line options.

Contributing

Bug reports and pull requests are welcome; for major changes, please open an issue first to discuss what you would like to change. See CONTRIBUTING.md and the developer guide for the development setup and conventions.

Citing

If you use MolClusters in your research, please cite it. Every release is archived on Zenodo with its own DOI: cite the version you used, listed on the Zenodo record, or 10.5281/zenodo.23023320 for MolClusters as a whole (it resolves to the latest version). CITATION.cff has the details, and GitHub's "Cite this repository" button formats them.

If you can, please also cite the work MolClusters builds on: MDAnalysis (Michaud-Agrawal et al., J. Comput. Chem. 2011; Gowers et al., SciPy 2016), and, depending on the features you use, the method papers listed in the documentation.

License

MolClusters is free software, licensed under the GNU LGPL v3 or any later version; see LICENSE and, for the GNU GPL v3 it builds on, COPYING. You can use it as a library from software under any license; changes to MolClusters itself that you distribute must stay under the LGPL. Every file's license is declared per the REUSE specification.

Authorship

This package was written by Emanuel Fernandes Dias Mancio (ORCID, Lattes), with the important contribution of Prof. Kaline Coutinho (ORCID, Web of Science, Lattes) who supervised the work and gave suggestions to its improvement.

Acknowledgments

We thank the Brazilian funding agencies CAPES, CNPq and FAPESP for the fellowships and approved research projects. This work was done under FAPESP fellowships for Emanuel Fernandes Dias Mancio (grants: #2022/01284-1, #2025/15166-9), listed in the FAPESP research database.

Metadata

Release files for MolClusters 0.9.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 MolClusters 0.9.0
File Size Uploaded Provenance Actions
molclusters-0.9.0.tar.gz 105.4 kB With provenance Details for molclusters-0.9.0.tar.gz

Built distribution (wheel)

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

Total release size: 225.7 kB

Release files / molclusters-0.9.0.tar.gz

Download URL molclusters-0.9.0.tar.gz
Size 105.4 kB
Tags Source
SHA-256 checksum
How to use checksums
c8fa163c9305a7082662762ce97f08d107a3726cdfa10a0d51f851e664288a31
BLAKE2b-256 checksum
How to use checksums
385b64ea65e15e21f3d649111a55af6f8d96b0afd5482172bb4ea445afc255d7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 30, 2026.

Transparency log

Release files / molclusters-0.9.0-py3-none-any.whl

Download URL molclusters-0.9.0-py3-none-any.whl
Size 120.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ef075a50604370b9e0a05773be98d1e4e4b6901ce98abb176b6917d6e7de3f91
BLAKE2b-256 checksum
How to use checksums
d7503ca7038add9465d82a0eb67fff59afc3e8f27139d192c6cc190c84bec192
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 30, 2026.

Transparency log

Security for MolClusters 0.9.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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for molclusters-0.9.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 30, 2026.

Transparency log

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.

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