|
||||||||||
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
public class BlastP
Runs a local copy of blastp. This requires that blastall 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 max 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 - allows saving of intermediate files Version 1.12, 3/26/1 - changed default db to nrfilt Version 1.11, 5/1/00 - fixed cleanup so that if it crashes due to lack of memory, the tmp files are left Version 1.1, 10/4/99 - fixed kludge in readBLAST Version 1.0, 1/19/99 - original version
Field Summary | |
---|---|
java.lang.String |
databases
databases to search in. |
double |
e
Expectation value (E) (default = 10.0) |
boolean |
filter
Filter out promiscuous input. |
double |
maxN
Number of sequences returned (default = 250) |
protected java.lang.String |
savedBlastOutfile
output file name to save BLAST output |
Fields inherited from class org.strbio.local.BlastPAdapter |
---|
query |
Fields inherited from class org.strbio.local.Program |
---|
processError, processInput, processOutput, PROGRAM_NAME |
Constructor Summary | |
---|---|
BlastP()
Initialize with no information; you still have to call setQuery before starting Blast. |
|
BlastP(Protein p)
Initialize with a given protein. |
|
BlastP(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)
Return a profile containing responses to the blast query. |
protected Profile |
blastPBlastAll(Printf outfile)
kludge to allow super.super() reference to blastAll method. |
java.lang.String |
programName()
What's the name of this program? |
void |
setOutputFile(java.lang.String outfileName)
set output file name to save BLAST output, or null to use a temporary file |
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 |
Field Detail |
---|
public java.lang.String databases
public boolean filter
public double e
public double maxN
protected java.lang.String savedBlastOutfile
Constructor Detail |
---|
public BlastP()
public BlastP(java.lang.String sequence)
public BlastP(Protein p)
Method Detail |
---|
public java.lang.String programName()
Program
programName
in class Program
protected java.lang.String arguments()
public void setOutputFile(java.lang.String outfileName)
protected Profile blastPBlastAll(Printf outfile)
public Profile blastAll(Printf outfile)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |