SwiftPol

SwiftPol: A Python package for building and parameterizing in silico polymer systems - Published in JOSS (2025)

https://github.com/matta-research-group/swiftpol

Science Score: 93.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 6 DOI reference(s) in README and JOSS metadata
  • Academic publication links
    Links to: joss.theoj.org, zenodo.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
    Published in Journal of Open Source Software
Last synced: 6 months ago · JSON representation

Repository

Tools for polymer molecular dynamics simulations

Basic Info
Statistics
  • Stars: 8
  • Watchers: 1
  • Forks: 4
  • Open Issues: 1
  • Releases: 4
Created almost 2 years ago · Last pushed 6 months ago
Metadata Files
Readme License Code of conduct

README.md

title

status Zenodo PyTest Documentation License GitHub last commit GitHub stars

SwiftPol

Tools for building polydisperse polymer systems for molecular dynamics.

Installation

```bash

git clone https://github.com/matta-research-group/SwiftPol

cd SwiftPol

install requirements into new environment

conda env create --file Dev_tools/swiftpol.yml

conda activate swiftpol

pip install -e .

```

Contributing to SwiftPol

Features should be developed on branches. To create and switch to a branch, use the command

git checkout -b < new_branch_name >

To switch to an existing branch, use

git checkout < new_branch_name >

To submit your feature to be incorporated to the main branch, you should submit a Pull Request. The repository maintainers will review your pull request before accepting your changes.

Example Notebooks

Examples of using SwiftPol code to build different polymers can be found at Example Notebooks - Building a PLGA System - Building Chitin - Constructing Reaction SMARTS - Building Crosslinked PEGDA Networks

Dependencies

YAML environment file listing all required packages to use SwiftPol

To use SwiftPol please download the following packages: - RDkit - openff-interchange - openff-toolkit - openff-nagl - openeye-toolkits - openff-units==0.2.2 - dgl==2.0.0

optional dependencies: - espaloma charge

for quick dependency and swiftpol install using conda, run the following commands in bash bash conda create -n swiftpol python=3.10 rdkit openff-interchange openff-toolkit openff-nagl dgl=2.0.0 openeye-toolkits nglview openff-units=0.2.2 -c conda-forge -c dglteam -c openeye conda activate swiftpol git clone https://github.com/matta-research-group/SwiftPol cd SwiftPol pip install -e .

Installing With a Docker Container

To install SwiftPol as a docker container, install docker desktop and run the following command in the terminal

bash docker build --no-cache --platform=linux/amd64 -f Dockerfile -t my-image -t setup/swiftpol:latest .

to open a jupyter notebook run

bash docker run --rm -it -p 8888:8888 setup/swiftpol:latest

Reporting Issues and Seeking Support

If you encounter issues or erroneous behaviour when using SwiftPol, or would like support with using the software tools please raise an issue.

OpenEye License Guidance

Instructions for implementing an OpenEye License (not essential but speeds up conformation determination)

Citation for OpenEye OMEGA:

Hawkins, P. C. D.; Skillman, A. G.; Warren, G. L.; Ellingson, B. A.; Stahl, M. T. Conformer Generation with OMEGA: Algorithm and Validation Using High Quality Structures from the Protein Databank and Cambridge Structural Database. J. Chem. Inf. Model. 2010, 50 (4), 572–584. https://doi.org/10.1021/ci100031x.

We acknowledge the use of a free academic license provided by OpenEye, Candence Molecular Sciences, Santa Fe, NM https://www.eyesopen.com/

File Tree

. ├── CODE_OF_CONDUCT.md ├── Dev_tools │   └── swiftpol.yml ├── Example_Notebooks │   ├── Chitin.ipynb │   ├── Crosslinked_PEDGA.ipynb │   ├── PLGA_demo.ipynb │   └── rxn_smarts.ipynb ├── LICENSE ├── pyproject.toml ├── README.md ├── Repo │   └── logo.jpg ├── setup.py ├── swiftpol │   ├── build.py │   ├── demo.py │   ├── __init__.py │   ├── parameterize.py │   └── _version.py └── tests ├── build_tests.py ├── demo_tests.py └── parameterize_tests.py

Citing SwiftPol

If you have used SwiftPol please cite our paper

Code of Conduct

All repository contributors should follow our code of conduct

Acknowledgements

Project based on the Computational Molecular Science Python Cookiecutter version 1.1.

Copyright (c) 2024, Hannah Turney, Matta Research Group

Owner

  • Name: matta-research-group
  • Login: matta-research-group
  • Kind: organization

JOSS Publication

SwiftPol: A Python package for building and parameterizing in silico polymer systems
Published
June 27, 2025
Volume 10, Issue 110, Page 8053
Authors
Hannah N. Turney ORCID
Department of Chemistry, King’s College London Strand Campus, East Wing, 33-41 Surrey St, London, WC2R 2ND, United Kingdom
Micaela Matta ORCID
Department of Chemistry, King’s College London Strand Campus, East Wing, 33-41 Surrey St, London, WC2R 2ND, United Kingdom
Editor
Sarath Menon ORCID
Tags
polymer force field molecular dynamics polydispersity

GitHub Events

Total
  • Create event: 15
  • Release event: 2
  • Issues event: 31
  • Watch event: 5
  • Delete event: 11
  • Issue comment event: 46
  • Push event: 391
  • Pull request event: 26
  • Fork event: 3
Last Year
  • Create event: 15
  • Release event: 2
  • Issues event: 31
  • Watch event: 5
  • Delete event: 11
  • Issue comment event: 46
  • Push event: 392
  • Pull request event: 26
  • Fork event: 3

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 0
  • Total pull requests: 1
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 1
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • hmacdope (6)
  • ricalessandri (5)
  • hannaomi (3)
  • micaela-matta (2)
  • Wookash1 (1)
  • srmnitc (1)
  • jfaraudo (1)
  • HongsuW (1)
Pull Request Authors
  • hannaomi (15)
  • Wookash1 (2)
  • jaclark5 (1)
Top Labels
Issue Labels
Pull Request Labels