Thanks, Jason, it works. :)
Li
On Sun, Sep 12, 2010 at 5:40 PM, Jason Vertrees <
jas...@sc...> wrote:
> Hi Li,
>
> I created a small python script "testAlign.py" with the following 3
> lines as its content:
>
> cmd.fetch("1cll 1ggz", async=0)
> rmsd = cmd.align("1cll", "1ggz")[0]
> print "RSMD for aligning 1cll to 1ggz is: ", rmsd
>
>
> This fetches two PDBs, aligns them and reports their RMSD. Now, just
> run "pymol -cq testAlign.py" and you should see
>
> RSMD for aligning 1cll to 1ggz is: 3.85577607155
>
> as the last line of output.
>
> Cheers,
>
> -- Jason
>
>
> On Sun, Sep 12, 2010 at 6:09 PM, Li Xue <me....@gm...> wrote:
> > Hello all,
> >
> > Does someone happen to know how call the pymol commands (for example,
> > align) without opening Pymol GUI window?
> >
> > Thanks.
> >
> > --
> > Xue, Li
> > Bioinformatics and Computational Biology program
> > Computer Science
> > Iowa State University
> > Ames, IA 50010 - USA
> > Tel: 1-515-450-7183
> > Email: me....@gm...
> >
> >
> ------------------------------------------------------------------------------
> > Start uncovering the many advantages of virtual appliances
> > and start using them to simplify application deployment and
> > accelerate your shift to cloud computing
> > http://p.sf.net/sfu/novell-sfdev2dev
> >
> > _______________________________________________
> > PyMOL-users mailing list (PyM...@li...)
> > Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
> > Archives: http://www.mail-archive.com/pym...@li...
> >
>
>
>
> --
> Jason Vertrees, PhD
> PyMOL Product Manager
> Schrodinger, LLC
>
> (e) Jas...@sc...
> (o) +1 (603) 374-7120
>
--
Xue, Li
Bioinformatics and Computational Biology program
Computer Science
Iowa State University
Ames, IA 50010 - USA
Tel: 1-515-450-7183
Email: me....@gm...
|