Learn R Programming

HTSeqGenie (version 4.2.0)

findVariantFile: Get a vcf filename given a HTSeqGenie directory

Description

Get the filename of the variant file

Usage

findVariantFile(save_dir)

Arguments

dir_path
A character string containing a dir path

Value

A character vector containing an existing filename, stops if 0 or more than 1

Details

Depending on the variant caller used and the version of VariantAnotation used to create the file a file might have the ending vcf.gz, vcf.bgz. To function hides all this mess.