View source: R/reordering_functions.R
generate_reordering_for_vcf | R Documentation |
This function will produce two files that you can use in conjunction with PLINK to reorder your VCF according to chromosome assignments.
generate_reordering_for_vcf(vcf, scaffold_lengths, assignments, species, out)
vcf |
The name of the VCF file that you want to reorder. |
scaffold_lengths |
Draft genome scaffold lengths. |
assignments |
Name of the file containing the reordering information. |
species |
The abbreviation for the species assembly you ordered to. |
out |
Prefix of the files to write to. |
Nothing. Produces two files: out.exclude.txt and out.reordering.txt for use with PLINK and your original VCF file.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.