Question: Help To Separate Subsections Of Pdb File
gravatar for snlpatel001213
4.3 years ago by
snlpatel0012130 wrote:

i m working on making a programme, in that i need to separate ligand and receptor coordinate from pdb file via c programe , but i m unable to find a specific demarcation between coordinates of above two in file please help

pdb • 938 views
ADD COMMENTlink modified 4.3 years ago by wdiwdi380 • written 4.3 years ago by snlpatel0012130

grep ^ATOM *.pdb grep ^HETATM *.pdb Should do the job.

ADD REPLYlink written 4.3 years ago by Pappu1.8k
gravatar for wdiwdi
4.3 years ago by
wdiwdi380 wrote:

Well, if you are lucky, you just need to distinguish between ATOM and HETATM lines, and then throw out water, metal ions, etc. This however only works if you have a cleanly tagged PDB file - many are not, and you can code an open-ended amount of additional program intelligence in sorting out the role of an atom from its context if all are just ATOMs.

I wonder why you need to write a new program, though. There are plenty of PDB handler applications available which already do what you need.

ADD COMMENTlink written 4.3 years ago by wdiwdi380
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1828 users visited in the last hour