Tools for automatic parametrization of bonded terms in coarse-grained molecular models, with respect to an all-atom trajectory
Project description
Swarm-CG
Swarm-CG is designed for the optimization of bonded terms in coarse-grained (CG) molecular models, with respect to a reference all-atom (AA) trajectory. The package is designed for usage with Gromacs and contains 3 routines for:
- Evaluating the bonded parametrization of a CG model
- Optimizing bonded terms of a CG model
- Monitoring an optimization procedure
Publication
Swarm-CG: Automatic Parametrization of Bonded Terms in Coarse-Grained Models of Simple to Complex Molecules via Fuzzy Self-Tuning Particle Swarm Optimization
C. Empereur-Mot, L. Pesce, D. Bochiocchio, C. Perego, G.M. Pavan, ChemRxiv
Installation & Usage
# pick one
pip install swarm-cg
pip3 install swarm-cg
# commands description
scg_evaluate -h
scg_optimize -h
scg_monitor -h
1. Evaluate bonded parametrization of a CG model
scg_evaluate -aa_tpr G1_DATA/aa_topol.tpr -aa_traj G1_DATA/aa_traj.xtc -cg_map G1_DATA/cg_map.ndx -cg_itp G1_DATA/cg_model.itp -cg_tpr G1_OPTI_mode1_200ns_valid/longer_run.tpr -cg_traj G1_OPTI_mode1_200ns_valid/longer_run.xtc
This is particularly useful to assess the need to run an optimization procedure (assuming one has an initial CG model). It is also suited to the assesssment of geometrical changes triggered by a modification of CG beads types (defining non-bonded parameters) or after manually editing bonded parameters in a CG model. This command also provides publication-quality figures to support the parametrization of your models.
2. Optimize bonded terms of a CG model
For optimizing bonded parameters of a model according to a reference AA trajectory, using the example data of PAMAM G1:
scg_optimize -in_dir G1_DATA/ -gmx gmx_2018.6_p
Which will use all default filenames of the software and is exactly identical to this command:
scg_optimize -aa_tpr G1_DATA/aa_topol.tpr -aa_traj G1_DATA/aa_traj.xtc -cg_map G1_DATA/cg_map.ndx -cg_itp G1_DATA/cg_model.itp -cg_gro G1_DATA/start_conf.gro -cg_top G1_DATA/system.top -cg_mdp_mini G1_DATA/mini.mdp -cg_mdp_equi G1_DATA/equi.mdp -cg_mdp_md G1_DATA/md.mdp -gmx gmx_2018.6_p
We recommend to first prepare files in a directory to be fed to SwarmCG using argument -in_dir.
3. Monitor an ongoing CG model optimization
Optimization procedures can be monitored at any point during execution by producing a graphical summary of bonded terms tried together with model score, radius of gyration (Rg) and solvent accessible surface area (SASA). At all times, the best available model is already accessible in the optimization producedure output folder.
scg_monitor -opti_dir MODEL_OPTI__STARTED_03-07-2020_10h_12m_15s -gmx gmx_2018.6_p
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 swarm-cg-1.0.2.tar.gz.
File metadata
- Download URL: swarm-cg-1.0.2.tar.gz
- Upload date:
- Size: 58.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.1.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.6.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d40818d9a27499d3057d900acd2746ed53921682011f05d0780c955f8921bcb8
|
|
| MD5 |
2090f5f22a56cf1b55e97c26ec33dc3b
|
|
| BLAKE2b-256 |
69eb920143eb66ee6140e4c70b69411995633b6eca127e2b7e27c531dc089eb5
|
File details
Details for the file swarm_cg-1.0.2-py3-none-any.whl.
File metadata
- Download URL: swarm_cg-1.0.2-py3-none-any.whl
- Upload date:
- Size: 61.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.1.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.6.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
304fd6085828234c9f95b02aee3539c95f45e80cfe5ca26f75e73e46d55118ff
|
|
| MD5 |
6405bfe4392280bd899c79c0757d6dfa
|
|
| BLAKE2b-256 |
dbe80d9ce12d9a83abfd80ec35d82b7dee789c587311328394698b48b5ee2923
|