code: public static double getDistributionPosition(ProteinSequence sequence, ATTRIBUTE attribute, GROUPING group, DISTRIBUTION distribution) throws Exception{
  		return new ProfeatPropertiesImpl().getDistributionPosition(sequence, attribute, group, distribution);
  	}
docs: An adaptor method which computes and return the position with respect to the sequence where the given distribution of the grouping can be found.<br/>
  Example: "1111122222"<br/>
  For the above example,<br/>
  position of the GROUPING.GROUP1 && DISTRIBUTION.FIRST = 0/10 (because the first occurrence of '1' is at position 0)<br/>
  position of the GROUPING.GROUP1 && DISTRIBUTION.ALL = 4/10 (because all occurrences of '1' happens on and before position 4)<br/>
  
  @param sequence
  a protein sequence consisting of non-ambiguous characters only
  @param attribute
  one of the seven attributes (Hydrophobicity, Volume, Polarity, Polarizability, Charge, SecondaryStructure or SolventAccessibility)
  @param group
  one the three groups for the attribute
  @param distribution
  the distribution of the grouping
  
  @return
  the position with respect to the length of sequence where the given distribution of the grouping can be found.<br/>
  @throws Exception
  throws Exception if attribute or group are unknown