|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.strbio.mol.lib.BlastAdapter
org.strbio.net.BlastWeb
public class BlastWeb
Does a BlastP search in the NR database at over the web.
Version 1.3, 3/13/1 - uses IO.getURLData Version 1.2, 4/11/00 - fixed to conform to new cgi interface Version 1.1, 10/4/99 - fixed to adapt to new readBLAST interface Version 1.0, 1/29/99 - adapted from BlastNCBI 1.11
Field Summary |
---|
Fields inherited from class org.strbio.mol.lib.BlastAdapter |
---|
query |
Constructor Summary | |
---|---|
BlastWeb()
Initialize with no information; you still have to call setQuery before starting Blast. |
|
BlastWeb(Protein p)
Initialize with a given protein. |
|
BlastWeb(java.lang.String sequence)
Initialize with a given query sequence. |
Method Summary | |
---|---|
Profile |
blastAll(Printf outfile)
Returns a profile with all responses to the query. |
java.lang.String |
blastGetInitial(Printf outfile)
Query the blast server for the queue data. |
java.lang.String |
blastGetResult(Printf outfile)
Query the blast server for the queue data. |
java.lang.String |
blastRaw(Printf outfile)
Return a string containing the raw HTML from the server. |
java.lang.String |
getBaseURL()
Returns the current base url. |
void |
setBaseURL(java.lang.String url)
Sets the base url; i.e. to "http://www.ncbi.nlm.nih.gov/cgi-bin/BLAST/" |
Methods inherited from class org.strbio.mol.lib.BlastAdapter |
---|
blastProfile, blastProteinSet, setQuery, setQuery |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BlastWeb()
public BlastWeb(java.lang.String sequence)
public BlastWeb(Protein p)
Method Detail |
---|
public java.lang.String getBaseURL()
public void setBaseURL(java.lang.String url)
public java.lang.String blastGetInitial(Printf outfile)
public java.lang.String blastGetResult(Printf outfile)
public java.lang.String blastRaw(Printf outfile)
public Profile blastAll(Printf outfile)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |