FSharpBio


Nucleotides

Namespace: FSharpBio

Nested types and modules

TypeDescription
Nucleotide

Nucleotide Codes

ParsedNucleotideChar
ModuleDescription
Properties

Properties of a nucleatide like formula, name, symbole, but also Physicochemical features

Functions and values

Function or valueDescription
AmbiguousCodonMap
Signature: Map<(Nucleotide * Nucleotide * Nucleotide),AminoAcid>

Codon to AminoAcid

antiparallel nuc
Signature: nuc:Nucleotide -> Nucleotide

Create the antiparallel DNA or RNA strand. For example, the sequence "ATGC" is converted to "GCAT". "Antiparallel" combines the two functions "Complement" and "Inverse".

charToParsedNucleotideChar c
Signature: c:char -> ParsedNucleotideChar
CodonMap
Signature: Map<(Nucleotide * Nucleotide * Nucleotide),AminoAcid>

Codon to AminoAcid

complement nuc
Signature: nuc:Nucleotide -> Nucleotide

Create the complement DNA or RNA strand. For example, the sequence "ATGC" is converted to "TACG"

inverse nuc
Signature: nuc:Nucleotide -> Nucleotide

Create the inverse DNA or RNA strand. For example, the sequence "ATGC" is converted to "CGTA"

lookupBytes (n1, n2, n3)
Signature: (n1:Nucleotide * n2:Nucleotide * n3:Nucleotide) -> AminoAcid

Lookup an amino acid based on a triplet of nucleotides. U U U for instance will result in Phenylalanine. If the values cannot be found in the lookup table, false will be returned.

replaceTbyU nuc
Signature: nuc:Nucleotide -> Nucleotide

Replace thymidine (T) by uracil (U). For example, the sequence "ATUGC" is converted to "AUUGC".

replaceUbyT nuc
Signature: nuc:Nucleotide -> Nucleotide

Replace uracil (U) by thymidine (T). For example, the sequence "ATUGC" is converted to "ATTGC".

Fork me on GitHub