Index Version 1

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

  • InterOp/IndexMetrics.bin
  • InterOp/IndexMetricsOut.bin

The file format for index metrics is as follows:

Header

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

    byte 0: version number

n-Records

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

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

illumina::interop::io::generic_layout<index_metric, 1> (Class that parses this information)

    2 bytes: index name length (indexNameLength) (uint16)
    indexNameLength bytes: index name
    4 bytes: index cluster count (uint32)
    2 bytes: sample name length (sampleNameLength) (uint16)
    sampleNameLength bytes: sample name
    2 bytes: project name length (projectNameLength) (uint16)
    projectNameLength bytes: project name