Class BlastTabularParser
java.lang.Object
org.biojava.nbio.core.search.io.blast.BlastTabularParser
- All Implemented Interfaces:
ResultFactory
Designed by Paolo Pavan.
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
Constructors -
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 ResultFactoryvoidsetDatabaseReferences(List<Sequence> sequences) Intended for use with run module.voidvoidsetParsingConsistency(org.biojava.nbio.core.search.io.blast.BlastTabularParser.PARSING_CONSISTENCY parsingConsistency) Tries to define a different level of consistency during parsing.voidsetQueryReferences(List<Sequence> sequences) Intended for use with run module.voidstoreObjects(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
-
BlastTabularParser
public BlastTabularParser()
-
-
Method Details
-
getFileExtensions
Description copied from interface:ResultFactoryreturns a list of file extensions associated to this ResultFactory- Specified by:
getFileExtensionsin interfaceResultFactory- Returns:
-
setFile
- Specified by:
setFilein interfaceResultFactory
-
createObjects
Description copied from interface:ResultFactoryLaunch the parsing and get back a list of Result objects representing the search result in the specified file.- Specified by:
createObjectsin interfaceResultFactory- Parameters:
maxEScore-- Returns:
- Throws:
IOExceptionParseException
-
storeObjects
Description copied from interface:ResultFactoryThe 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:
storeObjectsin interfaceResultFactory- Parameters:
results-- Throws:
IOExceptionParseException
-
setQueryReferences
Intended for use with run module. Although possible, does not make a lot of sense to have it with limited information such those in tabular report- Specified by:
setQueryReferencesin interfaceResultFactory- Parameters:
sequences-
-
setDatabaseReferences
Intended for use with run module. Although possible, does not make a lot of sense to have it with limited information such those in tabular report- Specified by:
setDatabaseReferencesin interfaceResultFactory- Parameters:
sequences-
-
setParsingConsistency
public void setParsingConsistency(org.biojava.nbio.core.search.io.blast.BlastTabularParser.PARSING_CONSISTENCY parsingConsistency) Tries to define a different level of consistency during parsing. LITERAL is intended a strict parsing much tight to the report. IMPROVED consistency tries to import data much tight to the data model (I hope you got the idea, if not, have a look to the code. I suggest to use improved unless you have reasons to do not)
-