I have generated a .str file from .pdb file using CGenFF server. But whenever I try to convert the .str file to gromacs specific topology using:
python3 cgenff_charmm2gmx_py3_nx2.py JZ4 jz4_clean.mol2 jz4_clean.str charmm36-mar2019.ff
Folllowing error occurs :
This script has been tested with NetworkX 2.3, and 2.4 is buggy.
Please install version 2.3 for best performance:
pip uninstall networkx
pip install networkx==2.3
NOTE 1: Code tested with Python 3.5.2 and 3.7.3. Your version: 3.8.2 (default, Jul 16 2020, 14:00:26)
[GCC 9.3.0]
NOTE 2: Code tested with NetworkX 2.3. Your version: 2.5rc2.dev_20200825190836
NOTE 3: Please be sure to use the same version of CGenFF in your simulations that was used during parameter generation:
--Version of CGenFF detected in jz4_clean.str : 4.0
--Version of CGenFF detected in charmm36-mar2019.ff/forcefield.doc : 4.1
WARNING: CGenFF versions are not equivalent!
NOTE 4: To avoid duplicated parameters, do NOT select the 'Include parameters that are already in CGenFF' option when uploading a molecule into CGenFF.
Error in atomgroup.py: read_mol2_coor_only: no. of atoms in mol2 (32) and top (0) are unequal
Usually this means the specified residue name does not match between str and mol2 files.
Is there any way to do this conversion in some other software because gromacs is giving one error after other ?