package biocaml

  1. Overview
  2. Docs
The OCaml Bioinformatics Library

Install

Dune Dependency

Authors

Maintainers

Sources

biocaml-0.11.2.tbz
sha256=fae219e66db06f81f3fd7d9e44717ccf2d6d85701adb12004ab4ae6d3359dd2d
sha512=f6abd60dac2e02777be81ce3b5acdc0db23b3fa06731f5b2d0b32e6ecc9305fe64f407bbd95a3a9488b14d0a7ac7c41c73a7e18c329a8f18febfc8fd50eccbc6

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

Module Wig.TransformSource

Low-level Tfxm.t.

Sourceval string_to_item : ?filename:string -> ?tags:Tags.t -> unit -> (string, (item, [> Error.parsing ]) Core.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).

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

Create the transform that prints item values to strings.

Sourceval item_to_bed_graph : unit -> (item, (bed_graph_value, [> Error.to_bed_graph ]) Core.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.