public class GenotypeCallTableBuilder
Builder to construct a GenotypeCallTable. This builder is generally only used in complex situations, where the GenotypeTableBuilder does not suffice.
public static GenotypeCallTableBuilder getInstance(int numTaxa, int numSites)
Get Genotype Builder given number of taxa and sites. Performance optimized for site loop inside taxon loop. Default is unphased and NucleotideAlignmentConstants.NUCLEOTIDE_ALLELES encoding.
numTaxa - number of taxanumSites - number of sites.public static GenotypeCallTableBuilder getInstanceTranspose(int numTaxa, int numSites)
Get Genotype Builder given number of taxa and sites. Performance optimized for taxon loop inside site loop. Default is unphased and NucleotideAlignmentConstants.NUCLEOTIDE_ALLELES encoding.
numTaxa - number of taxanumSites - number of sites.public static GenotypeCallTableBuilder getUnphasedNucleotideGenotypeBuilder(int numTaxa, int numSites)
Get Genotype Builder given number of taxa and sites. Performance optimized for site loop inside taxon loop. Default is unphased and NucleotideAlignmentConstants.NUCLEOTIDE_ALLELES encoding.
numTaxa - number of taxanumSites - number of sites.public static Tuple<net.maizegenetics.dna.snp.genotypecall.GenotypeCallTable,net.maizegenetics.dna.snp.Translate> getFilteredInstance(GenotypeCallTable genotype, Translate translate)
public static GenotypeCallTableBuilder getInstanceCopy(GenotypeCallTable genotype)
public GenotypeCallTableBuilder setBase(int taxon, int site, byte value)
public GenotypeCallTableBuilder setBaseRangeForTaxon(int taxon, int startSite, kotlin.Array[] value)
public GenotypeCallTableBuilder setBases(java.lang.String[] data)
public GenotypeCallTableBuilder setBases(java.lang.String[] data)
public GenotypeCallTableBuilder isPhased(boolean isPhased)
public GenotypeCallTableBuilder alleleEncodings(java.lang.String[] alleleEncodings)
public int getTaxaCount()
public int getSiteCount()
public void reorderTaxa(kotlin.Array[] newIndices)
public void reorderPositions(kotlin.Array[] newIndices)
public GenotypeCallTable build()
public static GenotypeCallTable buildHDF5(java.lang.String filename)
public static GenotypeCallTable buildHDF5(ch.systemsx.cisd.hdf5.IHDF5Reader reader)