code: public static SecStrucType getSecStructTypeFromDsspIndex(int dsspIndex) {
  		String dsspType = DsspType.dsspTypeFromInt(dsspIndex).getDsspType();
  		for(SecStrucType secStrucType : SecStrucType.values())
  		{
  			if(dsspType==secStrucType.name)
  			{
  				return secStrucType;
  			}
  		}
  		// Return a null entry.
  		return null;
  	}
docs: Set the DSSP type based on a numerical index.
  @param dsspIndex the integer index of the type to set
  @return the instance of the SecStrucType object holding this secondary
  structure type.