<div dir="ltr">Thank you! It works for me.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Elaine Meng <<a href="mailto:meng@cgl.ucsf.edu">meng@cgl.ucsf.edu</a>> 于2021年1月3日周日 上午9:26写道:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Jianhao,<br>
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:<br>
<br>
delete :501-1000.a<br>
<br>
... of course, you can use any command-line atom specification, e.g. selecting that part and then<br>
<br>
delete sel<br>
<br>
<<a href="https://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/delete.html" rel="noreferrer" target="_blank">https://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/delete.html</a>><br>
<<a href="https://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/frameatom_spec.html" rel="noreferrer" target="_blank">https://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/frameatom_spec.html</a>><br>
<br>
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":<br>
<<a href="https://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/savemodel.html#pdb" rel="noreferrer" target="_blank">https://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/savemodel.html#pdb</a>><br>
<<a href="https://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/write.html" rel="noreferrer" target="_blank">https://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/write.html</a>><br>
<br>
I hope this helps,<br>
Elaine<br>
-----<br>
Elaine C. Meng, Ph.D. <br>
UCSF Chimera(X) team<br>
Department of Pharmaceutical Chemistry<br>
University of California, San Francisco<br>
<br>
> On Jan 2, 2021, at 7:36 PM, C.J. <<a href="mailto:biocjh@gmail.com" target="_blank">biocjh@gmail.com</a>> wrote:<br>
> <br>
> 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!<br>
> <br>
> Best,<br>
> Jianhao<br>
<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div>Best regards!</div><div>C.J.</div></div></div></div>