The Biocaml Library

biocaml.org

All modules are named with a Biocaml_ prefix to avoid name clashes with other libraries. For convenience, every module Biocaml_foo is renamed as Foo under the main Biocaml module. Thus, do open Biocaml in your code to use the shorter names.

Files

Biocaml_bam
0-based, -1 if undefined
Biocaml_bar
Affymetrix's BAR files.
Biocaml_bed
BED data.
Biocaml_bpmap
Affymetrix's BPMAP files.
Biocaml_cel
Affymetrix's CEL files.
Biocaml_fasta
FASTA files.
Biocaml_fastq
FASTQ data.
Biocaml_gff
GFF files.
Biocaml_jaspar
Biocaml_lines
Lines of a file.
Biocaml_mzData
Read mzData files (mass spectrometry data format).
Biocaml_sam
SAM files.
Biocaml_sgr
Sequence Graph (SGR) files.
Biocaml_track
Track files in UCSC Genome Browser format.
Biocaml_wig
WIG data.
Biocaml_zip
Streaming interface to the Zlib library.

Tags classify file types.
Biocaml_tags

Internet

Biocaml_entrez
Entrez Utilities API

Data Structures

Biocaml_accu
A datastructure (based on Hashtbl) to accumulate values.
Biocaml_genomeMap
Indicator function on a genome
Biocaml_histogram
Histograms with polymorphic bin types.
Biocaml_interval_tree
Interval tree (data structure)
Biocaml_range
Ranges of contiguous integers (integer intervals).
Biocaml_rSet
Efficient integer sets when many elements expected to be large contiguous sequences of integers.
Biocaml_stream
This module is an enhancement of the stdlib's Stream module.
Biocaml_streamable
A signature for data structures that may be converted to and from a Stream.t.
Biocaml_table
Generic “tables” (like CSV, TSV, Bed …).

Analysis

Biocaml_math
Numeric mathematics.
Biocaml_pwm
Position-weight matrix
Biocaml_roc
Performance measurement for binary classification.

Strings

Biocaml_chrName
Chromosome names.
Biocaml_line
Single line of text.
Biocaml_strandName
Strand names.

Utilities

Biocaml_about
Version string of the library: "0.2.0"
Biocaml_msg
Consistent printing of errors, warnings, and bugs.
Biocaml_pos
File positions.
Biocaml_phred_score
PHRED quality scores.
Biocaml_romanNum
Roman numerals.
Biocaml_solexa_score
Solexa quality scores.
Biocaml_transform
Buffered transforms.

Incubator

Biocaml_sbml
SBML file parser.
Biocaml_seq
Nucleic acid sequences.

Internal

Biocaml_internal_pervasives
Internal "standard" library.