code: public static int getSecStructType(Group group) {
  		SecStrucState props = (SecStrucState) group.getProperty("secstruc");
  		if(props==null){
  			return DsspType.NULL_ENTRY.getDsspIndex();
  		}
  		return DsspType.dsspTypeFromString(props.getType().name).getDsspIndex();
  	}
docs: Get the secondary structure as defined by DSSP.
  @param group the input group to be calculated
  @return the integer index of the group type.