public class HDF5AlleleDepthBuilder
extends AlleleDepthBuilder
Builder to store information on DNA read depths.
public static HDF5AlleleDepthBuilder getHDF5NucleotideInstance(ch.systemsx.cisd.hdf5.IHDF5Writer writer, int numSites)
AlleleDepthBuilder is created and depths are stored in a HDF5 file. setDepth methods are used to set the depths. Finish the building with build()
writer - numSites - public static AlleleDepth getExistingHDF5Instance(ch.systemsx.cisd.hdf5.IHDF5Reader reader)
AlleleDepth is returned for an immutable HDF5 file
reader - public HDF5AlleleDepthBuilder addTaxon(Taxon taxon, kotlin.Array[] depths)
Add taxon and set values for all sites and alleles for that taxon. First dimension of depths is number of alleles (6 for Nucleotide) and second dimension is sites.
taxon - taxondepths - depth valuespublic HDF5AlleleDepthBuilder addTaxon(Taxon taxon, kotlin.Array[] depths)
Add taxon and set values for all sites and alleles for that taxon. First dimension of depths is number of alleles (6 for Nucleotide) and second dimension is sites.
taxon - taxondepths - depth valuespublic AlleleDepth build()