package biocaml

  1. Overview
  2. Docs
The OCaml Bioinformatics Library

Install

Dune Dependency

Authors

Maintainers

Sources

v0.10.1.tar.gz
md5=4cf944bcae5d36bf47b67f6bcb2455d7
sha512=0262b5768aefd7c080f664c46c88876fce9a658cc6a87358a77b7112c49ae3042e7ab542e76be5738fbaeda853149b308b48d4897960b5c7ae3b4da71d978bd8

doc/biocaml.unix/Biocaml_unix/Sgr/index.html

Module Biocaml_unix.Sgr

Sequence Graph (SGR) files.

type t
exception Bad of string
val of_channel : ?chr_map:(string -> string) -> ?increment_bp:int -> Core_kernel.In_channel.t -> t
val of_file : ?chr_map:(string -> string) -> ?increment_bp:int -> string -> t
val of_list : (string * int * float) list -> t
val of_chr_lists : (string * (int * float) list) list -> t
val to_channel : ?chr_map:(string -> string) -> ?increment_bp:int -> t -> Core_kernel.Out_channel.t -> unit
val to_file : ?chr_map:(string -> string) -> ?increment_bp:int -> t -> string -> unit

Items will be printed in ascending order by (chr,coord).

val to_list : t -> (string * int * float) list

Items will be returned in ascending order by (chr,coord).

val to_chr_lists : t -> (string * (int * float) list) list

Outer list will be in ascending order by chr, and inner lists will be in ascending order by coord.

OCaml

Innovation. Community. Security.