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 ResultFactory
public List<Result> createObjects(double maxEScore) throws IOException, ParseException
ResultFactory
createObjects
in interface ResultFactory
IOException
ParseException
public List<String> getFileExtensions()
ResultFactory
getFileExtensions
in interface ResultFactory
public void setQueryReferences(List<Sequence> sequences)
ResultFactory
setQueryReferences
in interface ResultFactory
public void setDatabaseReferences(List<Sequence> sequences)
ResultFactory
setDatabaseReferences
in interface ResultFactory
public void storeObjects(List<Result> results) throws IOException, ParseException
ResultFactory
storeObjects
in interface ResultFactory
IOException
ParseException
Copyright © 2000–2019 BioJava. All rights reserved.