|
From: Tsjerk W. <ts...@gm...> - 2010-07-07 10:54:00
|
Hi Prija,
You can do it with a bit of Python
ss = [ i.ss for i in cmd.get_model("n. ca").atom ]
print "Helix content: %5.2f%%" % (100.0*ss.count("H")/len(ss))
print "Sheet content: %5.2f%%" % (100.0*ss.count("S")/len(ss))
The first line gets a list of the secondary structure flags of the
selection "n. ca".
Hope it helps,
Tsjerk
On Wed, Jul 7, 2010 at 8:44 AM, Prija Ponnan <pri...@gm...> wrote:
> Hello
> Can we calculate percentage secondary structural element using Pymol or
> please suggest me some other program for this purpose
> Prija
>
> --
> Prija Ponnan
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> _______________________________________________
> PyMOL-users mailing list (PyM...@li...)
> Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
> Archives: http://www.mail-archive.com/pym...@li...
>
--
Tsjerk A. Wassenaar, Ph.D.
post-doctoral researcher
Molecular Dynamics Group
Groningen Institute for Biomolecular Research and Biotechnology
University of Groningen
The Netherlands
|