public class SequenceFactory.HeaderIterator extends Object
Constructor and Description |
---|
SequenceFactory.HeaderIterator(File file,
boolean targetOnly)
Constructor.
|
public SequenceFactory.HeaderIterator(File file, boolean targetOnly) throws FileNotFoundException
targetOnly
- if true only target proteins will be iteratedfile
- the FASTA file to iterateFileNotFoundException
- if a FileNotFoundException occurspublic boolean hasNext() throws IOException
IOException
- if a IOException occurspublic Header getNext()
public void close() throws IOException
IOException
- if a IOException occursCopyright © 2015. All rights reserved.