Class GuideTree<S extends Sequence<C>,​C extends Compound>

    • Constructor Detail

      • GuideTree

        public GuideTree​(List<S> sequences,
                         List<PairwiseSequenceScorer<S,​C>> scorers)
        Creates a guide tree for use during progressive multiple sequence alignment.
        Parameters:
        sequences - the List of Sequences to align
        scorers - list of sequence pair scorers, one for each pair of sequences given
    • Method Detail

      • getAllPairsScores

        public double[] getAllPairsScores()
        Returns a sequence pair score for all Sequence pairs in the given List.
        Returns:
        list of sequence pair scores
      • getDistanceMatrix

        public double[][] getDistanceMatrix()
        Returns the distance matrix used to construct this guide tree. The scores have been normalized.
        Returns:
        the distance matrix used to construct this guide tree
      • getScoreMatrix

        public double[][] getScoreMatrix()
        Returns the similarity matrix used to construct this guide tree. The scores have not been normalized.
        Returns:
        the similarity matrix used to construct this guide tree
      • getSequences

        public List<SgetSequences()
        Returns the Sequences which make up the leaves of this tree.
        Returns:
        the sequences which make up the leaves of this tree