public class BuilderFromVCF
Create an alignment based on VCF format file (either .txt or compressed). Alleles are set as global reference. e.g. code
Alignment a=BuilderFromVCF.getBuilder(infileName).build(); TODO: Add filtering while reading, provide an option to define the alleles as reference and alternate
public static BuilderFromVCF getBuilder(java.lang.String infile)
Create a builder for loading a VCF file into memory
infile - name of the VCF file to be loadpublic static BuilderFromVCF getBuilder(java.lang.String infile, ProgressListener listener)
Create a builder for loading a VCF file into memory
infile - name of the VCF file to be loadlistener - Progress listener for GUIpublic BuilderFromVCF convertToHDF5(java.lang.String hdf5Outfile)
Create a HDF5 version of file from the VCF file. This is useful in many cases where VCF files are too large to load fully into memory.
hdf5Outfile - public BuilderFromVCF keepDepth()
public GenotypeTable buildAndSortInMemory()
public GenotypeTable build()