|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.utgenome.format.fasta.FASTAPullParser
public class FASTAPullParser
A pull parser for FASTA format files
Constructor Summary | |
---|---|
|
FASTAPullParser(File fastaFile)
Create a pull parse for the given FASTA file. |
|
FASTAPullParser(File fastaFile,
int bufferSize)
|
|
FASTAPullParser(Reader reader)
Create a pull parser from a given text reader |
protected |
FASTAPullParser(String fastaFile,
InputStream in,
int bufferSize)
|
Method Summary | |
---|---|
void |
close()
|
static FASTAPullParser |
newGZIPFileReader(InputStream gzInput)
|
static FASTAPullParser |
newTARFileReader(InputStream tarFileInput)
|
static FASTAPullParser |
newTARGZFileReader(InputStream targzInput)
|
String |
nextDescriptionLine()
|
FASTASequence |
nextSequence()
read the next fasta sequence; |
String |
nextSequenceLine()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FASTAPullParser(Reader reader)
reader
- public FASTAPullParser(File fastaFile) throws IOException
fastaFile
-
IOException
public FASTAPullParser(File fastaFile, int bufferSize) throws IOException
IOException
protected FASTAPullParser(String fastaFile, InputStream in, int bufferSize) throws IOException
IOException
Method Detail |
---|
public static FASTAPullParser newTARFileReader(InputStream tarFileInput) throws IOException
IOException
public static FASTAPullParser newTARGZFileReader(InputStream targzInput) throws IOException
IOException
public static FASTAPullParser newGZIPFileReader(InputStream gzInput) throws IOException
IOException
public FASTASequence nextSequence() throws UTGBException, IOException
InvalidFormatException
- when the input fasta data format is invalid
IOException
UTGBException
public String nextSequenceLine() throws IOException
IOException
public String nextDescriptionLine() throws IOException
IOException
public void close() throws IOException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |