package biotk

  1. Overview
  2. Docs

General Feature Format

This is a module to handle the General Feature Format, a widely-used file format to represent transcriptome annotations. There are two versions of it currently in use, GFF2 (also known as GTF) and GFF3 (most often called GFF). They differ at the syntax level in the encoding of attributes (see below) and GFF3 introduces other, more semantic, differences (see this summary).

module Record : sig ... end
val record : ?source:string -> ?feature:string -> ?score:float -> ?strand:[ `Plus | `Minus | `Not_stranded | `Unknown ] -> ?phase:int -> ?attributes:(string * string list) list -> string -> int -> int -> Record.t
type item = [
  1. | `Comment of string
  2. | `Record of Record.t
]
module type S = sig ... end
module GFF2 : S
module GFF3 : S
val angstrom_parser : [ `gff2 | `gff3 ] -> item list Angstrom.t
module Annotation : sig ... end
OCaml

Innovation. Community. Security.