BamWriter.this

Creates new BAM writer outputting to file or stream. Automatically writes BAM magic number (4 bytes).

  1. this(contrib.undead.stream.Stream stream, int compression_level, std.parallelism.TaskPool task_pool, size_t buffer_size)
    class BamWriter
    this
    (,,
    std.parallelism.TaskPool task_pool = std.parallelism.taskPool
    ,
    size_t buffer_size = 0
    )
  2. this(string filename, int compression_level, std.parallelism.TaskPool task_pool)

Parameters

compression_level int

compression level, must be in range -1..9

task_pool std.parallelism.TaskPool

task pool to use for parallel compression

buffer_size size_t

size of BgzfOutputStream buffer

Meta