public class TagCountMutable
extends TagCounts
Resizeable tags count container. Tags sequences are compressed in long, tags lengths are tracked, and read counts are stored. Has basic filtering methods. Read counts can be modified.
public TagCountMutable(int tagLengthInLong,
int maxSize)
public TagCountMutable(Tags origTagCount, int maxSize)
protected void initMatrices(int tagNum)
public int getCurrentSize()
public void addReadCount(kotlin.Array[] tag,
int length,
int count)
public void addReadCounts(TagCounts tagCountsToAdd)
This adds a series of TagCounts to the list, preserving the count that each read has. Designed to make it easy to combine TagCounts from multiple barcodes, lanes or flowcells.
tagCountsToAdd - public void addReadCounts(Tags tagsToAdd, int defaultCount)
public void collapseCounts()
public void removeRareTag(int minCutoff)
public int shrinkToCurrentRows()
public int compare(int index1,
int index2)