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