findVariantFile: Get a vcf filename given a HTSeqGenie directory

Description Usage Arguments Details Value Author(s)

View source: R/io.R

Description

Get the filename of the variant file

Usage

1
findVariantFile(save_dir)

Arguments

dir_path

A character string containing a dir path

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.

Value

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

Author(s)

Jens Reeder


HTSeqGenie documentation built on Nov. 8, 2020, 6:12 p.m.