package phylogenetics

  1. Overview
  2. Docs
Algorithms and datastructures for phylogenetics

Install

Dune Dependency

Authors

Maintainers

Sources

phylogenetics-0.3.0.tbz
sha256=de867d7cc017a8e434dab43ef16f0f6495973892cd7b6a8446b18e79393704a8
sha512=0209538caf94be47eabcaa25399c54849bd4fa0fc79e0579acee27f46ef3b72aa50e17bdb48fed8e86674d4caee6c1c4c423833a2757db12e2a6cc28234510de

doc/phylogenetics/Phylogenetics/Newick/index.html

Module Phylogenetics.NewickSource

New Hampshire tree (a.k.a. newick) format parsing

include module type of Newick_ast
Sourcetype tag = string * string
Sourcetype t = {
  1. name : string option;
  2. tags : tag list;
  3. parent_branch : float option;
  4. children : t list;
}
Sourcetype error_desc = {
  1. offset : int;
  2. line : int;
  3. column : int;
  4. msg : string;
}
Sourceval string_of_error_desc : error_desc -> string
Sourcetype error = [
  1. | `Newick_parser_error of error_desc
]
Sourceval mkerror : Lexing.lexbuf -> string -> [> `Newick_parser_error of error_desc ]
Sourceval string_of_error : [< `Newick_parser_error of error_desc ] -> string
Sourceval from_file : string -> (t, [> error ]) result
Sourceval from_file_exn : string -> t
Sourceval from_string : string -> (t, [> error ]) result
Sourceval from_string_exn : string -> t
Sourceval of_tree : ?node_id:('a -> string option) -> ?node_tags:('a -> tag list) -> ?leaf_id:('b -> string option) -> ?leaf_tags:('b -> tag list) -> ?branch_length:('c -> float option) -> ?parent_branch:float -> ('a, 'b, 'c) Tree.t -> t
Sourceval to_string : t -> string
Sourceval to_file : t -> string -> unit
Sourcemodule Tree_repr : sig ... end
OCaml

Innovation. Community. Security.