AMBER Archive (2006)

Subject: Re: AMBER: ptraj: calculating distances between atoms in charges residues

From: Thomas Cheatham (tec3_at_utah.edu)
Date: Fri May 26 2006 - 11:12:40 CDT


> I am trying to calculate the distance between the atoms in all charged
> residues in AMBER8, and I have read on the reflector site that it should be
> possible to calculate distances between heavy atoms in the hbond mode if the
> acceptor atoms are specified twise, but it don't work in my case. Do anyone
> have any idea why it dosen't work? see my script below.

There are two ways to calculate distances, explicitly with the distance
command and indirectly via the hbond command.

> # specify the electron pair DONOR
> donor mask :ASP_at_OD1
> donor mask :ASP_at_OD2
> donor mask :GLU_at_OE1
> donor mask :GLU_at_OE2
> #-- Acceptors from standard amino acids
> acceptor mask :ARG_at_NH1 :ARG_at_NH1
> acceptor mask :ARG_at_NH2 :ARG_at_NH2
> acceptor mask :ARG_at_NE :ARG_at_NE
> acceptor mask :LYS_at_NZ :LYS_at_NZ

As these selections are chosen, information should be printed. To see if
the selections are as you expect, set prnlev 3 prior to the selection and
check the list of selections to make sure they make sense.

> hbond distance 6.0 angle 0.0 out ion-contact.txt

This should work, however it doesn't produce much useful output. To get
more useful output, add the "series" keyword and see if this then provides
the information you needed...

hbond series h1 distance 6.0 angle -1.0 out ion-contact.txt

Note that the above will only investigate the salt bridges you specified
(not ion-contact); to add in ions (assuming the names are K+)

hbond series h1 distance 6.0 angle -1.0 out ion-contact.txt \
   solventdonor K+ K+ \
   solventacceptor K+ K+ K+

\-/ Thomas E. Cheatham, III (Assistant Professor) College of Pharmacy
-/- Departments of Med. Chem. and of Pharmaceutics and Pharm. Chem.
/-\ Adjunct Asst Prof of Bioeng.; Center for High Performance Computing
\-/ University of Utah, 30 S 2000 E, SH 201, Salt Lake City, UT 84112
-/-
/-\ tec3_at_utah.edu (801) 587-9652; FAX: (801) 585-9119
\-/ BPRP295A http://www.chpc.utah.edu/~cheatham

-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber_at_scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo_at_scripps.edu