Learn R Programming

PopGenome (version 2.7.5)

VCF_split_into_scaffolds: Split a VCF file into multiple scaffold-VCFs

Description

This function splits a VCF file into multiple VCFs including data for exactly one scaffold each.

Usage

VCF_split_into_scaffolds(VCF.file, output.folder)

Arguments

VCF.file

the basepath of the VCF file

output.folder

name of the folder where the VCFs should be stored

Value

TRUE

Details

The algorithm splits the VCF into multiple scaffold based VCFs and stores the files in a given folder. This folder can be used as an input for readData(,format="VCF")

Examples

Run this code
# NOT RUN {
# VCF_split_into_scaffolds("VCFfile.vcf","scaffoldVCFs")
# test <- readData("scaffoldVCFs", format="VCF")
# }

Run the code above in your browser using DataLab