Skip to contents

Parses files.

Usage

parse_file(fpath, pname, schemas_all, delim = "\t", ...)

Arguments

fpath

(character(1))
File path.

pname

(character(1))
Parser name (e.g. "breakends" - see docs).

schemas_all

(tibble())
Tibble with name, version and schema list-col.

delim

(character(1))
File delimiter.

...

Passed on to readr::read_delim.

Examples

if (FALSE) { # \dontrun{
path <- here::here(
  "nogit/oa_v1/bamtools"
)
x <- Tool$new("bamtools", path)
schemas_all <- x$raw_schemas_all
pname <- "wgsmetrics"
fpath <- file.path(path, "L2500331.wgsmetrics")
parse_file(fpath, pname, schemas_all)
} # }