public class BlastTabularParser extends Object implements ResultFactory
Constructor and Description |
---|
BlastTabularParser() |
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)
Intended for use with run module.
|
void |
setFile(File f) |
void |
setParsingConsistency(org.biojava.nbio.core.search.io.blast.BlastTabularParser.PARSING_CONSISTENCY parsingConsistency)
Tries to define a different level of consistency during parsing.
|
void |
setQueryReferences(List<Sequence> sequences)
Intended for use with run module.
|
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 BlastTabularParser()
public List<String> getFileExtensions()
ResultFactory
getFileExtensions
in interface ResultFactory
public void setFile(File f)
setFile
in interface ResultFactory
public List<Result> createObjects(double maxEScore) throws IOException, ParseException
ResultFactory
createObjects
in interface ResultFactory
IOException
ParseException
public void storeObjects(List<Result> results) throws IOException, ParseException
ResultFactory
storeObjects
in interface ResultFactory
IOException
ParseException
public void setQueryReferences(List<Sequence> sequences)
setQueryReferences
in interface ResultFactory
sequences
- public void setDatabaseReferences(List<Sequence> sequences)
setDatabaseReferences
in interface ResultFactory
sequences
- public void setParsingConsistency(org.biojava.nbio.core.search.io.blast.BlastTabularParser.PARSING_CONSISTENCY parsingConsistency)
Copyright © 2000–2019 BioJava. All rights reserved.