code: public static Range trim(SequenceQuality quality, QualityTrimmerParameters parameters) {
          return trim(quality, parameters, new Range(0, quality.size()));
      }
docs: Trims the quality string by cutting off low quality nucleotides on both edges.
  
  The criteria of QualityTrimmer may not be fulfilled for the resulting range. This method detects
  beginning of the region with stably high quality, once the beginning of the region is detected the algorithm
  stops. Detected stop positions are "from" and "to" of the output range.
  
  @param quality    quality values
  @param parameters trimming parameters
  @return trimmed range