fastqValidator: parse a fastq file aiming to validate sequences

Description Usage Arguments Value Examples

View source: R/RcppExports.R

Description

fastqValidator will parse the specified fastq (or fastq.gz) file looking for fastq entry compliance. A boolean value of overall file compliance will be returned. Additional summary counts describing the reason for rejection are also made available

Usage

1

Arguments

fastq

A fastq format DNA/RNA sequence file

Value

logical defining if fastq provided is indeed valid fastq

Examples

1
2
3
4
5
fastq <- system.file("extdata", "example.fastq.gz", package = "nanopoRe")
fastqValidator(fastq)
badFastq <- system.file("extdata", "frankenFastq.fastq.gz",
    package = "nanopoRe")
fastqValidator(badFastq)

sagrudd/nanopoRe documentation built on June 7, 2020, 10:20 p.m.