calc_adapter_content: Compute adapter content in reads. This function is only...

Description Usage Arguments Value Examples

View source: R/RcppExports.R

Description

Compute adapter content in reads. This function is only available for macOS/Linux.

Usage

1
calc_adapter_content(infile, adapters)

Arguments

infile

filepath to fastq sequence

adapters

filepath to adapters

Value

map object with adapter names as the key and the number of times the adapters appears in the reads as the value

Examples

1
2
3
4
5
if(.Platform$OS.type != "windows") {
adapter_file <- system.file("extdata", "adapters.txt", package = "qckitfastq")
infile <- system.file("extdata", "test.fq.gz", package = "qckitfastq")
content <- calc_adapter_content(infile, adapter_file)
}

qckitfastq documentation built on Nov. 8, 2020, 5:24 p.m.