Interface FastqReader
- All Known Implementing Classes:
IlluminaFastqReader
,SangerFastqReader
,SolexaFastqReader
public interface FastqReader
Reader for FASTQ formatted sequences.
- Since:
- 3.0.3
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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.void
stream
(Readable readable, StreamListener listener) Stream the specified readable.
-
Method Details
-
parse
Parse the specified readable.- 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
Stream the specified readable.- Parameters:
readable
- readable, must not be nulllistener
- event based reader callback, must not be null- Throws:
IOException
- if an I/O error occurs
-
read
Read zero or more FASTQ formatted sequences from the specified file.- 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
Read zero or more FASTQ formatted sequences from the specified url.- 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
Read zero or more FASTQ formatted sequences from the specified input stream.- 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
-