decode_qualities: Decode FastQ quality strings into Phred scores

Description Usage Arguments Value Examples

View source: R/decode_qualities.R

Description

Decode FastQ quality strings into Phred scores

Usage

1
decode_qualities(qualities, offset = 33)

Arguments

qualities

a string scalar containing FastQ encoded quality scores

offset

the ASCII offset (33 or 64) of the encoded phred scores

Value

a vector of Phred scores

Examples

1
2
3
decode_qualities("???#;ABAAAH")

decode_qualities("WZZZVX[]", offset=64)

rafalkol/fastqR documentation built on Dec. 22, 2021, 12:01 p.m.