Documentation

InvalidFastqRecordException extends InvalidArgumentException

Class InvalidFastqRecordException

Tags
author

Amélie DUVERNET aka Amelaye amelieonline@gmail.com

Table of Contents

Methods

emptyIdentifier()  : InvalidFastqRecordException
Builds the exception raised when a FASTQ record's identifier line ("@...") carries no read ID.
invalidQualitySymbol()  : InvalidFastqRecordException
Builds the exception raised when a quality symbol falls outside the printable ASCII range a Phred+33 (Sanger / Illumina 1.8+) encoding uses, "!" (Phred 0) through "~" (Phred 93).
mismatchedLength()  : InvalidFastqRecordException
Builds the exception raised when the quality string does not carry exactly one symbol per base, which breaks the one-to-one, per-position correspondence a FASTQ record requires.

Methods

invalidQualitySymbol()

Builds the exception raised when a quality symbol falls outside the printable ASCII range a Phred+33 (Sanger / Illumina 1.8+) encoding uses, "!" (Phred 0) through "~" (Phred 93).

public static invalidQualitySymbol(string $sSymbol, int $iPosition) : InvalidFastqRecordException
Parameters
$sSymbol : string
$iPosition : int

Zero-based position of the offending symbol

Return values
InvalidFastqRecordException

mismatchedLength()

Builds the exception raised when the quality string does not carry exactly one symbol per base, which breaks the one-to-one, per-position correspondence a FASTQ record requires.

public static mismatchedLength(int $iSequenceLength, int $iQualityLength) : InvalidFastqRecordException
Parameters
$iSequenceLength : int
$iQualityLength : int
Return values
InvalidFastqRecordException
On this page

Search results