View source: R/preprocessing.R
mut_cn_phasing | R Documentation |
Run mutation to copy number phasing. This function requires the Linkage_pull.pl script in $PATH.
Note: This function should either be run separately per chromosome and then combined with concat_files
or on all chromsomes in one go, but then the _allHaplotypeInfo.txt Battenberg files need to be concatenated first.
mut_cn_phasing( loci_file, phased_file, hap_file, bam_file, bai_file, outfile, max_distance )
loci_file |
A list of loci |
phased_file |
The .BAFsegmented.txt output file from Battenberg |
hap_file |
Path to the _allHaplotypeInfo.txt Battenberg output file to be used |
bam_file |
Full path to the bam file |
bai_file |
Full path to the bai file |
outfile |
File to save the output |
max_distance |
The max distance of a mutation and SNP can be apart to be considered for phasing |
sd11, dw9
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.