public class BlastXMLParser extends Object implements ResultFactory
| Constructor and Description |
|---|
BlastXMLParser() |
| Modifier and Type | Method and Description |
|---|---|
List<Result> |
createObjects(double maxEScore)
Launch the parsing and get back a list of Result objects representing the
search result in the specified file.
|
List<String> |
getFileExtensions()
returns a list of file extensions associated to this ResultFactory
|
void |
setDatabaseReferences(List<Sequence> sequences)
Specify the collection of sequences objects used as database in the Search run.
|
void |
setFile(File f) |
void |
setQueryReferences(List<Sequence> sequences)
Specify the collection of sequences objects used as queries in the Search run.
|
void |
storeObjects(List<Result> results)
The factory that implements this method will be able to save the Search results
to a file in the same format that it is able to read.
|
public BlastXMLParser()
public void setFile(File f)
setFile in interface ResultFactorypublic List<Result> createObjects(double maxEScore) throws IOException, ParseException
ResultFactorycreateObjects in interface ResultFactoryIOExceptionParseExceptionpublic List<String> getFileExtensions()
ResultFactorygetFileExtensions in interface ResultFactorypublic void setQueryReferences(List<Sequence> sequences)
ResultFactorysetQueryReferences in interface ResultFactorypublic void setDatabaseReferences(List<Sequence> sequences)
ResultFactorysetDatabaseReferences in interface ResultFactorypublic void storeObjects(List<Result> results) throws IOException, ParseException
ResultFactorystoreObjects in interface ResultFactoryIOExceptionParseExceptionCopyright © 2000–2017 BioJava. All rights reserved.