Skip to main content

Automated MD System Builder for Amorphous Network Polymers

Project description

htpolynet

High-Throughput Polymer Network Atomistic Simulations

htpolynet is a Python utility for generating atomistic models of cross-linked polymer networks together with appropriate topology and parameter files required for molecular dynamics simulations using Gromacs. It is intended as a fully automated system builder requiring as inputs only the molecular structures of any monomer species, a description of the polymerization chemistry, and a handful of options describing desired system size and composition. htpolynet uses the Generalized Amber Force Field for atom-typing and parameter generation.

Installation

From PyPI:

pip install htpolynet

From conda-forge:

conda install -c conda-forge htpolynet

From source:

git clone git@github.com:AbramsGroup/htpolynet.git
cd htpolynet
pip install -e .

Once installed, the user has access to the main htpolynet command.

IMPORTANT NOTES: The programs antechamber, parmchk2 and tleap from AmberTools must be in your path. These can be installed using the ambertools package from conda-forge or compiled from source. You also need Gromacs installed so gmx is in your path. The examples show how to build input monomer structures using OpenBabel, so to use them you need obabel in your path as well.

Docker

As an alternative to a local installation, a prebuilt container image is published at ghcr.io/abramsgroup/htpolynet. It bundles htpolynet together with Gromacs, AmberTools, and OpenBabel, so no additional dependencies are required on the host beyond Docker (and, optionally, the NVIDIA Container Toolkit for GPU runs).

Run htpolynet against a configuration file in the current directory:

docker run --rm -v $(pwd):/work ghcr.io/abramsgroup/htpolynet run config.yaml

With GPU support:

docker run --rm --gpus all -v $(pwd):/work ghcr.io/abramsgroup/htpolynet run config.yaml

A Docker Compose file is also provided in docker/compose.yml for a shorter invocation (docker compose run --rm htpolynet run config.yaml). See docs/source/user-guide/container-usage.rst for the full story, including Singularity/Apptainer use on HPC systems.

Documentation

Please consult documentation at abramsgroup.github.io/htpolynet.

Meta

Cameron F. Abrams – cfa22@drexel.edu

Distributed under the MIT license. See LICENSE for more information.

https://github.com/cameronabrams

https://github.com/AbramsGroup

Contributing

  1. Fork it (https://github.com/AbramsGroup/htolynet/fork)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

htpolynet-2.1.0.tar.gz (7.6 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

htpolynet-2.1.0-py3-none-any.whl (320.5 kB view details)

Uploaded Python 3

File details

Details for the file htpolynet-2.1.0.tar.gz.

File metadata

  • Download URL: htpolynet-2.1.0.tar.gz
  • Upload date:
  • Size: 7.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for htpolynet-2.1.0.tar.gz
Algorithm Hash digest
SHA256 a2a3ac6c4384f3683f5aacb08a40dd3c223a060ceb32dcf3d58155efa69b976a
MD5 ee43cb27d4c36d688910df7e054d992a
BLAKE2b-256 a1d9d6510346e9f1b51dc7c8f991e4303a56767d0e5b9a34bc6526f032fcffe8

See more details on using hashes here.

Provenance

The following attestation bundles were made for htpolynet-2.1.0.tar.gz:

Publisher: release.yaml on AbramsGroup/htpolynet

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file htpolynet-2.1.0-py3-none-any.whl.

File metadata

  • Download URL: htpolynet-2.1.0-py3-none-any.whl
  • Upload date:
  • Size: 320.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for htpolynet-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 61bf681efa12496f97b15b27e3177c8c7d8ddfa005230ecfe3228450512149d8
MD5 8d2cffb89794e04e30aa0ca2ef7c46f1
BLAKE2b-256 ce4b42451cf5bc3a7a65fd55a60a1243656fd68cbfb51016afa090ffaa665cb5

See more details on using hashes here.

Provenance

The following attestation bundles were made for htpolynet-2.1.0-py3-none-any.whl:

Publisher: release.yaml on AbramsGroup/htpolynet

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page