Package org.biojava.nbio.genome.io.fastq
package org.biojava.nbio.genome.io.fastq
FASTQ and variants sequence format I/O.
To read from an Illumina variant FASTQ sequence file:
FastqReader reader = new IlluminaFastqReader();
for (Fastq fastq : reader.read(new File("illumina.fastq"))
{
// ...
}
To write to a Sanger variant FASTQ sequence file:
Collection<Fastq> fastq = ...;
SangerFastqWriter writer = new SangerFastqWriter();
writer.write(new File("sanger.fastq"), fastq);
For further documentation on the FASTQ sequence format,
its variants, and how they are handled in O|B|F projects,
see:
Peter J. A. Cock (Biopython), Christopher J. Fields (BioPerl), Naohisa Goto (BioRuby),
Michael L. Heuer (BioJava) and Peter M. Rice (EMBOSS).
Nucleic Acids Research, doi:10.1093/nar/gkp1137
Moved from org.biojava.nbio.sequencing (biojava-sequencing module) in 5.0.0
- Since:
- 3.0.3
-
ClassDescriptionFASTQ formatted sequence.Fluent builder API for creating FASTQ formatted sequences.Reader for FASTQ formatted sequences.Utility methods for FASTQ formatted sequences.FASTQ sequence format variant.Writer for FASTQ formatted sequences.Reader for
FastqVariant.FASTQ_ILLUMINAformatted sequences.Writer forFastqVariant.FASTQ_ILLUMINAformatted sequences.Low-level event based parser callback.Reader forFastqVariant.FASTQ_SANGERformatted sequences.Writer forFastqVariant.FASTQ_SANGERformatted sequences.Reader forFastqVariant.FASTQ_SOLEXAformatted sequences.Writer forFastqVariant.FASTQ_SOLEXAformatted sequences.Event based parser callback.