Class SolexaFastqWriter
java.lang.Object
org.biojava.nbio.sequencing.io.fastq.SolexaFastqWriter
- All Implemented Interfaces:
 FastqWriter
Writer for 
FastqVariant.FASTQ_SOLEXA formatted sequences.- Since:
 - 3.0.3
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionfinal <T extends Appendable>
TAppend the specified FASTQ formatted sequences to the specified appendable.final <T extends Appendable>
TAppend the specified FASTQ formatted sequences to the specified appendable.protected FastqConvert the specified FASTQ formatted sequence if necessary.final voidWrite the specified FASTQ formatted sequences to the specified file.final voidWrite the specified FASTQ formatted sequences to the specified file.final voidwrite(OutputStream outputStream, Iterable<Fastq> fastq) Write the specified FASTQ formatted sequences to the specified output stream.final voidwrite(OutputStream outputStream, Fastq... fastq) Write the specified FASTQ formatted sequences to the specified output stream. 
- 
Constructor Details
- 
SolexaFastqWriter
public SolexaFastqWriter() 
 - 
 - 
Method Details
- 
convert
Convert the specified FASTQ formatted sequence if necessary.- Parameters:
 fastq- FASTQ formatted sequence to convert, must not be null- Returns:
 - the specified FASTQ formatted sequence or a new FASTA formatted sequence if conversion is necessary
 
 - 
append
Description copied from interface:FastqWriterAppend the specified FASTQ formatted sequences to the specified appendable.- Specified by:
 appendin interfaceFastqWriter- Type Parameters:
 T- extends Appendable- Parameters:
 appendable- appendable to append the specified FASTQ formatted sequences to, must not be nullfastq- variable number of FASTQ formatted sequences to append, must not be null- Returns:
 - the specified appendable with the specified FASTQ formatted sequences appended
 - Throws:
 IOException- if an I/O error occurs
 - 
append
public final <T extends Appendable> T append(T appendable, Iterable<Fastq> fastq) throws IOException Description copied from interface:FastqWriterAppend the specified FASTQ formatted sequences to the specified appendable.- Specified by:
 appendin interfaceFastqWriter- Type Parameters:
 T- extends Appendable- Parameters:
 appendable- appendable to append the specified FASTQ formatted sequences to, must not be nullfastq- zero or more FASTQ formatted sequences to append, must not be null- Returns:
 - the specified appendable with the specified FASTQ formatted sequences appended
 - Throws:
 IOException- if an I/O error occurs
 - 
write
Description copied from interface:FastqWriterWrite the specified FASTQ formatted sequences to the specified file.- Specified by:
 writein interfaceFastqWriter- Parameters:
 file- file to write to, must not be nullfastq- variable number of FASTQ formatted sequences to write, must not be null- Throws:
 IOException- if an I/O error occurs
 - 
write
Description copied from interface:FastqWriterWrite the specified FASTQ formatted sequences to the specified file.- Specified by:
 writein interfaceFastqWriter- Parameters:
 file- file to write to, must not be nullfastq- zero or more FASTQ formatted sequences to write, must not be null- Throws:
 IOException- if an I/O error occurs
 - 
write
Description copied from interface:FastqWriterWrite the specified FASTQ formatted sequences to the specified output stream.- Specified by:
 writein interfaceFastqWriter- Parameters:
 outputStream- output stream to write to, must not be nullfastq- variable number of FASTQ formatted sequences to write, must not be null- Throws:
 IOException- if an I/O error occurs
 - 
write
Description copied from interface:FastqWriterWrite the specified FASTQ formatted sequences to the specified output stream.- Specified by:
 writein interfaceFastqWriter- Parameters:
 outputStream- output stream to write to, must not be nullfastq- zero or more FASTQ formatted sequences to write, must not be null- Throws:
 IOException- if an I/O error occurs
 
 -