Hi,
in case you haven't solved this yet, the following command prints the
residue number and secondary structure:
iterate n. CA, print resi + ':' + ss
Cheers,
Julian
On Fri, May 13, 2016 at 10:40 PM ZHANG Cheng <272699...@qq.com> wrote:
> Dear PyMol friends,
> I would like to export the second
Hi Zhang Cheng,
If you replace SELECTION with a proper selection statement (with quotes),
then something like:
open("ss.dat","w").writelines( ["Residue %d: %s\n"%(a.resi,a.ss) for a in
cmd.get_model(SELECTION+" and n. ca").atom] )
It will write the results to a file called ss.dat. Do mind all
pa
Dear PyMol friends,
I would like to export the secondary structure of individual residues from a
PDB. Can I ask if I can use PyMol to do that?
I would like something like this:
Residue 1: alpha-helix
Residue 2: beta-sheet
..
I think "http://webclu.bio.wzw.tum.de/cgi-bin/stride/stride