public kotlin.Array[] haplotype
public kotlin.Array[] hapDist
public int taxaNum
public int haplotypeNum
public java.lang.String[] taxaNames
public int tagLengthInLong
public kotlin.Array[] tagLength
public ReadsByTaxa()
public ReadsByTaxa(java.lang.String infile,
boolean binary)
public ReadsByTaxa(java.lang.String[] taxaNames,
Reads theDistinctReads)
public ReadsByTaxa(kotlin.Array[] reads,
kotlin.Array[] readDist,
java.lang.String[] namesForTaxa)
public int getTaxaCount()
public java.lang.String getTaxaName(int taxaIndex)
public java.lang.String[] getTaxaNames()
public int getIndexOfTaxaName(java.lang.String taxon)
public int getReadCountForTaxa(int readIndex,
int taxaIndex)
public void setReadCountForTaxa(int readIndex,
int taxaIndex,
int value)
public void addToReadCountForTaxa(int readIndex,
int taxaIndex,
int addValue)
public kotlin.Array[] getReadCountsForTaxa(int readIndex)
public int getTaxaCountForRead(int readIndex)
public kotlin.Array[] getRead(int i)
public int getReadIndex(kotlin.Array[] read)
Gets the first index of a read (the only one if a unique list). If the read is not found then it return a negative value indicating its insertion point.
read - as a compressed long arraypublic void readTBTFile(java.io.File inFile)
Converts a TBT Bit file to a ReadsByTaxa object (for compatibility only).
public void writeDistFile(java.io.File outFile,
boolean binary,
int minCount)
public void filterForListOfReads(java.io.File readsToKeepFile,
java.io.File outFile,
boolean binary)
protected void writeReadCountFile(java.io.File outFile,
boolean binary,
int minCount)
public int getReadCount(int index)
public kotlin.Array[] getReadIndexSet(kotlin.Array[] read)
public boolean areReadsUnique()
public int getReadTotal()