VCF_split_into_scaffolds: Split a VCF file into multiple scaffold-VCFs

Description Usage Arguments Details Value Examples

View source: R/VCF_split_into_scaffolds.R

Description

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

Usage

1
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

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")

Value

TRUE

Examples

1
2
# VCF_split_into_scaffolds("VCFfile.vcf","scaffoldVCFs")
# test <- readData("scaffoldVCFs", format="VCF")

pievos101/PopGenome documentation built on Nov. 25, 2018, 10:26 p.m.