Tina,

        If you're willing to switch into Python, there is an
undocumented "read_pdbstr" function which can take a PDB file as a
string variable.  See modules/pymol/importing.py for the code.
Temporary files are unnecessary.

        However, I'm not sure that I completely understand your
question.

Cheers,
Warren

--
mailto:war...@delanoscientific.com
Warren L. DeLano, Ph.D.
Principal Scientist
DeLano Scientific LLC
Voice (650)-346-1154 
Fax   (650)-593-4020

> -----Original Message-----
> From: pymol-users-ad...@lists.sourceforge.net [mailto:pymol-users-
> ad...@lists.sourceforge.net] On Behalf Of Tina Li
> Sent: Tuesday, September 09, 2003 9:43 AM
> To: pymol-users@lists.sourceforge.net
> Subject: [PyMOL] alternative method for loading coordinates
> 
> Hello,
> 
> Is there an alternative loading PDB coordinates, other than "load
<file>"?
> Let's say after threading against a large database of protein
templates, I
> need one PyMOL script generated for each of the templates. I could as
well
> generate one PDB file for each to load, but it would be difficult to
> manage
> the few thousands of them. Is it possible to have the coordinates
included
> as
> part of the PyMOL script and say, "load this like how you load a PDB"
so
> that
> the later commands can work with whatever comes earlier in the file?
> 
> Thanks,
> 
> Tina
> 
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> PyMOL-users mailing list
> PyMOL-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pymol-users



Reply via email to