Extraction Version 3

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 (3)
    byte 1: record size ( 8 + channelCount*4 + channelCount*2 )

Extended Header

illumina::interop::io::generic_layout<extraction_metric, 3> (Class that parses this information)

    byte 2: channel count (channelCount)

n-Records

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

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

illumina::interop::io::generic_layout<extraction_metric, 3> (Class that parses this information)

    4 bytes * channel count: focus for each channel (float32)
    2 bytes * channel count: max intensity for each channel (uint16)