|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.strbio.local.Program org.strbio.local.BlastPAdapter org.strbio.local.BlastP org.strbio.local.PSIBlastP
public class PSIBlastP
Runs a local copy of psiblast. This requires that blastpgp be in your path (it should be in /pub/share/blast/bin), and that you have a ~/.ncbirc similar to the following:
[NCBI] Data=/pub/share/blast/bin/data [BLAST] BLASTDB=/pub/share/blast/lib
Version 2.2, 3/27/03 - specify number of hits returned as maxN Version 2.1, 10/29/02 - turns -I T on to not strip gi numbers Version 2.0, 2/21/02 - can save checkpoint and text matrix files Version 1.2, 8/1/01 - reflects new defaults for blastpgp 2.2.1. Does S-W alignments. Version 1.1, 7/13/00 - can load and save checkpoints Version 1.01, 1/29/99 - had to change the name because it conflicts with the interface name PSIBlast Version 1.0, 1/20/99 - original version
Field Summary | |
---|---|
protected java.lang.String |
checkpointName
|
double |
includeThreshold
Expectation value (E) threshold for including values in the score matrix model. |
protected boolean |
loadCheckpoint
load checkpoint? |
protected java.lang.String |
loadCheckpointName
|
protected PSIBlastMatrices |
pbm
|
int |
rounds
How many rounds to do? |
protected java.lang.String |
savedBlastCheckpoint
output file name to save BLAST checkpoint |
boolean |
smithWaterman
Do Smith-Waterman alignments? |
protected java.lang.String |
textCheckpointName
|
Fields inherited from class org.strbio.local.BlastP |
---|
databases, e, filter, maxN, savedBlastOutfile |
Fields inherited from class org.strbio.local.BlastPAdapter |
---|
query |
Fields inherited from class org.strbio.local.Program |
---|
processError, processInput, processOutput, PROGRAM_NAME |
Constructor Summary | |
---|---|
PSIBlastP()
Initialize with no information; you still have to call setQuery before starting Blast. |
|
PSIBlastP(Protein p)
Initialize with a given protein. |
|
PSIBlastP(java.lang.String sequence)
Initialize with a given query sequence. |
Method Summary | |
---|---|
protected java.lang.String |
arguments()
return arguments for the program. |
Profile |
blastAll(Printf outfile)
Blast, and get the checkpoint info. |
PSIBlastMatrices |
getPSIBlastMatrices()
Get scoring matrix. |
java.lang.String |
programName()
What's the name of this program? |
void |
setCheckpointFile(java.lang.String cpName)
set output file name to save BLAST checkpoint, or null to use a temporary file |
void |
setMatrixFile(java.lang.String matName)
set output file name to save BLAST matrix (text), or null to not save it |
void |
setPSIBlastMatrices(PSIBlastMatrices p)
Get scoring matrix. |
Methods inherited from class org.strbio.local.BlastP |
---|
blastPBlastAll, setOutputFile |
Methods inherited from class org.strbio.local.BlastPAdapter |
---|
blastProfile, blastProteinSet, setQuery, setQuery |
Methods inherited from class org.strbio.local.Program |
---|
clean, exists, run, runBackground, runSilent, setError, setInput, setOutput, setProgramName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.strbio.mol.lib.Blast |
---|
blastProfile, blastProteinSet, setQuery, setQuery |
Field Detail |
---|
public double includeThreshold
public int rounds
public boolean smithWaterman
protected boolean loadCheckpoint
protected PSIBlastMatrices pbm
protected java.lang.String checkpointName
protected java.lang.String loadCheckpointName
protected java.lang.String textCheckpointName
protected java.lang.String savedBlastCheckpoint
Constructor Detail |
---|
public PSIBlastP()
public PSIBlastP(java.lang.String sequence)
public PSIBlastP(Protein p)
Method Detail |
---|
public java.lang.String programName()
Program
programName
in class BlastP
public PSIBlastMatrices getPSIBlastMatrices()
getPSIBlastMatrices
in interface PSIBlast
public void setPSIBlastMatrices(PSIBlastMatrices p)
protected java.lang.String arguments()
arguments
in class BlastP
public void setCheckpointFile(java.lang.String cpName)
public void setMatrixFile(java.lang.String matName)
public Profile blastAll(Printf outfile)
blastAll
in interface Blast
blastAll
in class BlastP
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |