Phasing Version 1

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

  • InterOp/EmpiricalPhasingMetrics.bin
  • InterOp/EmpiricalPhasingMetricsOut.bin

The file format for phasing metrics is as follows:

Header

illumina::interop::io::metric_format_stream (Class that parses this information)

    byte 0: version number (1)
    byte 1: record size (14)

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

    4 bytes: phasing weight (float32)
    4 bytes: prephasing weight (float32)