Error Version 3

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

  • InterOp/ErrorMetrics.bin
  • InterOp/ErrorMetricsOut.bin

The file format for error metrics is as follows:

Header

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

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

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

    4 bytes: error rate (float32)
    4 bytes: number of perfect reads (uint32)
    4 bytes: number of reads with 1 error (uint32)
    4 bytes: number of reads with 2 error (uint32)
    4 bytes: number of reads with 3 error (uint32)
    4 bytes: number of reads with 4 error (uint32)