From: Warren D. <wa...@de...> - 2005-07-28 20:24:29
|
Yi, To stuff a bunch of identical object in one PDB file, you need to assign a unique segment ID to each one. For example: load $PYMOL_PATH/test/dat/1tii.pdb symexp s,1tii,1tii,5 names=3Dcmd.get_names() for a in range(len(names)): cmd.alter(names[a],"segi=3D"+str(a)) save multi.pdb Cheers, Warren -- Warren L. DeLano, Ph.D. =20 Principal Scientist . DeLano Scientific LLC =20 . 400 Oyster Point Blvd., Suite 213 =20 . South San Francisco, CA 94080 USA =20 . Biz:(650)-872-0942 Tech:(650)-872-0834 =20 . Fax:(650)-872-0273 Cell:(650)-346-1154 . mailto:wa...@de... =20 =20 > -----Original Message----- > From: pym...@li...=20 > [mailto:pym...@li...] On Behalf Of yi zhang > Sent: Sunday, July 24, 2005 8:43 PM > To: pym...@li... > Subject: [PyMOL] (no subject) >=20 > Hi, everyone, >=20 > I used symexp command in pymol to generate symmetry-related=20 > molecule, something like: >=20 > cmd.symexp('sym', 'obj', 'obj',10 ) >=20 > of course, I can manually save each symmetry-related molecule=20 > to *.pdb file by clicking save molecule button, but how can I=20 > write a script to save all of them or part of them? the=20 > symmetry-related objects are not appendable. >=20 > thanks! >=20 > yi >=20 > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection=20 > around http://mail.yahoo.com=20 >=20 >=20 > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. = http://ads.osdn.com/?ad_id=3D7477&alloc_id=3D16492&op=3Dclick > _______________________________________________ > PyMOL-users mailing list > PyM...@li... > https://lists.sourceforge.net/lists/listinfo/pymol-users >=20 >=20 >=20 |