Bio.Sequence (bio_ex v0.1.1)

This module houses the functions that act on sequences of things.

...which I will admit is a little bit broad. The scope of this module is perhaps too high.

Regardless, it doesn't have much going on at the moment.

Link to this section Summary

Functions

Generate the complement to a given segment of DNA. Does not perform any sort of validation of the DNA.

Generate the reverse complement to a given segment of DNA. Does not perform any sort of validation of the DNA.

Link to this section Functions

Link to this function

complement(dna)

Generate the complement to a given segment of DNA. Does not perform any sort of validation of the DNA.

example

Example

iex> Bio.Sequence.complement("gatacgt")
"ctatgca"
Link to this function

reverse_complement(dna)

Generate the reverse complement to a given segment of DNA. Does not perform any sort of validation of the DNA.

example

Example

iex> Bio.Sequence.reverse_complement("gatacgt")
"acgtatc"