Module BC_DNA


module BC_DNA: sig  end
Deprecated. Use BC_NA module instead
Operations on DNA sequences

val complement_str : string -> string
return the DNA reverse complement
val complement_ambiguous_str : string -> string
return the DNA reverse complement for ambiguous DNA


DNA treating functions without strict types.



Here are functions that can treat DNA characters as integer numbers in this module. This modules assumes following char <-> integer conversions.

A or a <-> 0

T or t <-> 1

C or c <-> 2

G or g <-> 3

N or n <-> 4

val dna_to_int : char -> int
dna_to_int ch converts a DNA character into a correspoinding integer value.
val int_to_dna : int -> char
ind_to_dna ch converts a integer value into a correspoinding DNA character.