View Source Bio.Restriction.Enzyme (bio_elixir v0.3.0)
This module houses all of the functions for accessing a struct
of restriction enzyme data, the %Bio.Restriction.Enzyme
.
All functions are the name of the enzyme in lowercase, where any -
characters have been made _
. By example, "BsmBI" would be bsmbi
or
"CviKI-1" would become cviki_1
.
Link to this section Summary
Functions
The primary struct for interacting with restriction enzymes
Get an enzyme struct by name, where name is either a binary or atom and case insensitive.
Link to this section Functions
The primary struct for interacting with restriction enzymes
Get an enzyme struct by name, where name is either a binary or atom and case insensitive.
Examples
iex>Bio.Restriction.Enzyme.get(:CviRI)
%Bio.Restriction.Enzyme{
blunt?: true,
cut_1: 2,
cut_2: 2,
cut_3: 0,
cut_4: 0,
name: "CviRI",
pattern: "tgca"
}
iex>Bio.Restriction.Enzyme.get("CviRI")
%Bio.Restriction.Enzyme{
blunt?: true,
cut_1: 2,
cut_2: 2,
cut_3: 0,
cut_4: 0,
name: "CviRI",
pattern: "tgca"
}