[Chimera-users] [Junk released by User action] Re: Command line syntax questions
Divita Mathur, Contractor Code 6910, FN
divita.mathur.ctr.in at nrl.navy.mil
Thu May 31 08:42:32 PDT 2018
Hi Elaine
Thank you for your response. I am using the bond function to bind a molecule to DNA. But the bond function is not changing the residue number of the new molecule (which has a residue number 1), which is causing issues (as there is base #1 in the DNA). So far I am editing the pdb file as a text document like you said, but I was just wondering if there was another way.
Thank you, again! The Split function is working for me!
--
Divita Mathur
Postdoctoral Research Fellow
Center for Bio/Molecular Science and Engineering
Naval Research Laboratory
Washington DC 20375
(202) 767-0687 (Office)
divita.mathur.ctr.in at nrl.navy.mil
On 5/31/18, 8:48 AM, "Elaine Meng" <meng at cgl.ucsf.edu> wrote:
Hi Divita,
Answers interleaved below...
> On May 30, 2018, at 10:53 AM, Divita Mathur, Contractor Code 6910, FN <divita.mathur.ctr.in at nrl.navy.mil> wrote:
>
> Hi
> I am trying to write an alias and am curious if I can do the following using command line (in order to include them in the alias):
> • Separate chains that belong to the same model – can I change the model # on a single chain from an existing model? For example, I built a DNA duplex, selected one chain (sel :.A) and tried to change the model # (combine sel model 8 close true) but the new model also includes chain B.
Yes, as mentioned in the “combine” documentation,
<http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/combine.html>
“Although a narrower atom-spec may be supplied, the entire model(s) containing the specified atoms will be included in a new model”
Ways to do it:
(A) if you want multiple models with different parts of the same initial model, use “split”:
<http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/split.html>
It will make model #0 into model #0.1, #0.2, etc. Even though they have the same main number, you can specify or otherwise deal with them independently like other models. Then if you want to renumber and/or change chain ID, you can use commands “resrenumber” and “changechains”:
<http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/resrenumber.html>
<http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/changechains.html>
(B) simply delete the rest of the structure, e.g. command “delete ~sel” (delete NOT selected) or “delete ~:.a” (delete NOT chain A), command “delete solvent” etc. to get rid of what you don’t want. Then you can change chain ID and residue numbering as above.
> • Change residue number of a residue in a chain. I combined a small molecule to a DNA chain between residues 18 and 19, but after combining, the molecule’s residue number remains 1. I would like to change it to 19 or 18.
> • Following point #2, I also want to assign the new molecule the same chain ID – A. In the pdb file, the chain ID is blank for the newly inserted molecule.
Sorry, you can’t use “resrenumber” and “changechains” to assign some atoms the same residue number and chain ID as another residue that is already in the model. The easiest way by far is to text-edit the PDB file (using your favorite text-editor outside of Chimera), but of course that can’t be done in your alias.
It sounds like you wanted that molecule to be bonded to something in the DNA. There is a “bond” command, but you would need to specify the two atoms to bond.
<http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/bond.html>
>
> Thank you for your help. I also want to mention that the Chimera user discussion portal has been very helpful otherwise!
You’re welcome,
Elaine
-----
Elaine C. Meng, Ph.D.
UCSF Chimera(X) team
Department of Pharmaceutical Chemistry
University of California, San Francisco
More information about the Chimera-users
mailing list