Genotype API Documentation - v0.1.0
    Preparing search index...

    Function detectEncodingWithConfidence

    • Detect quality encoding with confidence score and evidence

      Provides detailed analysis including confidence level and reasoning.

      Parameters

      • quality: string

        Quality string to analyze

      Returns DetectionResult

      Detection result with confidence and evidence

      const result = detectEncodingWithConfidence('IIIIIIIIII');
      console.log(result.encoding); // 'phred33'
      console.log(result.confidence); // 0.95
      console.log(result.evidence); // ['ASCII range: 73-73', ...]