pett at cgl.ucsf.edu
Mon Apr 26 09:47:29 PDT 2010
On Apr 26, 2010, at 3:36 AM, Elisabeth Ortega wrote:
> Dear all,
> I'm trying to place a fragment in certain position. I did this (on
> Python IDLE):
> from BuildStructure import placeFragment
> placeFragment( fragment, resName, model = 'scratch', position=None)
> Where fragment = benzene and resName = RING6 but I am not sure about
> that .
> Could you give me an example of placeFragment code?
This will place a benzene ring at the center of the view in a new
residue named "BZN" in a new model named "scatch":
from BuildStructure import placeFragment
from BuildStructure.Fragment import RING6, fragDict
Let me know if you have more questions. Though the placeFragment
function does have some documentation, the Fragment.py file doesn't.
Sorry about that.
UCSF Computer Graphics Lab
P.S. I cc'ed the chimera-dev mailing list on this since that list
deals more with programming questions.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Chimera-users