|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.biojava.bio.program.fastq.SolexaFastqReader
public final class SolexaFastqReader
Reader for FastqVariant.FASTQ_SOLEXA
formatted sequences.
Constructor Summary | |
---|---|
SolexaFastqReader()
|
Method Summary | |
---|---|
protected FastqVariant |
getVariant()
Return the FASTQ sequence format variant for this reader. |
java.lang.Iterable<Fastq> |
read(java.io.File file)
Read zero or more FASTQ formatted sequences from the specified file. |
java.lang.Iterable<Fastq> |
read(java.io.InputStream inputStream)
Read zero or more FASTQ formatted sequences from the specified input stream. |
java.lang.Iterable<Fastq> |
read(java.net.URL url)
Read zero or more FASTQ formatted sequences from the specified url. |
protected void |
validateDescription(FastqBuilder builder,
java.lang.String description,
int lineNumber)
Validate the specified description. |
protected void |
validateQuality(FastqBuilder builder,
java.lang.String quality,
int lineNumber)
Validate the specified quality scores. |
protected void |
validateRepeatDescription(FastqBuilder builder,
java.lang.String repeatDescription,
int lineNumber)
Validate the specified repeat description. |
protected void |
validateSequence(FastqBuilder builder,
java.lang.String sequence,
int lineNumber)
Validate the specified sequence. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SolexaFastqReader()
Method Detail |
---|
protected FastqVariant getVariant()
protected void validateDescription(FastqBuilder builder, java.lang.String description, int lineNumber) throws java.io.IOException
builder
- FASTQ formatted sequence builder, will not be nulldescription
- description to validate, will not be nulllineNumber
- current line number in input stream
java.io.IOException
- if the specified description is not validprotected void validateSequence(FastqBuilder builder, java.lang.String sequence, int lineNumber) throws java.io.IOException
builder
- FASTQ formatted sequence builder, will not be nullsequence
- sequence to validate, will not be nulllineNumber
- current line number in input stream
java.io.IOException
- if the specified sequence is not validprotected void validateRepeatDescription(FastqBuilder builder, java.lang.String repeatDescription, int lineNumber) throws java.io.IOException
builder
- FASTQ formatted sequence builder, will not be nullrepeatDescription
- repeat description to validate, will not be nulllineNumber
- current line number in input stream
java.io.IOException
- if the specified repeat description is not validprotected void validateQuality(FastqBuilder builder, java.lang.String quality, int lineNumber) throws java.io.IOException
builder
- FASTQ formatted sequence builder, will not be nullquality
- quality scores to validate, will not be nulllineNumber
- current line number in input stream
java.io.IOException
- if the specified quality scores are not validpublic final java.lang.Iterable<Fastq> read(java.io.File file) throws java.io.IOException
read
in interface FastqReader
file
- file to read from, must not be null
java.io.IOException
- if an IO error occurspublic final java.lang.Iterable<Fastq> read(java.net.URL url) throws java.io.IOException
read
in interface FastqReader
url
- URL to read from, must not be null
java.io.IOException
- if an IO error occurspublic final java.lang.Iterable<Fastq> read(java.io.InputStream inputStream) throws java.io.IOException
read
in interface FastqReader
inputStream
- input stream to read from, must not be null
java.io.IOException
- if an IO error occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |