[gmx-users] Warning: atom is missing in residue

2014-02-14 Thread Ehsan Sadeghi
Hi gmx users,

When I run gromacs, there is an issue with the molecules with more than one 
residue. for example, for this pdb file:

ATOM  1  C1  VOD 0   8.441   1.158   0.141  1.00  0.00   C  
ATOM  2  H1  VOD 0   9.420   1.340   0.570  1.00  0.00   H  
ATOM  3  H2  VOD 0   8.580   0.090   0.040  1.00  0.00   H  
ATOM  4  H3  VOD 0   8.696   0.757  -0.666  1.00  0.00   H  
ATOM  5  C2  VOD 1   7.270   1.800   0.740  1.00  0.00   C  
ATOM  6  H4  VOD 1   6.440   1.830   0.030  1.00  0.00   H  
ATOM  7  H5  VOD 1   6.950   1.150   1.550  1.00  0.00   H  
ATOM  8  O   VOD 1   7.640   3.100   1.130  1.00  0.00   O  
ATOM  9  H6  VOD 1   8.300   3.360   0.500  1.00  0.00   H  

The corresponding residue in aminoacids.rtp is:

[ VOD ]
 [ atoms ]
   C1  CH2-0.18000 0
   H1H 0.06000 0
   H2H 0.06000 0
   H3H 0.06000 0
   C2  CH3 0.14500 1
   H4H 0.06000 1
   H5H 0.06000 1
O   OA-0.68300 1
   H6H 0.41800 1 
 [ bonds ]
   C1   H1gb_2
   C1   H2gb_2
   C1   H3gb_2
   C1   C2gb_27
   C2   H4gb_2
   C2   H5gb_2
   C2   O gb_18
O   H6gb_1
 [ angles ]
;  aiajak   gromos type
H1C1H2 ga_19 
H1C1H3 ga_19 
H1C1C2 ga_19 
H2C1H3 ga_19 
H2C1C2 ga_19
H3C1C2 ga_19 
C1C2H4 ga_19 
C1C2H5 ga_19 
C1C2 O ga_13 
H4C2H5 ga_19 
H4C2 O ga_30
H5C2 O ga_30 
C2 OH6 ga_30 

Problem: When I use pdb2gmx here are the warnings:

---

WARNING: atom C2 is missing in residue VOD 0 in the pdb file


WARNING: atom H4 is missing in residue VOD 0 in the pdb file
 


WARNING: atom H5 is missing in residue VOD 0 in the pdb file


WARNING: atom O is missing in residue VOD 0 in the pdb file


WARNING: atom H6 is missing in residue VOD 0 in the pdb file
---

When I combine these 2 residues and make it one, there is no warning. Does 
anybody know what is the problem?

Regards,
Ehsan
-- 
Gromacs Users mailing list

* Please search the archive at 
http://www.gromacs.org/Support/Mailing_Lists/GMX-Users_List before posting!

* Can't post? Read http://www.gromacs.org/Support/Mailing_Lists

* For (un)subscribe requests visit
https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-users or send a 
mail to gmx-users-requ...@gromacs.org.


Re: [gmx-users] OPLS force field parameters

2013-12-13 Thread Ehsan Sadeghi
Thanks Justin.

I already added the description in the ffbonded.itp, but nothing is shown in 
the topol file. I am not sure to put atom names (e.g. C9  C10) or atom type (C  
 C)? However, I tried both and non of them worked. I don't know what I am doing 
wrong and I appreciate if you could help me resolve my issue.

Kind regards,
Ehsan

- Original Message -
From: Justin Lemkul jalem...@vt.edu
To: Discussion list for GROMACS users gmx-us...@gromacs.org
Sent: Thursday, December 12, 2013 3:02:22 PM
Subject: Re: [gmx-users] OPLS force field parameters

On Thu, Dec 12, 2013 at 12:45 PM, Ehsan Sadeghi es...@sfu.ca wrote:

 Hi gmx users,

 I try to use OPLS force field for my simulation. I added the following
 residue to the aminoacids.rtp, but when I generate the topol.top file it
 does not show the the bond stretching, angle bond, dihedrals.


 [ NAF ]
[ atoms ]
  C1opls_966   0.3846 1
  C2opls_966   0.3846 1
  C3opls_966   0.3846 1
  C4opls_966   0.3846 1
  F17   opls_972  -0.1923 1
  F18   opls_972  -0.1923 1
  F19   opls_972  -0.1923 1
  F20   opls_972  -0.1923 1
  F21   opls_972  -0.1923 1
  F22   opls_972  -0.1923 1
  F23   opls_972  -0.1923 1
  F24   opls_972  -0.1923 1
  C5opls_966   0.3846 1
  C6opls_966   0.3846 1
  C7opls_966   0.3846 1
  C8opls_966   0.3846 1
  F25   opls_972  -0.1923 1
  F26   opls_972  -0.1923 1
  F27   opls_972  -0.1923 1
  F28   opls_972  -0.1923 1
  F29   opls_972  -0.1923 1
  F30   opls_972  -0.1923 1
  F31   opls_972  -0.1923 1
  F32   opls_972  -0.1923 1
  C9opls_966   0.3846 1
  C10   opls_966   0.3846 1
  C11   opls_966   0.3846 1
  C12   opls_966   0.3846 1
  F33   opls_972  -0.1923 1
  F34   opls_972  -0.1923 1
  F35   opls_972  -0.1923 1
  F36   opls_972  -0.1923 1
  F37   opls_972  -0.1923 1
  F38   opls_972  -0.1923 1
  F39   opls_972  -0.1923 1
  F40   opls_972  -0.1923 1
  C13   opls_966   0.3846 1
  C14   opls_966   0.3846 1
  C15   opls_967   0.3218 1
  C16   opls_966   0.3846 1
  F41   opls_972  -0.1923 1
  F42   opls_972  -0.1923 1
  F43   opls_972  -0.1923 1
  F44   opls_972  -0.1923 1
  F45   opls_973  -0.1641 1
  F46   opls_972  -0.1923 1
  F47   opls_972  -0.1923 1
  C48   opls_968   0.3228 1
  O49   opls_980  -0.2742 1
  C50   opls_969   0.401  1
  O51   opls_981  -0.2604 1
  C52   opls_967   0.3218 1
  C53   opls_971   0.3216 1
  F55   opls_974  -0.1637 1
  F56   opls_974  -0.1637 1
  F57   opls_975  -0.1932 1
  C58   opls_970   0.4947 1
  F59   opls_977  -0.1662 1
  F60   opls_977  -0.1662 1
  F61   opls_978  -0.3278 1
  F62   opls_978  -0.3278 1
  F66   opls_976  -0.1649 1
  F67   opls_976  -0.1649 1
  F68   opls_976  -0.1649 1
  S54   opls_979   1.4124 1
  O63   opls_982  -0.632  1
  O64   opls_982  -0.632  1
  O65   opls_982  -0.632  1


Note that assigning all atoms to a single charge group is inappropriate.
 Surely grompp will warn about this, but you should construct the groups
more carefully.

snip



 However, the parameters that we had in topol file are different:

 [ bonds ]
 ;  aiaj functc0c1c2c3
 1 2 1
 1 5 1

 [ angles ]
 ;  aiajak functc0c1c2
c3
 2 1 5 1
 2 1 6 1
 5 1 6 1
 

 How gromacs can find c0, c1,c2 and c3 from b0, kb, th0, and cth in the
 ffbonded.itp?


I answered this already:

https://mailman-1.sys.kth.se/pipermail/gromacs.org_gmx-users/2013-December/086118.html

You provide the parameters in ffbonded.itp, grompp goes and finds them.  If
something is missing, grompp fails.

-Justin

-- 

==

Justin A. Lemkul, Ph.D.
Postdoctoral Fellow

Department of Pharmaceutical Sciences
School of Pharmacy
Health Sciences Facility II, Room 601
University of Maryland, Baltimore
20 Penn St.
Baltimore, MD 21201

jalem...@outerbanks.umaryland.edu | (410) 706-7441


==
-- 
Gromacs Users mailing list

* Please search the archive at 
http://www.gromacs.org/Support/Mailing_Lists/GMX-Users_List before posting!

* Can't post? Read http://www.gromacs.org/Support/Mailing_Lists

* For (un)subscribe requests visit
https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-users or send a 
mail to gmx-users-requ...@gromacs.org.
-- 
Gromacs Users mailing list

* Please search