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

Module Biocaml_unix.MzData

Read mzData files (mass spectrometry data format).

Vectors of 64 bits floats.

Vectors of OCaml ints.

module Precursor : sig ... end
type spectrum = {
  1. id : int;
    (*

    index of the spectrum in the file (starting with 1).

    *)
  2. mslevel : int;
    (*

    1: MS, 2: MS/MS,...

    *)
  3. precursor : Precursor.t list;
    (*

    List of precursors to the spectrum currently being described.

    *)
  4. mz : vec;
    (*

    m/z

    *)
  5. int : vec;
    (*

    intensities

    *)
  6. sup : (string * vec) list;
    (*

    Supplemental (name, arrays), if any

    *)
}

Individual mass spectrum.

val of_file : string -> spectrum list

of_file fname returns the spectra contained in the file fname.

OCaml

Innovation. Community. Security.