public class SequenceFactory.HeaderIterator
extends java.lang.Object
| Constructor and Description |
|---|
SequenceFactory.HeaderIterator(java.io.File file,
boolean targetOnly)
Constructor.
|
public SequenceFactory.HeaderIterator(java.io.File file,
boolean targetOnly)
throws java.io.FileNotFoundException
targetOnly - if true only target proteins will be iteratedfile - the FASTA file to iteratejava.io.FileNotFoundExceptionpublic boolean hasNext()
throws java.io.IOException
java.io.IOExceptionpublic Header getNext()
public void close()
throws java.io.IOException
java.io.IOExceptionCopyright © 2014. All Rights Reserved.