Class IlluminaFastqReader
java.lang.Object
org.biojava.nbio.sequencing.io.fastq.IlluminaFastqReader
- All Implemented Interfaces:
FastqReader
Reader for
FastqVariant.FASTQ_ILLUMINA
formatted sequences.- Since:
- 3.0.3
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected FastqVariant
Return the FASTQ sequence format variant for this reader.final void
parse
(Readable readable, ParseListener listener) Parse the specified readable.Read zero or more FASTQ formatted sequences from the specified file.read
(InputStream inputStream) Read zero or more FASTQ formatted sequences from the specified input stream.Read zero or more FASTQ formatted sequences from the specified url.final void
stream
(Readable readable, StreamListener listener) Stream the specified readable.
-
Constructor Details
-
IlluminaFastqReader
public IlluminaFastqReader()
-
-
Method Details
-
getVariant
Return the FASTQ sequence format variant for this reader.- Returns:
- the FASTQ sequence format variant for this reader
-
parse
Description copied from interface:FastqReader
Parse the specified readable.- Specified by:
parse
in interfaceFastqReader
- Parameters:
readable
- readable, must not be nulllistener
- low-level event based parser callback, must not be null- Throws:
IOException
- if an I/O error occurs
-
stream
Description copied from interface:FastqReader
Stream the specified readable.- Specified by:
stream
in interfaceFastqReader
- Parameters:
readable
- readable, must not be nulllistener
- event based reader callback, must not be null- Throws:
IOException
- if an I/O error occurs
-
read
Description copied from interface:FastqReader
Read zero or more FASTQ formatted sequences from the specified file.- Specified by:
read
in interfaceFastqReader
- Parameters:
file
- file to read from, must not be null- Returns:
- zero or more FASTQ formatted sequences read from the specified file
- Throws:
IOException
- if an I/O error occurs
-
read
Description copied from interface:FastqReader
Read zero or more FASTQ formatted sequences from the specified url.- Specified by:
read
in interfaceFastqReader
- Parameters:
url
- URL to read from, must not be null- Returns:
- zero or more FASTQ formatted sequences read from the specified url
- Throws:
IOException
- if an I/O error occurs
-
read
Description copied from interface:FastqReader
Read zero or more FASTQ formatted sequences from the specified input stream.- Specified by:
read
in interfaceFastqReader
- Parameters:
inputStream
- input stream to read from, must not be null- Returns:
- zero or more FASTQ formatted sequences read from the specified input stream
- Throws:
IOException
- if an I/O error occurs
-