#include <AutoAnnotate.h>
Public Member Functions | |
AutoAnnotate (MyChild *_p=NULL) | |
Constructor. | |
~AutoAnnotate () | |
bool | SettingsDialog () |
Runs the dialog; returns wether to Run or not. | |
void | Run () |
Runs the search. | |
Private Member Functions | |
bool | ScanDatabase (wxString database) |
Scans a database for matching features. | |
bool | addORFs (TVector *v) |
Adds open reading frames as features (that could not be identified). | |
bool | MatchItem (TVector *tv, TVectorItem &item, TVector *v, wxString &oseq) |
Compares two items to prevent double entries. | |
bool | RawMatch (TVectorItem &item, TVector *v, wxString &oseq, wxString &s) |
Tries to match the full item sequence against the current sequence. | |
void | machete (TVector *v) |
Reduces the number of identified items, so that one can actually read something in the map again :-). | |
bool | within (TVectorItem &i1, TVectorItem &i2, TVector *v) |
Checks if TVectorItem i2 lies within i1 (no need to add it then). | |
Private Attributes | |
MyChild * | p |
Pointer to the calling MyChild. | |
wxArrayString | alreadyin |
Cache of items already added. | |
wxString | commonVectorsDatabase |
wxString | additionalDatabase |
bool | useCommonDatabase |
bool | useAdditionalDatabase |
bool | useMachete |
bool | doAddORFs |
wxArrayString | dbname |
wxArrayString | dbfile |
Friends | |
class | TAutoAnnotateDialog |
It uses the TAutoAnnotateDialog class to display a settings dialog, then runs through one or two databases (depending on the settings), extracting DNA, and matching it to the current sequence. Finally, it will add all not-identified open reading frames as "unknown" features.
|
Constructor.
|
|
|
|
Adds open reading frames as features (that could not be identified).
|
|
Reduces the number of identified items, so that one can actually read something in the map again :-).
|
|
Compares two items to prevent double entries.
|
|
Tries to match the full item sequence against the current sequence.
|
|
Runs the search.
|
|
Scans a database for matching features.
|
|
Runs the dialog; returns wether to Run or not.
|
|
Checks if TVectorItem i2 lies within i1 (no need to add it then).
|
|
|
|
|
|
Cache of items already added.
|
|
|
|
|
|
|
|
|
|
Pointer to the calling MyChild.
|
|
|
|
|
|
|