public class FastqChunk extends Object
Constructor and Description |
---|
FastqChunk(Read[] reads) |
FastqChunk(String fastqFileS,
ReadUtils.ReadFormat format)
Constructor to read in whole Fastq, fastq file should be small for test
|
FastqChunk(String fastqFileS,
ReadUtils.ReadFormat format,
int startIndex,
int readNum)
Constructor, sample Fastq file, ignore those bad sequence at the beginning
|
Modifier and Type | Method and Description |
---|---|
int |
getPhredScale()
Return phred score scale of the fastq, 33 or 64
|
Read |
getRead(int index)
Return Fastq read
|
int |
getReadNum()
Return number of Fastq read
|
void |
writeFasta(String outfileS) |
void |
writeFastq(String outputFileS,
ReadUtils.ReadFormat format)
Write Fastq file
|
public FastqChunk(String fastqFileS, ReadUtils.ReadFormat format, int startIndex, int readNum)
fastqFileS
- format
- startIndex
- readNum
- public FastqChunk(String fastqFileS, ReadUtils.ReadFormat format)
fastqFileS
- format
- public FastqChunk(Read[] reads)
public int getPhredScale()
public void writeFastq(String outputFileS, ReadUtils.ReadFormat format)
outputFileS
- format
- public void writeFasta(String outfileS)
public Read getRead(int index)
index
- public int getReadNum()
Copyright © 2018. All rights reserved.