Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data Similarity
- data Distance
- data AASubstMat t s a b = AASubstMat {}
- aaSubstMat :: forall k (t :: k) s k (a :: k) k (b :: k) k (t :: k) s k (a :: k) k (b :: k). Lens (AASubstMat (t :: k) s (a :: k) (b :: k)) (AASubstMat (t :: k) s (a :: k) (b :: k)) (Unboxed ((:.) ((:.) Z (Letter AA a)) (Letter AA b)) s) (Unboxed ((:.) ((:.) Z (Letter AA a)) (Letter AA b)) s)
- aaSubstLambda :: forall k (t :: k) s k (a :: k) k (b :: k) k (t :: k). Lens (AASubstMat (t :: k) s (a :: k) (b :: k)) (AASubstMat (t :: k) s (a :: k) (b :: k)) Double Double
- type SubstPAM = AASubstMat Similarity (DiscLogOdds (RTyId 1))
- type SubstBLOSUM = AASubstMat Distance (DiscLogOdds (RTyId 1))
- newtype ANuc3SubstMat t s a n = ANuc3SubstMat {}
- anuc3SubstMat :: forall k (t :: k) s k (a :: k) k (n :: k) k (t :: k) s k (a :: k) k (n :: k). Iso (ANuc3SubstMat (t :: k) s (a :: k) (n :: k)) (ANuc3SubstMat (t :: k) s (a :: k) (n :: k)) (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 k (t :: k) s k (a :: k) k (n :: k) k (t :: k) s k (a :: k) k (n :: k). Iso (ANuc2SubstMat (t :: k) s (a :: k) (n :: k)) (ANuc2SubstMat (t :: k) s (a :: k) (n :: k)) (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 k (t :: k) s k (a :: k) k (n :: k) k (t :: k) s k (a :: k) k (n :: k). Iso (ANuc1SubstMat (t :: k) s (a :: k) (n :: k)) (ANuc1SubstMat (t :: k) s (a :: k) (n :: k)) (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.
data AASubstMat t s a b Source #
Instances
aaSubstMat :: forall k (t :: k) s k (a :: k) k (b :: k) k (t :: k) s k (a :: k) k (b :: k). Lens (AASubstMat (t :: k) s (a :: k) (b :: k)) (AASubstMat (t :: k) s (a :: k) (b :: k)) (Unboxed ((:.) ((:.) Z (Letter AA a)) (Letter AA b)) s) (Unboxed ((:.) ((:.) Z (Letter AA a)) (Letter AA b)) s) Source #
aaSubstLambda :: forall k (t :: k) s k (a :: k) k (b :: k) k (t :: k). Lens (AASubstMat (t :: k) s (a :: k) (b :: k)) (AASubstMat (t :: k) s (a :: k) (b :: k)) Double Double Source #
type SubstPAM = AASubstMat Similarity (DiscLogOdds (RTyId 1)) Source #
PAM
matrices are similarity matrices.
type SubstBLOSUM = AASubstMat Distance (DiscLogOdds (RTyId 1)) Source #
BLOSUM
matrices are distance matrices.
newtype ANuc3SubstMat t s a n Source #
Substitution matrix from amino acids to nucleotide triplets.
Instances
anuc3SubstMat :: forall k (t :: k) s k (a :: k) k (n :: k) k (t :: k) s k (a :: k) k (n :: k). Iso (ANuc3SubstMat (t :: k) s (a :: k) (n :: k)) (ANuc3SubstMat (t :: k) s (a :: k) (n :: k)) (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 k (t :: k) s k (a :: k) k (n :: k) k (t :: k) s k (a :: k) k (n :: k). Iso (ANuc2SubstMat (t :: k) s (a :: k) (n :: k)) (ANuc2SubstMat (t :: k) s (a :: k) (n :: k)) (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.
Instances
anuc1SubstMat :: forall k (t :: k) s k (a :: k) k (n :: k) k (t :: k) s k (a :: k) k (n :: k). Iso (ANuc1SubstMat (t :: k) s (a :: k) (n :: k)) (ANuc1SubstMat (t :: k) s (a :: k) (n :: k)) (Unboxed ((:.) ((:.) Z (Letter AA a)) (Letter DNA n)) s) (Unboxed ((:.) ((:.) Z (Letter AA a)) (Letter DNA n)) s) Source #