Biocaml_base.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 : Base.string;source : Base.string Base.option;feature : Base.string Base.option;start_pos : Base.int;stop_pos : Base.int;score : Base.float Base.option;strand : [ `Plus | `Minus | `Not_stranded | `Unknown ];phase : Base.int Base.option;attributes : (Base.string * Base.string Base.list) Base.list;}The type of the GFF records/rows.
The items being output by the parser.
val record :
?source:Base.string ->
?feature:Base.string ->
?score:Base.float ->
?strand:[ `Plus | `Minus | `Not_stranded | `Unknown ] ->
?phase:Base.int ->
?attributes:(Base.string * Base.string Base.list) Base.list ->
Base.string ->
Base.int ->
Base.int ->
recordval gff3_item_of_line :
Line.t ->
(item, [> `Msg of Base.string ]) Base.Result.tval gtf_item_of_line : Line.t -> (item, [> `Msg of Base.string ]) Base.Result.t