package biocaml

  1. Overview
  2. Docs
The OCaml Bioinformatics Library

Install

Dune Dependency

Authors

Maintainers

Sources

v0.10.0.tar.gz
md5=497e3f2f7128a6ca347d66848da38a3d
sha512=4a76ebbafda3bc944afaff40d69791dfe153a0638ef5d7e6e1bc962b7f991d9545cd0af2d7930b39f8b31dbf067d0603cfa03d9b7a49396ab1ae452df47fd1f3

doc/biocaml.unix/Biocaml_unix/Wig/Transform/index.html

Module Wig.Transform

Low-level Tfxm.t.

val string_to_item : ?filename:string -> ?tags:Tags.t -> unit -> (string, (item, [> Error.parsing ]) Core_kernel.result) Tfxm.t

Create the parsing Tfxm.t. The parser is "best-effort" and stateless (i.e. a line containing "1000 42." will parsed successfully as a `variable_step_value (1000, 42.) even if no "variableStep" was line present before).

val item_to_string : ?tags:Tags.t -> unit -> (item, string) Tfxm.t

Create the transform that prints item values to strings.

val item_to_bed_graph : unit -> (item, (bed_graph_value, [> Error.to_bed_graph ]) Core_kernel.result) Tfxm.t

Create a transform which converts `variable_step_value _ and `fixed_step_value _ values to `bed_graph_value _ values, using the current state. The `bed_graph_value _ items stay untouched and `comment _ values are ignored.

OCaml

Innovation. Community. Security.