In file blastSearch.h:

class blastSearch

class that runs CGI query on BLAST site

Public Methods

[more] blastSearch ( blastConfig *bc )
constructor
[more]void setConfig ( blastConfig *bc )
another way to set up the pointer to blastConfig object
[more]int do_blast_search (SaveFrameNode *save_frame)
Open socket to BLAST site, send CGI queries and save result as /tmp/blast_out


Documentation

class that runs CGI query on BLAST site.

This class runs CGI query on BLAST site and saves result in /tmp/blast_out.

o blastSearch( blastConfig *bc )
constructor.
Sets up a pointer to blastConfig object.
See Also:
blastConfig

ovoid setConfig( blastConfig *bc )
another way to set up the pointer to blastConfig object.
See Also:
blastConfig

oint do_blast_search(SaveFrameNode *save_frame)
Open socket to BLAST site, send CGI queries and save result as /tmp/blast_out.

URL of the BLAST site, web server port, CGI program name and path to output file are stored in blastConfig object.
Residue sequence(s) (query string) are in the input file,
so is molecular class (used to decide which BLAST program to use: blastp, blastn or carbo).

BLAST site requires that query is sent in two chunks:
first we send residue sequence and get the RID,
then we send RID and get the result.

Returns:
-1 on error, 0 otherwise
Parameters:
save_frame - -- output, pointer to SaveFrameNode
See Also:
blastConfig


This class has no child classes.

Alphabetic index Hierarchy of classes



This page was generated with the help of DOC++.