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

    Function batchLines

    • Batch lines into groups for efficient processing

      Useful for processing genomic data that comes in multi-line records (like FASTA sequences or FASTQ records).

      Parameters

      • lines: AsyncIterable<string>

        Async iterable of lines

      • batchSize: number = 1000

        Number of lines per batch

      Returns AsyncIterable<string[]>

      Arrays of lines in batches