checkConfigFile: Pre-process a config file and checks that everything is in...

View source: R/helpers_warnings.R

checkConfigFileR Documentation

Pre-process a config file and checks that everything is in order.

Description

Its takes care of the following: No IDs are duplicated. Every combination of barcode, forward primer and reverse primer is unique. Each barcode has unique forward reads file and reverse read files. Checks that the read files exist with read access.

Usage

checkConfigFile(configTable, fastq_folder)

Arguments

configTable

(data.frame) Config file.

fastq_folder

(string) Path to fastq folder.

Value

(boolean) TRUE, If anything goes wrong stops and prints error.


valenlab/amplican documentation built on Jan. 28, 2024, 5:10 a.m.