code: public static void setSecStructType(Group group, int dsspIndex) {
  		SecStrucType secStrucType = getSecStructTypeFromDsspIndex(dsspIndex);
  		SecStrucState secStrucState = new SecStrucState(group, "MMTF_ASSIGNED", secStrucType);
  		if(secStrucType!=null){
  			group.setProperty("secstruc", secStrucState);
  		}
  		else{
  		}
  	}
docs: Get the secondary structure as defined by DSSP.
  @param group the input group to be calculated
  @param the integer index of the group type.