Skip to main content

This package includes Python tools and Bash shell scripts for preparation, running and analyses of soft matter simulations.

Shapespyer documentation with examples and tutorials

Key functionality:

  • Main toolkit: Python package for generation of ordered molecular aggregates and pre-assembled composite structures to seed molecular dynamics (MD) simulations aimed at studying equilibration (relaxation) processes in soft matter and biomolecular systems.

  • Bash scripts for automated workflows for preparation and running simulations using Gromacs, NAMD, DL_POLY or DL_MESO MD engines (MC via DL_MONTE to be added).

  • Scripts (Python and Bash) for semi-automated analyses of cluster formation and evolution, including cluster number and size distributions, but also radii of gyration and principal moments of inertia.

  • Parsing SMILES strings (from 'smiles.sml') and generating 3D chemical structures

From the outset, the Shapespyer project has been kindly supported by the Ada Lovelace Centre for expertise in scientific software, research software engineering and data management.

ALC-UKRI-SCD-ISIS-Diamond-logos

Partners

International:

Hanna Barriga, KTH, Sweden (nanoscale structure and dynamics in biological processes)

Margaret Holme, Chalmers, Sweden (self assembled lipid structures for biomedical applications)

Karen Edler, Lund University, Sweden (functional hierarchically structured materials)

SasView & SASSIE teams (SAS calculations based on MD trajectories)

National (UK):

Jian Lu, Biological Physics, Manchester University (bio- and soft matter physics, self-assembly, interfaces)

Lorna Dougan, School of Physics and Astronomy, University of Leeds (hierarchical biomechanics, extreme biophysics)

Valeria Losasso, Computational Biology group, SCD, DL, STFC (lipid bilayers, multi-lamellae)

Tom Headen, ISIS, RAL (coarse-grained SAS calculations based on molecular dynamics simulations)

SAS and Reflectometry beamlines, ISIS, RAL (SAS and Reflectometry experiments)

Project description

Started in April 2020, the Shapespyer project is a thriving collaboration between SCD, ISIS and Diamond, funded by and developed under the umbrella of the Ada Lovelace Centre (ALC), aiming to support and facilitate interdisciplinary research by bridging between theoretical analysis, computer simulation and experimental studies.

The primary goal of the project is to equip Small Angle Scattering (SAS) experimentalists at ISIS and Diamond facilities in RAL with a set of simulation and analytical protocols allowing for the verification of hypotheses and theoretical models of complex molecular nanoaggregates via direct correlation of SAS experiments to detailed computer simulations.

In turn, it is anticipated that this would facilitate the automation of common, routine, tasks associated with the creation, simulation and analysis of complex multicomponent aggregates, which would both simplify and standardise the use of simulations in analyses of SAS experiments. With this in mind, the Shapespyer software package has been developed as an experimentalist-oriented Python framework providing a straightforward workflow to facilitate the analysis of self-assembled nanostructures, ubiquitous in soft condensed matter, and specifically those with biomolecular applications.

Background

In the domain of functional soft matter and biomolecular simulation, the task of preparing complex molecular structures of interest is both challenging and tedious. The naive approach using an initial configuration with randomised positions of solute molecules is most often fruitless due to the complexity of the (unknown) pathways that lead to self-assembly of any particular shape of a molecular aggregate. Unfortunately, pre-equilibration into and further relaxation of a specific molecular complex can easily require simulation times way beyond what is reachable in a practical simulation scenario. Therefore, it is vital to have efficient tools facilitating the generation and initial equilibration of pre-assembled molecular complexes with predetermined composition and structure.

Concept

Taking a number of sample (template) molecules as inputs, automatically generate a predefined larger, possibly multicomponent, structure that could be used as input for molecular dynamics (MD) or Monte Carlo (MC) simulations carried out on virtually any computing platform. The results from these calculations include equilibrated structures and trajectories that can be analysed and compared with results from small angle scattering (SAS) experiments.​

Illustrations

Shapespyer - Supported structures

Shapespyer - Supported structures

Diagrams

Shapespyer - Workflow diagram

Shapespyer - SAS calculations

Metadata

Release files for Shapespyer 0.2.8

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

Built distribution (wheel)

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

Release files / shapespyer-0.2.8-py3-none-any.whl

Download URL shapespyer-0.2.8-py3-none-any.whl
Size 585.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ef4ef28c6d85c7b02bd7809e85fa786dbdd1f37b8e04b282da64082d105e633d
BLAKE2b-256 checksum
How to use checksums
03e2c0ba6306d4c94310edf148195f152416f91c00307ddfb74ea42ffe671121
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.24 {"installer":{"name":"uv","version":"0.12.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for Shapespyer 0.2.8

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.

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