generate.impute.input.snp6 | R Documentation |
The raw BAF and LogR data have been dumped into separate files. Now the data needs to be prepared to go into Impute2, which is essentially morphing it into the correct format. This function does that per chromosome and can therefore be run in parallel for each chromosome.
generate.impute.input.snp6(
infile.germlineBAF,
infile.tumourBAF,
outFileStart,
chrom,
chr_names,
problemLociFile,
snp6_reference_info_file,
imputeinfofile,
is.male,
heterozygousFilter = "none"
)
infile.germlineBAF |
Germline BAF file generated by |
infile.tumourBAF |
Tumour BAF file generated by |
outFileStart |
Prefix of the filenames where the Impute2 input will be written. These will be extended with the chromosome |
chrom |
Char with the chromosome for which an Impute2 file is produced |
chr_names |
A vector of chromosome names that can be considered. This vector can just contain the chromosome for which the Impute2 file is produced, but can contain all chromosomes. |
problemLociFile |
A string that points to a file with problematic loci that should be removed from the data |
snp6_reference_info_file |
String to the SNP6 reference info file that comes with Battenberg SNP6 |
imputeinfofile |
String to the impute 1000 genomes reference info file that comes with Battenberg |
is.male |
Boolean that is True if the donor is male, False when female |
heterozygousFilter |
BAF cutoff for calling homozygous SNPs |
dw9 jd
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.