package biotk

  1. Overview
  2. Docs

Parameters

module Score : Score
module Symbol : Symbol
module Profile : Profile with type score = Score.t and type symbol = Symbol.t

Signature

type expression
type automaton
val profile : Profile.t -> expression
val disjunction : expression list -> expression
val sequence : expression list -> expression
val gap : min_length:int -> max_length:int -> expression
val min_score : expression -> Score.t
val max_score : expression -> Score.t
val scores : expression -> Score.t array
val automaton : expression -> automaton
val scan : (char -> Symbol.t option) -> automaton -> string -> (int * Score.t * int) Stdlib.Seq.t
OCaml

Innovation. Community. Security.