readFastqFile | R Documentation |
Read a FASTQ file into a data frame, or write a data frame to a FASTQ file.
readFastq(filein, maxReads = NULL, verbose = TRUE)
writeFastq(x, fileout, compress = FALSE, verbose = TRUE)
filein |
full pathname to one existing, optionally compressed, FASTQ file. Compression and .gz file extension are automatically detected. |
fileout |
full pathname for newly created, optionally compressed, FASTQ file. Compression and .gz file extension are automatically coordinated. |
maxReads |
integer count of the maximum number of reads wanted, where |
compress |
logical, explicitly compress the created file and adjust filename accordingly. |
For readFastq
, a data frame, with 3 columns:
READ_ID |
the ReadID for each short read |
READ_SEQ |
the nucleotide sequence of each short read |
SCORE |
the cryptic ASCII Phred score string for each short read |
For writeFastq
, the name of the created file.
FASTQ data can get quite large. This routine can easily exceed available memory for
large maxReads
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.