Bio.Sequence.Mapping (bio_ex v0.1.0)
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
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
Link to this function
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"]
Link to this function
dna_complement()
Mapping DNA nucleotides to their complements
example
Example
iex> Map.get(Bio.Sequence.Mapping.dna_complement, "a")
"t"
Link to this function
nucleotide_to_name()
Mapping nucleotides to their chemical names
example
Example
iex> Map.get(Bio.Sequence.Mapping.nucleotide_to_name, "a")
"adenine"
Link to this function
rna_complement()
Mapping RNA nucleotides to their complements
example
Example
iex> Map.get(Bio.Sequence.Mapping.rna_complement, "u")
"a"