public double expectedOccurences(String s)
  {
    double prob = 1.0;

    for (int i = 0; i < s.length(); i++)
    {
      switch (s.charAt(i))
      {
      case 'A':
        prob *= props[0];
        break;
      case 'T':
        prob *= props[1];
        break;
      case 'G':
        prob *= props[2];
        break;
      case 'C':
        prob *= props[3];
        break;
      default:
        break;
      }
    }

    return prob * (double) nucleoCount;
  }