Q-Metrics Version 4

This class provides an interface to reading the q-metric file:

  • InterOp/QMetrics.bin
  • InterOp/QMetricsOut.bin

The file format for q-metrics is as follows:

Header

illumina::interop::io::read_metrics (Function that parses this information)

    byte 0: version number (4)
    byte 1: record size (206)

n-Records

illumina::interop::io::layout::base_cycle_metric (Class that parses this information)

    2 bytes: lane number (uint16)
    2 bytes: tile number (uint16)
    2 bytes: cycle number (uint16)

illumina::interop::io::generic_layout<q_metric, 4> (Class that parses this information)

    200 bytes: q-score histogram (uint32_t*50)