gbcg3: Graph-Based Coarse Graining in Python 3
gbcg3 is a Python package that automates the creation of coarse-grained models for molecular simulations from all-atom models. This package reimplements Graph-based coarse graining method in Python 3, providing an efficient tool for the modern computational chemistry community.
Features
-
Automated Generation of Coarse-grained Models: gbcg3 can generate coarse-grained models for molecular simulations from full atomistic models, streamlining the process and reducing the amount of manual work required.
-
Graph-based Coarse Graining: This package utilizes the Graph-based coarse graining method, offering a powerful technique to simplify molecular systems while preserving their essential features.
-
Compatibility with LAMMPS: You can use the LAMMPS trajectory and data files as inputs for this package. We plan to extend the range of compatible formats in future updates.
Installation
To install gbcg3, use pip:
pip install gbcg3
Usage
After you have installed the package, you can use it as follows:
from gbcg3 import AA2CG
# Create a CoarseGrain object with your LAMMPS data file
aa2cg = AA2CG(
traj=["atom.lammpstrj"],
data="sys.data",
niter=5,
min_level=[2, 2, 2, 3, 4],
max_level=[2, 3, 3, 3, 4],
output_dir="output",
log_filename=None,
names="lmps2type.map",
)
# Perform coarse graining
aa2cg.run()
This will create a coarse-grained model from your LAMMPS data file. Some examples are in example.
Contributing
We welcome any contributions! If you have suggestions for additional features, find bugs, or want to improve the package in any other way, feel free to open an issue or a pull request.
License
This project is licensed under the GNU General Public License v3.0. See the LICENSE file for details.
Metadata
Release files for gbcg3 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| gbcg3-0.1.0.tar.gz | 20.7 kB | Without provenance | Details for gbcg3-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| gbcg3-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for gbcg3-0.1.0-py3-none-any.whl |
Total release size: 44.8 kB
Release files / gbcg3-0.1.0.tar.gz
| Download URL | gbcg3-0.1.0.tar.gz |
|---|---|
| Size | 20.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
359e68ce4d8a7cfa38278386febdf09943027f38958b01927708dde22187a59f
|
|
BLAKE2b-256 checksum How to use checksums |
9b0b3afefc4b3fba2c42592b9b1a88a905146a1155fb48e3b4caa0925e9ca17c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.5.1 CPython/3.9.17 Linux/5.4.72-microsoft-standard-WSL2
|
Release files / gbcg3-0.1.0-py3-none-any.whl
| Download URL | gbcg3-0.1.0-py3-none-any.whl |
|---|---|
| Size | 24.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c5e4b9b4ba397ab811659b8eb8f6822cb69dba389e24764cbfebcfbd8bf01c5a
|
|
BLAKE2b-256 checksum How to use checksums |
945c9d682d26a29467757110979fbeb823c8e9db812b516ee5e72f1f0b8e496e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.5.1 CPython/3.9.17 Linux/5.4.72-microsoft-standard-WSL2
|
Security for gbcg3 0.1.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.
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.