module Phred_score: Biocaml_phred_scoreexception Error of string
type 
val of_ascii : ?offset:[ `offset33 | `offset64 ] -> char -> t optionof_ascii ~offset x returns the PHRED score encoded by ASCII
    character x.val of_ascii_exn : ?offset:[ `offset33 | `offset64 ] -> char -> tof_ascii but may raise
    Error _ if x does not represent a valid score.val to_ascii : ?offset:[ `offset33 | `offset64 ] -> t -> char optionto_ascii t encodes t as an ASCII character.val to_ascii_exn : ?offset:[ `offset33 | `offset64 ] -> t -> charto_ascii_exn t encodes t as an ASCII character.Error if t with the given offset cannot be encoded as
      a visible ASCII character (codes 33 - 126).val of_int_exn : int -> tof_int_exn x returns the PHRED score with the same value x, but
      assures that x is non-negative.Error if x is negative.val to_int : t -> intval of_probability : ?f:(float -> int) -> float -> t optionof_probability ~f x returns -10 * log_10(x), which is the
      definition of PHRED scores.
      PHRED scores are integral, and it is unclear what convention is
      used to convert the resulting float value to an integer. Thus,
      the optional f is provided to dictate this. The default is to
      round the computed score to the closest integer.
val of_probability_exn : ?f:(float -> int) -> float -> tof_probabilityError if x is not between 0.0 - 1.0.val to_probability : t -> floatto_probablity x converts x to a probablity score. Note this
      is not the inverse of of_probability due to the rounding done by
      the latter.val of_solexa_score : ?f:(float -> int) -> Biocaml_solexa_score.t -> tof_solexa_score x converts Solexa score x to a PHRED
      score.
      The conversion produces a float, and it is unclear what
      convention is used to convert the resulting float value to an
      integer. As in Biocaml_phred_score.of_probability, the optional f parameter is
      provided to dictate this.
val to_solexa_score : ?f:(float -> int) -> t -> Biocaml_solexa_score.tval t_of_sexp : Sexplib.Sexp.t -> tval sexp_of_t : t -> Sexplib.Sexp.tof_ascii ~offset x returns the PHRED score encoded by ASCII
    character x.of_ascii but may raise
    Error _ if x does not represent a valid score.to_ascii t encodes t as an ASCII character.to_ascii_exn t encodes t as an ASCII character.of_int_exn x returns the PHRED score with the same value x, but
      assures that x is non-negative.of_probability ~f x returns -10 * log_10(x), which is the
      definition of PHRED scores.
      PHRED scores are integral, and it is unclear what convention is
      used to convert the resulting float value to an integer. Thus,
      the optional f is provided to dictate this. The default is to
      round the computed score to the closest integer.
See of_probability
to_probablity x converts x to a probablity score. Note this
      is not the inverse of of_probability due to the rounding done by
      the latter.
of_solexa_score x converts Solexa score x to a PHRED
      score.
      The conversion produces a float, and it is unclear what
      convention is used to convert the resulting float value to an
      integer. As in Biocaml_phred_score.of_probability, the optional f parameter is
      provided to dictate this.
to_solexa_score t converts PHRED score t to a Solexa
      score.
      The conversion produces a float, and it is unclear what
      convention is used to convert the resulting float value to an
      integer. As in Biocaml_phred_score.of_probability, the optional f parameter is
      provided to dictate this.