Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data Similarity
- data Distance
- newtype AASubstMat t s a = AASubstMat {}
- aaSubstMat :: forall t s a t s a. Iso (AASubstMat t s a) (AASubstMat t s a) (Unboxed ((:.) ((:.) Z (Letter AA a)) (Letter AA a)) s) (Unboxed ((:.) ((:.) Z (Letter AA a)) (Letter AA a)) s)
- type SubstPAM = AASubstMat Similarity (DiscLogOdds Unknown)
- type SubstBLOSUM = AASubstMat Distance (DiscLogOdds Unknown)
- newtype ANuc3SubstMat t s a n = ANuc3SubstMat {}
- anuc3SubstMat :: forall t s a n t s a n. Iso (ANuc3SubstMat t s a n) (ANuc3SubstMat t s a n) (Unboxed ((:.) ((:.) ((:.) ((:.) Z (Letter AA a)) (Letter DNA n)) (Letter DNA n)) (Letter DNA n)) s) (Unboxed ((:.) ((:.) ((:.) ((:.) Z (Letter AA a)) (Letter DNA n)) (Letter DNA n)) (Letter DNA n)) s)
- newtype ANuc2SubstMat t s a n = ANuc2SubstMat {}
- anuc2SubstMat :: forall t s a n t s a n. Iso (ANuc2SubstMat t s a n) (ANuc2SubstMat t s a n) (Unboxed ((:.) ((:.) ((:.) Z (Letter AA a)) (Letter DNA n)) (Letter DNA n)) s) (Unboxed ((:.) ((:.) ((:.) Z (Letter AA a)) (Letter DNA n)) (Letter DNA n)) s)
- newtype ANuc1SubstMat t s a n = ANuc1SubstMat {}
- anuc1SubstMat :: forall t s a n t s a n. Iso (ANuc1SubstMat t s a n) (ANuc1SubstMat t s a n) (Unboxed ((:.) ((:.) Z (Letter AA a)) (Letter DNA n)) s) (Unboxed ((:.) ((:.) Z (Letter AA a)) (Letter DNA n)) s)
- data GapCost t = GapCost {}
Documentation
data Similarity Source #
Denotes that we are dealing with a similarity score. Higher is more similar.
newtype AASubstMat t s a Source #
Instances
aaSubstMat :: forall t s a t s a. Iso (AASubstMat t s a) (AASubstMat t s a) (Unboxed ((:.) ((:.) Z (Letter AA a)) (Letter AA a)) s) (Unboxed ((:.) ((:.) Z (Letter AA a)) (Letter AA a)) s) Source #
type SubstPAM = AASubstMat Similarity (DiscLogOdds Unknown) Source #
PAM
matrices are similarity matrices.
type SubstBLOSUM = AASubstMat Distance (DiscLogOdds Unknown) Source #
BLOSUM
matrices are distance matrices.
newtype ANuc3SubstMat t s a n Source #
Substitution matrix from amino acids to nucleotide triplets.
Instances
anuc3SubstMat :: forall t s a n t s a n. Iso (ANuc3SubstMat t s a n) (ANuc3SubstMat t s a n) (Unboxed ((:.) ((:.) ((:.) ((:.) Z (Letter AA a)) (Letter DNA n)) (Letter DNA n)) (Letter DNA n)) s) (Unboxed ((:.) ((:.) ((:.) ((:.) Z (Letter AA a)) (Letter DNA n)) (Letter DNA n)) (Letter DNA n)) s) Source #
newtype ANuc2SubstMat t s a n Source #
Substitution matrix from amino acids to degenerate nucleotide 2-tuples. The third nucleotide letter is missing.
Instances
anuc2SubstMat :: forall t s a n t s a n. Iso (ANuc2SubstMat t s a n) (ANuc2SubstMat t s a n) (Unboxed ((:.) ((:.) ((:.) Z (Letter AA a)) (Letter DNA n)) (Letter DNA n)) s) (Unboxed ((:.) ((:.) ((:.) Z (Letter AA a)) (Letter DNA n)) (Letter DNA n)) s) Source #
newtype ANuc1SubstMat t s a n Source #
Substitution matrix from amino acids to degenerate nucleotide 1-tuples. Two out of three nucleotides in a triplet are missing.