Package org.snpeff.nmer
Class NmerCountWc
- java.lang.Object
-
- org.snpeff.nmer.NmerCount
-
- org.snpeff.nmer.NmerCountWc
-
- All Implemented Interfaces:
java.io.Serializable
public class NmerCountWc extends NmerCount
Create a counter that can count Nmers as well as their WC complements That means that given an Nmer, the nmer and the Watson-Crick complement are counted the same. How is done: Given an nmer - Calculate WC complement: nmerWc = WC(nmer) - Count the minimum of both nmer.count( min(nmer, nmerWc) ) It works with other counters (NmerCountBit, NmerCountByte, NmerCountInt)- Author:
- pcingola
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NmerCountWc(int nmerSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
count(Nmer nmer)
Count an instance of this Nmer-
Methods inherited from class org.snpeff.nmer.NmerCount
avg, countLessThan, get, get, max, max, random, size, toString, toStringAll, toStringAll, total
-
-