On Mon, 2004-06-14 at 21:04, Reece Hart wrote: > On Mon, 2004-06-14 at 19:20, Michael George Lerner wrote: > > > Have you seen cmd.read_pdbstr() and its companion cmd.get_pdbstr()?
I thought I'd post this example, just in case anyone else cares about this: delete all cmd.read_pdbstr("""HEADER CREATED BY CONVERTPROSPECT 27-JAN-02 2tnf \ REMARK 1 \ ATOM 1 N PRO A 9 1.895 67.213 -38.182 1.00 0.00 N \ ATOM 2 CA PRO A 9 1.703 68.680 -38.402 1.00 0.00 C \ ... ATOM 1153 C GLY A 157 6.927 59.108 -38.901 1.00 6.00 C \ ATOM 1154 O GLY A 157 6.700 59.292 -37.676 1.00 6.00 O \ TER 1155 GLY A 157 \ MASTER \ END \ ""","2tnfa") hide all show cartoon color grey ... By the way, one of the troubles I had was the PyMOL requires a .pml suffix for scripts. I was able to coerce this with the following http header: Content-type: application/x-pymol Content-disposition: attachment; filename=2383.pml Cheers, Reece -- Reece Hart, http://www.in-machina.com/~reece/, GPG:0x25EC91A0