Learn R Programming

genBaRcode (version 1.2.8)

qualityFiltering: Quality Filtering

Description

Excludes all sequences of a given fastq file below a certain quality value.

Usage

qualityFiltering(file_name, source_dir, min_score = 30)

Value

a ShortRead object.

Arguments

file_name

a character string containing the name of the source file.

source_dir

a character string containing the path to the source directory.

min_score

an integer value representing the minimal average phred score a read has to achieve in order to be accepted.

Examples

Run this code

if (FALSE) {
source_dir <- system.file("extdata", package = "genBaRcode")
qualityFiltering(file_name = "test_data.fastq.gz", source_dir,
results_dir = getwd(), min_score = 30)
}

Run the code above in your browser using DataLab