Class 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 Detail

      • NmerCountWc

        public NmerCountWc​(int nmerSize)
    • Method Detail

      • count

        public void count​(Nmer nmer)
        Description copied from class: NmerCount
        Count an instance of this Nmer
        Overrides:
        count in class NmerCount