Skip to main content

SEAMM Extract Clusters Plug-in

GitHub pull requests Build Status Code Coverage Code Quality Documentation Status Updates for Dependencies PyPi VERSION

A SEAMM plug-in for extracting molecular clusters (trimers, tetramers, … larger n-mers) from a condensed-phase, typically periodic, configuration as unwrapped, non-periodic structures – e.g. many-body training data and diagnostics for machine-learned force fields.

Features

  • Clusters are connected subgraphs of a molecular contact graph (molecules are in contact if their contact atoms are within a cutoff, minimum image), so chains, rings and stars all occur – not just the most compact cluster.

  • Any cluster size, and several sizes per frame (e.g. 3, 4).

  • Stratification so the set is flat in a spread coordinate (radius of gyration or largest centroid separation), with bin edges from equal quantiles of a pilot sample or given explicitly; optional balancing over the contact-graph motif.

  • Clusters are unwrapped across the periodic boundary, centred, non-periodic, with molecules and bonds intact.

  • Provenance on every configuration: unique names <frame>_<seed>_<m1-m2-...> and #ExtractClusters#scan properties (size, spread, motif, contacts, source molecules) that survive SDF/extxyz export; a clusters.csv summary per step.

  • Works on any cell (orthorhombic fast path via a periodic KD-tree; exact minimum image otherwise) and on non-periodic sources.

Acknowledgements

This package was created with Cookiecutter and the molssi-seamm/cookiecutter-seamm-plugin project template.

Developed by the Molecular Sciences Software Institute (MolSSI), which receives funding from the National Science Foundation under award ACI-1547580

History

2026.9.17 – Initial release of the Extract Clusters step
  • Extracts n-molecule clusters (trimers, tetramers, … larger n-mers) from the current, typically periodic, condensed-phase configuration as unwrapped, centred, non-periodic configurations in a new system, e.g. many-body training data and diagnostics for machine-learned force fields.

  • Clusters are connected subgraphs of a molecular contact graph (molecules are in contact if their contact atoms are within a cutoff, minimum image), so chains, rings and stars all occur; several sizes can be extracted from one frame.

  • Optional stratification so the set is flat in the radius of gyration or the largest centroid separation, with bin edges from equal quantiles of a pilot sample or given explicitly, and optional balancing over the contact-graph motif.

  • Provenance on every cluster: unique names <frame>_<seed>_<molecules> and #ExtractClusters#scan properties (size, spread, motif, contacts, bin, source molecules) that survive SDF/extxyz export, plus a clusters.csv per step.

Metadata

Release files for extract-clusters-step 2026.9.17

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

Source distribution (sdist)

Source distribution for extract-clusters-step 2026.9.17
File Size Uploaded
extract_clusters_step-2026.9.17.tar.gz 62.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for extract-clusters-step 2026.9.17
File Interpreter ABI Platform
extract_clusters_step-2026.9.17-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 91.5 kB

Release files / extract_clusters_step-2026.9.17.tar.gz

Download URL extract_clusters_step-2026.9.17.tar.gz
Size 62.4 kB
Tags Source
SHA-256 checksum
How to use checksums
18e9329c8921145af407521fd3a1cf5a09830111598907391373143014cbcd27
BLAKE2b-256 checksum
How to use checksums
c7f3a157b3cdf1d6e8d98143beef34b8313b985a2d5f51bb85e63f2eb0872122
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / extract_clusters_step-2026.9.17-py2.py3-none-any.whl

Download URL extract_clusters_step-2026.9.17-py2.py3-none-any.whl
Size 29.1 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
93fb3a43683ca4441f5756c270ca79a9c632324ab5b9bf1639905d75bf39c1e2
BLAKE2b-256 checksum
How to use checksums
74e2ce0ec1b8beb8f4fa2eeff248a8cf31c588cfe9818a995c475a60155fd916
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release history Release notifications | RSS feed

This release

2026.9.17 This release

2 release files

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