Tony, create a, resi
cmd.transform_selection("a", [[x,x,x,x],[x,x,x,x],[x,x,x,x],[x,x,x,x]], homogenous=1) Cheers, Warren -- DeLano Scientific LLC Subscriber Support Services mailto:del...@delsci.info > -----Original Message----- > From: pymol-users-boun...@lists.sourceforge.net > [mailto:pymol-users-boun...@lists.sourceforge.net] On Behalf > Of Toni Pizà > Sent: Thursday, January 31, 2008 9:45 AM > To: pymol-users@lists.sourceforge.net > Subject: [PyMOL] Apply a transformation matrix to a selection > > Hi people! > > I'm trying to apply a transformation matrix to a few atoms in > a representation. By now I'm using a python script that > modify the position vector directly in the pdb, and then load > the new pdb, but I think that should exist some other way to > apply the matrix direct with the pymol. > > Something like > > create a,resi 10 > apply_transformation_matrix a, > [[x,x,x,x],[x,x,x,x],[x,x,x,x],[x,x,x,x]] > > Or I'm just dreaming? > > Thanks! > > -- > "Two of the most famous products of Berkeley are LSD and > Unix. I don't think that this is a coincidence." > http://servomac.blogspot.com > > -------------------------------------------------------------- > ----------- > This SF.net email is sponsored by: Microsoft Defy all > challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > PyMOL-users mailing list > PyMOL-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/pymol-users