read_fastq: Reads fastq file and puts into tibble

Description Usage Arguments Value Examples

View source: R/read_fastq.R

Description

Reads a fastq file and puts into a tibble with one row per fastq entry.

Usage

1

Arguments

file

The fastq file to read from. Requires extension of .fq.

Value

A tibble with 4 columns.
1) ID: The sequence from the first line minus the "@"
2) Bases: The bases from the second line
3) Qualities: The quality string from the fourth line
4) GC: The GC content of the bases

Examples

1
read_fastq(system.file("good.fq", package = "fastqR"))

nmajoraz/fastqR documentation built on Jan. 17, 2021, 1:19 a.m.