load_config: Load and validate configuration file

Description Usage Arguments Details Value Examples

Description

WGSAParsr configuration files are flexible tab-separated files. They must include a header with field names, and the following fields, in any order:

Usage

1
load_config(config_path)

Arguments

config_path

Path to the WGSAParsr configuration file to load and validate

Details

Additionally, the following fields may be included, and are processed during configuration file loading, but are not required:

Other columns (such as notes) may be included in the configuration file, but will not be validated or imported with this function. The configuration file may include comments beginning with #.

Value

a tibble that can be used for building field lists for parsing

Examples

1
2
3
4
5
6
## Not run: 
local_config <- load_config("config.tsv")

## End(Not run)

freeze_5_config <- load_config(wgsaparsr_example("fr_5_config.tsv"))

UW-GAC/wgsaparsr documentation built on Aug. 9, 2020, 5:50 a.m.