Re: [PyMOL] export frames as pdb

2010-06-25 Thread Tsjerk Wassenaar
Hi Robert,

There's still the basic documentation on the commands, which in the
case of save goes (check the NOTES):

PyMOLhelp save

DESCRIPTION

save writes selected atoms to a file.  The file format is
autodetected if the extesion is .pdb, .pse, .mol, .mmod, or
.pkl

Note that if the file extension ends in .pse (PyMOL Session), the
complete PyMOL state is always saved to the file (the selection and
state parameters are thus ignored).

USAGE

save file [,(selection) [,state [,format]] ]

PYMOL API

cmd.save(file, selection, state, format)

NOTES

When saving a session file, then state has no effect.
When state = 0 (default), only the current state is written.
When state = -1, then a multi-state output file is written (PDB only).

SEE ALSO

load, get_model


By the way, you may want to update the name you use for the user list
in your address book (as in the cc.).

Cheers,

Tsjerk

On Wed, Jun 23, 2010 at 7:04 PM, R. Bryn Fenwick
robert.fenw...@irbbarcelona.org wrote:

 Hi,

 I have a pdb file that has some models in it. when I open this file
 they are read in as frames, however now I would like to write them out
 as frames in a model file. how can i do that?

 Many thanks,

 R. Bryn Fenwick


 --
 ThinkGeek and WIRED's GeekDad team up for the Ultimate
 GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
 lucky parental unit.  See the prize list and enter to win:
 http://p.sf.net/sfu/thinkgeek-promo
 ___
 PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
 Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
 Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net




-- 
Tsjerk A. Wassenaar, Ph.D.

post-doctoral researcher
Molecular Dynamics Group
Groningen Institute for Biomolecular Research and Biotechnology
University of Groningen
The Netherlands

--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
___
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net


[PyMOL] export frames as pdb

2010-06-24 Thread R. Bryn Fenwick

Hi,

I have a pdb file that has some models in it. when I open this file  
they are read in as frames, however now I would like to write them out  
as frames in a model file. how can i do that?

Many thanks,

R. Bryn Fenwick


--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
___
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net