package phylogenetics

  1. Overview
  2. Docs
include module type of Newick_ast
type node_info = {
  1. name : string option;
}
and branch_info = {
  1. length : float option;
  2. tags : tag list;
}
and tag = string * string
type t =
  1. | Tree of tree
  2. | Branch of branch
type error_desc = {
  1. offset : int;
  2. line : int;
  3. column : int;
  4. msg : string;
}
val string_of_error_desc : error_desc -> string
type error = [
  1. | `Newick_parser_error of error_desc
]
val mkerror : Stdlib.Lexing.lexbuf -> string -> [> `Newick_parser_error of error_desc ]
val string_of_error : [< `Newick_parser_error of error_desc ] -> string
val from_file : string -> (t, [> error ]) Stdlib.result
val from_file_exn : string -> t
val from_string : string -> (t, [> error ]) Stdlib.result
val from_string_exn : string -> t
val to_string : t -> string
val to_file : t -> string -> unit
val with_inner_tree : t -> f:(tree -> 'a) -> 'a
val map_inner_tree : t -> f:(tree -> tree) -> t
OCaml

Innovation. Community. Security.