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/Fastq/Illumina/index.html

Module Fastq.IlluminaSource

Illumina-specific operations

Sourcetype surface = [
  1. | `Top
  2. | `Bottom
]
Sourcetype tile = private {
  1. surface : surface;
  2. swath : int;
    (*

    1, 2, or 3

    *)
  3. number : int;
    (*

    1 - 99, but usually 1 - 8

    *)
}
Sourceval tile_of_string : string -> tile Core.Or_error.t

E.g. tile_of_string "2304" parses to

  • surface = Bottom
  • swath = 3
  • tile_num = 4
Sourceval tile_to_string : tile -> string

Inverse of tile_of_string.

Sourcetype sequence_id = private {
  1. instrument : string;
  2. run_number : int;
  3. flowcell_id : string;
  4. lane : int;
  5. tile : tile;
  6. x_pos : int;
  7. y_pos : int;
  8. read : int;
  9. is_filtered : bool;
  10. control_number : int;
  11. index : string;
}

Content of name lines as generated by Casava versions >= 1.8.

Sourceval sequence_id_of_string : string -> sequence_id Core.Or_error.t

Parse a name string to a structured Illumina sequence_id. It is assumed that the given string is from an item's name field, i.e. that it doesn't contain a leading @ char.

OCaml

Innovation. Community. Security.