Biocaml_unix.GffGFF files.
Versions 2 and 3 are supported. The only difference is the delimiter used for tag-value pairs in the attribute list: 3 uses an equal sign, and 2 uses a space. Version 3 also has additional requirements, e.g. the feature must be a sequence ontology term, but these are not checked.
More information:
type record = {seqname : string;source : string option;feature : string option;pos : int * int;score : float option;strand : [ `plus | `minus | `not_applicable | `unknown ];phase : int option;attributes : (string * string list) list;}The type of the GFF records/rows.
The items being output by the parser.
module Error : sig ... endThe errors of the Gff module.
Tags.tmodule Tags : sig ... endIn_channel.t Functionsexception Error of Error.tThe exception raised by the *_exn functions.
val in_channel_to_item_stream :
?buffer_size:int ->
?filename:string ->
?tags:Tags.t ->
Core_kernel.In_channel.t ->
(item, [> Error.parsing ]) Core_kernel.result Stream.tParse an input-channel into item values.
val in_channel_to_item_stream_exn :
?buffer_size:int ->
?tags:Tags.t ->
Core_kernel.In_channel.t ->
item Stream.tLike in_channel_to_item_stream but use exceptions for errors (raised within Stream.next).
To_string FunctionTfxm.tmodule Transform : sig ... endLower-level stream transformations.
val record_of_sexp : Sexplib.Sexp.t -> recordval sexp_of_record : record -> Sexplib.Sexp.tval item_of_sexp : Sexplib.Sexp.t -> itemval sexp_of_item : item -> Sexplib.Sexp.t