Class BlastXMLParser
java.lang.Object
org.biojava.nbio.core.search.io.blast.BlastXMLParser
- All Implemented Interfaces:
ResultFactory
Re-designed by Paolo Pavan on the footprint of:
org.biojava.nbio.genome.query.BlastXMLQuery by Scooter Willis
You may want to find my contacts on Github and LinkedIn for code info
or discuss major changes.
https://github.com/paolopavan
- Author:
- Paolo Pavan
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateObjects
(double maxEScore) Launch the parsing and get back a list of Result objects representing the search result in the specified file.returns a list of file extensions associated to this ResultFactoryvoid
setDatabaseReferences
(List<Sequence> sequences) Specify the collection of sequences objects used as database in the Search run.void
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.
-
Constructor Details
-
BlastXMLParser
public BlastXMLParser()
-
-
Method Details
-
setFile
- Specified by:
setFile
in interfaceResultFactory
-
createObjects
Description copied from interface:ResultFactory
Launch the parsing and get back a list of Result objects representing the search result in the specified file.- Specified by:
createObjects
in interfaceResultFactory
- Parameters:
maxEScore
-- Returns:
- Throws:
IOException
ParseException
-
getFileExtensions
Description copied from interface:ResultFactory
returns a list of file extensions associated to this ResultFactory- Specified by:
getFileExtensions
in interfaceResultFactory
- Returns:
-
setQueryReferences
Description copied from interface:ResultFactory
Specify the collection of sequences objects used as queries in the Search run. They will be associated back to the query during the construction of the Result object.- Specified by:
setQueryReferences
in interfaceResultFactory
- Parameters:
sequences
-
-
setDatabaseReferences
Description copied from interface:ResultFactory
Specify the collection of sequences objects used as database in the Search run. They will be associated back to the Hit during the construction of the Hit object.- Specified by:
setDatabaseReferences
in interfaceResultFactory
- Parameters:
sequences
-
-
storeObjects
Description copied from interface:ResultFactory
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.- Specified by:
storeObjects
in interfaceResultFactory
- Parameters:
results
-- Throws:
IOException
ParseException
-