FastqWriterpublic final class SangerFastqWriter
extends java.lang.Object
FastqVariant.FASTQ_SANGER formatted sequences.| Constructor | Description |
|---|---|
SangerFastqWriter() |
| Modifier and Type | Method | Description |
|---|---|---|
<T extends java.lang.Appendable> |
append(T appendable,
java.lang.Iterable<Fastq> fastq) |
Append the specified FASTQ formatted sequences to the specified appendable.
|
<T extends java.lang.Appendable> |
append(T appendable,
Fastq... fastq) |
Append the specified FASTQ formatted sequences to the specified appendable.
|
protected Fastq |
convert(Fastq fastq) |
Convert the specified FASTQ formatted sequence if necessary.
|
void |
write(java.io.File file,
java.lang.Iterable<Fastq> fastq) |
Write the specified FASTQ formatted sequences to the specified file.
|
void |
write(java.io.File file,
Fastq... fastq) |
Write the specified FASTQ formatted sequences to the specified file.
|
void |
write(java.io.OutputStream outputStream,
java.lang.Iterable<Fastq> fastq) |
Write the specified FASTQ formatted sequences to the specified output stream.
|
void |
write(java.io.OutputStream outputStream,
Fastq... fastq) |
Write the specified FASTQ formatted sequences to the specified output stream.
|
protected Fastq convert(Fastq fastq)
fastq - FASTQ formatted sequence to convert, must not be nullpublic final <T extends java.lang.Appendable> T append(T appendable,
Fastq... fastq)
throws java.io.IOException
FastqWriterappend in interface FastqWriterT - extends Appendableappendable - appendable to append the specified FASTQ formatted sequences to, must not be nullfastq - variable number of FASTQ formatted sequences to append, must not be nulljava.io.IOException - if an I/O error occurspublic final <T extends java.lang.Appendable> T append(T appendable,
java.lang.Iterable<Fastq> fastq)
throws java.io.IOException
FastqWriterappend in interface FastqWriterT - extends Appendableappendable - appendable to append the specified FASTQ formatted sequences to, must not be nullfastq - zero or more FASTQ formatted sequences to append, must not be nulljava.io.IOException - if an I/O error occurspublic final void write(java.io.File file,
Fastq... fastq)
throws java.io.IOException
FastqWriterwrite in interface FastqWriterfile - file to write to, must not be nullfastq - variable number of FASTQ formatted sequences to write, must not be nulljava.io.IOException - if an I/O error occurspublic final void write(java.io.File file,
java.lang.Iterable<Fastq> fastq)
throws java.io.IOException
FastqWriterwrite in interface FastqWriterfile - file to write to, must not be nullfastq - zero or more FASTQ formatted sequences to write, must not be nulljava.io.IOException - if an I/O error occurspublic final void write(java.io.OutputStream outputStream,
Fastq... fastq)
throws java.io.IOException
FastqWriterwrite in interface FastqWriteroutputStream - output stream to write to, must not be nullfastq - variable number of FASTQ formatted sequences to write, must not be nulljava.io.IOException - if an I/O error occurspublic final void write(java.io.OutputStream outputStream,
java.lang.Iterable<Fastq> fastq)
throws java.io.IOException
FastqWriterwrite in interface FastqWriteroutputStream - output stream to write to, must not be nullfastq - zero or more FASTQ formatted sequences to write, must not be nulljava.io.IOException - if an I/O error occurs