Description Usage Arguments Details Value
Prepare an input VCF for sequence generation
1 | spread_and_fix_indels(vcf_path)
|
vcf_path |
path to a vcf to be fixed |
This function takes an input vcf, reads it in, spreads any SNPs with alternate alleles across multiple rows, and fixes any indels that are improperly formatted. This means if REF and ALT are listed as "A" and "ATC" they will be replaced with "-" and "TC". If they're "A" and "T,C" this will be spread into two entries of "A" and "T" and "A" and "C".
The output is written to the same directory as the input named "*_fixed.vcf". This is ready to be fed into processVCF()
a data_frame of the fixed VCF
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.