Bio.Sequence.Mapping (bio_ex v0.1.1)
Mappings for various sequences.
Essentially, if there is a way to map from one encoding to another for a given sequence, it will live here. Including:
- DNA
- RNA
- Amino Acids
- etc...
Link to this section Summary
Functions
Exposes ambiguous DNA codes according to IUPAC
Mapping DNA nucleotides to their complements, where their complements are defined as a list of accepted nucleotides.
Mapping DNA nucleotides to their complements
Mapping nucleotides to their chemical names
Mapping RNA nucleotides to their complements
Link to this section Functions
ambiguous_dna()
Exposes ambiguous DNA codes according to IUPAC
dna_ambiguous()
Mapping DNA nucleotides to their complements, where their complements are defined as a list of accepted nucleotides.
example
Example
iex> Map.get(Bio.Sequence.Mapping.dna_ambiguous, "b")
["c", "g", "t"]
dna_complement()
Mapping DNA nucleotides to their complements
example
Example
iex> Map.get(Bio.Sequence.Mapping.dna_complement, "a")
"t"
nucleotide_to_name()
Mapping nucleotides to their chemical names
example
Example
iex> Map.get(Bio.Sequence.Mapping.nucleotide_to_name, "a")
"adenine"
rna_complement()
Mapping RNA nucleotides to their complements
example
Example
iex> Map.get(Bio.Sequence.Mapping.rna_complement, "u")
"a"