Skip to contents

Virusbreakend file parsing and manipulation.

Super class

nemo::Tool -> Virusbreakend

Methods

Inherited methods


Method new()

Create a new Virusbreakend object.

Usage

Virusbreakend$new(path = NULL, files_tbl = NULL)

Arguments

path

(character(1))
Output directory of tool. If files_tbl is supplied, this is ignored.

files_tbl

(tibble(n))
Tibble of files from nemo::list_files_dir().


Method parse_vcfsummary()

Read vcf.summary.tsv file.

Usage

Virusbreakend$parse_vcfsummary(x)

Arguments

x

(character(1))
Path to file.

Examples

cls <- Virusbreakend
indir <- system.file("extdata/oa", package = "tidywigits")
odir <- tempdir()
id <- "virusbreakend_run1"
obj <- cls$new(indir)
obj$run(output_dir = odir, format = "parquet", input_id = id)
(lf <- list.files(odir, pattern = "virusbreakend_.*parquet", full.names = FALSE))
#> [1] "sample1_virusbreakend_vcfsummary.parquet"