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