Spec D2 AFScore
D2 computes the inner product of the kmer count vectors.

Extends AFScore
All Extended AFScore
Defined in <seqan/alignment_free.h>
Signature template <> struct AFScore<D2>;

Member Function Overview

Member Variable Overview

Detailed Description

To be used for alignment free comparison.

References

Lippert RA, et al. Distributional regimes for the number of k-word matches between two random sequences. Proc. Natl Acad. Sci. USA 2002.

See Also

Member Functions Detail

AFScore::AFScore(kmerSize, verbose);

Constructor

Parameters

verbose This option will report progress to standard output (bool</tt).
kmerSize Size of kmer (unsigned).

Data Races

Thread safety unknown!

See Also

Member Variables Detail

unsigned D2AFScore::kmerSize

Size of the kmers.

bool D2AFScore::verbose

true to enable verbose debug output.