vcf2colony: Convert Raw VCF Data to COLONY Format

Description Usage Arguments Examples

View source: R/vcf2colony.R

Description

Convert tbl_df output from read_vcf() to a format that can be read in by COLONY software.

Usage

1
vcf2colony(filename, skip_lines = NULL, out_filename)

Arguments

filename

A character string of the data file path.

skip_lines

A numeric of the number of metadata lines to skip over in the VCF file. If left null, metadata lines are skipped over automatically by the count_metadata_lines function. The count_metadata_lines function requires reading in the entire file, so if you have a large file and know the number of metadata lines in that file, you can save some run time by entering the number of metadata lines in this argument.

out_filename

A character string of the resulting converted file path.

Examples

1
## Not run: vcf2colony(filename = "./inst/extdata/example.vcf", out_filename = "./example.txt")

dandewaters/VCF2Ploidy documentation built on Jan. 17, 2021, 2:12 p.m.