Module Biocaml.Fasta (.ml)

module Fasta: Biocaml_fasta

type char_seq = string 
type int_seq = int list 
type 'a item = {
   header :string;
   sequence :'a;
}
module Error: sig .. end
Errors.
exception Error of Error.t
val in_channel_to_char_seq_item_stream : ?buffer_size:int ->
?filename:string ->
?pedantic:bool ->
?sharp_comments:bool ->
?semicolon_comments:bool ->
Pervasives.in_channel -> char_seq item Stream.t
Returns a stream of char_seq items. Initial comments are discarded.
Raises Error in case of any errors.
val in_channel_to_int_seq_item_stream : ?buffer_size:int ->
?filename:string ->
?pedantic:bool ->
?sharp_comments:bool ->
?semicolon_comments:bool ->
Pervasives.in_channel -> int_seq item Stream.t
Returns a stream of int_seq items. Initial comments are discarded.
Raises Error in case of any errors.
module Result: sig .. end
module Transform: sig .. end
Low-level transforms.

S-expressions

val sexp_of_char_seq : char_seq -> Sexplib.Sexp.t
val char_seq_of_sexp : Sexplib.Sexp.t -> char_seq
val sexp_of_int_seq : int_seq -> Sexplib.Sexp.t
val int_seq_of_sexp : Sexplib.Sexp.t -> int_seq
val sexp_of_item : ('a -> Sexplib.Sexp.t) -> 'a item -> Sexplib.Sexp.t
val item_of_sexp : (Sexplib.Sexp.t -> 'a) -> Sexplib.Sexp.t -> 'a item