Image Version 3

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

  • InterOp/TileMetrics.bin
  • InterOp/TileMetricsOut.bin

The file format for tile metrics is as follows:

Header

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

    byte 0: version number (3)
    byte 1: record size (15)

Extended Header

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

    4 bytes: density (float)

n-Records

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

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

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

    1 byte: code (char)
    if code == 't'
        4 bytes: cluster count (float32)
        4 bytes: pf cluster count (float32)
    if code == 'r'
        4 bytes: read number (uint32)
        4 bytes: percent aligned (float32)