Hi Raja
You can use a command-line script like this one:
#!/bin/tcsh
sed -e "/ATOM/ s/'/*/g" -e "/ATOM/ s/O5T/O3T/" -e "/ATOM/ s/ADE/ DA/g"
-e "/ATOM/ s/CYT/ DC/g" -e "/ATOM/ s/GUA/ DG/g" -e "/ATOM/ s/THY/ DT/g"
<$1>refmacok_$1
cat refmacok_$1|grep ATOM|more>/dev/tty
Save the script in a new file (ex:DNArefmac.sh) and make sure it is
executable on your computer (in a terminal type chmod -x DNArefmac.sh).
I used it for rna
to convert from CNS format to refmac, and adapted it for dna.
Just put it in the same directory with your pdb then run it (ie: sh
DNArefmac.sh thing.pdb).
It will normally produce a new pdb suitable for refmac.called
refmacok_thing.pdb and also display it on the terminal.
Hope this will help.
Nicolas
Raja Dey wrote:
> Hi,
> The out pdb file from 'CNS' or from 'O' is not readable in
> 'CCP4'. I have dna and protein in my pdb file. Do you the best way to
> convert the pdb file I got from 'CNS" or from 'O' into 'CCP4' format?
> Especially CCP4 follows 1 letter code for dna whereas CNS and O follow
> 3 letter code. Looking forward to hearing from you....
> Thanks...
> Raja
>
> ------------------------------------------------------------------------
> BMR - a key player in weight issues. Know more.
> <http://in.rd.yahoo.com/tagline_glue_4/*http://in.search.yahoo.com/search?&fr=na_onnetwork_mail_taglines&ei=UTF-8&rd=r1&p=basal+metabolic+rate>
--
Nicolas Soler
Institut de Chimie des Substances Naturelles
91190 Gif-sur-Yvette
tel 33-1-69823764
fax 33-1-69823784
http://perso.nicodam.org/
|