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
public boolean hasNext() throws IOException
IOException
public Header getNext()
public void close() throws IOException
IOException
Copyright © 2014. All rights reserved.