package phylogenetics

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val from_file : string -> (t, [> parsing_error ]) Stdlib.result

from_file filename reads an alignment from a FASTA file with the given filename. It returns the alignment as a result, or a parsing error if any error occurs during parsing.

val from_file_exn : string -> t

Same as from_file but raises Failure if some error happens

val to_channel : t -> Stdlib.out_channel -> unit

to_channel alignment oc writes the alignment to the specified output channel oc in FASTA format.

val to_file : t -> string -> unit

to_file alignment filename writes the alignment to a FASTA file with the given filename.

OCaml

Innovation. Community. Security.