NCBI C++ ToolKit
blast_nascan.h
Go to the documentation of this file.

Go to the SVN repository for this file.

1 /* $Id: blast_nascan.h 43368 2009-10-01 16:02:44Z maning $
2  * ===========================================================================
3  *
4  * PUBLIC DOMAIN NOTICE
5  * National Center for Biotechnology Information
6  *
7  * This software/database is a "United States Government Work" under the
8  * terms of the United States Copyright Act. It was written as part of
9  * the author's official duties as a United States Government employee and
10  * thus cannot be copyrighted. This software/database is freely available
11  * to the public for use. The National Library of Medicine and the U.S.
12  * Government have not placed any restriction on its use or reproduction.
13  *
14  * Although all reasonable efforts have been taken to ensure the accuracy
15  * and reliability of the software and data, the NLM and the U.S.
16  * Government do not and cannot warrant the performance or results that
17  * may be obtained by using this software or data. The NLM and the U.S.
18  * Government disclaim all warranties, express or implied, including
19  * warranties of performance, merchantability or fitness for any particular
20  * purpose.
21  *
22  * Please cite the author in any work or product based on this material.
23  *
24  * ===========================================================================
25  */
26 
27 /** @file blast_nascan.h
28  * Routines for scanning nucleotide BLAST lookup tables.
29  */
30 
31 #ifndef ALGO_BLAST_CORE__BLAST_NTSCAN__H
32 #define ALGO_BLAST_CORE__BLAST_NTSCAN__H
33 
37 
38 #ifdef __cplusplus
39 extern "C" {
40 #endif
41 
42 /** Generic prototype for nucleotide subject scanning routines */
43 typedef Int4 (*TNaScanSubjectFunction)(const LookupTableWrap* lookup_wrap,
45  BlastOffsetPair* NCBI_RESTRICT offset_pairs,
46  Int4 max_hits,
47  Int4* scan_range);
48 
49 /** Choose the most appropriate function to scan through
50  * nucleotide subject sequences
51  * @param lookup_wrap Structure containing lookup table [in][out]
52  */
55 
56 /** Return the most generic function to scan through
57  * nucleotide subject sequences
58  * @param lookup_wrap Structure containing lookup table [in][out]
59  */
62 
63 #ifdef __cplusplus
64 }
65 #endif
66 
67 #endif /* !ALGO_BLAST_CORE__BLAST_NTSCAN__H */
Definitions used throughout BLAST.
#define NCBI_XBLAST_EXPORT
NULL operations for other cases.
Definition: blast_export.h:65
void * BlastChooseNucleotideScanSubjectAny(LookupTableWrap *lookup_wrap)
Return the most generic function to scan through nucleotide subject sequences.
Int4(* TNaScanSubjectFunction)(const LookupTableWrap *lookup_wrap, const BLAST_SequenceBlk *subject, BlastOffsetPair *offset_pairs, Int4 max_hits, Int4 *scan_range)
Generic prototype for nucleotide subject scanning routines.
Definition: blast_nascan.h:43
void BlastChooseNucleotideScanSubject(LookupTableWrap *lookup_wrap)
Choose the most appropriate function to scan through nucleotide subject sequences.
#define NCBI_RESTRICT
int32_t Int4
4-byte (32-bit) signed integer
Definition: ncbitype.h:102
Wrapper for all lookup tables used in BLAST.
Type and macro definitions from C toolkit that are not defined in C++ toolkit.
Structure to hold a sequence.
Definition: blast_def.h:242
Wrapper structure for different types of BLAST lookup tables.
Definition: lookup_wrap.h:50
static string subject
This symbol enables the verbose option in makeblastdb and other BLAST+ search command line applicatio...
Definition: blast_def.h:141
Modified on Fri Jun 07 13:35:41 2024 by modify_doxy.py rev. 669887