public class ProjectionGenotypeIO
Methods for reading and writing ProjectionGenotypes to files. ProjectionGenotypes have two parts - one is the Projection file that has the names of high density genotyped taxa and the recombination breakpoints for each of the low density taxa that point to the high density taxa.
public static GenotypeTable getInstance(java.lang.String paFile, java.lang.String baseHighDensityAlignmentFile)
Returns a genotypeTable based on a projection genotype file and high density genotype table
paFile - file name for projection filebaseHighDensityAlignmentFile - file name for high density filepublic static GenotypeTable getInstance(java.lang.String paFile, GenotypeTable baseHighDensityAlignment)
Returns a genotypeTable based on a projection genotype file and high density genotype table
paFile - file name for projection filebaseHighDensityAlignment - GenotypeTable of high density taxapublic static void writeToFile(java.lang.String outfile,
GenotypeTable pa)
Exports the ProjectionGenotypes to a file
outfile - the path and name of the projection filepa - GenotypeTable with a ProjectionGenotypeCallTable