This script creates Discovery Studio "groups" for each secondary structural element (Helix, Sheet, Coil ...) and prints the residue range of each. Selection thresholds can be set to customize the output using the Argument feature in DS 2.1.
The DS "groups" can easilly be used to set colors, define simulation constraints, etc.
Below is the output for 1crn using the default cutoffs:
Scan for aminoAcidHelix -- Must be 5 residues long or longer
Helix 1 is ILE7 -> ARG17
Helix 2 is GLU23 -> THR30
Number of Helixs found = 2
Scan for aminoAcidSheet -- Must be 5 residues long or longer
Number of Sheets found = 0
Scan for aminoAcidCoil -- Must be 5 residues long or longer
Coil 1 is ILE35 -> PRO41
Number of Coils found = 1
Scan for aminoAcidTurn -- Must be 3 residues long or longer
Turn 1 is LEU18 -> GLY20
Number of Turns found = 1