34 #ifndef ALGO_BLAST_CORE___BLAST_PROGRAM__H
35 #define ALGO_BLAST_CORE___BLAST_PROGRAM__H
48 #define PROTEIN_QUERY_MASK (0x1<<0)
50 #define PROTEIN_SUBJECT_MASK (0x1<<1)
52 #define NUCLEOTIDE_QUERY_MASK (0x1<<2)
54 #define NUCLEOTIDE_SUBJECT_MASK (0x1<<3)
56 #define TRANSLATED_QUERY_MASK (0x1<<4)
58 #define TRANSLATED_SUBJECT_MASK (0x1<<5)
60 #define PSSM_QUERY_MASK (0x1<<6)
62 #define PSSM_SUBJECT_MASK (0x1<<7)
64 #define PATTERN_QUERY_MASK (0x1<<8)
66 #define MAPPING_MASK (0x1<<9)
Defines to provide correct exporting from BLAST DLL in Windows.
#define NCBI_XBLAST_EXPORT
NULL operations for other cases.
Boolean Blast_ProgramIsMapping(EBlastProgramType p)
Boolean Blast_QueryIsPssm(EBlastProgramType p)
Returns true if the query is PSSM.
Boolean Blast_ProgramIsPhiBlast(EBlastProgramType p)
Returns true if program is PHI-BLAST (i.e.
Boolean Blast_QueryIsTranslated(EBlastProgramType p)
Returns true if the query is translated.
Boolean Blast_SubjectIsProtein(EBlastProgramType p)
Returns true if the subject is protein.
#define PROTEIN_QUERY_MASK
This bit is on if the query is protein.
#define PSSM_QUERY_MASK
This bit is on if the query is a PSSM (PSI-BLAST)
Boolean Blast_ProgramIsPsiBlast(EBlastProgramType p)
Returns true if program is PSI-BLAST (i.e.
Boolean Blast_SubjectIsNucleotide(EBlastProgramType p)
Returns true if the subject is nucleotide.
#define PSSM_SUBJECT_MASK
This bit is on if the subject is a PSSM (RPS-BLAST)
#define MAPPING_MASK
This bit is on for fast mapping of short reads.
Boolean Blast_ProgramIsNucleotide(EBlastProgramType p)
#define NUCLEOTIDE_SUBJECT_MASK
This bit is on if the subject is nucleotide.
#define NUCLEOTIDE_QUERY_MASK
This bit is on if the query is nucleotide.
#define PROTEIN_SUBJECT_MASK
This bit is on if the subject is protein.
Boolean Blast_QueryIsNucleotide(EBlastProgramType p)
Returns true if the query is nucleotide.
Boolean Blast_QueryIsProtein(EBlastProgramType p)
Returns true if the query is protein.
Boolean Blast_ProgramIsValid(EBlastProgramType p)
Returns true if program is not undefined.
#define TRANSLATED_SUBJECT_MASK
This bit is on if the subject is translated.
Boolean Blast_QueryIsPattern(EBlastProgramType p)
Boolean Blast_ProgramIsRpsBlast(EBlastProgramType p)
Returns true if program is RPS-BLAST (i.e.
EBlastProgramType
Defines the engine's notion of the different applications of the BLAST algorithm.
#define TRANSLATED_QUERY_MASK
This bit is on if the query is translated.
Boolean Blast_SubjectIsTranslated(EBlastProgramType p)
Returns true if the subject is translated.
#define PATTERN_QUERY_MASK
This bit is on if the query includes a pattern (PHI-BLAST)
Boolean Blast_SubjectIsPssm(EBlastProgramType p)
Returns true if the subject is PSSM.
Type and macro definitions from C toolkit that are not defined in C++ toolkit.
Uint1 Boolean
bool replacment for C