Morphs phased SNPs from WGS input into haplotype blocks
GetChromosomeBAFs(
chrom,
SNP_file,
haplotypeFile,
samplename,
outfile,
chr_names,
minCounts = 1
)The chromosome number for which this function is called.
File containing allele counts for each SNP location.
File containing impute phasing output.
Name of the sample (used in header of output file).
Full path to where the output will be written.
Names of all allowed chromosomes as a Vector.
An integer describing the minimum number of reads covering this position to be included in the output.