public final class SangerFastqWriter extends Object
FastqVariant.FASTQ_SANGER
formatted sequences.Constructor and Description |
---|
SangerFastqWriter() |
Modifier and Type | Method and Description |
---|---|
<T extends Appendable> |
append(T appendable,
Fastq... fastq)
Append the specified FASTQ formatted sequences to the specified appendable.
|
<T extends Appendable> |
append(T appendable,
Iterable<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(File file,
Fastq... fastq)
Write the specified FASTQ formatted sequences to the specified file.
|
void |
write(File file,
Iterable<Fastq> fastq)
Write the specified FASTQ formatted sequences to the specified file.
|
void |
write(OutputStream outputStream,
Fastq... fastq)
Write the specified FASTQ formatted sequences to the specified output stream.
|
void |
write(OutputStream outputStream,
Iterable<Fastq> fastq)
Write the specified FASTQ formatted sequences to the specified output stream.
|
public SangerFastqWriter()
protected Fastq convert(Fastq fastq)
fastq
- FASTQ formatted sequence to convert, must not be nullpublic final <T extends Appendable> T append(T appendable, Fastq... fastq) throws IOException
FastqWriter
append
in interface FastqWriter
T
- 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 nullIOException
- if an I/O error occurspublic final <T extends Appendable> T append(T appendable, Iterable<Fastq> fastq) throws IOException
FastqWriter
append
in interface FastqWriter
T
- 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 nullIOException
- if an I/O error occurspublic final void write(File file, Fastq... fastq) throws IOException
FastqWriter
write
in interface FastqWriter
file
- file to write to, must not be nullfastq
- variable number of FASTQ formatted sequences to write, must not be nullIOException
- if an I/O error occurspublic final void write(File file, Iterable<Fastq> fastq) throws IOException
FastqWriter
write
in interface FastqWriter
file
- file to write to, must not be nullfastq
- zero or more FASTQ formatted sequences to write, must not be nullIOException
- if an I/O error occurspublic final void write(OutputStream outputStream, Fastq... fastq) throws IOException
FastqWriter
write
in interface FastqWriter
outputStream
- output stream to write to, must not be nullfastq
- variable number of FASTQ formatted sequences to write, must not be nullIOException
- if an I/O error occurspublic final void write(OutputStream outputStream, Iterable<Fastq> fastq) throws IOException
FastqWriter
write
in interface FastqWriter
outputStream
- output stream to write to, must not be nullfastq
- zero or more FASTQ formatted sequences to write, must not be nullIOException
- if an I/O error occursCopyright © 2000–2019 BioJava. All rights reserved.