read.fastq {LocaTT} | R Documentation |
Read FASTQ Files
Description
Reads FASTQ files. Does not support the reading of FASTQ files with sequences or quality scores wrapping multiple lines.
Usage
read.fastq(file)
Arguments
file |
A string specifying the path to a FASTQ file to read. |
Value
A data frame with fields for sequence names, sequences, comments, and quality scores.
See Also
write.fastq
for writing FASTQ files.
read.fasta
for reading FASTA files.
write.fasta
for writing FASTA files.
Examples
# Get path to example FASTQ file.
path_to_fastq_file<-system.file("extdata",
"example_query_sequences.fastq",
package="LocaTT",
mustWork=TRUE)
# Read the example FASTQ file.
read.fastq(file=path_to_fastq_file)
[Package LocaTT version 1.1.1 Index]