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

    Function detectEncodingStatistical

    • Statistical quality encoding detection across multiple sequences

      Analyzes up to 10,000 sequences to determine encoding with high confidence. Best for ambiguous cases where single-sequence detection is uncertain.

      Parameters

      • sequences: AsyncIterable<{ quality?: string }>

        Async iterable of sequences with quality strings

      Returns Promise<DetectionResult>

      Detection result with statistical confidence

      const result = await detectEncodingStatistical(sequences);
      console.log(`Detected ${result.encoding} with ${result.confidence} confidence`);