public class TagCounts
extends AbstractTags
Holds tags counts. Tags sequences are compressed in long, tags lengths are tracked, and read counts are stored. Has basic filtering methods. Read counts can be modified. This class is not resizable in terms of new tags - for growing tag count lists use TagCountMutable.java User: ed
public TagCounts()
public TagCounts(int tagLengthInLong,
int maxSize)
public TagCounts(java.lang.String inFile,
net.maizegenetics.dna.tag.TagsByTaxa.FilePacking binary)
public void readDistFile(java.lang.String infile,
net.maizegenetics.dna.tag.TagsByTaxa.FilePacking binary)
protected void initMatrices(int tagNum)
public void toFASTA(java.lang.String outfile)
Convert TagCounts to FASTA file for alignment using Blast
outfile - public void toFASTQ(java.lang.String infile,
java.lang.String outfile)
Reads in a binary tag count file line-by-line and constructs a FASTQ file for alignment.
public void readBinaryTagCountFile(java.io.File inFile)
public void writeTagCountFile(java.lang.String outFile,
net.maizegenetics.dna.tag.TagsByTaxa.FilePacking binary,
int minCount)
public int getReadCount(int index)
index - Array index of the read whose count this function should return.protected kotlin.Array[] tagsWCountsGreaterThanMin(int minCount)
public void setTag(kotlin.Array[] sequence,
byte length,
int count,
int index)
public void sort()
protected void printRows(int numRows)
protected void collapseCounts()
public int getSize()
public int getTotalCount()
public void swap(int index1,
int index2)
public int compare(int index1,
int index2)
public byte compare(kotlin.Array[] sequence1,
kotlin.Array[] sequence2)
public kotlin.Array[] getTagIndexSet(kotlin.Array[] read)
public boolean areTagsUnique()
public int getTagSizeInLong()
public int getTagLength(int index)
public int getTagCount()
I don't know why we have 4 or 5 methods with different names that do exactly the same thing. I'm just putting this here because it's defined in the abstract class and its absence is causing problems.
public kotlin.Array[] getTags()