[Chimera-users] Make a new pdb model from a part of pdb file

Elaine Meng meng at cgl.ucsf.edu
Sun Jan 3 09:26:36 PST 2021


Hi Jianhao,
Just delete the residues you don't want.  E.g. if  the residues are numbered 1-1000 and you don't want 501-1000, then command:

delete :501-1000.a

... of course, you can use any command-line atom specification, e.g. selecting that part and then

delete sel

<https://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/delete.html>
<https://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/frameatom_spec.html>

If you wanted it as a file, then just save a PDB file after you do the deletion.  E.g. menu File... Save PDB, or command "write":
<https://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/savemodel.html#pdb>
<https://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/write.html>

I hope this helps,
Elaine
-----
Elaine C. Meng, Ph.D.                       
UCSF Chimera(X) team
Department of Pharmaceutical Chemistry
University of California, San Francisco

> On Jan 2, 2021, at 7:36 PM, C.J. <biocjh at gmail.com> wrote:
> 
> Hi, I have a pdb with a A chain of 1000 amino acids. How can I make a new model with a part of A chain (i.e. 500 amino acids) using command line? Thank you!
> 
> Best,
> Jianhao




More information about the Chimera-users mailing list