Sebastien,

Yes, you can do with with a "p1m" file, which is like a "pml" file, but data can be 
included as well.  Also note that p1m files are intended for web publishing, so embedded Python is 
disallowed.  In p1m files, there is an "embed" command that enables this for PDB, MOL, MOL2, SDF, 
and XPLOR data.  It works like this:

embed tag, format
****REPLACE THIS LINE WITH YOUR DATA FILE****
embed end

load_embedded tag

where tag is some identifier of your choice.

Cheers,
Warren

Warren,
It is the format I sought for. E.g.:
        embed 1H1S, pdb
        HEADER    TRANSFERASE                             21-JUL-02   1H1S
        TITLE     STRUCTURE OF HUMAN THR160-PHOSPHO CDK2/CYCLIN A COMPLEXED
        ...
        CONECT 9002 9000
        MASTER      531    0    4   64   20    0    8    6 9701    4   82   88
        END
        embed end
        load_embedded 1H1S
        ...

I load structure and PyMOL instructions in one file.
Thanks

Hello,
Is there a way to get one file with pymol commands (pml script) and with the structure (PDB file) ?

I can get this with Rasmol and the ras script file.
Can I get the same kind of file with PyMOL ?

Thanks

--
Sébastien Moretti
http://www.igs.cnrs-mrs.fr/
CNRS - IGS
31 chemin Joseph Aiguier
13402 Marseille cedex

Reply via email to