Description Usage Arguments Details Value
Converting VCF files to plink format has never been easier. However, there are a few issues related to some intrinsic limitations of the plink format. The first is related to the fact that variants in a plink file are bi-allelic only, while variants in a VCF file can be multi-allelic. The second is related to an intrinsic limitation of plink which makes indel definitions ambiguous. Here is an example: is the following variant an insertion or a deletion compared to the GRCh37 reference?
1 2 | vcf_normalization(vcf.file, ref.file, output.file,
bcftools.exec = "bcftools", num.threads)
|
vcf.file |
[ |
ref.file |
[ |
output.file |
[ |
bcftools.exec |
[ |
num.threads |
[ |
20 31022441 A AG
There is no way to tell, as the plink format does not record this information.
Keeping this in mind, we are going to split mulit-allelic variants into bi-allelic ones, left-normalize indels, and assign unique idetifiers.
Captured system output as character
vector.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.