public class RemoteQBlastAlignmentProperties extends Object implements RemotePairwiseAlignmentProperties
Constructor and Description |
---|
RemoteQBlastAlignmentProperties() |
Modifier and Type | Method and Description |
---|---|
String |
getAlignmentOption(String key)
Method that returns the value associated with the key given in parameter.
|
Set<String> |
getAlignmentOptions()
Method to get all keys to the information stored in this object.
|
String |
getBlastAdvancedOptions()
Simply return the string given as argument via setBlastAdvancedOptions
|
String |
getBlastDatabase()
This method returns the value of the database used for this particular
blast run.
|
String |
getBlastProgram()
This method returns the value of the program used for this particular
blast run.
|
void |
setAdvancedOptions(String aStr)
This method is to be used if a request is to use non-default values at
submission.
|
void |
setAlignementOption(String key,
String val)
Method to set the value for a specific alignment parameter using a key to store in a map.
|
void |
setBlastDatabase(String db)
This method set the database to be use with blastall
|
void |
setBlastProgram(String program)
This method set the program to be use with blastall.
|
public RemoteQBlastAlignmentProperties()
public String getBlastProgram()
public void setBlastProgram(String program) throws BioException
program
- : one of blastall programsBioException
- if the named program is not a valid blastall optionspublic String getBlastDatabase()
public void setBlastDatabase(String db)
db
- :a valid name to a NCBI Blastable databasepublic void setAdvancedOptions(String aStr)
This method is to be used if a request is to use non-default values at submission. According to QBlast info, the accepted parameters for PUT requests are:
WARNING!! This method is still very much in flux and might not work as expected...
You have to be aware that at not moment is there any error checking on the use of these parameters by this class.
aStr
- : a String with any number of optional parameters with an
associated value.public String getBlastAdvancedOptions()
public String getAlignmentOption(String key) throws BioException
RemotePairwiseAlignmentProperties
getAlignmentOption
in interface RemotePairwiseAlignmentProperties
key
- :a String with the required key for this map.BioException
- if key is not in the map of output options.public void setAlignementOption(String key, String val)
RemotePairwiseAlignmentProperties
setAlignementOption
in interface RemotePairwiseAlignmentProperties
key
- :the key use to designate the value to be storedval
- :the actual value matched to keypublic Set<String> getAlignmentOptions()
RemotePairwiseAlignmentProperties
getAlignmentOptions
in interface RemotePairwiseAlignmentProperties
Set
with all keys held in this instance of the objectCopyright © 2014 BioJava. All rights reserved.