Try using ptraj to write pdb files (trajout tmp.pdb pdb). That should work
(but note that file will be called tmp.pdb.1 if you read in one structure),
and if it does, you'll know that ptraj shouldn't have trouble doing
analysis either.
--Marc
On 19 December 2011 10:38, Jio M <jiomm.yahoo.com> wrote:
> Dear All;
>
>
> I am using prep file and created prmtop file and inpcrd. Job runs
> smoothly. Now when I wanted to save pdb using ambpdb the atom names in pdb
> are not printed correctly. My prep file has many atoms having four letters
> (like C218), which are obviously printed in prmtop file also. but while
> writing pdb file from prmtop file and restart file ambpdb gets confused.
> But TOP2MOL2 works fine.
>
> e.g. here are prmtop some lines:
>
> %FLAG ATOM_NAME
> %FORMAT(20a4)
>
> C218H18RH18SH18TC217H17RH17SC216H16RH16SC215H15RH15SC214H14RH14SC213H13RH13SC212
> H12RH12SC211H11RH11SC210H101C29 H91 C28 H8R H8S C27 H7R H7S C26 H6R H6S
> C25 H5R
> H5S C24 H4R H4S C23 H3R H3S C22 H2R H2S C21 O22 O21 C2 C1 O11 P O13
> O14 O12
>
> Actually names are C218 H18R H18S H18S and so on...
>
> but pdb (from ambpdb) write names as RH18 SH18, but top2mol2 is working OK.
>
> So I have following queries:
>
> 1) is this prmtop correct? and does this 4 letter name will give wrong
> results with ptraj for analysis??
>
> 2) if prmtop is correct please someone suggest how I can write correct
> atom name pdb??? or I should modify names in prep file itself by reducing 4
> letter/character atom name to 2 or 3 letters??
>
> thanks and regards;
> Jiom
> _______________________________________________
> AMBER mailing list
> AMBER.ambermd.org
> http://lists.ambermd.org/mailman/listinfo/amber
>
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Mon Dec 19 2011 - 03:00:03 PST