Documentation of 'edu.rit.compbio.phyl.JukesCantorDistance' Java class
JukesCantorDistance
edu.rit.compbio.phyl

Class JukesCantorDistance

  • All Implemented Interfaces:
    Distance


    public class JukesCantorDistance
    extends java.lang.Object
    implements Distance
    Class JukesCantorDistance provides an object that computes the Jukes-Cantor distance between two DnaSequences. This is the corrected distance under the Jukes-Cantor model of DNA sequence evolution. The formula is
    DJC = −3/4 N ln (1 − 4/3 DH/N)
    where DJC is the Jukes-Cantor distance, DH is the Hamming distance (number of differing sites), and N is the number of sites. For further information, see:
    • T. Jukes and C. Cantor. Evolution of protein molecules. In M. Munro, editor. Mammalian Protein Metabolism, Volume III. Academic Press, 1969, pages 21-132.
    • J. Felsenstein. Inferring Phylogenies. Sinauer Associates, 2004, pages 156-158.
    • Constructor Summary

      Constructors 
      Constructor and Description
      JukesCantorDistance()
      Construct a new Jukes-Cantor distance object.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      double distance(DnaSequence seq1, DnaSequence seq2)
      Compute the distance between the two given DNA sequences.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JukesCantorDistance

        public JukesCantorDistance()
        Construct a new Jukes-Cantor distance object.
    • Method Detail

      • distance

        public double distance(DnaSequence seq1,
                               DnaSequence seq2)
        Compute the distance between the two given DNA sequences. It is assumed that the DNA sequences are the same length.
        Specified by:
        distance in interface Distance
        Parameters:
        seq1 - First DNA sequence.
        seq2 - Second DNA sequence.
        Returns:
        Distance.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.