NCBI C++ ToolKit
|
Contains C++ wrapper classes to structures in algo/blast/core as well as some auxiliary functions to convert CSeq_loc to/from BlastMask structures. More...
#include <corelib/ncbistd.hpp>
#include <corelib/ddumpable.hpp>
#include <corelib/ncbifile.hpp>
#include <corelib/metareg.hpp>
#include <objects/seqalign/Seq_align_set.hpp>
#include <objects/seqloc/Seq_id.hpp>
#include <objects/seqloc/Seq_interval.hpp>
#include <util/range.hpp>
#include <objects/seq/seqlocinfo.hpp>
#include <objects/blast/Blast4_error.hpp>
#include <objmgr/scope.hpp>
#include <algo/blast/api/blast_types.hpp>
#include <algo/blast/api/blast_exception.hpp>
#include <algo/blast/core/blast_query_info.h>
#include <algo/blast/core/blast_util.h>
#include <algo/blast/core/blast_options.h>
#include <algo/blast/core/blast_filter.h>
#include <algo/blast/core/blast_extend.h>
#include <algo/blast/core/blast_gapalign.h>
#include <algo/blast/core/blast_hits.h>
#include <algo/blast/core/blast_psi.h>
#include <algo/blast/core/blast_hspstream.h>
Go to the source code of this file.
Go to the SVN repository for this file.
Macros | |
#define | TYPEDEF_AUTOPTR_CDELETER(type) typedef AutoPtr<type, CDeleter<type> > TAuto ## type ## Ptr |
Uses C Deleter (free) - used in functions that deal with CORE BLAST. More... | |
#define | TYPEDEF_AUTOPTR_ARRAYDELETER(type) typedef AutoPtr<type, ArrayDeleter<type> > TAuto ## type ## ArrayPtr |
Uses delete [] operator - for C++ arrays. More... | |
#define | DECLARE_AUTO_CLASS_WRAPPER(struct_name, free_func) |
Declares class to handle deallocating of the structure using the appropriate function. More... | |
Typedefs | |
typedef AutoPtr< Uint1, CDeleter< Uint1 > > | TAutoUint1Ptr |
Declares TAutoUint1Ptr (for Uint1 arrays allocated with malloc/calloc) More... | |
typedef AutoPtr< Char, CDeleter< Char > > | TAutoCharPtr |
Declares TAutoCharPtr (for Char arrays allocated with malloc/calloc) More... | |
typedef AutoPtr< Uint1, ArrayDeleter< Uint1 > > | TAutoUint1ArrayPtr |
Declares TAutoUint1ArrayPtr (for Uint1 arrays allocated with new[]) More... | |
Functions | |
string | Blast_ProgramNameFromType (EBlastProgramType program) |
Returns a string program name, given a blast::EBlastProgramType enumeration. More... | |
BlastSeqLoc * | CSeqLoc2BlastSeqLoc (const objects::CSeq_loc *slp) |
Converts a CSeq_loc into a BlastSeqLoc structure used in NewBlast. More... | |
TAutoUint1ArrayPtr | FindGeneticCode (int genetic_code) |
Retrieves the requested genetic code in Ncbistdaa format. More... | |
bool | IsLocalId (const objects::CSeq_id *seqid) |
Returns true if the CSeq_id is a local id. More... | |
TMaskedQueryRegions | PackedSeqLocToMaskedQueryRegions (CConstRef< objects::CSeq_loc > sloc, EBlastProgramType program, bool assume_both_strands=false) |
Auxiliary function to convert a Seq-loc describing masked query regions to a TMaskedQueryRegions object. More... | |
CRef< objects::CSeq_loc > | MaskedQueryRegionsToPackedSeqLoc (const TMaskedQueryRegions &sloc) |
Interface to build a CSeq-loc from a TMaskedQueryRegion; note that conversion conversion in this direction can be lossy. More... | |
void | LoadSequencesToScope (objects::CScope::TIds &ids, vector< TSeqRange > &ranges, CRef< objects::CScope > &scope) |
This method retrieve sequence data in bulk to scope @ids seq id list [in] @ranges seq range list [in] @scope sconfigured with data loader for retrieving seqs [in] | retrieved bioseqs [out]. More... | |
void | Blast_GetSeqLocInfoVector (EBlastProgramType program, const objects::CPacked_seqint &queries, const BlastMaskLoc *mask, TSeqLocInfoVector &mask_v) |
Converts a BlastMaskLoc internal structure into an object returned by the C++ API. More... | |
Contains C++ wrapper classes to structures in algo/blast/core as well as some auxiliary functions to convert CSeq_loc to/from BlastMask structures.
Definition in file blast_aux.hpp.