Skip to main content

No project description provided

Project description

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.

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

gbcg3-0.1.0.tar.gz (20.7 kB view details)

Uploaded Source

Built Distribution

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

gbcg3-0.1.0-py3-none-any.whl (24.1 kB view details)

Uploaded Python 3

File details

Details for the file gbcg3-0.1.0.tar.gz.

File metadata

  • Download URL: gbcg3-0.1.0.tar.gz
  • Upload date:
  • Size: 20.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.9.17 Linux/5.4.72-microsoft-standard-WSL2

File hashes

Hashes for gbcg3-0.1.0.tar.gz
Algorithm Hash digest
SHA256 359e68ce4d8a7cfa38278386febdf09943027f38958b01927708dde22187a59f
MD5 cf97aeb000f88f63c723f08c0e4a786b
BLAKE2b-256 9b0b3afefc4b3fba2c42592b9b1a88a905146a1155fb48e3b4caa0925e9ca17c

See more details on using hashes here.

File details

Details for the file gbcg3-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: gbcg3-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 24.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.9.17 Linux/5.4.72-microsoft-standard-WSL2

File hashes

Hashes for gbcg3-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c5e4b9b4ba397ab811659b8eb8f6822cb69dba389e24764cbfebcfbd8bf01c5a
MD5 d051df1c7511ebdff24d724f0c3faf89
BLAKE2b-256 945c9d682d26a29467757110979fbeb823c8e9db812b516ee5e72f1f0b8e496e

See more details on using hashes here.

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