Skip to contents

Flagstats file parsing and manipulation.

Super class

tidywigits::Tool -> Flagstats

Methods

Inherited methods


Method new()

Create a new Flagstats object.

Usage

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

Arguments

path

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

files_tbl

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


Method parse_flagstats()

Read flagstat file.

Usage

Flagstats$parse_flagstats(x)

Arguments

x

(character(1))
Path to file.


Method tidy_flagstats()

Tidy flagstat file.

Usage

Flagstats$tidy_flagstats(x)

Arguments

x

(character(1))
Path to file.


Method clone()

The objects of this class are cloneable with this method.

Usage

Flagstats$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

Examples

if (FALSE) { # \dontrun{
path <- here::here(
  "nogit/oa_v1"
)
f <- Flagstats$new(path)
} # }