|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectobject.common.Blast
public class Blast
Description
Methodes used for executing Blast program on the server
Infos : KLB - IPMC - 08/2003
BlastHit,
Serialized Form| Field Summary | |
|---|---|
private boolean |
allOk
This boolean is true if the Blast program was execute well |
private java.lang.String |
database
Database name |
private java.lang.String |
expectation
Value of expectation value for executing Blast program |
protected static java.lang.String |
ext_bl2seq
|
protected static java.lang.String |
ext_blast
|
protected static java.lang.String |
ext_tmp
|
private java.lang.String |
FValue
Value of F value for executing Blast program |
private java.util.Hashtable |
hashtableBlastHit
Hashtable containing the list of the BlastHit object results of the Blast |
protected static java.lang.String |
pathBlast
|
protected static java.lang.String |
pathDatabase
|
private java.lang.String |
pathFichier
Path of the file where the sequence to Blast are store |
protected static java.lang.String |
pathFormatDB
|
protected static java.lang.String |
pathTmp
|
private java.lang.String |
SValue
Value of S value for executing Blast program |
private java.util.Vector |
vectorHitOrdre
Vector containing the order of the sequence in which the Blast program proceed |
private java.lang.String |
WValue
Value of W value for executing Blast program |
| Constructor Summary | |
|---|---|
Blast()
Default constructor |
|
Blast(java.lang.String database,
java.lang.String expectation)
Constructs a Blast object for the Microsite web interface |
|
Blast(java.lang.String pathFichier,
java.lang.String database,
java.lang.String expectation)
Constructs a Blast object |
|
| Method Summary | |
|---|---|
void |
doParseBlastProgram(java.lang.String pathNameBlast)
Parse the results file of the Blast program and fill the Hashtable hashtableBlastHit of this Blast object |
void |
doParseMegaBlastProgram(java.lang.String pathNameBlast)
Parse the results file of the MegaBlast program and fill the Hashtable hashtableBlastHit of this MegaBlast object |
boolean |
getAllOk()
This boolean is true if the Blast program was execute well |
java.lang.String |
getDatabase()
Database name |
java.lang.String |
getExpectation()
Value of expectation value for executing Blast program |
java.lang.String |
getFValue()
Value of F value for executing Blast program |
java.util.Hashtable |
getHashtableBlastHit()
Hashtable containing the list of the BlastHit object results of the Blast |
java.lang.String |
getPathFichier()
Path of the file where the sequence to Blast are store |
java.lang.String |
getSValue()
Value of S value for executing Blast program |
java.util.Vector |
getVectorHitOrdre()
Vector containing the order of the sequence in which the Blast program proceed |
java.lang.String |
getWValue()
Value of W value for executing Blast program |
void |
makeBlast()
Lauch the process to run Blast program with all the parameters of this Blast object |
void |
makeFilesBlastTwoseq(org.biojava.bio.seq.Sequence sequence1,
org.biojava.bio.seq.Sequence sequence2)
Create both files corresponding to the two Sequence received as parameters and create a Blast database with the First one. |
void |
makeFileSeq(org.biojava.bio.seq.Sequence sequence)
Create a file from a Sequence object received as a parameter. |
void |
makeFileSeq(java.util.Vector vectorSequence)
Create a file from a Vector of Sequence object received as a parameter. |
void |
makeMegaBlast()
Lauch the process to run MegaBlast program with all the parameters of this Blast object |
void |
setAllOk(boolean allOk)
|
void |
setDatabase(java.lang.String database)
|
void |
setExpectation(java.lang.String expectation)
|
void |
setFValue(java.lang.String FValue)
|
void |
setHashtableBlastHit(java.util.Hashtable hashtableBlastHit)
|
void |
setPathFichier(java.lang.String pathFichier)
|
void |
setStaticParams(java.util.Hashtable hashExtensions,
java.util.Hashtable hashBlastConfiguration,
java.util.Hashtable configFields)
Initialize static parameters from the configuration file - ext_tmp - ext_blast - ext_bl2seq - pathBlast - pathFormatDB - pathDatabase - pathTmp |
void |
setSValue(java.lang.String SValue)
|
void |
setVectorHitOrdre(java.util.Vector vectorHitOrdre)
|
void |
setWValue(java.lang.String WValue)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private java.lang.String database
private java.lang.String expectation
private java.lang.String WValue
private java.lang.String SValue
private java.lang.String FValue
private java.lang.String pathFichier
private java.util.Hashtable hashtableBlastHit
private java.util.Vector vectorHitOrdre
private boolean allOk
protected static java.lang.String pathBlast
protected static java.lang.String pathFormatDB
protected static java.lang.String pathDatabase
protected static java.lang.String pathTmp
protected static java.lang.String ext_blast
protected static java.lang.String ext_tmp
protected static java.lang.String ext_bl2seq
| Constructor Detail |
|---|
public Blast()
public Blast(java.lang.String pathFichier,
java.lang.String database,
java.lang.String expectation)
pathFichier - Path of the file to Blastdatabase - The name of the database against which the file must be Blastexpectation - Expectation value for executing Blast program
public Blast(java.lang.String database,
java.lang.String expectation)
database - The name of the database against which the file must be Blastexpectation - Expectation value for executing Blast program| Method Detail |
|---|
public void setStaticParams(java.util.Hashtable hashExtensions,
java.util.Hashtable hashBlastConfiguration,
java.util.Hashtable configFields)
public java.lang.String getDatabase()
public void setDatabase(java.lang.String database)
public java.lang.String getExpectation()
public void setExpectation(java.lang.String expectation)
public java.lang.String getWValue()
public void setWValue(java.lang.String WValue)
public java.lang.String getSValue()
public void setSValue(java.lang.String SValue)
public java.lang.String getFValue()
public void setFValue(java.lang.String FValue)
public java.lang.String getPathFichier()
public void setPathFichier(java.lang.String pathFichier)
public boolean getAllOk()
public void setAllOk(boolean allOk)
public java.util.Hashtable getHashtableBlastHit()
public void setHashtableBlastHit(java.util.Hashtable hashtableBlastHit)
public java.util.Vector getVectorHitOrdre()
public void setVectorHitOrdre(java.util.Vector vectorHitOrdre)
public void makeBlast()
Process,
Runtime,
doParseBlastProgram(String)public void makeMegaBlast()
Process,
Runtime,
doParseBlastProgram(String)public void doParseBlastProgram(java.lang.String pathNameBlast)
pathNameBlast - Path of the file to parseBlastHitpublic void doParseMegaBlastProgram(java.lang.String pathNameBlast)
pathNameBlast - Path of the file to parseBlastHit
public void makeFilesBlastTwoseq(org.biojava.bio.seq.Sequence sequence1,
org.biojava.bio.seq.Sequence sequence2)
sequence1 - Sequence corresponding to the Blast database for the Blast two sequencessequence2 - Sequence query for the Blast two sequencesProcess,
Runtimepublic void makeFileSeq(org.biojava.bio.seq.Sequence sequence)
public void makeFileSeq(java.util.Vector vectorSequence)
vectorSequence - Vector of Sequence object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||