[PyMOL] Add fragment

2015-05-20 Thread Benjamin Bobay
H ​i All, I was wondering if someone could point me to the correct notation for something. When making a peptide from the command line one could type: for aa in "GTHYRD":cmd._alt(string.lower(aa)) Let's say that I want to add a methane. The key code is CTRL+SHIFT+M I was wondering how to alter

Re: [PyMOL] Add fragment

2015-05-20 Thread Benjamin Bobay
little more info from the > editor.attach_fragment() docstring: > > def attach_fragment(selection,fragment,hydrogen,anchor,_self=cmd): > ''' > ARGUMENTS > > selection = str: must be "pk1" > > fragment = str: fragment name to lo

[PyMOL] DNA cartoon mode

2009-06-19 Thread Benjamin Bobay
All - Good morning. I was wondering if anybody could help me with rendering a A to B transition in DNA. When I render it in cartoon mode, the tube connecting the P-P on the DNA backbone is discontinuous (mainly at the transitions between A and B DNA). Any suggestions? Many thanks Ben --

[PyMOL] movie.roll in middle of movie

2009-09-16 Thread Benjamin Bobay
Good afternoon all - I think I have a simple question. I would like to have a series of "zooms" followed by a movie.roll and then zooming back to the start position. Here is what I have cmd.mset("1 x800") cmd.zoom("center","200") cmd.frame("1") cmd.mview("store") cmd.zoom("center","50") cmd.f