GROMACS version: 2022
GROMACS modification: Yes
Hello,
I am trying to convert my itp to rtp as to add a new residue to my FF (charm36)
I converted my itp and added it to my rtp
; Name
[ AMA ]
[ atoms ]
; Atom type charge
O1 OG311 -0.553 1 ;
O2 OG2D1 -0.548 2 ;
N1 NG321 -1.077 3 ;
N2 NG2D1 -0.824 4 ;
N3 NG301 -0.137 5 ;
N4 NG321 -0.502 6 ;
C1 CG321 -0.281 7 ;
C2 CG321 -0.196 8 ;
C3 CG311 0.326 9 ;
C4 CG321 0.015 10 ;
C5 CG2O2 0.779 11 ;
C6 CG2N1 0.500 12 ;
C7 CG331 -0.207 13 ;
C8 CG331 -0.207 14 ;
H1 HGA2 0.090 15 ;
H2 HGA2 0.090 16 ;
H3 HGA2 0.090 17 ;
H4 HGA2 0.090 18 ;
H5 HGA1 0.090 19 ;
H6 HGA2 0.090 20 ;
H7 HGA2 0.090 21 ;
H8 HGPAM2 0.396 22 ;
H9 HGPAM2 0.396 23 ;
H10 HGA3 0.090 24 ;
H11 HGA3 0.090 25 ;
H12 HGA3 0.090 26 ;
H13 HGA3 0.090 27 ;
H14 HGA3 0.090 28 ;
H15 HGA3 0.090 29 ;
H16 HGPAM2 0.330 30 ;
H17 HGPAM2 0.330 31 ;
H18 HGP1 0.290 32 ;
then when I run pdb2gmx the pdb coordnates dont match the rtp
Program: gmx pdb2gmx, version 2022
Source file: src/gromacs/gmxpreprocess/pdb2gmx.cpp (line 873)
Fatal error:
Atom C in residue AMA 130 was not found in rtp entry AMA with 32 atoms
while sorting atoms.
can someone help me understand how to add a new residue
pdb
ATOM 833 O1 AMA A 133 -4.082 -0.118 -1.252 1.00 0.00 O
ATOM 834 O2 AMA A 133 -3.776 -0.825 0.814 1.00 0.00 O
ATOM 835 N1 AMA A 133 -2.586 1.978 0.882 1.00 0.00 N
ATOM 836 N2 AMA A 133 1.828 -1.071 0.125 1.00 0.00 N
ATOM 837 N3 AMA A 133 3.317 0.328 -0.198 1.00 0.00 N
ATOM 838 N4 AMA A 133 2.932 -1.150 1.185 1.00 0.00 N
ATOM 839 C1 AMA A 133 -0.991 0.166 0.328 1.00 0.00 C
ATOM 840 C2 AMA A 133 -0.503 -0.790 -0.788 1.00 0.00 C
ATOM 841 C3 AMA A 133 -2.305 0.885 -0.063 1.00 0.00 C
ATOM 842 C4 AMA A 133 0.581 -1.776 -0.300 1.00 0.00 C
ATOM 843 C5 AMA A 133 -3.476 -0.083 -0.098 1.00 0.00 C
ATOM 844 C6 AMA A 133 2.753 -0.486 0.318 1.00 0.00 C
ATOM 845 C7 AMA A 133 4.796 0.514 -0.140 1.00 0.00 C
ATOM 846 C8 AMA A 133 2.662 1.663 -0.302 1.00 0.00 C
ATOM 847 H1 AMA A 133 -0.218 0.910 0.528 1.00 0.00 H
ATOM 848 H2 AMA A 133 -1.147 -0.390 1.256 1.00 0.00 H
ATOM 849 H3 AMA A 133 -1.344 -1.383 -1.156 1.00 0.00 H
ATOM 850 H4 AMA A 133 -0.129 -0.210 -1.636 1.00 0.00 H
ATOM 851 H5 AMA A 133 -2.200 1.317 -1.064 1.00 0.00 H
ATOM 852 H6 AMA A 133 0.191 -2.356 0.542 1.00 0.00 H
ATOM 853 H7 AMA A 133 0.826 -2.468 -1.110 1.00 0.00 H
ATOM 854 H8 AMA A 133 -3.478 2.412 0.646 1.00 0.00 H
ATOM 855 H9 AMA A 133 -1.875 2.701 0.809 1.00 0.00 H
ATOM 856 H10 AMA A 133 5.131 1.193 -0.930 1.00 0.00 H
ATOM 857 H11 AMA A 133 5.307 -0.443 -0.277 1.00 0.00 H
ATOM 858 H12 AMA A 133 5.085 0.932 0.830 1.00 0.00 H
ATOM 859 H13 AMA A 133 2.631 2.148 0.680 1.00 0.00 H
ATOM 860 H14 AMA A 133 1.641 1.564 -0.681 1.00 0.00 H
ATOM 861 H15 AMA A 133 3.210 2.309 -0.995 1.00 0.00 H
ATOM 862 H16 AMA A 133 2.885 -1.504 2.139 1.00 0.00 H
ATOM 863 H17 AMA A 133 3.597 -1.743 0.690 1.00 0.00 H
ATOM 864 H18 AMA A 133 -4.815 -0.755 -1.160 1.00 0.00 H