blosum- BLOSUM generator

Safe HaskellNone




removeChar :: Bool -> Maybe [AA] -> AAMap -> AAMap Source #

Filter gaps out of the map. If no gaps are wanted, remove the entire position

getClusterFrequencyMap :: Seq FastaSequence -> ClusterFrequencyMap Source #

Get the frequencies of amino acid pairs for each position in a cluster

getBlockMap :: Bool -> Maybe [AA] -> [ClusterFrequencyMap] -> BlockMap Source #

Get the frequency matrix from a list of frequency maps from clusters. We no longer care about positions after this.

joinBlockMaps :: [BlockMap] -> FrequencyMap Source #

Join together all frequency maps into a single frequency map.

getBlosum :: FrequencyMap -> Blosum Source #

Get the blosum matrix of each AA entry