A package to preprocess ligand files and generate topology files for GROMACS.
Project description
Topology Gernator
Toplogt gernator is updated version of ligand processor. This is a Python package designed to preprocess ligand files and generate necessary topology files for GROMACS simulations. This package supports ligand files in PDB and mol2 formats, and outputs the required .itp, .gro, and .prm files for small ligands.
Features
- Preprocess ligand files in PDB or mol2 format.
- Generate topology files (
.itp,.gro,.prm) for GROMACS.
Installation
You can install the Ligand Processor package using pip:
pip install topology_genrator
Usage
Preprocess Ligand File
To preprocess a ligand file, use the preprocess_ligand command. This command will take a ligand file in mol2 format and generate a preprocessed mol2 file.
preprocess_ligand <name_of_your_ligand.mol2>
Example:
preprocess_ligand lig.mol2
This command will generate a file lig_preprocessed.mol2.
Generate Topology Files
Once you have the preprocessed ligand file, you can generate the topology files for GROMACS using the generate_topology command:
generate_topology <name_preprocessed.mol2>
Example:
generate_topology lig_preprocessed.mol2
This command will generate the following files:
lig.gro: GROMACS coordinate file.
lig.itp: GROMACS topology file.
lig.prm: Parameter file with Lennard-Jones parameters.
Dependencies
parmed: This package is required to handle the ligand files. It can be installed via pip.
pip install parmed
Contributing
Contributions are welcome! Please feel free to submit a Pull Request on the GitHub repository
License
This project is licensed under the MIT License.
Contact
For any questions or feedback, please contact naeem.sbb@pu.edu.pk
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file topology_genrator-3.0.tar.gz.
File metadata
- Download URL: topology_genrator-3.0.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.8.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
95c688cea7fd6ba32c84d1de391807856eb6820fb9e68a6098ccb8c22d59a636
|
|
| MD5 |
32214897eda017a06e7eb6c734ed94e4
|
|
| BLAKE2b-256 |
bbff06a47dd2cee9594f6b8b8e3ed2047314385bd0c7ff3eb6a55f3075d4e570
|
File details
Details for the file topology_genrator-3.0-py3-none-any.whl.
File metadata
- Download URL: topology_genrator-3.0-py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.8.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
932127b9e0d6b0a9c8cc73a4d90a7fa5abed6f5e184f6b645e5302d5b9c7a829
|
|
| MD5 |
9fe18c4d97ca1b255e53a2f50ba4ea5b
|
|
| BLAKE2b-256 |
9c86120e115eac7e98054eff7a20a23d55c95d5a2c4667f89e436e5fdcc55a4d
|