Definition in file blast_def.h.
#include <algo/blast/core/ncbi_std.h>
#include <algo/blast/core/blast_export.h>
#include <algo/blast/core/blast_program.h>
Include dependency graph for blast_def.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Classes | |
| union | BlastOffsetPair |
| Structure holding a pair of offsets. More... | |
| struct | SSeqRange |
| A structure containing two integers, used e.g. More... | |
| struct | BlastSeqLoc |
| Used to hold a set of positions, mostly used for filtering. More... | |
| struct | BlastMaskLoc |
| Structure for keeping the query masking information. More... | |
| struct | BLAST_SequenceBlk |
| Structure to hold a sequence. More... | |
| struct | SPHIPatternInfo |
| Information about a single pattern occurence in the query. More... | |
| struct | SPHIQueryInfo |
| In PHI BLAST, structure containing information about all pattern occurrences in query. More... | |
| struct | SBlastTargetTranslation |
| Information about target translations. More... | |
| struct | SBlastProgress |
| Progress monitoring structure. More... | |
Defines | |
| #define | CODON_LENGTH 3 |
| Codons are always of length 3. | |
| #define | DEFAULT_LONGEST_INTRON 122 |
| For translated gapped searches, this is the default value in nucleotides of longest_intron (for ungapped translated searches, the default value of longest_intron is zero, which causes a legacy method of HSP linking that does not use longest_intron to be invoked). | |
| #define | COMPRESSION_RATIO 4 |
| Compression ratio of nucleotide bases (4 bases in 1 byte). | |
| #define | NUM_FRAMES 6 |
| Number of frames to which we translate in translating searches. | |
| #define | NUM_STRANDS 2 |
| Number of frames in a nucleotide sequence. | |
| #define | GENCODE_STRLEN 64 |
| Length of the genetic code string. | |
| #define | BLAST_CMP(a, b) ((a)>(b) ? 1 : ((a)<(b) ? -1 : 0)) |
| A macro expression that returns 1, 0, -1 if a is greater than, equal to or less than b, respectively. | |
| #define | sfree(x) __sfree((void**)(void*)&(x)) |
| Safe free a pointer: belongs to a higher level header. | |
Typedefs | |
| typedef Boolean(* | TInterruptFnPtr )(SBlastProgress *progress_info) |
| Prototype for function pointer to determine whether the BLAST search should proceed or be interrupted. | |
Enumerations | |
| enum | EBlastStage { eNone = 0x0, ePrelimSearch = 0x1 << 0, eTracebackSearch = 0x1 << 1, eBoth = (ePrelimSearch | eTracebackSearch) } |
| Enumeration for the stages in the BLAST search. More... | |
Functions | |
| void | __sfree (void **x) |
| Implemented in blast_util.c. | |
| SSeqRange | SSeqRangeNew (Int4 start, Int4 stop) |
| Create a new SSeqRange structure with both fields initialized. | |
| static NCBI_INLINE Boolean | SSeqRangeIntersectsWith (const SSeqRange *a, const SSeqRange *b) |
| Determine if two ranges intersect. | |
| Int4 | SSeqRangeArrayLessThanOrEqual (const SSeqRange *ranges, Int4 num_ranges, Int4 target) |
| Returns the index of the range, such that this element is the first range that either contains the target or if no such range exists, the index of the first range, such that the target is less than this range. | |
| SBlastProgress * | SBlastProgressNew (void *user_data) |
| Allocates and initializes a new SBlastProgress structure. | |
| SBlastProgress * | SBlastProgressFree (SBlastProgress *progress_info) |
| Deallocates a SBlastProgress structure. | |
| void | SBlastProgressReset (SBlastProgress *progress_info) |
| Resets the progress structure to its original state (as if newly allocated) for a fresh start without touching the user_data field. | |
Variables | |
| const int | kDustLevel |
| Level parameter used by dust. | |
| const int | kDustWindow |
| Window parameter used by dust. | |
| const int | kDustLinker |
| Parameter used by dust to link together close low-complexity segments. | |
| const int | kSegWindow |
| Window that SEG examines at once. | |
| const double | kSegLocut |
| Locut parameter for SEG. | |
| const double | kSegHicut |
| Hicut parameter for SEG. | |
| const int | kUngappedHSPNumMax |
| Maximum number of HPSs to be saved in an ungapped search. | |
|
|
A macro expression that returns 1, 0, -1 if a is greater than, equal to or less than b, respectively. This macro evaluates its arguments more than once. Definition at line 107 of file blast_def.h. Referenced by s_EvalueCompareHSPLists(), s_ScoreCompareHSPWithContext(), s_SGenCodeNodeCompare(), score_compare_match(), and ScoreCompareHSPs(). |
|
|
|
|
For translated gapped searches, this is the default value in nucleotides of longest_intron (for ungapped translated searches, the default value of longest_intron is zero, which causes a legacy method of HSP linking that does not use longest_intron to be invoked). The value 122 corresponds to 40 amino acids: 40 codons * 3 nucleotides per codon + up to 2 frame shifts. 40 amino acids is the maximum gap size in the untranslated sequence, so DEFAULT_LONGEST_INTRON makes these two gap sizes equal. Definition at line 78 of file blast_def.h. Referenced by BlastHitSavingParametersNew(). |
|
|
Length of the genetic code string.
Definition at line 98 of file blast_def.h. Referenced by DynamicSGenCodeNodeArray_Append(). |
|
|
Number of frames to which we translate in translating searches.
Definition at line 88 of file blast_def.h. Referenced by BLAST_ContextToFrame(), BLAST_GetAllTranslations(), BLAST_GetGappedScore(), BLAST_GetNumberOfContexts(), Blast_GetQueryIndexFromContext(), BLAST_SmithWatermanGetGappedScore(), BlastHitSavingParametersUpdate(), BlastHSPStreamMerge(), BlastMaskLocDNAToProtein(), BlastMaskLocProteinToDNA(), BlastRPSWordFinder(), BlastTargetTranslationNew(), BOOST_AUTO_TEST_CASE(), s_FwdCompareHSPsTransl(), s_GetTranslatedQueryDNALength(), s_RevCompareHSPsTbx(), s_RevCompareHSPsTransl(), and CQuerySplitter::x_ComputeQueryContextsForChunks(). |
|
|
Number of frames in a nucleotide sequence.
Definition at line 93 of file blast_def.h. Referenced by BLAST_ContextToFrame(), BLAST_GetNumberOfContexts(), Blast_GetQueryIndexFromContext(), BOOST_AUTO_TEST_CASE(), and s_BlastEvenGapLinkHSPs(). |
|
|
|
Prototype for function pointer to determine whether the BLAST search should proceed or be interrupted. If this function returns true, all processing must stop and the search must discard all interim results
Definition at line 333 of file blast_def.h. |
|
|
Enumeration for the stages in the BLAST search.
Definition at line 303 of file blast_def.h. |
|
|
Implemented in blast_util.c.
Definition at line 45 of file blast_util.c. References free(). |
|
|
Deallocates a SBlastProgress structure. Implemented in blast_util.c Definition at line 1360 of file blast_util.c. References sfree. |
|
|
Allocates and initializes a new SBlastProgress structure.
Definition at line 1350 of file blast_util.c. References calloc(), and SBlastProgress::user_data. Referenced by CBl2Seq::SetInterruptCallback(). |
|
|
Resets the progress structure to its original state (as if newly allocated) for a fresh start without touching the user_data field.
Definition at line 1369 of file blast_util.c. References ePrelimSearch, and SBlastProgress::stage. Referenced by CBl2Seq::RunFullSearch(). |
|
||||||||||||||||
|
Returns the index of the range, such that this element is the first range that either contains the target or if no such range exists, the index of the first range, such that the target is less than this range.
Definition at line 61 of file blast_util.c. Referenced by BOOST_AUTO_TEST_CASE(), and s_AdjustSubjectChunks(). |
|
||||||||||||
|
Determine if two ranges intersect.
Definition at line 167 of file blast_def.h. References FALSE, SSeqRange::left, SSeqRange::right, and TRUE. Referenced by BOOST_AUTO_TEST_CASE(). |
|
||||||||||||
|
Create a new SSeqRange structure with both fields initialized.
Definition at line 52 of file blast_util.c. References SSeqRange::left, and SSeqRange::right. Referenced by BOOST_AUTO_TEST_CASE(). |
|
|
Level parameter used by dust.
Definition at line 52 of file blast_options.c. Referenced by BlastFilteringOptionsToString(), s_MergeDustOptions(), and SDustOptionsNew(). |
|
|
Parameter used by dust to link together close low-complexity segments.
Definition at line 54 of file blast_options.c. Referenced by BlastFilteringOptionsToString(), s_MergeDustOptions(), and SDustOptionsNew(). |
|
|
Window parameter used by dust.
Definition at line 53 of file blast_options.c. Referenced by BlastFilteringOptionsToString(), s_MergeDustOptions(), and SDustOptionsNew(). |
|
|
Hicut parameter for SEG.
Definition at line 50 of file blast_seg.c. Referenced by BlastFilteringOptionsToString(), s_MergeSegOptions(), SegParametersNewAa(), and SSegOptionsNew(). |
|
|
Locut parameter for SEG.
Definition at line 49 of file blast_seg.c. Referenced by BlastFilteringOptionsToString(), s_MergeSegOptions(), SegParametersNewAa(), and SSegOptionsNew(). |
|
|
Window that SEG examines at once.
Definition at line 48 of file blast_seg.c. Referenced by BlastFilteringOptionsToString(), s_MergeSegOptions(), SegParametersNewAa(), and SSegOptionsNew(). |
|
|
Maximum number of HPSs to be saved in an ungapped search. number of HSPs for an ungapped search. Definition at line 47 of file blast_options.c. Referenced by BLAST_FillHitSavingOptions(), and BlastHspNumMax(). |
1.4.6
Modified on Wed Dec 09 08:18:16 2009 by modify_doxy.py rev. 173732