AMBER Archive (2007)

Subject: Re: AMBER: hbond ptraj

From: Thomas Cheatham (tec3_at_utah.edu)
Date: Wed May 16 2007 - 22:57:46 CDT


> trajin DNA_drug.mdcrd 1 1000
> solvent
> solventdonor DRUG N1
> solventacceptor DRUG C2 H2
> solventacceptor DRUG N6 H61

What you want is donor/acceptor, not solventdonor/solventacceptor (those
are used within the hbond command to allow indistinguishability of
solvent).

donor DRUG N1
acceptor DRUG C2 H2

assuming the residue is named "DRUG" which is suspicious since it is a
4-letter name.

> hbond distance 5.0 angle 120.0
>
> However, it comes up with an error message like this:
>
> PTRAJ: solventdonor DRUG N1
> Searching for solvent by residue name DRUG
> Segmentation fault

What is happening is the "solventdonor" is being interpreted as the
"solvent" command (which is a way to redefine what is solvent for the
closest command, among others...).

So, I would do:

donor DRUG N1
acceptor DRUG C2 H2
acceptor DRUG N6 H61
hbond series out hbond.dat distance 5.0 angle 120.0 \
  solventdonor WAT O \
  solventacceptor WAT O H1 \
  solventacceptor WAT O H2

--tec3

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