Extraction Version 2

This class provides an interface to reading the extraction metric file:

  • InterOp/ExtractionMetrics.bin
  • InterOp/ExtractionMetricsOut.bin

The file format for extraction metrics is as follows:

Header

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

    byte 0: version number (2)
    byte 1: record size (38)

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<extraction_metric, 2> (Class that parses this information)

    4 bytes: focus for channel A (float32)
    4 bytes: focus for channel C (float32)
    4 bytes: focus for channel G (float32)
    4 bytes: focus for channel T (float32)
    2 bytes: max intensity for channel A (uint16)
    2 bytes: max intensity for channel C (uint16)
    2 bytes: max intensity for channel G (uint16)
    2 bytes: max intensity for channel T (uint16)
    8 bytes: date time stamp (uint64)