public class FastqChunk
Hold Fastq single end Fastq file
public FastqChunk(java.lang.String fastqFileS,
net.maizegenetics.dna.read.ReadUtils.ReadFormat format,
int startIndex,
int readNum)
Constructor, sample Fastq file, ignore those bad sequence at the beginning
fastqFileS - format - startIndex - readNum - public FastqChunk(java.lang.String fastqFileS,
net.maizegenetics.dna.read.ReadUtils.ReadFormat format)
Constructor to read in whole Fastq, fastq file should be small for test
fastqFileS - format - public FastqChunk(Read[] reads)
public int getPhredScale()
Return phred score scale of the fastq, 33 or 64
public void writeFastq(java.lang.String outputFileS,
net.maizegenetics.dna.read.ReadUtils.ReadFormat format)
Write Fastq file
outputFileS - format - public void writeFasta(java.lang.String outfileS)
public Read getRead(int index)
Return Fastq read
index - public int getReadNum()
Return number of Fastq read