Description Usage Arguments Details Value
Normalize and convert VCF files to PLINK binary files
1 2 3 | plink_normalize_vcf_conversion(vcf.file, ref.file, output.prefix, ...,
build = "b37", bcftools.exec = "bcftools", plink.exec = "plink2",
num.threads, memory)
|
vcf.file |
[ |
ref.file |
[ |
output.prefix |
[ |
... |
[ |
build |
[ |
bcftools.exec |
[ |
plink.exec |
[ |
num.threads |
[ |
memory |
[ |
Based on the best practices on http://apol1.blogspot.de/2014/11/best-practice-for-converting-vcf-files.html. The procedure will take the VCF file, strip the variant IDs, split multi-allelic sites into bi-allelic sites, assign names to make sure indels will not become ambiguous, and finally convert to PLINK format. See PLINK manual https://www.cog-genomics.org/plink/1.9/.
Captured system output as character
vector.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.