FastqWriter
in package
implements
FastqWriterInterface
One record is four lines - "@identifier", the sequence, a bare "+", the quality - the sequence and the quality on a single line each : the wrapped layout some old tools wrote is ambiguous (a quality line may start with "@" or "+") and no current tool expects it. The "+" line does not repeat the identifier, which the format allows and nobody needs. The quality is Phred+33, as FastqRecord holds it. FastqReader reads back what this writes.
Class FastqWriter
Tags
Table of Contents
Interfaces
- FastqWriterInterface
- Interface FastqWriterInterface - the counterpart of FastqReaderInterface : writes FastqRecord instances as FASTQ text.
Methods
- writeMany() : string
- writeOne() : string
Methods
writeMany()
public
writeMany(array<string|int, FastqRecord> $aRecords) : string
Parameters
- $aRecords : array<string|int, FastqRecord>
Return values
stringwriteOne()
public
writeOne(FastqRecord $oRecord) : string
Parameters
- $oRecord : FastqRecord