Corrected Intensity Version 2

This class provides an interface to reading the corrected intensity metric file:

  • InterOp/CorrectedIntMetrics.bin
  • InterOp/CorrectedIntMetricsOut.bin

The file format for corrected intensity metrics is as follows:

Header

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

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

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

    2 bytes: average cycle intensity (uint16)
    2 bytes: average corrected intensity for channel A (uint16)
    2 bytes: average corrected intensity for channel C (uint16)
    2 bytes: average corrected intensity for channel G (uint16)
    2 bytes: average corrected intensity for channel T (uint16)
    2 bytes: average corrected int for called clusters for base A (uint16)
    2 bytes: average corrected int for called clusters for base C (uint16)
    2 bytes: average corrected int for called clusters for base G (uint16)
    2 bytes: average corrected int for called clusters for base T (uint16)
    4 bytes: number of base calls for No Call (uint32)
    4 bytes: number of base calls for base A (uint32)
    4 bytes: number of base calls for base C (uint32)
    4 bytes: number of base calls for base G (uint32)
    4 bytes: number of base calls for base T (uint32)
    4 bytes: signal to noise ratio (float32)