NCBI C++ ToolKit
Classes | Macros | Typedefs | Enumerations | Enumerator | Functions | Variables | Friends
BLAST (Basic Local Alignment Search Tool)
+ Collaboration diagram for BLAST (Basic Local Alignment Search Tool):

Classes

class  CBl2Seq
 Runs the BLAST algorithm between 2 sequences. More...
 
class  CBlastAdvancedProteinOptionsHandle
 Handle to the Advanced BLASTP options. More...
 
class  CFrameFinder
 Function object to assist in finding all CSeqLocInfo objects which corresponds to a given frame. More...
 
struct  CConstRefCSeqId_LessThan
 
class  CAutomaticGenCodeSingleton
 Initializes and uninitializes the genetic code singleton as if it was an automatic variable (to facilitate use in our unit tests and in the CBlastOptions object). More...
 
class  CBlastAppDiagHandler
 Class to capture message from diag handler. More...
 
class  CBLAST_SequenceBlk
 Wrapper class for BLAST_SequenceBlk . More...
 
class  CBlastQueryInfo
 Wrapper class for BlastQueryInfo . More...
 
class  CQuerySetUpOptions
 Wrapper class for QuerySetUpOptions . More...
 
class  CLookupTableOptions
 Wrapper class for LookupTableOptions . More...
 
class  CLookupTableWrap
 Wrapper class for LookupTableWrap . More...
 
class  CBlastInitialWordOptions
 Wrapper class for BlastInitialWordOptions . More...
 
class  CBlastInitialWordParameters
 Wrapper class for BlastInitialWordParameters . More...
 
class  CBlast_ExtendWord
 Wrapper class for Blast_ExtendWord . More...
 
class  CBlastExtensionOptions
 Wrapper class for BlastExtensionOptions . More...
 
class  CBlastExtensionParameters
 Wrapper class for BlastExtensionParameters . More...
 
class  CBlastHitSavingOptions
 Wrapper class for BlastHitSavingOptions . More...
 
class  CBlastHitSavingParameters
 Wrapper class for BlastHitSavingParameters . More...
 
class  CPSIBlastOptions
 Wrapper class for PSIBlastOptions . More...
 
class  CBlastDatabaseOptions
 Wrapper class for BlastDatabaseOptions . More...
 
class  CBlastScoreBlk
 Wrapper class for BlastScoreBlk . More...
 
class  CBlastScoringOptions
 Wrapper class for BlastScoringOptions . More...
 
class  CBlastScoringParameters
 Wrapper class for BlastScoringParameters . More...
 
class  CBlastEffectiveLengthsOptions
 Wrapper class for BlastEffectiveLengthsOptions . More...
 
class  CBlastEffectiveLengthsParameters
 Wrapper class for BlastEffectiveLengthsParameters . More...
 
class  CBlastGapAlignStruct
 Wrapper class for BlastGapAlignStruct . More...
 
class  CBlastHSPResults
 Wrapper class for BlastHSPResults . More...
 
class  CPSIMsa
 Wrapper class for PSIMsa . More...
 
class  CPSIMatrix
 Wrapper class for PSIMatrix . More...
 
class  CPSIDiagnosticsRequest
 Wrapper class for PSIDiagnosticsRequest . More...
 
class  CPSIDiagnosticsResponse
 Wrapper class for PSIDiagnosticsResponse . More...
 
class  CBlastSeqSrc
 Wrapper class for BlastSeqSrc . More...
 
class  CBlastSeqSrcIterator
 Wrapper class for BlastSeqSrcIterator . More...
 
class  CBlast_Message
 Wrapper class for Blast_Message . More...
 
class  CBlastMaskLoc
 Wrapper class for BlastMaskLoc . More...
 
class  CBlastSeqLoc
 Wrapper class for BlastSeqLoc . More...
 
class  CSBlastProgress
 Wrapper class for SBlastProgress . More...
 
class  CBlastSystemException
 Defines system exceptions occurred while running BLAST. More...
 
class  CBlastException
 Defines BLAST error codes (user errors included) More...
 
class  CBlastNucleotideOptionsHandle
 Handle to the nucleotide-nucleotide options to the BLAST algorithm. More...
 
class  CBlastOptions
 Encapsulates ALL the BLAST algorithm's options. More...
 
class  CBlastOptionsBuilder
 Class to build CBlastOptionsHandle from blast4 ASN objects. More...
 
class  CBlastOptionsBuilder::SOptional< T >
 Optional-value idiom. More...
 
class  CBlastOptionsFactory
 Creates BlastOptionsHandle objects with default values for the programs/tasks requested. More...
 
class  CBlastOptionsHandle
 Handle to the options to the BLAST algorithm. More...
 
class  CBlastProteinOptionsHandle
 Handle to the protein-protein options to the BLAST algorithm. More...
 
class  CBlastAncillaryData
 Class used to return ancillary data from a blast search, i.e. More...
 
class  CSearchResults
 Search Results for One Query. More...
 
class  CSearchResultSet
 Search Results for All Queries. More...
 
class  CBlastRPSOptionsHandle
 Handle to the rpsblast options to the BLAST algorithm. More...
 
class  IBlastSeqInfoSrc
 Abstract base class to encapsulate retrieval of sequence identifiers. More...
 
class  CBlastpKmerOptionsHandle
 Handle to the KMER BLASTP options. More...
 
class  CBlastxOptionsHandle
 Handle to the translated nucleotide-protein options to the BLAST algorithm. More...
 
class  IPssmInputCdd
 Interface for strategy to pre-process multiple alignment of conserved domains matches as input data for PSSM engine. More...
 
class  CCddInputData
 Strategy for pre-processing RPS-BLAST matches for PSSM computation. More...
 
class  CCddInputData::CHitSegment
 Represents one alignment segment of a RPS-BLAST hit. More...
 
class  CCddInputData::CHit
 Single RPS-BLAST hit. More...
 
class  CCddInputData::compare_hitseg_range
 Class used for sorting hit segments by range. More...
 
class  CCddInputData::compare_range
 Class used for sorting ranges. More...
 
class  CCddInputData::compare_hits_by_seqid_eval
 Class used for sorting hits by subject seq-id and e-value. More...
 
class  CDeltaBlast
 A simple realization of the DELTA-BLAST algorithm: seacrch domain database, compute PSSM, search sequence database. More...
 
class  CDeltaBlastOptionsHandle
 Handle to the protein-protein options to the BLAST algorithm. More...
 
class  CDiscNucleotideOptionsHandle
 Handle to the nucleotide-nucleotide options to the discontiguous BLAST algorithm. More...
 
class  CEffectiveSearchSpaceCalculator
 Auxiliary class to compute the effective search space. More...
 
class  CBlastHSPListQueueData
 Data structure for the queue implementation of BlastHSPStream. More...
 
class  CLocalBlast
 Class to perform a BLAST search on local BLAST databases Note that PHI-BLAST can be run using this class also, one only need to configure it as a regular blastp or blastn search and set the pattern in the CBlastOptionsHandle object. More...
 
class  CLocalDbAdapter
 Interface to create a BlastSeqSrc suitable for use in CORE BLAST from a a variety of BLAST database/subject representations. More...
 
class  CLocalSeqSearch
 Local sequence search. More...
 
class  CLocalPssmSearch
 
class  CLocalSearchFactory
 Factory for CLocalSearch. More...
 
class  CMagicBlast
 BLAST RNA-Seq mapper. More...
 
class  CMagicBlastResults
 Magic-BLAST results for a single query/read or a pair of reads. More...
 
class  CMagicBlastResultSet
 Results of Magic-BLAST mapping. More...
 
class  CMagicBlastOptionsHandle
 Handle to the nucleotide mapping options to the BLAST algorithm. More...
 
class  CPsiBlastInputClustalW
 This class is a concrete strategy for IPssmInputData which converts the CLUSTALW-style output containing a multiple sequence alignment into the data structures needed by the PSSM engine. More...
 
class  CObjMgr_QueryFactory
 NCBI C++ Object Manager dependant implementation of IQueryFactory. More...
 
class  CObjMgrFree_QueryFactory
 NCBI C++ Object Manager free implementation of IQueryFactory. More...
 
class  CPHIBlastNuclOptionsHandle
 Handle to the nuclein PHI BLAST options. More...
 
class  CPHIBlastProtOptionsHandle
 Handle to the protein PHI BLAST options. More...
 
class  CBlastPrelimSearch
 Search class to perform the preliminary stage of the BLAST search. More...
 
class  CPsiBlastInputFreqRatios
 Implements the interface to retrieve data for the last 2 stages of the PSSM creation. More...
 
class  CPsiBlastInputData
 This class is a concrete strategy for IPssmInputData, and it implements the traditional PSI-BLAST algorithm for building a multiple sequence alignment from a list of pairwise alignments using the C++ object manager. More...
 
class  CPsiBl2Seq
 Runs a single iteration of the PSI-BLAST algorithm between 2 sequences. More...
 
class  CPsiBlast
 Runs a single iteration of the PSI-BLAST algorithm on a BLAST database. More...
 
class  CPsiBlastIterationState
 Represents the iteration state in PSI-BLAST. More...
 
class  CPSIBlastOptionsHandle
 Handle to the protein-protein options to the BLAST algorithm. More...
 
class  CPssmEngineException
 Exception class for the CPssmEngine class. More...
 
class  CPssmEngine
 Computes a PSSM as specified in PSI-BLAST. More...
 
class  CScorematPssmConverter
 Auxiliary class to convert data encoded in the PSSM to CNcbiMatrix. More...
 
struct  IPssmInput_Base
 Base class for the IPssmInputData and IPssmInputFreqRatios interfaces, provided to avoid duplicating the methods that are common to both interfaces. More...
 
struct  IPssmInputData
 Abstract base class to encapsulate the source(s) and pre-processing of PSSM input data as well as options to the PSI-BLAST PSSM engine. More...
 
struct  IPssmInputFreqRatios
 Interface used to retrieve the PSSM frequency ratios to allow for "restart" processing in PSI-BLAST: Given a preliminary. More...
 
class  ILocalQueryData
 Provides access (not ownership) to the C structures used to configure local BLAST search class implementations. More...
 
class  IRemoteQueryData
 
class  IQueryFactory
 Source of query sequence data for BLAST Provides an interface for search classes to retrieve sequence data to be used in local/remote searches without coupling them to the actual means of retrieving the data. More...
 
class  CRemoteBlastException
 Exception class for the CRemoteBlast class. More...
 
class  CRemoteBlast
 API for Remote Blast Requests. More...
 
class  CRemoteSeqSearch
 Remote Sequence Search. More...
 
class  CRemotePssmSearch
 Remote Sequence Search. More...
 
class  CRemoteSearchFactory
 Factory for CRemoteSearch. More...
 
class  CBlastRPSInfo
 Wrapper class to manage the BlastRPSInfo structure, as currently there aren't any allocation or deallocation functions for this structure in the CORE of BLAST. More...
 
class  CRPSTBlastnOptionsHandle
 Handle to the options for translated nucleotide-RPS blast. More...
 
struct  CImportStrategyData
 This is the "mutable" data for CImportStrategy. More...
 
class  CImportStrategy
 Class to return parts of the CBlast4_request, or data associated with a CBlast4_request, such as options. More...
 
class  CExportStrategy
 
struct  SPatternUnit
 
class  CSeedTop
 
class  CSeqDbSeqInfoSrc
 Implementation of the IBlastSeqInfoSrc interface to encapsulate retrieval of sequence identifiers and lengths from a BLAST database. More...
 
class  CSeqVecSeqInfoSrc
 Implementation of the IBlastSeqInfoSrc interface to encapsulate retrieval of sequence identifiers and lengths from a vector of Seq-locs. More...
 
class  CStructWrapper< TData >
 
class  CThreadable
 Class that supports setting the number of threads to use with a given algorithm. More...
 
class  CSetupFactory
 Auxiliary class to create the various C structures to set up the preliminary and/or traceback stages of the search. More...
 
struct  SInternalData
 Lightweight wrapper to enclose C structures needed for running the preliminary and traceback stages of the BLAST search. More...
 
struct  SDatabaseScanData
 Structure to hold results of the preliminary (databases scanning phase) part of the search that are needed for the traceback. More...
 
class  CTBlastnOptionsHandle
 Handle to the protein-translated nucleotide options to the BLAST algorithm. More...
 
class  CTBlastxOptionsHandle
 Handle to the translated nucleotide-translated nucleotide options to the BLAST algorithm. More...
 
class  CBlastTracebackSearch
 
class  CSearchException
 Exception class. More...
 
class  CSearchDatabase
 Blast Search Subject. More...
 
class  ISearch
 Single Iteration Blast Database Search. More...
 
class  ISeqSearch
 Single Iteration Search of Sequence(s) Against Blast Database(s) More...
 
class  IPssmSearch
 Experimental interface (since this does not provide a full interface to PSI-BLAST) More...
 
class  ISearchFactory
 Factory for ISearch. More...
 
class  CBlastVersion
 Keeps track of the version of the BLAST engine in the NCBI C++ toolkit. More...
 
class  CReference
 Class to keep track of the various BLAST references. More...
 
class  CIgBlastVersion
 Keeps track of the version of IgBLAST in the NCBI C++ toolkit. More...
 
class  CIgBlastOptions
 
class  CIgAnnotation
 
class  CIgAnnotationInfo
 
class  CIgBlastResults
 
class  CIgBlast
 
class  ScorePositionSort
 
class  CBlastServicesException
 RemoteServicesException. More...
 
class  CBlastServices
 API for Remote Blast Services. More...
 
class  CBlastSeqVectorFromCSeq_data
 Implementation of the IBlastSeqVector interface which obtains data from a CSeq_data object. More...
 
class  CBlastQuerySourceBioseqSet
 Implements the IBlastQuerySource interface using a CBioseq_set as data source. More...
 
struct  TQueryMessagesLessComparator
 
struct  TQueryMessagesEqualComparator
 
struct  SBlastSetupData
 Return type of BlastSetupPreliminarySearch. More...
 
class  CIndexedDb
 This class is responsible for loading indices and doing the actual seed search. More...
 
class  CIndexedDb_Old
 Index wrapper for old style MegaBLAST indexing functionality. More...
 
class  CIndexedDb_New
 Index wrapper for new style MegaBLAST indexing functionality. More...
 
struct  CIndexedDb_New::SVolumeDescriptor
 Information about one leaf index volume. More...
 
struct  CIndexedDb_New::SVolResults
 Reference count for the volume results. More...
 
class  CBlastOptionsMemento
 Class that allows the transfer of data structures from the CBlastOptionsLocal class to either the BLAST preliminary or traceback search classes. More...
 
class  CEffectiveSearchSpacesMemento
 Memento class to save, replace out, and restore the effective search space options of the CBlastOptions object passed to its constructor. More...
 
class  CBlastQuerySourceOM
 Implements the object manager dependant version of the IBlastQuerySource. More...
 
class  CBlastSeqVectorOM
 Implementation of the IBlastSeqVector interface which obtains data from a CSeq_loc and a CScope relying on the CSeqVector class. More...
 
struct  SBlast4ParamFinder
 Finder class for matching CBlast4_parameter. More...
 
class  CBlastOptionsRemote
 Encapsulates all blast input parameters. More...
 
class  CBlastOptionsLocal
 Encapsulates all blast input parameters. More...
 
struct  SBlastSequence
 Structure to store sequence data and its length for use in the CORE of BLAST (it's a malloc'ed array of Uint1 and its length) FIXME: do not confuse with blast_seg.c's SSequence. More...
 
class  IBlastQuerySource
 Lightweight wrapper around an indexed sequence container. More...
 
class  IBlastSeqVector
 Lightweight wrapper around sequence data which provides a CSeqVector-like interface to the data. More...
 
class  CBlastQueryFilteredFrames
 Collection of BlastSeqLoc lists for filtering processing. More...
 
class  CFilteringMemento
 Memento class to save, null out, and restore the filtering options of the CBlastOptionsMemento object passed to its constructor This prevents side effects (like filtering the query sequence) to occur during calculation of the effective search space. More...
 
struct  seq_align_pairs_first
 
struct  compare_alignments_fwrev_first
 
struct  compare_alignments_revfw_first
 
class  CObjMgr_LocalQueryData
 Provides access (not ownership) to the C structures used to configure local BLAST search class implementations. More...
 
class  CObjMgr_RemoteQueryData
 
class  CObjMgrFree_LocalQueryData
 
class  CObjMgrFree_RemoteQueryData
 
class  CPrelimSearchRunner
 Functor to run the preliminary stage of the BLAST search. More...
 
class  CPrelimSearchThread
 Thread class to run the preliminary stage of the BLAST search. More...
 
class  CNcbiMatrix< T >
 
class  CPsiBlastAlignmentProcessor
 Auxiliary class to retrieve sequence identifiers its position in the alignment which are below the inclusion evalue threshold. More...
 
class  CPsiBlastValidate
 Auxialiry class containing static methods to validate PSI-BLAST search components. More...
 
class  CPsiBlastImpl
 Implementation class for PSI-BLAST (database search and 2 sequences). More...
 
struct  SNcbiMatrix2DoubleMatrix
 Auxiliary class to convert from a CNcbiMatrix into a double** as required by the C API. More...
 
class  CBlastRPSAuxInfo
 Wrapper class to manage the BlastRPSAuxInfo structure, as currently there aren't any allocation or deallocation functions for this structure in the CORE of BLAST. More...
 
class  CRpsAuxFile
 This class represents the .aux file in a RPS-BLAST file, which contains information about the scoring matrix to be used during the RPS-BLAST search, the scaling factor, an array of K statistical values (karlin_k), as well as various fields that are currently unused. More...
 
class  CRpsMmappedFile
 Encapsulates logic of mmap'ing and performing sanity checks on RPS-BLAST database files. More...
 
class  CRpsLookupTblFile
 This class represents the .loo file in a RPS-BLAST file, which contains the pre-computed lookup table. More...
 
class  CRpsPssmFile
 This class represents the .rps file in a RPS-BLAST file, which contains the PSSMs for the database. More...
 
class  CRpsFreqsFile
 This class represents the .wcounts file in a RPS-BLAST file, which contains the weighted residue frequencies for the database. More...
 
class  CRpsObsrFile
 This class represents the .obsr file in a RPS-BLAST file, which contains the numbers of independent observations for the database. More...
 
class  CRpsFreqRatiosFile
 This class represents the .freq file in a RPS-BLAST file, which contains the frequency ratios for the database. More...
 
class  CBioseqSeqInfoSrc
 Implementation of the IBlastSeqInfoSrc interface to encapsulate retrieval of sequence identifiers and lengths from a CBioseq/CBioseq_set object. More...
 
class  CMultiSeqInfo
 Contains information about all sequences in a set. More...
 
struct  SMultiSeqSrcNewArgs
 Encapsulates the arguments needed to initialize multi-sequence source. More...
 
class  CQueryFactoryInfo
 Contains information about all sequences in a set. More...
 
struct  SQueryFactorySrcNewArgs
 Encapsulates the arguments needed to initialize multi-sequence source. More...
 
struct  SSeqDB_SeqSrc_Data
 Simple container to support SeqSrc-local data. More...
 
class  CSeqDbSrcNewArgs
 Encapsulates the arguments needed to initialize CSeqDB. More...
 
class  CQuerySplitter
 Class responsible for splitting query sequences and providing data to the BLAST search class to search a split query chunk. More...
 
class  CContextTranslator
 Auxiliary class to provide convenient and efficient access to conversions between contexts local to query split chunks and the absolute (full, unsplit) query. More...
 
class  CQueryDataPerChunk
 Auxiliary class to determine information about the query that was split into chunks. More...
 
class  CSplitQueryBlk
 Wrapper class around SSplitQueryBlk structure. More...
 
class  CAutoNcbiConfigFile
 Auxiliary class to write temporary NCBI configuration files in the local directory for the purpose of testing the CBlastScopeSource configuration class via this file (and override any other installed NCBI configuration files) More...
 
class  CBlastScopeSourceWrapper
 RAII class for the CBlastScopeSource. More...
 

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...
 
#define BLAST2NA_SIZE   4
 Size of compressed nucleic acid alphabet. More...
 
#define BLASTNA_SIZE   16
 Size of nucleic acid alphabet. More...
 
#define BLASTAA_SIZE   28
 Size of aminoacid alphabet. More...
 
#define BLASTNA_SEQ_CODE   99
 Identifies the blastna alphabet, for use in blast only. More...
 
#define BLASTAA_SEQ_CODE   11
 == Seq_code_ncbistdaa More...
 
#define NCBI4NA_SEQ_CODE   4
 == Seq_code_ncbi4na More...
 
#define NCBI_MODULE   NETBLAST
 
#define SMALLEST_EVALUE   1.0e-180
 Threshold below which e-values are saved as 0. More...
 
#define GAP_VALUE   -1
 Value in the Dense-seg indicating a gap. More...
 
#define GAP_IN_ALIGNMENT   ((Uint4)-1)
 Representation of GAP in Seq-align. More...
 
#define GAP_IN_ALIGNMENT   ((Uint4)-1)
 Representation of GAP in Seq-align. More...
 
#define NCBI_MODULE   NETBLAST
 

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...
 
typedef CSeqLocInfo::ETranslationFrame CFrameFinder::ETranslationFrame
 Convenience typedef. More...
 
typedef const CRef< CSeqLocInfoCFrameFinder::argument_type
 
typedef bool CFrameFinder::result_type
 
typedef objects::CBlast4_parameters::Tdata CBlastOptionsBuilder::TValueList
 List of name/value pairs. More...
 
typedef list< CRef< objects::CBlast4_mask > > CBlastOptionsBuilder::TMaskList
 List of Blast4 masks. More...
 
typedef CBlastOptions::EAPILocality CBlastOptionsFactory::EAPILocality
 Convenience define. More...
 
typedef CBlastOptions::EAPILocality CBlastOptionsHandle::EAPILocality
 Convenience define. More...
 
typedef CRef< CSearchResultsCSearchResultSet::value_type
 data type contained by this container More...
 
typedef vector< CConstRef< objects::CSeq_id > > CSearchResultSet::TQueryIdVector
 List of query ids. More...
 
typedef vector< value_type >::size_type CSearchResultSet::size_type
 size_type type definition More...
 
typedef vector< CRef< CBlastAncillaryData > > CSearchResultSet::TAncillaryVector
 typedef for a vector of CRef<CBlastAncillaryData> More...
 
typedef vector< value_type >::const_iterator CSearchResultSet::const_iterator
 const_iterator type definition More...
 
typedef vector< value_type >::iterator CSearchResultSet::iterator
 iterator type definition More...
 
typedef Uint4 CCddInputData::TFreqs
 Type used for residue frequencies stored in CDD. More...
 
typedef Uint4 CCddInputData::TObsr
 Type used for number of independent observations stored in CDD. More...
 
typedef CRange< intCCddInputData::TRange
 
typedef int CMagicBlastResults::TResultsInfo
 
typedef CRef< CMagicBlastResultsCMagicBlastResultSet::value_type
 data type contained by this container More...
 
typedef vector< value_type >::size_type CMagicBlastResultSet::size_type
 size_type type definition More...
 
typedef vector< value_type >::const_iterator CMagicBlastResultSet::const_iterator
 const_iterator type definition More...
 
typedef vector< value_type >::iterator CMagicBlastResultSet::iterator
 iterator type definition More...
 
typedef set< objects::CSeq_id_Handle > CPsiBlastIterationState::TSeqIds
 List of CSeq_ids. More...
 
typedef list< CRef< objects::CSeq_loc > > IRemoteQueryData::TSeqLocs
 Type definition for CSeq_loc set used as queries in the BLAST remote search class. More...
 
typedef list< CRef< objects::CSeq_loc > > CRemoteBlast::TSeqLocList
 Typedef for a list of Seq-locs. More...
 
typedef list< CRef< objects::CBlast4_ka_block > > CRemoteBlast::TKarlinAltschulBlocks
 Convenience typedef for a list of CRef<CBlast4_ka_block> More...
 
typedef vector< CRef< objects::CSeq_interval > > CRemoteBlast::TSeqIntervalVector
 Defines a std::vector of CRef<CSeq_interval> More...
 
typedef vector< CRef< objects::CSeq_data > > CRemoteBlast::TSeqDataVector
 Defines a std::vector of CRef<CSeq_data> More...
 
typedef list< CRef< objects::CBlast4_parameter > > CRemoteBlast::TValueList
 Value list. More...
 
typedef objects::CBlast4_get_search_results_reply CRemoteBlast::TGSRR
 An alias for the most commonly used part of the Blast4 search results. More...
 
typedef vector< CConstRef< CSeq_loc > > CSeedTop::TSeedTopResults
 
typedef TData *() CStructWrapper< TData >::TDelete(TData *)
 type definition for a function that deallocated memory associated with an object. More...
 
typedef CStructWrapper< BlastScoreBlkTBlastScoreBlk
 
typedef CStructWrapper< LookupTableWrapTLookupTableWrap
 
typedef CStructWrapper< BlastDiagnosticsTBlastDiagnostics
 
typedef CStructWrapper< BlastHSPStreamTBlastHSPStream
 
typedef CStructWrapper< BlastSeqSrcTBlastSeqSrc
 
typedef CStructWrapper< SPHIPatternSearchBlkTSPHIPatternSearchBlk
 
typedef vector< TGiCSearchDatabase::TGiList
 Define a list of gis. More...
 
typedef vector< CRef< objects::CSeq_id > > CBlastServices::TSeqIdVector
 Defines a std::vector of CRef<CSeq_id> More...
 
typedef vector< CRef< objects::CBioseq > > CBlastServices::TBioseqVector
 Defines a std::vector of CRef<CBioseq> More...
 
typedef vector< CRef< objects::CSeq_interval > > CBlastServices::TSeqIntervalVector
 Defines a std::vector of CRef<CSeq_interval> More...
 
typedef vector< CRef< objects::CSeq_data > > CBlastServices::TSeqDataVector
 Defines a std::vector of CRef<CSeq_data> More...
 
typedef vector< CConstRef< CDbIndex::CSearchResults > > CIndexedDb_Old::TResultSet
 Type used to represent collections of search result sets. More...
 
typedef vector< CDbIndex::TSeqNumCIndexedDb_Old::TSeqMap
 Type used to map loaded indices to subject ids. More...
 
typedef std::vector< std::stringCIndexedDb_New::TStrVec
 Alias for a vector os strings. More...
 
typedef std::vector< SVolumeDescriptorCIndexedDb_New::TVolList
 List of leaf index volumes. More...
 
typedef CConstRef< CDbIndex::CSearchResultsCIndexedDb_New::TVolResults
 This type captures the seeds found by search of an index volume. More...
 
typedef std::vector< SVolResultsCIndexedDb_New::TResultsHolder
 List of reference counted result holders. More...
 
typedef ncbi::objects::CBlast4_parameters CBlastOptionsRemote::TBlast4Opts
 
typedef vector< CConstRef< objects::CSeq_loc > > CBlastOptionsRemote::TSeqLocVector
 
typedef CSeqLocInfo::ETranslationFrame CBlastQueryFilteredFrames::ETranslationFrame
 Data type for frame value, however inputs to methods use "int" instead of this type for readability and brevity. More...
 
typedef map< ETranslationFrame, BlastSeqLoc * > CBlastQueryFilteredFrames::TFrameSet
 Frame and BlastSeqLoc* info type. More...
 
typedef CPsiBlastIterationState::TSeqIds CPsiBlastAlignmentProcessor::THitIdentifiers
 Container of Seq-ids for the subject sequences (hits) aligned with the query. More...
 
typedef list< CRef< objects::CBlast4_error > > TErrorList
 Error value type used by Blast4 ASN.1 objects. More...
 
typedef SSeqDB_SeqSrc_Data TSeqDBData
 
typedef vector< CRef< objects::CScope > > CQuerySplitter::TScopeVector
 Defines a vector of CScope objects. More...
 
typedef vector< CRef< CBlastQueryVector > > CQuerySplitter::TSplitQueryVector
 Definition of a vector of CBlastQueryVectors, each element corresponds to a query chunk. More...
 
typedef COpenRange< TSeqPosTChunkRange
 Range describing a query chunk. More...
 
typedef blast::SDataLoaderConfig::EConfigOpts CAutoNcbiConfigFile::EConfigOpts
 

Enumerations

enum  CBlastSystemException::EErrCode { CBlastSystemException::eOutOfMemory , CBlastSystemException::eNetworkError }
 Error types that BLAST can generate. More...
 
enum  CBlastException::EErrCode {
  CBlastException::eCoreBlastError , CBlastException::eInvalidOptions , CBlastException::eInvalidArgument , CBlastException::eNotSupported ,
  CBlastException::eInvalidCharacter , CBlastException::eSeqSrcInit , CBlastException::eRpsInit , CBlastException::eSetup ,
  CBlastException::eSystem
}
 Error types that BLAST can generate. More...
 
enum  CBlastOptionsFactory::ETaskSets { CBlastOptionsFactory::eNuclNucl , CBlastOptionsFactory::eProtProt , CBlastOptionsFactory::eMapping , CBlastOptionsFactory::eAll }
 Sets of tasks for the command line BLAST binaries. More...
 
enum  CCddInputData::CHit::EApplyTo { CCddInputData::CHit::eQuery = 0 , CCddInputData::CHit::eSubject }
 Master selection for operations involving ranges. More...
 
enum  CMagicBlastResults::EResultsInfo { CMagicBlastResults::fUnaligned = 1 , CMagicBlastResults::fFiltered = 1 << 1 }
 Information flags about mapping results. More...
 
enum  CMagicBlastResults::EOrdering { CMagicBlastResults::eFwRevFirst = 0 , CMagicBlastResults::eRevFwFirst }
 Ordering of alignments. More...
 
enum  CPssmEngineException::EErrCode { CPssmEngineException::eNullInputData , CPssmEngineException::eInvalidInputData }
 Types of exceptions generated by the CPssmEngine class. More...
 
enum  CRemoteBlastException::EErrCode { CRemoteBlastException::eServiceNotAvailable , CRemoteBlastException::eIncompleteConfig }
 Types of exceptions generated by the CRemoteBlast class. More...
 
enum  CRemoteBlast::ESearchStatus { CRemoteBlast::eStatus_Unknown , CRemoteBlast::eStatus_Done , CRemoteBlast::eStatus_Pending , CRemoteBlast::eStatus_Failed }
 Represents the status of previously submitted search/RID. More...
 
enum  CRemoteBlast::EDebugMode { CRemoteBlast::eDebug = 0 , CRemoteBlast::eSilent }
 Debugging support can be turned on with eDebug or off with eSilent. More...
 
enum  CRemoteBlast::EState { CRemoteBlast::eStart = 0 , CRemoteBlast::eFailed , CRemoteBlast::eWait , CRemoteBlast::eDone }
 Various states the search can be in. More...
 
enum  CRemoteBlast::EImmediacy { CRemoteBlast::ePollAsync = 0 , CRemoteBlast::ePollImmed }
 Indicates whether to use async mode. More...
 
enum  CRemoteBlast::ENeedConfig {
  CRemoteBlast::eNoConfig = 0x0 , CRemoteBlast::eProgram = 0x1 , CRemoteBlast::eService = 0x2 , CRemoteBlast::eQueries = 0x4 ,
  CRemoteBlast::eSubject = 0x8 , CRemoteBlast::eNeedAll = 0xF
}
 This class attempts to verify whether all necessary configuration is complete before attempting to submit the search. More...
 
enum  CBlastRPSInfo::EOpenFlags {
  CBlastRPSInfo::fLookupTableFile = 1 , CBlastRPSInfo::fPssmFile = 2 , CBlastRPSInfo::fAuxInfoFile = 4 , CBlastRPSInfo::fFrequenciesFile = 8 ,
  CBlastRPSInfo::fObservationsFile = 16 , CBlastRPSInfo::fFreqRatiosFile = 32 , CBlastRPSInfo::fRpsBlast = fLookupTableFile | fPssmFile | fAuxInfoFile , CBlastRPSInfo::fDeltaBlast = fFrequenciesFile | fObservationsFile ,
  CBlastRPSInfo::fRpsBlastWithCBS = fRpsBlast | fFreqRatiosFile
}
 Flags for opening database files. More...
 
enum  { CThreadable::kMinNumThreads = 1 }
 Never have less than 1 thread. More...
 
enum  CSearchException::EErrCode { CSearchException::eConfigErr , CSearchException::eMemErr , CSearchException::eInternal }
 Errors are classified into one of two types. More...
 
enum  CSearchDatabase::EMoleculeType { CSearchDatabase::eBlastDbIsProtein , CSearchDatabase::eBlastDbIsNucleotide }
 Molecule of the BLAST database. More...
 
enum  CReference::EPublication {
  CReference::eGappedBlast = 0 , CReference::ePhiBlast , CReference::eMegaBlast , CReference::eCompBasedStats ,
  CReference::eCompAdjustedMatrices , CReference::eIndexedMegablast , CReference::eDeltaBlast , CReference::eMaxPublications
}
 Enumerates the various BLAST publications. More...
 
enum  EBlastEncoding {
  eBlastEncodingProtein = 0 , eBlastEncodingNucleotide = 1 , eBlastEncodingNcbi4na = 2 , eBlastEncodingNcbi2na = 3 ,
  eBlastEncodingError = 255
}
 Different types of sequence encodings for sequence retrieval from the BLAST database. More...
 
enum  CBlastServicesException::EErrCode { CBlastServicesException::eArgErr , CBlastServicesException::eFileErr , CBlastServicesException::eRequestErr , CBlastServicesException::eMemErr }
 Errors are classified into one of two types. More...
 
enum  ESentinelType { eSentinels , eNoSentinels }
 Allows specification of whether sentinel bytes should be used or not. More...
 
enum  CPsiBlastValidate::EQueryFactoryType { CPsiBlastValidate::eQFT_Query , CPsiBlastValidate::eQFT_Subject }
 Enumeration to specify the different uses of the query factory. More...
 
enum  { CQueryDataPerChunk::kUninitialized = -1 }
 Initial value of all entries in the above cache. More...
 

Functions

 CBl2Seq::CBl2Seq (const SSeqLoc &query, const SSeqLoc &subject, EProgram p)
 Constructor to compare 2 sequences with default options. More...
 
 CBl2Seq::CBl2Seq (const SSeqLoc &query, const TSeqLocVector &subjects, EProgram p, bool dbscan_mode=false)
 Constructor to compare query against all subject sequences with default options. More...
 
 CBl2Seq::CBl2Seq (const TSeqLocVector &queries, const TSeqLocVector &subjects, EProgram p, bool dbscan_mode=false)
 Constructor to allow query concatenation with default options. More...
 
 CBl2Seq::CBl2Seq (const SSeqLoc &query, const SSeqLoc &subject, CBlastOptionsHandle &opts)
 Constructor to compare 2 sequences with specified options. More...
 
 CBl2Seq::CBl2Seq (const SSeqLoc &query, const TSeqLocVector &subjects, CBlastOptionsHandle &opts, bool dbscan_mode=false)
 Constructor to compare query against all subject sequences with specified options. More...
 
 CBl2Seq::CBl2Seq (const TSeqLocVector &queries, const TSeqLocVector &subjects, CBlastOptionsHandle &opts, bool dbscan_mode=false)
 Constructor to allow query concatenation with specified options. More...
 
virtual CBl2Seq::~CBl2Seq ()
 Destructor. More...
 
void CBl2Seq::SetQuery (const SSeqLoc &query)
 Set the query. More...
 
const SSeqLocCBl2Seq::GetQuery () const
 Retrieve the query sequence. More...
 
void CBl2Seq::SetQueries (const TSeqLocVector &queries)
 Set a vector of query sequences for a concatenated search. More...
 
const TSeqLocVectorCBl2Seq::GetQueries () const
 Retrieve a vector of query sequences. More...
 
void CBl2Seq::SetSubject (const SSeqLoc &subject)
 Set the subject sequence. More...
 
const SSeqLocCBl2Seq::GetSubject () const
 Retrieve the subject sequence. More...
 
void CBl2Seq::SetSubjects (const TSeqLocVector &subjects)
 Set a vector of subject sequences. More...
 
const TSeqLocVectorCBl2Seq::GetSubjects () const
 Retrieve a vector of subject sequences. More...
 
CBlastOptionsHandleCBl2Seq::SetOptionsHandle ()
 Set the options handle. More...
 
const CBlastOptionsHandleCBl2Seq::GetOptionsHandle () const
 Retrieve the options handle. More...
 
virtual TSeqAlignVector CBl2Seq::Run ()
 Perform BLAST search Assuming N queries and M subjects, the structure of the returned vector is as follows, with types indicated in parenthesis: TSeqAlignVector = [ {Results for query 1 and subject 1 (Seq-align-set)}, {Results for query 1 and subject 2 (Seq-align-set)}, ... More...
 
CRef< CSearchResultSetCBl2Seq::RunEx ()
 Performs the same functionality as Run(), but it returns a different data type. More...
 
TSeqLocInfoVector CBl2Seq::GetFilteredQueryRegions () const
 Retrieves regions filtered on the query/queries. More...
 
void CBl2Seq::GetFilteredSubjectRegions (vector< TSeqLocInfoVector > &retval) const
 Retrieves regions filtered on the subject sequence(s) More...
 
BlastDiagnosticsCBl2Seq::GetDiagnostics () const
 Retrieves the diagnostics information returned from the engine. More...
 
void CBl2Seq::GetAncillaryResults (CSearchResultSet::TAncillaryVector &retval) const
 Get the ancillary results for a BLAST search (to be used with the Run() method) More...
 
void CBl2Seq::GetMessages (TSearchMessages &messages) const
 Returns error messages/warnings. More...
 
TInterruptFnPtr CBl2Seq::SetInterruptCallback (TInterruptFnPtr fnptr, void *user_data=NULL)
 Set a function callback to be invoked by the CORE of BLAST to allow interrupting a BLAST search in progress. More...
 
static TSeqAlignVector CBl2Seq::CSearchResultSet2TSeqAlignVector (CRef< CSearchResultSet > res)
 Converts m_Results data member to a TSeqAlignVector. More...
 
void CBl2Seq::x_BuildAncillaryData ()
 Populate the internal m_AncillaryData member. More...
 
void CBl2Seq::x_Init (const TSeqLocVector &queries, const TSeqLocVector &subjs)
 Common initialization code for all c-tors. More...
 
void CBl2Seq::x_InitCLocalBlast ()
 Common initialization of the CLocalBlast object. More...
 
 CBl2Seq::CBl2Seq (const CBl2Seq &rhs)
 Prohibit copy constructor. More...
 
CBl2SeqCBl2Seq::operator= (const CBl2Seq &rhs)
 Prohibit assignment operator. More...
 
void CBl2Seq::x_ResetInternalDs ()
 Clean up structures and results from any previous search. More...
 
 CBlastAdvancedProteinOptionsHandle::CBlastAdvancedProteinOptionsHandle (EAPILocality locality=CBlastOptions::eLocal)
 Creates object with default options set. More...
 
 CBlastAdvancedProteinOptionsHandle::CBlastAdvancedProteinOptionsHandle (CRef< CBlastOptions > opt)
 
ECompoAdjustModes CBlastAdvancedProteinOptionsHandle::GetCompositionBasedStats () const
 Returns this mode, which mostly specifies whether composition of db sequence is taken into account when calculating expect values. More...
 
void CBlastAdvancedProteinOptionsHandle::SetCompositionBasedStats (ECompoAdjustModes mode)
 Sets this mode, which mostly specifies whether composition of db sequence is taken into account when calculating expect values. More...
 
bool CBlastAdvancedProteinOptionsHandle::GetSmithWatermanMode () const
 Returns this mode, specifying that smith waterman rather than the normal blast heuristic should be used for final extensions. More...
 
void CBlastAdvancedProteinOptionsHandle::SetSmithWatermanMode (bool m=false)
 Sets this mode, specifying that smith waterman rather than the normal blast heuristic should be used for final extensions. More...
 
virtual void CBlastAdvancedProteinOptionsHandle::SetGappedExtensionDefaults ()
 Overrides SetGappedExtensionDefaults for advanced blastp options. More...
 
virtual void CBlastAdvancedProteinOptionsHandle::SetQueryOptionDefaults ()
 Overrides SetQueryOptionDefaults for advanced blastp options to disable filtering. More...
 
 CBlastAdvancedProteinOptionsHandle::CBlastAdvancedProteinOptionsHandle (const CBlastAdvancedProteinOptionsHandle &rhs)
 Disallow copy constructor. More...
 
CBlastAdvancedProteinOptionsHandleCBlastAdvancedProteinOptionsHandle::operator= (const CBlastAdvancedProteinOptionsHandle &rhs)
 Disallow assignment operator. More...
 
static void Deleter< BlastHSPStream >::Delete (BlastHSPStream *p)
 
string Blast_ProgramNameFromType (EBlastProgramType program)
 Returns a string program name, given a blast::EBlastProgramType enumeration. More...
 
BlastSeqLocCSeqLoc2BlastSeqLoc (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...
 
 CFrameFinder::CFrameFinder (ETranslationFrame frame)
 ctor More...
 
result_type CFrameFinder::operator() (argument_type &seqlocinfo) const
 Returns true if its argument's frame corresponds to the one used to create this object. 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...
 
bool CConstRefCSeqId_LessThan::operator() (const CConstRef< objects::CSeq_id > &a, const CConstRef< objects::CSeq_id > &b) const
 
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...
 
 CAutomaticGenCodeSingleton::CAutomaticGenCodeSingleton (int genetic_code=0)
 Default constructor. More...
 
void CAutomaticGenCodeSingleton::AddGeneticCode (int genetic_code)
 Add the genetic code to the genetic code singleton. More...
 
 CAutomaticGenCodeSingleton::~CAutomaticGenCodeSingleton ()
 destructor More...
 
 CAutomaticGenCodeSingleton::DECLARE_CLASS_STATIC_FAST_MUTEX (sm_Mutex)
 Reference counter for this object so that the genetic code singleton is. More...
 
 CBlastAppDiagHandler::CBlastAppDiagHandler ()
 Constructor. More...
 
 CBlastAppDiagHandler::~CBlastAppDiagHandler ()
 Destructor. More...
 
virtual void CBlastAppDiagHandler::Post (const SDiagMessage &mess)
 Save and post diag message. More...
 
void CBlastAppDiagHandler::ResetMessages (void)
 Reset messgae buffer, erase all saved message. More...
 
void CBlastAppDiagHandler::DoNotSaveMessages (void)
 Call to turn off saving diag message, discard all saved message. More...
 
list< CRef< objects::CBlast4_error > > & CBlastAppDiagHandler::GetMessages (void)
 Return list of saved diag messages. More...
 
 CBLAST_SequenceBlk::CBLAST_SequenceBlk ()
 
 CBLAST_SequenceBlk::CBLAST_SequenceBlk (BLAST_SequenceBlk *p)
 
virtual CBLAST_SequenceBlk::~CBLAST_SequenceBlk ()
 
void CBLAST_SequenceBlk::Reset (BLAST_SequenceBlk *p=NULL)
 
BLAST_SequenceBlkCBLAST_SequenceBlk::Release ()
 
BLAST_SequenceBlkCBLAST_SequenceBlk::Get () const
 
 CBLAST_SequenceBlk::operator BLAST_SequenceBlk * ()
 
 CBLAST_SequenceBlk::operator BLAST_SequenceBlk * () const
 
BLAST_SequenceBlkCBLAST_SequenceBlk::operator-> ()
 
BLAST_SequenceBlkCBLAST_SequenceBlk::operator-> () const
 
BLAST_SequenceBlk ** CBLAST_SequenceBlk::operator& ()
 
virtual void CBLAST_SequenceBlk::DebugDump (CDebugDumpContext ddc, unsigned int depth) const
 Define method for dumping debug information. More...
 
 CBlastQueryInfo::CBlastQueryInfo ()
 
 CBlastQueryInfo::CBlastQueryInfo (BlastQueryInfo *p)
 
virtual CBlastQueryInfo::~CBlastQueryInfo ()
 
void CBlastQueryInfo::Reset (BlastQueryInfo *p=NULL)
 
BlastQueryInfoCBlastQueryInfo::Release ()
 
BlastQueryInfoCBlastQueryInfo::Get () const
 
 CBlastQueryInfo::operator BlastQueryInfo * ()
 
 CBlastQueryInfo::operator BlastQueryInfo * () const
 
BlastQueryInfoCBlastQueryInfo::operator-> ()
 
BlastQueryInfoCBlastQueryInfo::operator-> () const
 
BlastQueryInfo ** CBlastQueryInfo::operator& ()
 
virtual void CBlastQueryInfo::DebugDump (CDebugDumpContext ddc, unsigned int depth) const
 Define method for dumping debug information. More...
 
 CQuerySetUpOptions::CQuerySetUpOptions ()
 
 CQuerySetUpOptions::CQuerySetUpOptions (QuerySetUpOptions *p)
 
virtual CQuerySetUpOptions::~CQuerySetUpOptions ()
 
void CQuerySetUpOptions::Reset (QuerySetUpOptions *p=NULL)
 
QuerySetUpOptionsCQuerySetUpOptions::Release ()
 
QuerySetUpOptionsCQuerySetUpOptions::Get () const
 
 CQuerySetUpOptions::operator QuerySetUpOptions * ()
 
 CQuerySetUpOptions::operator QuerySetUpOptions * () const
 
QuerySetUpOptionsCQuerySetUpOptions::operator-> ()
 
QuerySetUpOptionsCQuerySetUpOptions::operator-> () const
 
QuerySetUpOptions ** CQuerySetUpOptions::operator& ()
 
virtual void CQuerySetUpOptions::DebugDump (CDebugDumpContext ddc, unsigned int depth) const
 Define method for dumping debug information. More...
 
 CLookupTableOptions::CLookupTableOptions ()
 
 CLookupTableOptions::CLookupTableOptions (LookupTableOptions *p)
 
virtual CLookupTableOptions::~CLookupTableOptions ()
 
void CLookupTableOptions::Reset (LookupTableOptions *p=NULL)
 
LookupTableOptionsCLookupTableOptions::Release ()
 
LookupTableOptionsCLookupTableOptions::Get () const
 
 CLookupTableOptions::operator LookupTableOptions * ()
 
 CLookupTableOptions::operator LookupTableOptions * () const
 
LookupTableOptionsCLookupTableOptions::operator-> ()
 
LookupTableOptionsCLookupTableOptions::operator-> () const
 
LookupTableOptions ** CLookupTableOptions::operator& ()
 
virtual void CLookupTableOptions::DebugDump (CDebugDumpContext ddc, unsigned int depth) const
 Define method for dumping debug information. More...
 
 CLookupTableWrap::CLookupTableWrap ()
 
 CLookupTableWrap::CLookupTableWrap (LookupTableWrap *p)
 
virtual CLookupTableWrap::~CLookupTableWrap ()
 
void CLookupTableWrap::Reset (LookupTableWrap *p=NULL)
 
LookupTableWrapCLookupTableWrap::Release ()
 
LookupTableWrapCLookupTableWrap::Get () const
 
 CLookupTableWrap::operator LookupTableWrap * ()
 
 CLookupTableWrap::operator LookupTableWrap * () const
 
LookupTableWrapCLookupTableWrap::operator-> ()
 
LookupTableWrapCLookupTableWrap::operator-> () const
 
LookupTableWrap ** CLookupTableWrap::operator& ()
 
virtual void CLookupTableWrap::DebugDump (CDebugDumpContext ddc, unsigned int depth) const
 Define method for dumping debug information. More...
 
 CBlastInitialWordOptions::CBlastInitialWordOptions ()
 
 CBlastInitialWordOptions::CBlastInitialWordOptions (BlastInitialWordOptions *p)
 
virtual CBlastInitialWordOptions::~CBlastInitialWordOptions ()
 
void CBlastInitialWordOptions::Reset (BlastInitialWordOptions *p=NULL)
 
BlastInitialWordOptionsCBlastInitialWordOptions::Release ()
 
BlastInitialWordOptionsCBlastInitialWordOptions::Get () const
 
 CBlastInitialWordOptions::operator BlastInitialWordOptions * ()
 
 CBlastInitialWordOptions::operator BlastInitialWordOptions * () const
 
BlastInitialWordOptionsCBlastInitialWordOptions::operator-> ()
 
BlastInitialWordOptionsCBlastInitialWordOptions::operator-> () const
 
BlastInitialWordOptions ** CBlastInitialWordOptions::operator& ()
 
virtual void CBlastInitialWordOptions::DebugDump (CDebugDumpContext ddc, unsigned int depth) const
 Define method for dumping debug information. More...
 
 CBlastInitialWordParameters::CBlastInitialWordParameters ()
 
 CBlastInitialWordParameters::CBlastInitialWordParameters (BlastInitialWordParameters *p)
 
virtual CBlastInitialWordParameters::~CBlastInitialWordParameters ()
 
void CBlastInitialWordParameters::Reset (BlastInitialWordParameters *p=NULL)
 
BlastInitialWordParametersCBlastInitialWordParameters::Release ()
 
BlastInitialWordParametersCBlastInitialWordParameters::Get () const
 
 CBlastInitialWordParameters::operator BlastInitialWordParameters * ()
 
 CBlastInitialWordParameters::operator BlastInitialWordParameters * () const
 
BlastInitialWordParametersCBlastInitialWordParameters::operator-> ()
 
BlastInitialWordParametersCBlastInitialWordParameters::operator-> () const
 
BlastInitialWordParameters ** CBlastInitialWordParameters::operator& ()
 
virtual void CBlastInitialWordParameters::DebugDump (CDebugDumpContext ddc, unsigned int depth) const
 Define method for dumping debug information. More...
 
 CBlast_ExtendWord::CBlast_ExtendWord ()
 
 CBlast_ExtendWord::CBlast_ExtendWord (Blast_ExtendWord *p)
 
virtual CBlast_ExtendWord::~CBlast_ExtendWord ()
 
void CBlast_ExtendWord::Reset (Blast_ExtendWord *p=NULL)
 
Blast_ExtendWordCBlast_ExtendWord::Release ()
 
Blast_ExtendWordCBlast_ExtendWord::Get () const
 
 CBlast_ExtendWord::operator Blast_ExtendWord * ()
 
 CBlast_ExtendWord::operator Blast_ExtendWord * () const
 
Blast_ExtendWordCBlast_ExtendWord::operator-> ()
 
Blast_ExtendWordCBlast_ExtendWord::operator-> () const
 
Blast_ExtendWord ** CBlast_ExtendWord::operator& ()
 
virtual void CBlast_ExtendWord::DebugDump (CDebugDumpContext ddc, unsigned int depth) const
 Define method for dumping debug information. More...
 
 CBlastExtensionOptions::CBlastExtensionOptions ()
 
 CBlastExtensionOptions::CBlastExtensionOptions (BlastExtensionOptions *p)
 
virtual CBlastExtensionOptions::~CBlastExtensionOptions ()
 
void CBlastExtensionOptions::Reset (BlastExtensionOptions *p=NULL)
 
BlastExtensionOptionsCBlastExtensionOptions::Release ()
 
BlastExtensionOptionsCBlastExtensionOptions::Get () const
 
 CBlastExtensionOptions::operator BlastExtensionOptions * ()
 
 CBlastExtensionOptions::operator BlastExtensionOptions * () const
 
BlastExtensionOptionsCBlastExtensionOptions::operator-> ()
 
BlastExtensionOptionsCBlastExtensionOptions::operator-> () const
 
BlastExtensionOptions ** CBlastExtensionOptions::operator& ()
 
virtual void CBlastExtensionOptions::DebugDump (CDebugDumpContext ddc, unsigned int depth) const
 Define method for dumping debug information. More...
 
 CBlastExtensionParameters::CBlastExtensionParameters ()
 
 CBlastExtensionParameters::CBlastExtensionParameters (BlastExtensionParameters *p)
 
virtual CBlastExtensionParameters::~CBlastExtensionParameters ()
 
void CBlastExtensionParameters::Reset (BlastExtensionParameters *p=NULL)
 
BlastExtensionParametersCBlastExtensionParameters::Release ()
 
BlastExtensionParametersCBlastExtensionParameters::Get () const
 
 CBlastExtensionParameters::operator BlastExtensionParameters * ()
 
 CBlastExtensionParameters::operator BlastExtensionParameters * () const
 
BlastExtensionParametersCBlastExtensionParameters::operator-> ()
 
BlastExtensionParametersCBlastExtensionParameters::operator-> () const
 
BlastExtensionParameters ** CBlastExtensionParameters::operator& ()
 
virtual void CBlastExtensionParameters::DebugDump (CDebugDumpContext ddc, unsigned int depth) const
 Define method for dumping debug information. More...
 
 CBlastHitSavingOptions::CBlastHitSavingOptions ()
 
 CBlastHitSavingOptions::CBlastHitSavingOptions (BlastHitSavingOptions *p)
 
virtual CBlastHitSavingOptions::~CBlastHitSavingOptions ()
 
void CBlastHitSavingOptions::Reset (BlastHitSavingOptions *p=NULL)
 
BlastHitSavingOptionsCBlastHitSavingOptions::Release ()
 
BlastHitSavingOptionsCBlastHitSavingOptions::Get () const
 
 CBlastHitSavingOptions::operator BlastHitSavingOptions * ()
 
 CBlastHitSavingOptions::operator BlastHitSavingOptions * () const
 
BlastHitSavingOptionsCBlastHitSavingOptions::operator-> ()
 
BlastHitSavingOptionsCBlastHitSavingOptions::operator-> () const
 
BlastHitSavingOptions ** CBlastHitSavingOptions::operator& ()
 
virtual void CBlastHitSavingOptions::DebugDump (CDebugDumpContext ddc, unsigned int depth) const
 Define method for dumping debug information. More...
 
 CBlastHitSavingParameters::CBlastHitSavingParameters ()
 
 CBlastHitSavingParameters::CBlastHitSavingParameters (BlastHitSavingParameters *p)
 
virtual CBlastHitSavingParameters::~CBlastHitSavingParameters ()
 
void CBlastHitSavingParameters::Reset (BlastHitSavingParameters *p=NULL)
 
BlastHitSavingParametersCBlastHitSavingParameters::Release ()
 
BlastHitSavingParametersCBlastHitSavingParameters::Get () const
 
 CBlastHitSavingParameters::operator BlastHitSavingParameters * ()
 
 CBlastHitSavingParameters::operator BlastHitSavingParameters * () const
 
BlastHitSavingParametersCBlastHitSavingParameters::operator-> ()
 
BlastHitSavingParametersCBlastHitSavingParameters::operator-> () const
 
BlastHitSavingParameters ** CBlastHitSavingParameters::operator& ()
 
virtual void CBlastHitSavingParameters::DebugDump (CDebugDumpContext ddc, unsigned int depth) const
 Define method for dumping debug information. More...
 
 CPSIBlastOptions::CPSIBlastOptions ()
 
 CPSIBlastOptions::CPSIBlastOptions (PSIBlastOptions *p)
 
virtual CPSIBlastOptions::~CPSIBlastOptions ()
 
void CPSIBlastOptions::Reset (PSIBlastOptions *p=NULL)
 
PSIBlastOptionsCPSIBlastOptions::Release ()
 
PSIBlastOptionsCPSIBlastOptions::Get () const
 
 CPSIBlastOptions::operator PSIBlastOptions * ()
 
 CPSIBlastOptions::operator PSIBlastOptions * () const
 
PSIBlastOptionsCPSIBlastOptions::operator-> ()
 
PSIBlastOptionsCPSIBlastOptions::operator-> () const
 
PSIBlastOptions ** CPSIBlastOptions::operator& ()
 
virtual void CPSIBlastOptions::DebugDump (CDebugDumpContext ddc, unsigned int depth) const
 Define method for dumping debug information. More...
 
 CBlastDatabaseOptions::CBlastDatabaseOptions ()
 
 CBlastDatabaseOptions::CBlastDatabaseOptions (BlastDatabaseOptions *p)
 
virtual CBlastDatabaseOptions::~CBlastDatabaseOptions ()
 
void CBlastDatabaseOptions::Reset (BlastDatabaseOptions *p=NULL)
 
BlastDatabaseOptionsCBlastDatabaseOptions::Release ()
 
BlastDatabaseOptionsCBlastDatabaseOptions::Get () const
 
 CBlastDatabaseOptions::operator BlastDatabaseOptions * ()
 
 CBlastDatabaseOptions::operator BlastDatabaseOptions * () const
 
BlastDatabaseOptionsCBlastDatabaseOptions::operator-> ()
 
BlastDatabaseOptionsCBlastDatabaseOptions::operator-> () const
 
BlastDatabaseOptions ** CBlastDatabaseOptions::operator& ()
 
virtual void CBlastDatabaseOptions::DebugDump (CDebugDumpContext ddc, unsigned int depth) const
 Define method for dumping debug information. More...
 
 CBlastScoreBlk::CBlastScoreBlk ()
 
 CBlastScoreBlk::CBlastScoreBlk (BlastScoreBlk *p)
 
virtual CBlastScoreBlk::~CBlastScoreBlk ()
 
void CBlastScoreBlk::Reset (BlastScoreBlk *p=NULL)
 
BlastScoreBlkCBlastScoreBlk::Release ()
 
BlastScoreBlkCBlastScoreBlk::Get () const
 
 CBlastScoreBlk::operator BlastScoreBlk * ()
 
 CBlastScoreBlk::operator BlastScoreBlk * () const
 
BlastScoreBlkCBlastScoreBlk::operator-> ()
 
BlastScoreBlkCBlastScoreBlk::operator-> () const
 
BlastScoreBlk ** CBlastScoreBlk::operator& ()
 
virtual void CBlastScoreBlk::DebugDump (CDebugDumpContext ddc, unsigned int depth) const
 Define method for dumping debug information. More...
 
 CBlastScoringOptions::CBlastScoringOptions ()
 
 CBlastScoringOptions::CBlastScoringOptions (BlastScoringOptions *p)
 
virtual CBlastScoringOptions::~CBlastScoringOptions ()
 
void CBlastScoringOptions::Reset (BlastScoringOptions *p=NULL)
 
BlastScoringOptionsCBlastScoringOptions::Release ()
 
BlastScoringOptionsCBlastScoringOptions::Get () const
 
 CBlastScoringOptions::operator BlastScoringOptions * ()
 
 CBlastScoringOptions::operator BlastScoringOptions * () const
 
BlastScoringOptionsCBlastScoringOptions::operator-> ()
 
BlastScoringOptionsCBlastScoringOptions::operator-> () const
 
BlastScoringOptions ** CBlastScoringOptions::operator& ()
 
virtual void CBlastScoringOptions::DebugDump (CDebugDumpContext ddc, unsigned int depth) const
 Define method for dumping debug information. More...
 
 CBlastScoringParameters::CBlastScoringParameters ()
 
 CBlastScoringParameters::CBlastScoringParameters (BlastScoringParameters *p)
 
virtual CBlastScoringParameters::~CBlastScoringParameters ()
 
void CBlastScoringParameters::Reset (BlastScoringParameters *p=NULL)
 
BlastScoringParametersCBlastScoringParameters::Release ()
 
BlastScoringParametersCBlastScoringParameters::Get () const
 
 CBlastScoringParameters::operator BlastScoringParameters * ()
 
 CBlastScoringParameters::operator BlastScoringParameters * () const
 
BlastScoringParametersCBlastScoringParameters::operator-> ()
 
BlastScoringParametersCBlastScoringParameters::operator-> () const
 
BlastScoringParameters ** CBlastScoringParameters::operator& ()
 
virtual void CBlastScoringParameters::DebugDump (CDebugDumpContext ddc, unsigned int depth) const
 Define method for dumping debug information. More...
 
 CBlastEffectiveLengthsOptions::CBlastEffectiveLengthsOptions ()
 
 CBlastEffectiveLengthsOptions::CBlastEffectiveLengthsOptions (BlastEffectiveLengthsOptions *p)
 
virtual CBlastEffectiveLengthsOptions::~CBlastEffectiveLengthsOptions ()
 
void CBlastEffectiveLengthsOptions::Reset (BlastEffectiveLengthsOptions *p=NULL)
 
BlastEffectiveLengthsOptionsCBlastEffectiveLengthsOptions::Release ()
 
BlastEffectiveLengthsOptionsCBlastEffectiveLengthsOptions::Get () const
 
 CBlastEffectiveLengthsOptions::operator BlastEffectiveLengthsOptions * ()
 
 CBlastEffectiveLengthsOptions::operator BlastEffectiveLengthsOptions * () const
 
BlastEffectiveLengthsOptionsCBlastEffectiveLengthsOptions::operator-> ()
 
BlastEffectiveLengthsOptionsCBlastEffectiveLengthsOptions::operator-> () const
 
BlastEffectiveLengthsOptions ** CBlastEffectiveLengthsOptions::operator& ()
 
virtual void CBlastEffectiveLengthsOptions::DebugDump (CDebugDumpContext ddc, unsigned int depth) const
 Define method for dumping debug information. More...
 
 CBlastEffectiveLengthsParameters::CBlastEffectiveLengthsParameters ()
 
 CBlastEffectiveLengthsParameters::CBlastEffectiveLengthsParameters (BlastEffectiveLengthsParameters *p)
 
virtual CBlastEffectiveLengthsParameters::~CBlastEffectiveLengthsParameters ()
 
void CBlastEffectiveLengthsParameters::Reset (BlastEffectiveLengthsParameters *p=NULL)
 
BlastEffectiveLengthsParametersCBlastEffectiveLengthsParameters::Release ()
 
BlastEffectiveLengthsParametersCBlastEffectiveLengthsParameters::Get () const
 
 CBlastEffectiveLengthsParameters::operator BlastEffectiveLengthsParameters * ()
 
 CBlastEffectiveLengthsParameters::operator BlastEffectiveLengthsParameters * () const
 
BlastEffectiveLengthsParametersCBlastEffectiveLengthsParameters::operator-> ()
 
BlastEffectiveLengthsParametersCBlastEffectiveLengthsParameters::operator-> () const
 
BlastEffectiveLengthsParameters ** CBlastEffectiveLengthsParameters::operator& ()
 
virtual void CBlastEffectiveLengthsParameters::DebugDump (CDebugDumpContext ddc, unsigned int depth) const
 Define method for dumping debug information. More...
 
 CBlastGapAlignStruct::CBlastGapAlignStruct ()
 
 CBlastGapAlignStruct::CBlastGapAlignStruct (BlastGapAlignStruct *p)
 
virtual CBlastGapAlignStruct::~CBlastGapAlignStruct ()
 
void CBlastGapAlignStruct::Reset (BlastGapAlignStruct *p=NULL)
 
BlastGapAlignStructCBlastGapAlignStruct::Release ()
 
BlastGapAlignStructCBlastGapAlignStruct::Get () const
 
 CBlastGapAlignStruct::operator BlastGapAlignStruct * ()
 
 CBlastGapAlignStruct::operator BlastGapAlignStruct * () const
 
BlastGapAlignStructCBlastGapAlignStruct::operator-> ()
 
BlastGapAlignStructCBlastGapAlignStruct::operator-> () const
 
BlastGapAlignStruct ** CBlastGapAlignStruct::operator& ()
 
virtual void CBlastGapAlignStruct::DebugDump (CDebugDumpContext ddc, unsigned int depth) const
 Define method for dumping debug information. More...
 
 CBlastHSPResults::CBlastHSPResults ()
 
 CBlastHSPResults::CBlastHSPResults (BlastHSPResults *p)
 
virtual CBlastHSPResults::~CBlastHSPResults ()
 
void CBlastHSPResults::Reset (BlastHSPResults *p=NULL)
 
BlastHSPResultsCBlastHSPResults::Release ()
 
BlastHSPResultsCBlastHSPResults::Get () const
 
 CBlastHSPResults::operator BlastHSPResults * ()
 
 CBlastHSPResults::operator BlastHSPResults * () const
 
BlastHSPResultsCBlastHSPResults::operator-> ()
 
BlastHSPResultsCBlastHSPResults::operator-> () const
 
BlastHSPResults ** CBlastHSPResults::operator& ()
 
virtual void CBlastHSPResults::DebugDump (CDebugDumpContext ddc, unsigned int depth) const
 Define method for dumping debug information. More...
 
 CPSIMsa::CPSIMsa ()
 
 CPSIMsa::CPSIMsa (PSIMsa *p)
 
virtual CPSIMsa::~CPSIMsa ()
 
void CPSIMsa::Reset (PSIMsa *p=NULL)
 
PSIMsaCPSIMsa::Release ()
 
PSIMsaCPSIMsa::Get () const
 
 CPSIMsa::operator PSIMsa * ()
 
 CPSIMsa::operator PSIMsa * () const
 
PSIMsaCPSIMsa::operator-> ()
 
PSIMsaCPSIMsa::operator-> () const
 
PSIMsa ** CPSIMsa::operator& ()
 
virtual void CPSIMsa::DebugDump (CDebugDumpContext ddc, unsigned int depth) const
 Define method for dumping debug information. More...
 
 CPSIMatrix::CPSIMatrix ()
 
 CPSIMatrix::CPSIMatrix (PSIMatrix *p)
 
virtual CPSIMatrix::~CPSIMatrix ()
 
void CPSIMatrix::Reset (PSIMatrix *p=NULL)
 
PSIMatrixCPSIMatrix::Release ()
 
PSIMatrixCPSIMatrix::Get () const
 
 CPSIMatrix::operator PSIMatrix * ()
 
 CPSIMatrix::operator PSIMatrix * () const
 
PSIMatrixCPSIMatrix::operator-> ()
 
PSIMatrixCPSIMatrix::operator-> () const
 
PSIMatrix ** CPSIMatrix::operator& ()
 
virtual void CPSIMatrix::DebugDump (CDebugDumpContext ddc, unsigned int depth) const
 Define method for dumping debug information. More...
 
 CPSIDiagnosticsRequest::CPSIDiagnosticsRequest ()
 
 CPSIDiagnosticsRequest::CPSIDiagnosticsRequest (PSIDiagnosticsRequest *p)
 
virtual CPSIDiagnosticsRequest::~CPSIDiagnosticsRequest ()
 
void CPSIDiagnosticsRequest::Reset (PSIDiagnosticsRequest *p=NULL)
 
PSIDiagnosticsRequestCPSIDiagnosticsRequest::Release ()
 
PSIDiagnosticsRequestCPSIDiagnosticsRequest::Get () const
 
 CPSIDiagnosticsRequest::operator PSIDiagnosticsRequest * ()
 
 CPSIDiagnosticsRequest::operator PSIDiagnosticsRequest * () const
 
PSIDiagnosticsRequestCPSIDiagnosticsRequest::operator-> ()
 
PSIDiagnosticsRequestCPSIDiagnosticsRequest::operator-> () const
 
PSIDiagnosticsRequest ** CPSIDiagnosticsRequest::operator& ()
 
virtual void CPSIDiagnosticsRequest::DebugDump (CDebugDumpContext ddc, unsigned int depth) const
 Define method for dumping debug information. More...
 
 CPSIDiagnosticsResponse::CPSIDiagnosticsResponse ()
 
 CPSIDiagnosticsResponse::CPSIDiagnosticsResponse (PSIDiagnosticsResponse *p)
 
virtual CPSIDiagnosticsResponse::~CPSIDiagnosticsResponse ()
 
void CPSIDiagnosticsResponse::Reset (PSIDiagnosticsResponse *p=NULL)
 
PSIDiagnosticsResponseCPSIDiagnosticsResponse::Release ()
 
PSIDiagnosticsResponseCPSIDiagnosticsResponse::Get () const
 
 CPSIDiagnosticsResponse::operator PSIDiagnosticsResponse * ()
 
 CPSIDiagnosticsResponse::operator PSIDiagnosticsResponse * () const
 
PSIDiagnosticsResponseCPSIDiagnosticsResponse::operator-> ()
 
PSIDiagnosticsResponseCPSIDiagnosticsResponse::operator-> () const
 
PSIDiagnosticsResponse ** CPSIDiagnosticsResponse::operator& ()
 
virtual void CPSIDiagnosticsResponse::DebugDump (CDebugDumpContext ddc, unsigned int depth) const
 Define method for dumping debug information. More...
 
 CBlastSeqSrc::CBlastSeqSrc ()
 
 CBlastSeqSrc::CBlastSeqSrc (BlastSeqSrc *p)
 
virtual CBlastSeqSrc::~CBlastSeqSrc ()
 
void CBlastSeqSrc::Reset (BlastSeqSrc *p=NULL)
 
BlastSeqSrcCBlastSeqSrc::Release ()
 
BlastSeqSrcCBlastSeqSrc::Get () const
 
 CBlastSeqSrc::operator BlastSeqSrc * ()
 
 CBlastSeqSrc::operator BlastSeqSrc * () const
 
BlastSeqSrcCBlastSeqSrc::operator-> ()
 
BlastSeqSrcCBlastSeqSrc::operator-> () const
 
BlastSeqSrc ** CBlastSeqSrc::operator& ()
 
virtual void CBlastSeqSrc::DebugDump (CDebugDumpContext ddc, unsigned int depth) const
 Define method for dumping debug information. More...
 
 CBlastSeqSrcIterator::CBlastSeqSrcIterator ()
 
 CBlastSeqSrcIterator::CBlastSeqSrcIterator (BlastSeqSrcIterator *p)
 
virtual CBlastSeqSrcIterator::~CBlastSeqSrcIterator ()
 
void CBlastSeqSrcIterator::Reset (BlastSeqSrcIterator *p=NULL)
 
BlastSeqSrcIteratorCBlastSeqSrcIterator::Release ()
 
BlastSeqSrcIteratorCBlastSeqSrcIterator::Get () const
 
 CBlastSeqSrcIterator::operator BlastSeqSrcIterator * ()
 
 CBlastSeqSrcIterator::operator BlastSeqSrcIterator * () const
 
BlastSeqSrcIteratorCBlastSeqSrcIterator::operator-> ()
 
BlastSeqSrcIteratorCBlastSeqSrcIterator::operator-> () const
 
BlastSeqSrcIterator ** CBlastSeqSrcIterator::operator& ()
 
virtual void CBlastSeqSrcIterator::DebugDump (CDebugDumpContext ddc, unsigned int depth) const
 Define method for dumping debug information. More...
 
 CBlast_Message::CBlast_Message ()
 
 CBlast_Message::CBlast_Message (Blast_Message *p)
 
virtual CBlast_Message::~CBlast_Message ()
 
void CBlast_Message::Reset (Blast_Message *p=NULL)
 
Blast_MessageCBlast_Message::Release ()
 
Blast_MessageCBlast_Message::Get () const
 
 CBlast_Message::operator Blast_Message * ()
 
 CBlast_Message::operator Blast_Message * () const
 
Blast_MessageCBlast_Message::operator-> ()
 
Blast_MessageCBlast_Message::operator-> () const
 
Blast_Message ** CBlast_Message::operator& ()
 
virtual void CBlast_Message::DebugDump (CDebugDumpContext ddc, unsigned int depth) const
 Define method for dumping debug information. More...
 
 CBlastMaskLoc::CBlastMaskLoc ()
 
 CBlastMaskLoc::CBlastMaskLoc (BlastMaskLoc *p)
 
virtual CBlastMaskLoc::~CBlastMaskLoc ()
 
void CBlastMaskLoc::Reset (BlastMaskLoc *p=NULL)
 
BlastMaskLocCBlastMaskLoc::Release ()
 
BlastMaskLocCBlastMaskLoc::Get () const
 
 CBlastMaskLoc::operator BlastMaskLoc * ()
 
 CBlastMaskLoc::operator BlastMaskLoc * () const
 
BlastMaskLocCBlastMaskLoc::operator-> ()
 
BlastMaskLocCBlastMaskLoc::operator-> () const
 
BlastMaskLoc ** CBlastMaskLoc::operator& ()
 
virtual void CBlastMaskLoc::DebugDump (CDebugDumpContext ddc, unsigned int depth) const
 Define method for dumping debug information. More...
 
 CBlastSeqLoc::CBlastSeqLoc ()
 
 CBlastSeqLoc::CBlastSeqLoc (BlastSeqLoc *p)
 
virtual CBlastSeqLoc::~CBlastSeqLoc ()
 
void CBlastSeqLoc::Reset (BlastSeqLoc *p=NULL)
 
BlastSeqLocCBlastSeqLoc::Release ()
 
BlastSeqLocCBlastSeqLoc::Get () const
 
 CBlastSeqLoc::operator BlastSeqLoc * ()
 
 CBlastSeqLoc::operator BlastSeqLoc * () const
 
BlastSeqLocCBlastSeqLoc::operator-> ()
 
BlastSeqLocCBlastSeqLoc::operator-> () const
 
BlastSeqLoc ** CBlastSeqLoc::operator& ()
 
virtual void CBlastSeqLoc::DebugDump (CDebugDumpContext ddc, unsigned int depth) const
 Define method for dumping debug information. More...
 
 CSBlastProgress::CSBlastProgress ()
 
 CSBlastProgress::CSBlastProgress (SBlastProgress *p)
 
virtual CSBlastProgress::~CSBlastProgress ()
 
void CSBlastProgress::Reset (SBlastProgress *p=NULL)
 
SBlastProgressCSBlastProgress::Release ()
 
SBlastProgressCSBlastProgress::Get () const
 
 CSBlastProgress::operator SBlastProgress * ()
 
 CSBlastProgress::operator SBlastProgress * () const
 
SBlastProgressCSBlastProgress::operator-> ()
 
SBlastProgressCSBlastProgress::operator-> () const
 
SBlastProgress ** CSBlastProgress::operator& ()
 
virtual void CSBlastProgress::DebugDump (CDebugDumpContext ddc, unsigned int depth) const
 Define method for dumping debug information. More...
 
virtual const char * CBlastSystemException::GetErrCodeString (void) const override
 Translate from the error code value to its string representation. More...
 
 CBlastSystemException::NCBI_EXCEPTION_DEFAULT (CBlastSystemException, CException)
 
virtual const char * CBlastException::GetErrCodeString (void) const override
 Translate from the error code value to its string representation. More...
 
 CBlastException::NCBI_EXCEPTION_DEFAULT (CBlastException, CException)
 
MT_LOCK Blast_CMT_LOCKInit (void)
 Initialize a mutex locking mechanism for BLAST. More...
 
 CBlastNucleotideOptionsHandle::CBlastNucleotideOptionsHandle (EAPILocality locality=CBlastOptions::eLocal)
 Creates object with default options set. More...
 
 CBlastNucleotideOptionsHandle::CBlastNucleotideOptionsHandle (CRef< CBlastOptions > opt)
 Create Options Handle from Existing CBlastOptions Object. More...
 
virtual void CBlastNucleotideOptionsHandle::SetDefaults ()
 Sets Defaults. More...
 
ELookupTableType CBlastNucleotideOptionsHandle::GetLookupTableType () const
 Returns LookupTableType. More...
 
void CBlastNucleotideOptionsHandle::SetLookupTableType (ELookupTableType type)
 Sets LookupTableType. More...
 
int CBlastNucleotideOptionsHandle::GetWordSize () const
 Returns WordSize. More...
 
void CBlastNucleotideOptionsHandle::SetWordSize (int ws)
 Sets WordSize. More...
 
objects::ENa_strand CBlastNucleotideOptionsHandle::GetStrandOption () const
 Returns StrandOption. More...
 
void CBlastNucleotideOptionsHandle::SetStrandOption (objects::ENa_strand strand)
 Sets StrandOption. More...
 
bool CBlastNucleotideOptionsHandle::GetDustFiltering () const
 Is dust filtering enabled? More...
 
void CBlastNucleotideOptionsHandle::SetDustFiltering (bool val)
 Enable dust filtering. More...
 
int CBlastNucleotideOptionsHandle::GetDustFilteringLevel () const
 Get level parameter for dust. More...
 
void CBlastNucleotideOptionsHandle::SetDustFilteringLevel (int level)
 Set level parameter for dust. More...
 
int CBlastNucleotideOptionsHandle::GetDustFilteringWindow () const
 Get window parameter for dust. More...
 
void CBlastNucleotideOptionsHandle::SetDustFilteringWindow (int window)
 Set window parameter for dust. More...
 
int CBlastNucleotideOptionsHandle::GetDustFilteringLinker () const
 Get linker parameter for dust. More...
 
void CBlastNucleotideOptionsHandle::SetDustFilteringLinker (int linker)
 Set linker parameter for dust. More...
 
bool CBlastNucleotideOptionsHandle::GetRepeatFiltering () const
 Is repeat filtering enabled? More...
 
void CBlastNucleotideOptionsHandle::SetRepeatFiltering (bool val)
 Enable repeat filtering. More...
 
const char * CBlastNucleotideOptionsHandle::GetRepeatFilteringDB () const
 Get the repeat filtering database. More...
 
void CBlastNucleotideOptionsHandle::SetRepeatFilteringDB (const char *db)
 Enable repeat filtering. More...
 
int CBlastNucleotideOptionsHandle::GetWindowMaskerTaxId () const
 Get the window masker taxid (or 0 if not set). More...
 
void CBlastNucleotideOptionsHandle::SetWindowMaskerTaxId (int taxid)
 Enable window masker and select a taxid (or 0 to disable). More...
 
const char * CBlastNucleotideOptionsHandle::GetWindowMaskerDatabase () const
 Get the window masker database name (or NULL if not set). More...
 
void CBlastNucleotideOptionsHandle::SetWindowMaskerDatabase (const char *db)
 Enable window masker and select a database (or NULL to disable). More...
 
double CBlastNucleotideOptionsHandle::GetXDropoff () const
 Returns XDropoff. More...
 
void CBlastNucleotideOptionsHandle::SetXDropoff (double x)
 Sets XDropoff. More...
 
EBlastPrelimGapExt CBlastNucleotideOptionsHandle::GetGapExtnAlgorithm () const
 Returns GapExtnAlgorithm. More...
 
void CBlastNucleotideOptionsHandle::SetGapExtnAlgorithm (EBlastPrelimGapExt algo)
 Sets GapExtnAlgorithm. More...
 
EBlastTbackExt CBlastNucleotideOptionsHandle::GetGapTracebackAlgorithm () const
 Returns GapTracebackAlgorithm. More...
 
void CBlastNucleotideOptionsHandle::SetGapTracebackAlgorithm (EBlastTbackExt algo)
 Sets GapTracebackAlgorithm. More...
 
int CBlastNucleotideOptionsHandle::GetMatchReward () const
 Returns MatchReward. More...
 
void CBlastNucleotideOptionsHandle::SetMatchReward (int r)
 Sets MatchReward. More...
 
int CBlastNucleotideOptionsHandle::GetMismatchPenalty () const
 Returns MismatchPenalty. More...
 
void CBlastNucleotideOptionsHandle::SetMismatchPenalty (int p)
 Sets MismatchPenalty. More...
 
const char * CBlastNucleotideOptionsHandle::GetMatrixName () const
 Returns MatrixName. More...
 
void CBlastNucleotideOptionsHandle::SetMatrixName (const char *matrix)
 Sets MatrixName. More...
 
int CBlastNucleotideOptionsHandle::GetGapOpeningCost () const
 Returns GapOpeningCost. More...
 
void CBlastNucleotideOptionsHandle::SetGapOpeningCost (int g)
 Sets GapOpeningCost. More...
 
int CBlastNucleotideOptionsHandle::GetGapExtensionCost () const
 Returns GapExtensionCost. More...
 
void CBlastNucleotideOptionsHandle::SetGapExtensionCost (int e)
 Sets GapExtensionCost. More...
 
void CBlastNucleotideOptionsHandle::SetTraditionalBlastnDefaults ()
 Sets TraditionalBlastnDefaults. More...
 
void CBlastNucleotideOptionsHandle::SetTraditionalMegablastDefaults ()
 Sets TraditionalMegablastDefaults. More...
 
void CBlastNucleotideOptionsHandle::SetVecScreenDefaults ()
 Sets default options for VecScreen. More...
 
virtual void CBlastNucleotideOptionsHandle::SetRemoteProgramAndService_Blast3 ()
 Set the program and service name for remote blast. More...
 
virtual void CBlastNucleotideOptionsHandle::SetLookupTableDefaults ()
 Overrides LookupTableDefaults for nucleotide options. More...
 
virtual void CBlastNucleotideOptionsHandle::SetMBLookupTableDefaults ()
 Overrides MBLookupTableDefaults for nucleotide options. More...
 
virtual void CBlastNucleotideOptionsHandle::SetQueryOptionDefaults ()
 Overrides QueryOptionDefaults for nucleotide options. More...
 
virtual void CBlastNucleotideOptionsHandle::SetInitialWordOptionsDefaults ()
 Overrides InitialWordOptionsDefaults for nucleotide options. More...
 
virtual void CBlastNucleotideOptionsHandle::SetMBInitialWordOptionsDefaults ()
 Overrides MBInitialWordOptionsDefaults for nucleotide options. More...
 
virtual void CBlastNucleotideOptionsHandle::SetGappedExtensionDefaults ()
 Overrides GappedExtensionDefaults for nucleotide options. More...
 
virtual void CBlastNucleotideOptionsHandle::SetMBGappedExtensionDefaults ()
 Overrides MBGappedExtensionDefaults for nucleotide options. More...
 
virtual void CBlastNucleotideOptionsHandle::SetScoringOptionsDefaults ()
 Overrides ScoringOptionsDefaults for nucleotide options. More...
 
virtual void CBlastNucleotideOptionsHandle::SetMBScoringOptionsDefaults ()
 Overrides MBScoringOptionsDefaults for nucleotide options. More...
 
virtual void CBlastNucleotideOptionsHandle::SetHitSavingOptionsDefaults ()
 Overrides HitSavingOptionsDefaults for nucleotide options. More...
 
virtual void CBlastNucleotideOptionsHandle::SetMBHitSavingOptionsDefaults ()
 Overrides MBHitSavingOptionsDefaults for nucleotide options. More...
 
virtual void CBlastNucleotideOptionsHandle::SetEffectiveLengthsOptionsDefaults ()
 Overrides EffectiveLengthsOptionsDefaults for nucleotide options. More...
 
virtual void CBlastNucleotideOptionsHandle::SetSubjectSequenceOptionsDefaults ()
 Overrides SubjectSequenceOptionsDefaults for nucleotide options. More...
 
 CBlastNucleotideOptionsHandle::CBlastNucleotideOptionsHandle (const CBlastNucleotideOptionsHandle &rhs)
 Disallow copy constructor. More...
 
CBlastNucleotideOptionsHandleCBlastNucleotideOptionsHandle::operator= (const CBlastNucleotideOptionsHandle &rhs)
 Disallow assignment operator. More...
 
 CBlastOptionsBuilder::CBlastOptionsBuilder (const string &program, const string &service, CBlastOptions::EAPILocality locality=CBlastOptions::eLocal, bool ignore_unsupported_options=false)
 Constructor. More...
 
CRef< CBlastOptionsHandleCBlastOptionsBuilder::GetSearchOptions (const objects::CBlast4_parameters *aopts, const objects::CBlast4_parameters *popts, const objects::CBlast4_parameters *fopts, string *task_name=NULL)
 Build and return options as a CBlastOptionsHandle. More...
 
bool CBlastOptionsBuilder::HaveEntrezQuery ()
 Check whether an Entrez query is specified. More...
 
string CBlastOptionsBuilder::GetEntrezQuery ()
 Get the Entrez query. More...
 
bool CBlastOptionsBuilder::HaveFirstDbSeq ()
 Check whether an OID range start point is specified. More...
 
int CBlastOptionsBuilder::GetFirstDbSeq ()
 Get the OID range start point. More...
 
bool CBlastOptionsBuilder::HaveFinalDbSeq ()
 Check whether an OID range end point is specified. More...
 
int CBlastOptionsBuilder::GetFinalDbSeq ()
 Get the OID range end point. More...
 
bool CBlastOptionsBuilder::HaveGiList ()
 Check whether a GI list is specified. More...
 
list< TGiCBlastOptionsBuilder::GetGiList ()
 Get the GI list. More...
 
bool CBlastOptionsBuilder::HaveNegativeGiList ()
 Check whether a negative GI list is specified. More...
 
list< TGiCBlastOptionsBuilder::GetNegativeGiList ()
 Get the negative GI list. More...
 
bool CBlastOptionsBuilder::HaveTaxidList ()
 
list< TTaxIdCBlastOptionsBuilder::GetTaxidList ()
 Get the Tax list. More...
 
bool CBlastOptionsBuilder::HaveNegativeTaxidList ()
 Check whether a negative tax id list is specified. More...
 
list< TTaxIdCBlastOptionsBuilder::GetNegativeTaxidList ()
 Get the negative tax id list. More...
 
bool CBlastOptionsBuilder::HasDbFilteringAlgorithmId ()
 Check whether a database filtering algorithm ID is specified. More...
 
int CBlastOptionsBuilder::GetDbFilteringAlgorithmId ()
 Get the database filtering algorithm ID. More...
 
bool CBlastOptionsBuilder::HasDbFilteringAlgorithmKey ()
 Check whether a database filtering algorithm key is specified. More...
 
string CBlastOptionsBuilder::GetDbFilteringAlgorithmKey ()
 Get the database filtering algorithm key. More...
 
bool CBlastOptionsBuilder::HasSubjectMaskingType ()
 Get Subject Maksing Type (soft/hard) More...
 
ESubjectMaskingType CBlastOptionsBuilder::GetSubjectMaskingType ()
 
bool CBlastOptionsBuilder::HaveQueryMasks ()
 Check whether query masks are specified. More...
 
TMaskList CBlastOptionsBuilder::GetQueryMasks ()
 Get the query masks. More...
 
TSeqRange CBlastOptionsBuilder::GetRestrictedQueryRange ()
 Return the range that was used to restrict the query sequence(s) (returns TSeqRange::GetEmpty() if not applicable) More...
 
void CBlastOptionsBuilder::SetIgnoreUnsupportedOptions (bool ignore)
 Set the 'ignore unsupported options' flag. More...
 
static EProgram CBlastOptionsBuilder::ComputeProgram (const string &program, const string &service)
 Compute the EProgram value to use for this search. More...
 
static EProgram CBlastOptionsBuilder::AdjustProgram (const TValueList *L, EProgram program, const string &program_string)
 Adjust the EProgram based on option values. More...
 
 CBlastOptionsBuilder::SOptional< T >::SOptional ()
 Constructor. More...
 
bool CBlastOptionsBuilder::SOptional< T >::Have ()
 Check whether the value has been set. More...
 
T CBlastOptionsBuilder::SOptional< T >::Get ()
 Get the value. More...
 
TCBlastOptionsBuilder::SOptional< T >::GetRef ()
 Get the reference to the stored value. More...
 
SOptional< T > & CBlastOptionsBuilder::SOptional< T >::operator= (const T &x)
 Assign the field from another optional field. More...
 
void CBlastOptionsBuilder::x_ApplyInteractions (CBlastOptionsHandle &boh)
 Apply values directly to BlastOptions object. More...
 
void CBlastOptionsBuilder::x_ProcessOneOption (CBlastOptionsHandle &opts, objects::CBlast4_parameter &p)
 Apply the value of one option to the CBlastOptionsHandle. More...
 
void CBlastOptionsBuilder::x_ProcessOptions (CBlastOptionsHandle &opts, const TValueList *L)
 Apply the value of all options to the CBlastOptionsHandle. More...
 
static CBlastOptionsHandleCBlastOptionsFactory::Create (EProgram program, EAPILocality locality=CBlastOptions::eLocal)
 Creates an options handle object configured with default options for the requested program, throws an exception if an unsupported program is requested. More...
 
static CBlastOptionsHandleCBlastOptionsFactory::CreateTask (string task, EAPILocality locality=CBlastOptions::eLocal)
 Creates an options handle object configured with default options for the requested task, throws an exception if an unsupported task is requested. More...
 
static set< stringCBlastOptionsFactory::GetTasks (ETaskSets choice=eAll)
 Retrieve the set of supported tasks. More...
 
static string CBlastOptionsFactory::GetDocumentation (const string &task_name)
 Return the documentation for the provided task. More...
 
 CBlastOptionsFactory::CBlastOptionsFactory ()
 Private c-tor. More...
 
 CBlastOptionsHandle::CBlastOptionsHandle (EAPILocality locality)
 Default c-tor. More...
 
bool CBlastOptionsHandle::Validate () const
 Validate the options contained in this object. More...
 
const CBlastOptionsCBlastOptionsHandle::GetOptions () const
 Return the object which this object is a handle for. More...
 
CBlastOptionsCBlastOptionsHandle::SetOptions ()
 Returns a reference to the internal options class which this object is a handle for. More...
 
virtual void CBlastOptionsHandle::SetDefaults ()
 Resets the state of the object to all default values. More...
 
void CBlastOptionsHandle::DoneDefaults ()
 Returns true if this object needs default values set. More...
 
int CBlastOptionsHandle::GetWindowSize () const
 Returns WindowSize. More...
 
void CBlastOptionsHandle::SetWindowSize (int ws)
 Sets WindowSize. More...
 
int CBlastOptionsHandle::GetOffDiagonalRange () const
 
void CBlastOptionsHandle::SetOffDiagonalRange (int r)
 
void CBlastOptionsHandle::ClearFilterOptions ()
 Clears the filtering options. More...
 
char * CBlastOptionsHandle::GetFilterString () const
 Returns FilterString. More...
 
void CBlastOptionsHandle::SetFilterString (const char *f, bool clear=true)
 Sets FilterString. More...
 
bool CBlastOptionsHandle::GetMaskAtHash () const
 Returns whether masking should only be done for lookup table creation. More...
 
void CBlastOptionsHandle::SetMaskAtHash (bool m=true)
 Sets MaskAtHash. More...
 
double CBlastOptionsHandle::GetGapXDropoff () const
 Returns GapXDropoff. More...
 
void CBlastOptionsHandle::SetGapXDropoff (double x)
 Sets GapXDropoff. More...
 
double CBlastOptionsHandle::GetGapTrigger () const
 Returns GapTrigger. More...
 
void CBlastOptionsHandle::SetGapTrigger (double g)
 Sets GapTrigger. More...
 
double CBlastOptionsHandle::GetGapXDropoffFinal () const
 Returns GapXDropoffFinal. More...
 
void CBlastOptionsHandle::SetGapXDropoffFinal (double x)
 Sets GapXDropoffFinal. More...
 
int CBlastOptionsHandle::GetHitlistSize () const
 Returns HitlistSize. More...
 
void CBlastOptionsHandle::SetHitlistSize (int s)
 Sets HitlistSize. More...
 
int CBlastOptionsHandle::GetMaxNumHspPerSequence () const
 Returns MaxNumHspPerSequence. More...
 
void CBlastOptionsHandle::SetMaxNumHspPerSequence (int m)
 Sets MaxNumHspPerSequence. More...
 
int CBlastOptionsHandle::GetMaxHspsPerSubject () const
 Returns MaxHspsPerSubjectQueryPair. More...
 
void CBlastOptionsHandle::SetMaxHspsPerSubject (int m)
 Sets MaxHspPerSubjectQueryPair. More...
 
double CBlastOptionsHandle::GetEvalueThreshold () const
 Returns EvalueThreshold. More...
 
void CBlastOptionsHandle::SetEvalueThreshold (double eval)
 Sets EvalueThreshold. More...
 
int CBlastOptionsHandle::GetCutoffScore () const
 Returns CutoffScore. More...
 
void CBlastOptionsHandle::SetCutoffScore (int s)
 Sets CutoffScore. More...
 
double CBlastOptionsHandle::GetPercentIdentity () const
 Returns PercentIdentity. More...
 
void CBlastOptionsHandle::SetPercentIdentity (double p)
 Sets PercentIdentity. More...
 
double CBlastOptionsHandle::GetQueryCovHspPerc () const
 Returns QueryCovHspPerc. More...
 
void CBlastOptionsHandle::SetQueryCovHspPerc (double p)
 Sets QueryCovHspPerc. More...
 
int CBlastOptionsHandle::GetMinDiagSeparation () const
 Returns MinDiagSeparation. More...
 
void CBlastOptionsHandle::SetMinDiagSeparation (int d)
 Sets MinDiagSeparation. More...
 
bool CBlastOptionsHandle::GetGappedMode () const
 Returns GappedMode. More...
 
void CBlastOptionsHandle::SetGappedMode (bool m=true)
 Sets GappedMode. More...
 
int CBlastOptionsHandle::GetCullingLimit () const
 Returns Culling limit. More...
 
void CBlastOptionsHandle::SetCullingLimit (int s)
 Sets Culling limit. More...
 
int CBlastOptionsHandle::GetMaskLevel () const
 Returns MaskLevel -RMH-. More...
 
void CBlastOptionsHandle::SetMaskLevel (int ml)
 Sets MaskLevel -RMH-. More...
 
bool CBlastOptionsHandle::GetComplexityAdjMode () const
 Returns Complexity Adjustment Mode -RMH-. More...
 
void CBlastOptionsHandle::SetComplexityAdjMode (bool m=true)
 Sets ComplexityAdjMode -RMH-. More...
 
double CBlastOptionsHandle::GetLowScorePerc () const
 Returns low score percentage for ungapped alignments. More...
 
void CBlastOptionsHandle::SetLowScorePerc (double p)
 Sets low score percentage for ungapped alignments. More...
 
Int8 CBlastOptionsHandle::GetDbLength () const
 Returns DbLength. More...
 
void CBlastOptionsHandle::SetDbLength (Int8 len)
 Sets DbLength. More...
 
unsigned int CBlastOptionsHandle::GetDbSeqNum () const
 Returns DbSeqNum. More...
 
void CBlastOptionsHandle::SetDbSeqNum (unsigned int num)
 Sets DbSeqNum. More...
 
Int8 CBlastOptionsHandle::GetEffectiveSearchSpace () const
 Returns EffectiveSearchSpace. More...
 
void CBlastOptionsHandle::SetEffectiveSearchSpace (Int8 eff)
 Sets EffectiveSearchSpace. More...
 
 CBlastOptionsHandle::CBlastOptionsHandle (CRef< CBlastOptions > opt)
 Create Options Handle from Existing CBlastOptions Object. More...
 
virtual void CBlastOptionsHandle::SetRemoteProgramAndService_Blast3 ()=0
 Set the program and service name for remote blast. More...
 
virtual void CBlastOptionsHandle::SetLookupTableDefaults ()=0
 Sets LookupTableDefaults. More...
 
virtual void CBlastOptionsHandle::SetQueryOptionDefaults ()=0
 Sets QueryOptionDefaults. More...
 
virtual void CBlastOptionsHandle::SetInitialWordOptionsDefaults ()=0
 Sets InitialWordOptionsDefaults. More...
 
virtual void CBlastOptionsHandle::SetGappedExtensionDefaults ()=0
 Sets GappedExtensionDefaults. More...
 
virtual void CBlastOptionsHandle::SetScoringOptionsDefaults ()=0
 Sets ScoringOptionsDefaults. More...
 
virtual void CBlastOptionsHandle::SetHitSavingOptionsDefaults ()=0
 Sets HitSavingOptionsDefaults. More...
 
virtual void CBlastOptionsHandle::SetEffectiveLengthsOptionsDefaults ()=0
 Sets EffectiveLengthsOptionsDefaults. More...
 
virtual void CBlastOptionsHandle::SetSubjectSequenceOptionsDefaults ()=0
 Sets SubjectSequenceOptionsDefaults. More...
 
 CBlastProteinOptionsHandle::CBlastProteinOptionsHandle (EAPILocality locality=CBlastOptions::eLocal)
 Creates object with default options set. More...
 
 CBlastProteinOptionsHandle::CBlastProteinOptionsHandle (CRef< CBlastOptions > opt)
 Create Options Handle from Existing CBlastOptions Object. More...
 
double CBlastProteinOptionsHandle::GetWordThreshold () const
 Returns WordThreshold. More...
 
void CBlastProteinOptionsHandle::SetWordThreshold (double wt)
 Sets WordThreshold. More...
 
int CBlastProteinOptionsHandle::GetWordSize () const
 Returns WordSize. More...
 
void CBlastProteinOptionsHandle::SetWordSize (int ws)
 Sets WordSize. More...
 
double CBlastProteinOptionsHandle::GetXDropoff () const
 Returns XDropoff. More...
 
void CBlastProteinOptionsHandle::SetXDropoff (double x)
 Sets XDropoff. More...
 
bool CBlastProteinOptionsHandle::GetSegFiltering () const
 Is SEG filtering enabled? More...
 
void CBlastProteinOptionsHandle::SetSegFiltering (bool val)
 Enable SEG filtering. More...
 
int CBlastProteinOptionsHandle::GetSegFilteringWindow () const
 Get window parameter for seg. More...
 
void CBlastProteinOptionsHandle::SetSegFilteringWindow (int window)
 Set window parameter for seg. More...
 
double CBlastProteinOptionsHandle::GetSegFilteringLocut () const
 Get locut parameter for seg. More...
 
void CBlastProteinOptionsHandle::SetSegFilteringLocut (double locut)
 Set locut parameter for seg. More...
 
double CBlastProteinOptionsHandle::GetSegFilteringHicut () const
 Get hicut parameter for seg. More...
 
void CBlastProteinOptionsHandle::SetSegFilteringHicut (double hicut)
 Set hicut parameter for seg. More...
 
const char * CBlastProteinOptionsHandle::GetMatrixName () const
 Returns MatrixName. More...
 
void CBlastProteinOptionsHandle::SetMatrixName (const char *matrix)
 Sets MatrixName. More...
 
int CBlastProteinOptionsHandle::GetGapOpeningCost () const
 Returns GapOpeningCost. More...
 
void CBlastProteinOptionsHandle::SetGapOpeningCost (int g)
 Sets GapOpeningCost. More...
 
int CBlastProteinOptionsHandle::GetGapExtensionCost () const
 Returns GapExtensionCost. More...
 
void CBlastProteinOptionsHandle::SetGapExtensionCost (int e)
 Sets GapExtensionCost. More...
 
bool CBlastProteinOptionsHandle::GetChaning () const
 Returns true if chaining is enabled, false otherwise. More...
 
void CBlastProteinOptionsHandle::SetChaining (bool ch)
 Enables/disables chaining. More...
 
virtual void CBlastProteinOptionsHandle::SetRemoteProgramAndService_Blast3 ()
 Set the program and service name for remote blast. More...
 
virtual void CBlastProteinOptionsHandle::SetLookupTableDefaults ()
 Overrides LookupTableDefaults for protein options. More...
 
virtual void CBlastProteinOptionsHandle::SetQueryOptionDefaults ()
 Overrides QueryOptionDefaults for protein options. More...
 
virtual void CBlastProteinOptionsHandle::SetInitialWordOptionsDefaults ()
 Overrides InitialWordOptionsDefaults for protein options. More...
 
virtual void CBlastProteinOptionsHandle::SetGappedExtensionDefaults ()
 Overrides GappedExtensionDefaults for protein options. More...
 
virtual void CBlastProteinOptionsHandle::SetScoringOptionsDefaults ()
 Overrides ScoringOptionsDefaults for protein options. More...
 
virtual void CBlastProteinOptionsHandle::SetHitSavingOptionsDefaults ()
 Overrides HitSavingOptionsDefaults for protein options. More...
 
virtual void CBlastProteinOptionsHandle::SetEffectiveLengthsOptionsDefaults ()
 Overrides EffectiveLengthsOptionsDefaults for protein options. More...
 
virtual void CBlastProteinOptionsHandle::SetSubjectSequenceOptionsDefaults ()
 Overrides SubjectSequenceOptionsDefaults for protein options. More...
 
 CBlastProteinOptionsHandle::CBlastProteinOptionsHandle (const CBlastProteinOptionsHandle &rhs)
 Disallow copy constructor. More...
 
CBlastProteinOptionsHandleCBlastProteinOptionsHandle::operator= (const CBlastProteinOptionsHandle &rhs)
 Disallow assignment operator. More...
 
 CBlastAncillaryData::CBlastAncillaryData (EBlastProgramType program_type, int query_number, const BlastScoreBlk *sbp, const BlastQueryInfo *query_info)
 constructor More...
 
 CBlastAncillaryData::CBlastAncillaryData (pair< double, double > lambda, pair< double, double > k, pair< double, double > h, Int8 effective_search_space, bool is_psiblast=false)
 Parametrized constructor taking pairs of values for ungapped and gapped Karlin-Altschul parameters as well as the effective search space. More...
 
 CBlastAncillaryData::~CBlastAncillaryData ()
 Destructor. More...
 
 CBlastAncillaryData::CBlastAncillaryData (const CBlastAncillaryData &rhs)
 Copy-constructor. More...
 
CBlastAncillaryDataCBlastAncillaryData::operator= (const CBlastAncillaryData &rhs)
 Assignment operator. More...
 
const Blast_GumbelBlkCBlastAncillaryData::GetGumbelBlk () const
 Retrieve gumbel parameters. More...
 
const Blast_KarlinBlkCBlastAncillaryData::GetUngappedKarlinBlk () const
 Retrieve ungapped Karlin parameters. More...
 
const Blast_KarlinBlkCBlastAncillaryData::GetGappedKarlinBlk () const
 Retrieve gapped Karlin parameters. More...
 
const Blast_KarlinBlkCBlastAncillaryData::GetPsiUngappedKarlinBlk () const
 Retrieve PSI-BLAST ungapped Karlin parameters. More...
 
const Blast_KarlinBlkCBlastAncillaryData::GetPsiGappedKarlinBlk () const
 Retrieve PSI-BLAST gapped Karlin parameters. More...
 
Int8 CBlastAncillaryData::GetSearchSpace () const
 Retrieve the search space for this query sequence. More...
 
Int8 CBlastAncillaryData::GetLengthAdjustment () const
 Retrieve the length adjustment for boundary conditions. More...
 
void CBlastAncillaryData::SetLengthAdjustment (int len_adj)
 Set the length adjustment for boundary conditions. More...
 
void CBlastAncillaryData::do_copy (const CBlastAncillaryData &other)
 Workhorse for copy constructor and assignment operator. More...
 
 CSearchResults::CSearchResults (CConstRef< objects::CSeq_id > query, CRef< objects::CSeq_align_set > align, const TQueryMessages &errs, CRef< CBlastAncillaryData > ancillary_data, const TMaskedQueryRegions *query_masks=NULL, const string &rid=kEmptyStr, const SPHIQueryInfo *phi_query_info=NULL)
 Constructor. More...
 
 CSearchResults::~CSearchResults ()
 Our destructor. More...
 
void CSearchResults::SetRID (const string &rid)
 Sets the RID for these results. More...
 
string CSearchResults::GetRID () const
 Returns the RID for these results (if applicable), otherwise returns an empty string. More...
 
CConstRef< objects::CSeq_align_set > CSearchResults::GetSeqAlign () const
 Accessor for the Seq-align results. More...
 
CRef< objects::CSeq_align_set > CSearchResults::SetSeqAlign ()
 Only intended to be used if you need to edit the seqlign. More...
 
bool CSearchResults::HasAlignments () const
 Return true if there are any alignments for this query. More...
 
CConstRef< objects::CSeq_id > CSearchResults::GetSeqId () const
 Accessor for the query's sequence identifier. More...
 
CRef< CBlastAncillaryDataCSearchResults::GetAncillaryData () const
 Accessor for the query's search ancillary. More...
 
TQueryMessages CSearchResults::GetErrors (int min_severity=eBlastSevError) const
 Accessor for the error/warning messsages for this query. More...
 
bool CSearchResults::HasErrors () const
 Returns true if there are errors among the results for this object. More...
 
bool CSearchResults::HasWarnings () const
 Returns true if there are warnings among the results for this object. More...
 
string CSearchResults::GetErrorStrings () const
 Retrieve a string with the query identifier followed by the errors produced, returns a empty string if HasErrors() returns false. More...
 
string CSearchResults::GetWarningStrings () const
 Retrieve a string with the query identifier followed by the warnings produced, returns a empty string if HasWarnings() returns false. More...
 
void CSearchResults::GetMaskedQueryRegions (TMaskedQueryRegions &flt_query_regions) const
 Retrieve the query regions which were masked by BLAST. More...
 
void CSearchResults::SetMaskedQueryRegions (const TMaskedQueryRegions &flt_query_regions)
 Mutator for the masked query regions, intended to be used by internal BLAST APIs to populate this object. More...
 
void CSearchResults::GetSubjectMasks (TSeqLocInfoVector &subj_masks) const
 Retrieve the masked locations for the subject sequences in the contained alignment. More...
 
void CSearchResults::SetSubjectMasks (const TSeqLocInfoVector &subj_masks)
 Set the masked locations for the subject sequences in the contained alignment. More...
 
const SPHIQueryInfoCSearchResults::GetPhiQueryInfo () const
 Retrieves PHI-BLAST information about pattern on query. More...
 
void CSearchResults::TrimSeqAlign (objects::CSeq_align_set::Tdata::size_type max_size)
 Trim align_set size @parm size max num of alignments to keep (0 will erase all) More...
 
 CSearchResults::CSearchResults (const CSearchResults &rhs)
 Prohibit copy constructor. More...
 
CSearchResultsCSearchResults::operator= (const CSearchResults &rhs)
 Prohibit assignment operator. More...
 
 CSearchResultSet::CSearchResultSet (EResultType res_type=eDatabaseSearch)
 Simplest constructor. More...
 
 CSearchResultSet::CSearchResultSet (TSeqAlignVector aligns, TSearchMessages msg_vec, EResultType res_type=eDatabaseSearch)
 Parametrized constructor. More...
 
 CSearchResultSet::CSearchResultSet (TQueryIdVector ids, TSeqAlignVector aligns, TSearchMessages msg_vec, TAncillaryVector ancillary_data=TAncillaryVector(), const TSeqLocInfoVector *masks=NULL, EResultType res_type=eDatabaseSearch, const SPHIQueryInfo *phi_query_info=NULL)
 Parametrized constructor. More...
 
CSearchResultsCSearchResultSet::operator[] (size_type i)
 Allow array-like access with integer indices to CSearchResults contained by this object. More...
 
const CSearchResultsCSearchResultSet::operator[] (size_type i) const
 Allow array-like access with integer indices to const CSearchResults contained by this object. More...
 
CSearchResultsCSearchResultSet::GetResults (size_type qi, size_type si)
 Retrieve results for a query-subject pair contained by this object. More...
 
const CSearchResultsCSearchResultSet::GetResults (size_type qi, size_type si) const
 Retrieve results for a query-subject pair. More...
 
CRef< CSearchResultsCSearchResultSet::operator[] (const objects::CSeq_id &ident)
 Allow array-like access with CSeq_id indices to CSearchResults contained by this object. More...
 
CConstRef< CSearchResultsCSearchResultSet::operator[] (const objects::CSeq_id &ident) const
 Allow array-like access with CSeq_id indices to const CSearchResults contained by this object. More...
 
size_type CSearchResultSet::GetNumResults () const
 Return the number of results contained by this object. More...
 
size_type CSearchResultSet::GetNumQueries () const
 Return the number of unique query ID's represented by this object. More...
 
void CSearchResultSet::SetFilteredQueryRegions (const TSeqLocInfoVector &masks)
 Sets the filtered query regions. More...
 
TSeqLocInfoVector CSearchResultSet::GetFilteredQueryRegions () const
 Retrieves the filtered query regions. More...
 
size_type CSearchResultSet::size () const
 Identical to GetNumResults, provided to facilitate STL-style iteration. More...
 
bool CSearchResultSet::empty () const
 Returns whether this container is empty or not. More...
 
const_iterator CSearchResultSet::begin () const
 Returns const_iterator to beginning of container, provided to facilitate STL-style iteration. More...
 
const_iterator CSearchResultSet::end () const
 Returns const_iterator to end of container, provided to facilitate STL-style iteration. More...
 
iterator CSearchResultSet::begin ()
 Returns iterator to beginning of container, provided to facilitate STL-style iteration. More...
 
iterator CSearchResultSet::end ()
 Returns iterator to end of container, provided to facilitate STL-style iteration. More...
 
void CSearchResultSet::clear ()
 Clears the contents of this object. More...
 
void CSearchResultSet::push_back (value_type &element)
 Add a value to the back of this container. More...
 
EResultType CSearchResultSet::GetResultType () const
 Get the type of results contained in this object. More...
 
void CSearchResultSet::SetRID (const string &rid)
 Sets the RID for these results. More...
 
void CSearchResultSet::x_Init (TQueryIdVector &queries, TSeqAlignVector aligns, TSearchMessages msg_vec, TAncillaryVector ancillary_data, const TSeqLocInfoVector *query_masks, const SPHIQueryInfo *phi_query_info=NULL)
 Initialize the result set. More...
 
 CBlastRPSOptionsHandle::CBlastRPSOptionsHandle (EAPILocality locality=CBlastOptions::eLocal)
 Creates object with default options set. More...
 
 CBlastRPSOptionsHandle::CBlastRPSOptionsHandle (CRef< CBlastOptions > opt)
 Create Options Handle from Existing CBlastOptions Object. More...
 
double CBlastRPSOptionsHandle::GetWordThreshold () const
 Returns WordThreshold. More...
 
int CBlastRPSOptionsHandle::GetWordSize () const
 Returns WordSize. More...
 
double CBlastRPSOptionsHandle::GetXDropoff () const
 Returns XDropoff. More...
 
void CBlastRPSOptionsHandle::SetXDropoff (double x)
 Sets XDropoff. More...
 
bool CBlastRPSOptionsHandle::GetSegFiltering () const
 Is SEG filtering enabled? More...
 
void CBlastRPSOptionsHandle::SetSegFiltering (bool val)
 Enable SEG filtering. More...
 
int CBlastRPSOptionsHandle::GetSegFilteringWindow () const
 Get window parameter for seg. More...
 
void CBlastRPSOptionsHandle::SetSegFilteringWindow (int window)
 Set window parameter for seg. More...
 
double CBlastRPSOptionsHandle::GetSegFilteringLocut () const
 Get locut parameter for seg. More...
 
void CBlastRPSOptionsHandle::SetSegFilteringLocut (double locut)
 Set locut parameter for seg. More...
 
double CBlastRPSOptionsHandle::GetSegFilteringHicut () const
 Get hicut parameter for seg. More...
 
void CBlastRPSOptionsHandle::SetSegFilteringHicut (double hicut)
 Set hicut parameter for seg. More...
 
bool CBlastRPSOptionsHandle::GetCompositionBasedStats (void) const
 Get composition based statistics mode. More...
 
void CBlastRPSOptionsHandle::SetCompositionBasedStats (bool mode)
 Set composition based statistics mode. More...
 
int CBlastRPSOptionsHandle::GetGapOpeningCost () const
 Returns GapOpeningCost. More...
 
int CBlastRPSOptionsHandle::GetGapExtensionCost () const
 Returns GapExtensionCost. More...
 
virtual void CBlastRPSOptionsHandle::SetRemoteProgramAndService_Blast3 ()
 Set the program and service name for remote blast. More...
 
virtual void CBlastRPSOptionsHandle::SetLookupTableDefaults ()
 Overrides LookupTableDefaults for RPS-BLAST options. More...
 
virtual void CBlastRPSOptionsHandle::SetQueryOptionDefaults ()
 Overrides QueryOptionDefaults for RPS-BLAST options. More...
 
virtual void CBlastRPSOptionsHandle::SetInitialWordOptionsDefaults ()
 Overrides InitialWordOptionsDefaults for RPS-BLAST options. More...
 
virtual void CBlastRPSOptionsHandle::SetGappedExtensionDefaults ()
 Overrides GappedExtensionDefaults for RPS-BLAST options. More...
 
virtual void CBlastRPSOptionsHandle::SetScoringOptionsDefaults ()
 Overrides ScoringOptionsDefaults for RPS-BLAST options. More...
 
virtual void CBlastRPSOptionsHandle::SetHitSavingOptionsDefaults ()
 Overrides HitSavingOptionsDefaults for RPS-BLAST options. More...
 
virtual void CBlastRPSOptionsHandle::SetEffectiveLengthsOptionsDefaults ()
 Overrides EffectiveLengthsOptionsDefaults for RPS-BLAST options. More...
 
virtual void CBlastRPSOptionsHandle::SetSubjectSequenceOptionsDefaults ()
 Overrides SubjectSequenceOptionsDefaults for RPS-BLAST options. More...
 
 CBlastRPSOptionsHandle::CBlastRPSOptionsHandle (const CBlastRPSOptionsHandle &rhs)
 Disallow copy constructor. More...
 
CBlastRPSOptionsHandleCBlastRPSOptionsHandle::operator= (const CBlastRPSOptionsHandle &rhs)
 Disallow assignment operator. More...
 
virtual IBlastSeqInfoSrc::~IBlastSeqInfoSrc ()
 
virtual list< CRef< objects::CSeq_id > > IBlastSeqInfoSrc::GetId (Uint4 index) const =0
 Method to retrieve a sequence identifier given its ordinal number. More...
 
virtual CConstRef< objects::CSeq_loc > IBlastSeqInfoSrc::GetSeqLoc (Uint4 index) const =0
 Method to retrieve the sequence location given its ordinal number. More...
 
virtual Uint4 IBlastSeqInfoSrc::GetLength (Uint4 index) const =0
 Method to retrieve a sequence length given its ordinal number. More...
 
virtual size_t IBlastSeqInfoSrc::Size () const =0
 Returns the size of the underlying container of sequences. More...
 
virtual bool IBlastSeqInfoSrc::HasGiList () const =0
 Returns true if the subject is restricted by a GI list. More...
 
virtual bool IBlastSeqInfoSrc::GetMasks (Uint4 index, const TSeqRange &target_range, TMaskedSubjRegions &retval) const =0
 Retrieves the subject masks for the corresponding index. More...
 
virtual bool IBlastSeqInfoSrc::GetMasks (Uint4 index, const vector< TSeqRange > &target_ranges, TMaskedSubjRegions &retval) const =0
 Retrieves the subject masks for the corresponding index. More...
 
virtual bool IBlastSeqInfoSrc::CanReturnPartialSequence () const =0
 Return true if the implementation can return anything besides a seq-loc for the entire sequence. More...
 
void GetSequenceLengthAndId (const IBlastSeqInfoSrc *seqinfo_src, int oid, CRef< objects::CSeq_id > &seqid, TSeqPos *length)
 Retrieves subject sequence Seq-id and length. More...
 
void GetSequenceLengthAndId (const IBlastSeqInfoSrc *seqinfo_src, int oid, int(*rank_func)(const CRef< objects::CSeq_id > &), CRef< objects::CSeq_id > &seqid, TSeqPos *length)
 Retrieves subject sequence Seq-id and length, using the provided sequence id ranking function. More...
 
void GetFilteredRedundantGis (const IBlastSeqInfoSrc &sisrc, int oid, vector< TGi > &gis)
 Get GIs for a sequence in a redundant database. More...
 
void GetFilteredRedundantSeqids (const IBlastSeqInfoSrc &sisrc, int oid, vector< string > &seqids, bool use_gis=true)
 Get Seqids for a sequence in a redundant database. More...
 
 CBlastpKmerOptionsHandle::CBlastpKmerOptionsHandle (EAPILocality locality=CBlastOptions::eLocal)
 Creates object with default options set. More...
 
 CBlastpKmerOptionsHandle::CBlastpKmerOptionsHandle (CRef< CBlastOptions > opt)
 
 CBlastpKmerOptionsHandle::~CBlastpKmerOptionsHandle ()
 
double CBlastpKmerOptionsHandle::GetThresh () const
 Returns threshold for Jaccard distance (range: 0-1) More...
 
void CBlastpKmerOptionsHandle::SetThresh (double thresh=0.1)
 Sets Threshold for Jaccard distance. More...
 
int CBlastpKmerOptionsHandle::GetMinHits () const
 Returns the number of hits to initiate calculation of Jaccard distance. More...
 
void CBlastpKmerOptionsHandle::SetMinHits (int minhits=1)
 Sets the number of hits ot initiate calculation of Jaccard distance. More...
 
int CBlastpKmerOptionsHandle::GetCandidateSeqs () const
 Gets the max number of candidate matches to process with BLAST. More...
 
void CBlastpKmerOptionsHandle::SetCandidateSeqs (int candidates=1000)
 Sets the max number of candidate matches to process with BLAST @candidates max number of target sequences to process with BLAST [in]. More...
 
virtual void CBlastpKmerOptionsHandle::SetRemoteProgramAndService_Blast3 ()
 Set the program and service name for remote blast. More...
 
 CBlastpKmerOptionsHandle::CBlastpKmerOptionsHandle (const CBlastpKmerOptionsHandle &rhs)
 Disallow copy constructor. More...
 
CBlastpKmerOptionsHandleCBlastpKmerOptionsHandle::operator= (const CBlastpKmerOptionsHandle &rhs)
 Disallow assignment operator. More...
 
 CBlastxOptionsHandle::CBlastxOptionsHandle (EAPILocality locality=CBlastOptions::eLocal)
 Creates object with default options set. More...
 
objects::ENa_strand CBlastxOptionsHandle::GetStrandOption () const
 Returns StrandOption. More...
 
void CBlastxOptionsHandle::SetStrandOption (objects::ENa_strand strand)
 Sets StrandOption. More...
 
int CBlastxOptionsHandle::GetQueryGeneticCode () const
 Returns QueryGeneticCode. More...
 
void CBlastxOptionsHandle::SetQueryGeneticCode (int gc)
 Sets QueryGeneticCode. More...
 
bool CBlastxOptionsHandle::GetOutOfFrameMode () const
 Returns OutOfFrameMode. More...
 
void CBlastxOptionsHandle::SetOutOfFrameMode (bool m=true)
 Sets OutOfFrameMode. More...
 
int CBlastxOptionsHandle::GetFrameShiftPenalty () const
 Returns FrameShiftPenalty. More...
 
void CBlastxOptionsHandle::SetFrameShiftPenalty (int p)
 Sets FrameShiftPenalty. More...
 
int CBlastxOptionsHandle::GetLongestIntronLength () const
 Returns LongestIntronLength. More...
 
void CBlastxOptionsHandle::SetLongestIntronLength (int l)
 Sets LongestIntronLength. More...
 
ECompoAdjustModes CBlastxOptionsHandle::GetCompositionBasedStats () const
 Returns this mode, which mostly specifies whether composition of db sequence is taken into account when calculating expect values. More...
 
void CBlastxOptionsHandle::SetCompositionBasedStats (ECompoAdjustModes mode)
 Sets this mode, which mostly specifies whether composition of db sequence is taken into account when calculating expect values. More...
 
bool CBlastxOptionsHandle::GetSmithWatermanMode () const
 Returns this mode, specifying that smith waterman rather than the normal blast heuristic should be used for final extensions. More...
 
void CBlastxOptionsHandle::SetSmithWatermanMode (bool m=false)
 Sets this mode, specifying that smith waterman rather than the normal blast heuristic should be used for final extensions. More...
 
virtual void CBlastxOptionsHandle::SetRemoteProgramAndService_Blast3 ()
 Set the program and service name for remote blast. More...
 
void CBlastxOptionsHandle::SetLookupTableDefaults ()
 Overrides LookupTableDefaults for blastx options. More...
 
void CBlastxOptionsHandle::SetQueryOptionDefaults ()
 Overrides QueryOptionDefaults for blastx options. More...
 
void CBlastxOptionsHandle::SetScoringOptionsDefaults ()
 Overrides ScoringOptionsDefaults for blastx options. More...
 
void CBlastxOptionsHandle::SetHitSavingOptionsDefaults ()
 Overrides HitSavingOptionsDefaults for blastx options. More...
 
void CBlastxOptionsHandle::SetGappedExtensionDefaults ()
 Overrides SetGappedExtensionDefaults for blastx option. More...
 
 CBlastxOptionsHandle::CBlastxOptionsHandle (const CBlastxOptionsHandle &rhs)
 Disallow copy constructor. More...
 
CBlastxOptionsHandleCBlastxOptionsHandle::operator= (const CBlastxOptionsHandle &rhs)
 Disallow assignment operator. More...
 
virtual IPssmInputCdd::~IPssmInputCdd ()
 
virtual PSICdMsaIPssmInputCdd::GetData (void)=0
 Get CD data for PSSM computation. More...
 
virtual const PSIBlastOptionsIPssmInputCdd::GetOptions (void)=0
 Get CDD-related PSI-BLAST options. More...
 
virtual const PSIDiagnosticsRequestIPssmInputCdd::GetDiagnosticsRequest (void)
 Get diagnostics options. More...
 
virtual void IPssmInputCdd::Process (void)=0
 Pre-process CDs used for PSSM computation. More...
 
 CCddInputData::CCddInputData (const Uint1 *query, unsigned int query_length, CConstRef< objects::CSeq_align_set > seqaligns, const PSIBlastOptions &opts, const string &dbname, const string &matrix_name="BLOSUM62", int gap_existence=0, int gap_extension=0, PSIDiagnosticsRequest *diags=NULL, const string &query_title="")
 Constructor. More...
 
virtual CCddInputData::~CCddInputData ()
 Virtual destructor. More...
 
unsigned char * CCddInputData::GetQuery (void)
 Get query sequence. More...
 
unsigned int CCddInputData::GetQueryLength (void)
 Get query length. More...
 
const char * CCddInputData::GetMatrixName (void)
 Get scoring matrix name. More...
 
const PSIDiagnosticsRequestCCddInputData::GetDiagnosticsRequest (void)
 Get options for PSSM engine diagnostics. More...
 
PSICdMsaCCddInputData::GetData (void)
 Get data for PSSM computation. More...
 
const PSIBlastOptionsCCddInputData::GetOptions (void)
 Get CDD-related PSSM engine options. More...
 
void CCddInputData::Process (void)
 Pre-process CD matches to query. More...
 
void CCddInputData::SetMinCddEvalue (double val)
 Set minimum e-value threshold for inclusion of CDs in PSSM computation. More...
 
CRef< objects::CBioseq > CCddInputData::GetQueryForPssm (void)
 Get query as Bioseq. More...
 
int CCddInputData::GetGapExistence (void)
 Get gap existence to use when building PSSM. More...
 
int CCddInputData::GetGapExtension (void)
 Get gap extension to use when building PSSM. More...
 
 CCddInputData::CHitSegment::CHitSegment (TRange q, TRange s)
 Constructor. More...
 
 CCddInputData::CHitSegment::CHitSegment (const CHitSegment &seg)
 Copy constructor. More...
 
void CCddInputData::CHitSegment::FillData (int db_oid, const CBlastRPSInfo &profile_data)
 Allocate and populate arrays for MSA data (weighted residue counts and effective observations used for PSSM computation) More...
 
bool CCddInputData::CHitSegment::Validate (void) const
 Validate hit segment. More...
 
bool CCddInputData::CHitSegment::IsEmpty (void) const
 Does the hit segment represent an empty range. More...
 
void CCddInputData::CHitSegment::AdjustRanges (int d_from, int d_to)
 Change ranges on query and subject by given values. More...
 
int CCddInputData::CHitSegment::GetLength (void) const
 Get length of the hit segment in residues. More...
 
CHitSegmentCCddInputData::CHitSegment::operator= (const CHitSegment &hit)
 Fobidding assignment operator. More...
 
void CCddInputData::CHitSegment::x_FillResidueCounts (int db_oid, const CBlastRPSInfo &profile_data)
 Populate arrays of weighted residue counts. More...
 
void CCddInputData::CHitSegment::x_FillObservations (int db_oid, const CBlastRPSInfo &profile_data)
 Populate arrays of effective numbers of observations. More...
 
 CCddInputData::CHit::CHit (const objects::CDense_seg &denseg, double evalue)
 Constructor. More...
 
 CCddInputData::CHit::CHit (const CHit &hit)
 Copy constructor. More...
 
 CCddInputData::CHit::~CHit ()
 Destructor. More...
 
void CCddInputData::CHit::FillData (const CSeqDB &seqdb, const CBlastRPSInfo &profile_data)
 Allocate and populate arrays of data for PSSM computation. More...
 
void CCddInputData::CHit::IntersectWith (const vector< TRange > &segments, EApplyTo app)
 Intersect hit segments with list of ranges and store result in hit segments. More...
 
void CCddInputData::CHit::IntersectWith (const CHit &hit, EApplyTo app)
 Intersect hit with another hit and store result. More...
 
void CCddInputData::CHit::Subtract (const CHit &hit)
 Subtract from another hit from this hit using query ranges. More...
 
bool CCddInputData::CHit::Validate (void) const
 Validate hit. More...
 
bool CCddInputData::CHit::IsEmpty (void) const
 Is hit empty. More...
 
int CCddInputData::CHit::GetLength (void) const
 Get hit length in residues, counts number of matching residues, gaps are not counted. More...
 
vector< CHitSegment * > & CCddInputData::CHit::GetSegments (void)
 Get hit segments. More...
 
const vector< CHitSegment * > & CCddInputData::CHit::GetSegments (void) const
 Get hit segments. More...
 
bool CCddInputData::compare_hitseg_range::operator() (const CHitSegment *a, const CHitSegment *b) const
 
bool CCddInputData::compare_range::operator() (const TRange &a, const TRange &b) const
 
bool CCddInputData::compare_hits_by_seqid_eval::operator() (CHit *const &a, CHit *const &b)
 
void CCddInputData::x_ProcessAlignments (double min_evalue, double max_evalue)
 Process RPS-BLAST hits. More...
 
void CCddInputData::x_FillHitsData (void)
 Read data needed for PSSM computation from CDD and populate arrays. More...
 
void CCddInputData::x_CreateMsa (void)
 Create multiple alignment of CDs. More...
 
void CCddInputData::x_RemoveMultipleCdHits (void)
 Remove multiple hits to the same CD. More...
 
bool CCddInputData::x_ValidateMsa (void) const
 Validate multiple alignment of CDs. More...
 
bool CCddInputData::x_ValidateHits (void) const
 Validate internal representation of RPS-BLAST hits. More...
 
void CCddInputData::x_ExtractQueryForPssm (void)
 Create query as Bioseq. More...
 
 CDeltaBlast::CDeltaBlast (CRef< IQueryFactory > query_factory, CRef< CLocalDbAdapter > blastdb, CRef< CLocalDbAdapter > domaindb, CConstRef< CDeltaBlastOptionsHandle > options)
 Constructor to compare a single sequence against a database of protein sequences, and use RPS-BLAST to search CDD. More...
 
 CDeltaBlast::CDeltaBlast (CRef< IQueryFactory > query_factory, CRef< CLocalDbAdapter > blastdb, CRef< CLocalDbAdapter > domaindb, CConstRef< CDeltaBlastOptionsHandle > options, CRef< CBlastRPSOptionsHandle > rps_options)
 Constructor to compare a single sequence against a database of protein sequences, and use RPS-BLAST to search CDD. More...
 
 CDeltaBlast::~CDeltaBlast ()
 Destructor. More...
 
CConstRef< objects::CPssmWithParameters > CDeltaBlast::GetPssm (int index=0) const
 Accessor for PSSM computd from CDD hits and used in protein search. More...
 
CRef< objects::CPssmWithParameters > CDeltaBlast::GetPssm (int index=0)
 Accessor for PSSM computd from CDD hits and used in protein search. More...
 
CRef< CSearchResultSetCDeltaBlast::GetDomainResults ()
 Get results of conserved domain search (intermediate results) More...
 
CRef< CSearchResultSetCDeltaBlast::Run ()
 Run the DELTA-BLAST engine with one iteration. More...
 
 CDeltaBlast::CDeltaBlast (const CDeltaBlast &rhs)
 Prohibit copy constructor. More...
 
CDeltaBlastCDeltaBlast::operator= (const CDeltaBlast &rhs)
 Prohibit assignment operator. More...
 
CRef< CSearchResultSetCDeltaBlast::x_FindDomainHits (void)
 Search domain database. More...
 
void CDeltaBlast::x_Validate (void)
 Perform sanity checks on input parameters. More...
 
 CDeltaBlastOptionsHandle::CDeltaBlastOptionsHandle (EAPILocality locality=CBlastOptions::eLocal)
 Creates object with default options set. More...
 
 CDeltaBlastOptionsHandle::~CDeltaBlastOptionsHandle ()
 Destructor. More...
 
double CDeltaBlastOptionsHandle::GetDomainInclusionThreshold (void) const
 Get e-value threshold for including domains in Pssm calculation. More...
 
void CDeltaBlastOptionsHandle::SetDomainInclusionThreshold (double th)
 Set e-value threshold for including domains in Pssm calculation. More...
 
double CDeltaBlastOptionsHandle::GetPSIInclusionThreshold (void) const
 Get e-value threshold for including sequences in Pssm calculation. More...
 
void CDeltaBlastOptionsHandle::SetPSIInclusionThreshold (double th)
 Set e-value threshold for including sequences in Pssm calculation. More...
 
virtual void CDeltaBlastOptionsHandle::SetRemoteProgramAndService_Blast3 ()
 Set the program and service name for remote blast. More...
 
virtual void CDeltaBlastOptionsHandle::SetQueryOptionDefaults ()
 Override the parent class' default for filtering query sequence (i.e. More...
 
virtual void CDeltaBlastOptionsHandle::SetGappedExtensionDefaults ()
 Override the parent class' defaults for gapped extension (i.e. More...
 
void CDeltaBlastOptionsHandle::SetDeltaBlastDefaults ()
 Sets Delta Blast defaults. More...
 
 CDeltaBlastOptionsHandle::CDeltaBlastOptionsHandle (const CDeltaBlastOptionsHandle &rhs)
 Disallow copy constructor. More...
 
CDeltaBlastOptionsHandleCDeltaBlastOptionsHandle::operator= (const CDeltaBlastOptionsHandle &rhs)
 Disallow assignment operator. More...
 
 CDiscNucleotideOptionsHandle::CDiscNucleotideOptionsHandle (EAPILocality locality=CBlastOptions::eLocal)
 Creates object with default options set. More...
 
unsigned char CDiscNucleotideOptionsHandle::GetTemplateLength () const
 Returns TemplateLength. More...
 
void CDiscNucleotideOptionsHandle::SetTemplateLength (unsigned char length)
 Sets TemplateLength. More...
 
unsigned char CDiscNucleotideOptionsHandle::GetTemplateType () const
 Returns TemplateType. More...
 
void CDiscNucleotideOptionsHandle::SetTemplateType (unsigned char type)
 Sets TemplateType. More...
 
void CDiscNucleotideOptionsHandle::SetWordSize (int ws)
 Sets WordSize. More...
 
void CDiscNucleotideOptionsHandle::SetTraditionalBlastnDefaults ()
 NOTE: Unavailable for discontiguous megablast. More...
 
virtual void CDiscNucleotideOptionsHandle::SetRemoteProgramAndService_Blast3 ()
 Set the program and service name for remote blast. More...
 
void CDiscNucleotideOptionsHandle::SetMBLookupTableDefaults ()
 Sets MBLookupTableDefaults. More...
 
void CDiscNucleotideOptionsHandle::SetMBInitialWordOptionsDefaults ()
 Sets MBInitialWordOptionsDefaults. More...
 
void CDiscNucleotideOptionsHandle::SetMBGappedExtensionDefaults ()
 Sets MBGappedExtensionDefaults. More...
 
void CDiscNucleotideOptionsHandle::SetMBScoringOptionsDefaults ()
 Sets MBScoringOptionsDefaults. More...
 
 CDiscNucleotideOptionsHandle::CDiscNucleotideOptionsHandle (const CDiscNucleotideOptionsHandle &rhs)
 Disallow copy constructor. More...
 
CDiscNucleotideOptionsHandleCDiscNucleotideOptionsHandle::operator= (const CDiscNucleotideOptionsHandle &rhs)
 Disallow assignment operator. More...
 
 CEffectiveSearchSpaceCalculator::CEffectiveSearchSpaceCalculator (CRef< IQueryFactory > query_factory, const CBlastOptions &options, Int4 db_num_seqs, Int8 db_num_bases, BlastScoreBlk *sbp=NULL)
 Constructor. More...
 
Int8 CEffectiveSearchSpaceCalculator::GetEffSearchSpace (size_t query_index=0) const
 Retrieve the effective search space calculated for a given query. More...
 
Int8 CEffectiveSearchSpaceCalculator::GetEffSearchSpaceForContext (size_t ctx_index) const
 Retrieve the effective search space calculated for a given query context. More...
 
BlastQueryInfoCEffectiveSearchSpaceCalculator::GetQueryInfo () const
 Retrieve the BlastQueryInfo structure that stores the effective search spaces for all queries. More...
 
 CBlastHSPListQueueData::CBlastHSPListQueueData ()
 Constructor. More...
 
 CBlastHSPListQueueData::~CBlastHSPListQueueData ()
 Destructor. More...
 
int CBlastHSPListQueueData::Read (BlastHSPList **hsp_list)
 Read from the queue. More...
 
int CBlastHSPListQueueData::Write (BlastHSPList **hsp_list)
 Write to the queue. More...
 
void CBlastHSPListQueueData::Close ()
 Close the queue for writing. More...
 
bool CBlastHSPListQueueData::NeedWait ()
 Check if wait on semaphore is needed. More...
 
BlastHSPStreamBlast_HSPListCQueueInit ()
 Function to initialize a queue HSP stream. More...
 
size_t SplitQuery_GetChunkSize (EProgram program)
 Returns the optimal chunk size for a given task. More...
 
 CLocalBlast::CLocalBlast (CRef< IQueryFactory > query_factory, CRef< CBlastOptionsHandle > opts_handle, const CSearchDatabase &dbinfo)
 Constructor with database description. More...
 
 CLocalBlast::CLocalBlast (CRef< IQueryFactory > query_factory, CRef< CBlastOptionsHandle > opts_handle, CRef< CLocalDbAdapter > db)
 Constructor with subject adapter (. More...
 
 CLocalBlast::CLocalBlast (CRef< IQueryFactory > query_factory, CRef< CBlastOptionsHandle > opts_handle, BlastSeqSrc *seqsrc, CRef< IBlastSeqInfoSrc > seqInfoSrc)
 Constructor with database description. More...
 
CRef< CSearchResultSetCLocalBlast::Run ()
 Executes the search. More...
 
TInterruptFnPtr CLocalBlast::SetInterruptCallback (TInterruptFnPtr fnptr, void *user_data=NULL)
 Set a function callback to be invoked by the CORE of BLAST to allow interrupting a BLAST search in progress. More...
 
TSearchMessages CLocalBlast::GetSearchMessages () const
 Retrieve any error/warning messages that occurred during the search. More...
 
Int4 CLocalBlast::GetNumExtensions ()
 Retrieve the number of extensions performed during the search. More...
 
BlastDiagnosticsCLocalBlast::GetDiagnostics ()
 Get the diagnostics structure (deep copy, needs to be deleted by caller) More...
 
void CLocalBlast::SetBatchNumber (int batch_num)
 
 CLocalDbAdapter::CLocalDbAdapter (const CSearchDatabase &dbinfo)
 Constructor. More...
 
 CLocalDbAdapter::CLocalDbAdapter (CRef< IQueryFactory > subject_sequences, CConstRef< CBlastOptionsHandle > opts_handle, bool dbscan_mode=false)
 Constructor. More...
 
 CLocalDbAdapter::CLocalDbAdapter (BlastSeqSrc *seqSrc, CRef< IBlastSeqInfoSrc > seqInfoSrc)
 Constructor taking custom BlastSeqSrc and IBlastSeqInfoSrc objects. More...
 
virtual CLocalDbAdapter::~CLocalDbAdapter ()
 Destructor. More...
 
void CLocalDbAdapter::ResetBlastSeqSrcIteration ()
 This method should be called so that if the implementation has an internal "bookmark" of the chunks of the database it has assigned to different threads, this can be reset at the start of a PSI-BLAST iteration (or when reusing the same object to iterate over the database/subjects when the query is split). More...
 
BlastSeqSrcCLocalDbAdapter::MakeSeqSrc ()
 Retrieves or constructs the BlastSeqSrc. More...
 
IBlastSeqInfoSrcCLocalDbAdapter::MakeSeqInfoSrc ()
 Retrieves or constructs the IBlastSeqInfoSrc. More...
 
int CLocalDbAdapter::GetFilteringAlgorithm ()
 Retrieve the database filtering algorithm. More...
 
string CLocalDbAdapter::GetFilteringAlgorithmKey ()
 Retrieve the database filtering id from key. More...
 
bool CLocalDbAdapter::IsProtein () const
 Returns true if this object represents protein or nucleotide sequences. More...
 
string CLocalDbAdapter::GetDatabaseName () const
 Returns the database name if appropriate, else kEmptyStr for subject sequences. More...
 
bool CLocalDbAdapter::IsBlastDb () const
 Returns true if this object represents a BLAST database. More...
 
bool CLocalDbAdapter::IsDbScanMode () const
 Returns true if this is not a database but is database scanning mode. More...
 
CRef< CSearchDatabaseCLocalDbAdapter::GetSearchDatabase ()
 
 CLocalDbAdapter::CLocalDbAdapter (const CLocalDbAdapter &)
 Prohibit copy-constructor. More...
 
CLocalDbAdapterCLocalDbAdapter::operator= (const CLocalDbAdapter &)
 Prohibit assignment operator. More...
 
virtual void CLocalSeqSearch::SetOptions (CRef< CBlastOptionsHandle > options)
 Configure the search. More...
 
virtual void CLocalSeqSearch::SetSubject (CConstRef< CSearchDatabase > subject)
 Set the databases to search. More...
 
virtual void CLocalSeqSearch::SetQueryFactory (CRef< IQueryFactory > query_factory)
 Set the factory which will return the queries to search for. More...
 
virtual CRef< CSearchResultSetCLocalSeqSearch::Run ()
 Run the search. More...
 
virtual void CLocalPssmSearch::SetOptions (CRef< CBlastOptionsHandle > options)
 Configure this search. More...
 
virtual void CLocalPssmSearch::SetSubject (CConstRef< CSearchDatabase > subject)
 Set the databases to search. More...
 
virtual void CLocalPssmSearch::SetQuery (CRef< objects::CPssmWithParameters > pssm)
 Set the PSSM with which to search the database. More...
 
virtual CRef< CSearchResultSetCLocalPssmSearch::Run ()
 Run a single iteration of the search. More...
 
virtual CRef< ISeqSearchCLocalSearchFactory::GetSeqSearch ()
 Get an object to manage a local sequence search. More...
 
virtual CRef< IPssmSearchCLocalSearchFactory::GetPssmSearch ()
 Get an object to manage a remote PSSM search. More...
 
virtual CRef< CBlastOptionsHandleCLocalSearchFactory::GetOptions (EProgram)
 Get an options handle for a search of the specified type. More...
 
 CMagicBlast::CMagicBlast (CRef< IQueryFactory > query_factory, CRef< CLocalDbAdapter > blastdb, CRef< CMagicBlastOptionsHandle > options)
 Constructor to map short reads as queries to a genome as BLAST database. More...
 
 CMagicBlast::~CMagicBlast ()
 Destructor. More...
 
CRef< CSeq_align_setCMagicBlast::Run (void)
 Run the RNA-Seq mapping. More...
 
CRef< CMagicBlastResultSetCMagicBlast::RunEx (void)
 
TSearchMessages CMagicBlast::GetSearchMessages (void) const
 
 CMagicBlast::CMagicBlast (const CMagicBlast &rhs)
 Prohibit copy constructor. More...
 
CMagicBlastCMagicBlast::operator= (const CMagicBlast &rhs)
 Prohibit assignment operator. More...
 
void CMagicBlast::x_Validate (void)
 Perform sanity checks on input arguments. More...
 
int CMagicBlast::x_Run (void)
 
CRef< CSeq_align_setCMagicBlast::x_BuildSeqAlignSet (const BlastMappingResults *results)
 
CRef< CMagicBlastResultSetCMagicBlast::x_BuildResultSet (const BlastMappingResults *results)
 
static CRef< CSeq_align_setCMagicBlast::x_CreateSeqAlignSet (const HSPChain *results, CRef< ILocalQueryData > qdata, CRef< IBlastSeqInfoSrc > seqinfo_src, const BlastQueryInfo *query_info, bool btop_splice_signals)
 Create results. More...
 
 CMagicBlastResults::CMagicBlastResults (CConstRef< CSeq_id > query_id, CConstRef< CSeq_id > mate_id, CRef< CSeq_align_set > aligns, const TMaskedQueryRegions *query_mask=NULL, const TMaskedQueryRegions *mate_mask=NULL, int query_length=0, int mate_length=0)
 Constructor for a pair. More...
 
 CMagicBlastResults::CMagicBlastResults (CConstRef< CSeq_id > query_id, CRef< CSeq_align_set > aligns, const TMaskedQueryRegions *query_mask=NULL, int query_length=0)
 Constructor for a single read. More...
 
CConstRef< CSeq_align_setCMagicBlastResults::GetSeqAlign (void) const
 Get alignments. More...
 
CRef< CSeq_align_setCMagicBlastResults::SetSeqAlign (void)
 Get non-const alignments. More...
 
bool CMagicBlastResults::IsPaired (void) const
 Are alignments computed for paired reads. More...
 
bool CMagicBlastResults::IsConcordant (void) const
 Are an aligned pair concordant? More...
 
TResultsInfo CMagicBlastResults::GetFirstInfo (void) const
 Get alignment flags for the query. More...
 
TResultsInfo CMagicBlastResults::GetLastInfo (void) const
 Get alignment flags for the mate. More...
 
const CSeq_idCMagicBlastResults::GetQueryId (void) const
 Get query sequence id. More...
 
const CSeq_idCMagicBlastResults::GetFirstId (void) const
 Get sequence id of the first segment of a paired read. More...
 
const CSeq_idCMagicBlastResults::GetLastId (void) const
 Get sequence id of the last sequence of a paired read. More...
 
bool CMagicBlastResults::FirstAligned (void) const
 Is the query aligned. More...
 
bool CMagicBlastResults::LastAligned (void) const
 Is the mate aligned. More...
 
void CMagicBlastResults::SortAlignments (EOrdering order)
 Sort alignments by selected criteria (pair configuration) More...
 
void CMagicBlastResults::x_SetInfo (int first_length, const TMaskedQueryRegions *first_masks, int last_length=0, const TMaskedQueryRegions *last_masks=NULL)
 
 CMagicBlastResultSet::CMagicBlastResultSet (void)
 Create an empty results set. More...
 
CRef< CSeq_align_setCMagicBlastResultSet::GetFlatResults (bool no_discordant=false)
 Get all results as a single Seq-align-set object. More...
 
size_type CMagicBlastResultSet::size () const
 Get number of results, provided to facilitate STL-style iteration. More...
 
bool CMagicBlastResultSet::empty () const
 Is the container empty. More...
 
const_iterator CMagicBlastResultSet::begin () const
 Returns const iteartor to the beginning of the container, provided to facilitate STL-style iteartion. More...
 
const_iterator CMagicBlastResultSet::end () const
 Returns const iterator to the end of the container. More...
 
iterator CMagicBlastResultSet::begin ()
 Returns iterator to the beginning of the container. More...
 
iterator CMagicBlastResultSet::end ()
 Returns iterator to the end of the container. More...
 
void CMagicBlastResultSet::clear ()
 Clear all results. More...
 
void CMagicBlastResultSet::reserve (size_t num)
 Reserve memory for a number of result elemetns. More...
 
void CMagicBlastResultSet::push_back (CMagicBlastResultSet::value_type &element)
 Add results to the end of the container. More...
 
 CMagicBlastResultSet::CMagicBlastResultSet (const CMagicBlastResultSet &)
 
CMagicBlastResultSetCMagicBlastResultSet::operator= (const CMagicBlastResultSet &)
 
 CMagicBlastOptionsHandle::CMagicBlastOptionsHandle (EAPILocality locality=CBlastOptions::eLocal)
 Creates object with default options set. More...
 
 CMagicBlastOptionsHandle::CMagicBlastOptionsHandle (CRef< CBlastOptions > opt)
 Create Options Handle from Existing CBlastOptions Object. More...
 
virtual void CMagicBlastOptionsHandle::SetDefaults ()
 Sets Defaults. More...
 
virtual void CMagicBlastOptionsHandle::SetRNAToGenomeDefaults ()
 
virtual void CMagicBlastOptionsHandle::SetRNAToRNADefaults ()
 
virtual void CMagicBlastOptionsHandle::SetGenomeToGenomeDefaults ()
 
bool CMagicBlastOptionsHandle::GetLookupDbFilter () const
 Return db filtering option for the lookup table. More...
 
void CMagicBlastOptionsHandle::SetLookupDbFilter (bool b)
 Set db filtering option for the lookup table. More...
 
Uint1 CMagicBlastOptionsHandle::GetMaxDbWordCount (void) const
 Get maximum word count for lookup table word masking by database frequency. More...
 
void CMagicBlastOptionsHandle::SetMaxDbWordCount (Uint1 num)
 Set maximum word count for lookup table word masking by database frequency. More...
 
int CMagicBlastOptionsHandle::GetLookupTableStride () const
 Return number of words skipped betweem collected ones when creating a lookup table. More...
 
void CMagicBlastOptionsHandle::SetLookupTableStride (int s)
 Set lookup table stride: number of words skipped between collected ones when creating a lookup table. More...
 
bool CMagicBlastOptionsHandle::GetReadQualityFiltering () const
 Return true if query quality filtering is on. More...
 
void CMagicBlastOptionsHandle::SetReadQualityFiltering (bool val=true)
 Turn on/off query quaility filtering with default parameters. More...
 
double CMagicBlastOptionsHandle::GetMaxFractionAmbiguous () const
 Get maximum fraction of ambiguous bases for query quality filtering. More...
 
void CMagicBlastOptionsHandle::SetMaxFractionAmbiguous (double val)
 Get maximum fraction of ambiguous bases for query quality filtering. More...
 
int CMagicBlastOptionsHandle::GetMinDimerEntropy () const
 Get mininum dimer entropy for query quality filtering. More...
 
void CMagicBlastOptionsHandle::SetMinDimerEntropy (int val)
 Set minimum dimer entropy for query quality filtering. More...
 
int CMagicBlastOptionsHandle::GetWordSize () const
 Return word size. More...
 
void CMagicBlastOptionsHandle::SetWordSize (int w)
 Set word size. More...
 
int CMagicBlastOptionsHandle::GetGapXDropoff () const
 Return x-dropoff parameter for gapped alignment. More...
 
void CMagicBlastOptionsHandle::SetGapXDropoff (int d)
 Set x-dropoff parameter for gapped alignment. More...
 
int CMagicBlastOptionsHandle::GetMismatchPenalty () const
 Returns mismatch penalty. More...
 
void CMagicBlastOptionsHandle::SetMismatchPenalty (int p)
 Sets mismatch penalty. More...
 
int CMagicBlastOptionsHandle::GetGapOpeningCost () const
 Return gap opening cost. More...
 
void CMagicBlastOptionsHandle::SetGapOpeningCost (int g)
 Set gap opening cost. More...
 
int CMagicBlastOptionsHandle::GetGapExtensionCost () const
 Return gap extension cost. More...
 
void CMagicBlastOptionsHandle::SetGapExtensionCost (int g)
 Sets gap extension cost. More...
 
int CMagicBlastOptionsHandle::GetCutoffScore () const
 Return a single alignment cutoff score. More...
 
void CMagicBlastOptionsHandle::SetCutoffScore (int s)
 Set a single alignment cutoff score. More...
 
vector< double > CMagicBlastOptionsHandle::GetCutoffScoreCoeffs ()
 Get coefficients for alignment cutoff score as a linear function of query length: x[0] + x[1] * length. More...
 
void CMagicBlastOptionsHandle::SetCutoffScoreCoeffs (const vector< double > &c)
 Set coefficients for alignment cutoff score as a linear function of query length: x[0] + x[1] * length. More...
 
int CMagicBlastOptionsHandle::GetMaxEditDistance () const
 
void CMagicBlastOptionsHandle::SetMaxEditDistance (int e)
 
bool CMagicBlastOptionsHandle::GetPaired () const
 Are the mapping reads assumed paired. More...
 
void CMagicBlastOptionsHandle::SetPaired (bool p)
 Set input reads as paired/not paired. More...
 
bool CMagicBlastOptionsHandle::GetSpliceAlignments () const
 Return the splice/unsplice alignments switch value. More...
 
void CMagicBlastOptionsHandle::SetSpliceAlignments (bool s)
 Set splicing alignments. More...
 
int CMagicBlastOptionsHandle::GetLongestIntronLength (void) const
 Get max intron length. More...
 
void CMagicBlastOptionsHandle::SetLongestIntronLength (int len)
 Set max intron length. More...
 
virtual void CMagicBlastOptionsHandle::SetRemoteProgramAndService_Blast3 ()
 Set the program and service name for remote blast. More...
 
virtual void CMagicBlastOptionsHandle::SetLookupTableDefaults ()
 Overrides LookupTableDefaults for nucleotide options. More...
 
virtual void CMagicBlastOptionsHandle::SetQueryOptionDefaults ()
 Overrides QueryOptionDefaults for nucleotide options. More...
 
virtual void CMagicBlastOptionsHandle::SetInitialWordOptionsDefaults ()
 Overrides InitialWordOptionsDefaults for nucleotide options. More...
 
virtual void CMagicBlastOptionsHandle::SetGappedExtensionDefaults ()
 Overrides GappedExtensionDefaults for nucleotide options. More...
 
virtual void CMagicBlastOptionsHandle::SetScoringOptionsDefaults ()
 Overrides ScoringOptionsDefaults for nucleotide options. More...
 
virtual void CMagicBlastOptionsHandle::SetHitSavingOptionsDefaults ()
 Overrides HitSavingOptionsDefaults for nucleotide options. More...
 
virtual void CMagicBlastOptionsHandle::SetEffectiveLengthsOptionsDefaults ()
 Overrides EffectiveLengthsOptionsDefaults for nucleotide options. More...
 
virtual void CMagicBlastOptionsHandle::SetSubjectSequenceOptionsDefaults ()
 Overrides SubjectSequenceOptionsDefaults for nucleotide options. More...
 
 CMagicBlastOptionsHandle::CMagicBlastOptionsHandle (const CMagicBlastOptionsHandle &rhs)
 Disallow copy constructor. More...
 
CMagicBlastOptionsHandleCMagicBlastOptionsHandle::operator= (const CMagicBlastOptionsHandle &rhs)
 Disallow assignment operator. More...
 
 CPsiBlastInputClustalW::CPsiBlastInputClustalW (CNcbiIstream &input_file, const PSIBlastOptions &opts, const char *matrix_name=NULL, const PSIDiagnosticsRequest *diags=NULL, const unsigned char *query=NULL, unsigned int query_length=0, int gap_existence=0, int gap_opening=0, unsigned int msa_master_idx=0)
 Construct a concrete strategy, used to configure the CPssmEngine object. More...
 
virtual CPsiBlastInputClustalW::~CPsiBlastInputClustalW ()
 virtual destructor More...
 
void CPsiBlastInputClustalW::Process ()
 The work to process the alignment is done here. More...
 
unsigned char * CPsiBlastInputClustalW::GetQuery ()
 Get the query sequence used as master for the multiple sequence alignment in ncbistdaa encoding. More...
 
unsigned int CPsiBlastInputClustalW::GetQueryLength ()
 Get the query's length. More...
 
PSIMsaCPsiBlastInputClustalW::GetData ()
 Obtain the multiple sequence alignment structure. More...
 
const PSIBlastOptionsCPsiBlastInputClustalW::GetOptions ()
 Obtain the options for the PSSM engine. More...
 
const char * CPsiBlastInputClustalW::GetMatrixName ()
 Obtain the name of the underlying matrix to use when building the PSSM. More...
 
int CPsiBlastInputClustalW::GetGapExistence ()
 Obtain the gap existence value to use when building the PSSM. More...
 
int CPsiBlastInputClustalW::GetGapExtension ()
 Obtain the gap extension value to use when building the PSSM. More...
 
const PSIDiagnosticsRequestCPsiBlastInputClustalW::GetDiagnosticsRequest ()
 Obtain the diagnostics data that is requested from the PSSM engine. More...
 
CRef< objects::CBioseq > CPsiBlastInputClustalW::GetQueryForPssm ()
 @inheritDoc More...
 
void CPsiBlastInputClustalW::x_ReadAsciiMsa (CNcbiIstream &input_file)
 Reads the multiple sequence alignment from the input file. More...
 
void CPsiBlastInputClustalW::x_ExtractQueryFromMsa (unsigned int msa_master_idx=0)
 Extracts the query sequence from the multiple sequence alignment, assuming it's the first one, into m_Query. More...
 
void CPsiBlastInputClustalW::x_ValidateQueryInMsa ()
 Searches the query sequence (m_Query) in the aligned sequences (m_AsciiMsa) and moves the first instance it finds to the front of this data structure. More...
 
void CPsiBlastInputClustalW::x_CopyQueryToMsa ()
 Copies query sequence data to multiple alignment data structure. More...
 
void CPsiBlastInputClustalW::x_ExtractAlignmentData ()
 Populates the multiple alignment data structure. More...
 
void CPsiBlastInputClustalW::x_ExtractQueryForPssm ()
 Extracts the query bioseq from m_SeqEntry. More...
 
 CPsiBlastInputClustalW::CPsiBlastInputClustalW (const CPsiBlastInputClustalW &)
 prohibit copy constructor More...
 
CPsiBlastInputClustalWCPsiBlastInputClustalW::operator= (const CPsiBlastInputClustalW &)
 prohibit assignment operator More...
 
 CObjMgr_QueryFactory::CObjMgr_QueryFactory (TSeqLocVector &queries)
 ctor that takes a vector of SSeqLoc More...
 
 CObjMgr_QueryFactory::CObjMgr_QueryFactory (CBlastQueryVector &queries)
 ctor that takes a CBlastQueryVector (preferred) More...
 
vector< CRef< objects::CScope > > CObjMgr_QueryFactory::ExtractScopes ()
 Retrieve the CScope objects associated with the query sequences associated with this object. More...
 
TSeqLocInfoVector CObjMgr_QueryFactory::ExtractUserSpecifiedMasks ()
 Retrieve any user specified masking locations. More...
 
TSeqLocVector CObjMgr_QueryFactory::GetTSeqLocVector ()
 Retrieves the TSeqLocVector used to construct this object or a conversion of the CBlastQueryVector provided. More...
 
CRef< ILocalQueryDataCObjMgr_QueryFactory::x_MakeLocalQueryData (const CBlastOptions *opts)
 factory method to create an ILocalQueryData, only called if the data members above are not set More...
 
CRef< IRemoteQueryDataCObjMgr_QueryFactory::x_MakeRemoteQueryData ()
 factory method to create an IRemoteQueryData, only called if the data members above are not set More...
 
 CObjMgrFree_QueryFactory::CObjMgrFree_QueryFactory (CConstRef< objects::CBioseq > bioseq)
 Parametrized constructor taking a single Bioseq. More...
 
 CObjMgrFree_QueryFactory::CObjMgrFree_QueryFactory (CConstRef< objects::CBioseq_set > bioseq_set)
 Parametrized constructor taking a Bioseq-set. More...
 
CRef< ILocalQueryDataCObjMgrFree_QueryFactory::x_MakeLocalQueryData (const CBlastOptions *opts)
 factory method to create an ILocalQueryData, only called if the data members above are not set More...
 
CRef< IRemoteQueryDataCObjMgrFree_QueryFactory::x_MakeRemoteQueryData ()
 factory method to create an IRemoteQueryData, only called if the data members above are not set More...
 
 CPHIBlastNuclOptionsHandle::CPHIBlastNuclOptionsHandle (EAPILocality locality=CBlastOptions::eLocal)
 Creates object with default options set. More...
 
 CPHIBlastNuclOptionsHandle::~CPHIBlastNuclOptionsHandle ()
 
const char * CPHIBlastNuclOptionsHandle::GetPHIPattern () const
 Retrieves the pattern string option. More...
 
void CPHIBlastNuclOptionsHandle::SetPHIPattern (const char *p)
 Sets the pattern string option. More...
 
 CPHIBlastNuclOptionsHandle::CPHIBlastNuclOptionsHandle (const CPHIBlastNuclOptionsHandle &rhs)
 Disallow copy constructor. More...
 
CPHIBlastNuclOptionsHandleCPHIBlastNuclOptionsHandle::operator= (const CPHIBlastNuclOptionsHandle &rhs)
 Disallow assignment operator. More...
 
 CPHIBlastProtOptionsHandle::CPHIBlastProtOptionsHandle (EAPILocality locality=CBlastOptions::eLocal)
 Creates object with default options set. More...
 
 CPHIBlastProtOptionsHandle::~CPHIBlastProtOptionsHandle ()
 
const char * CPHIBlastProtOptionsHandle::GetPHIPattern () const
 Retrieves the pattern string option. More...
 
void CPHIBlastProtOptionsHandle::SetPHIPattern (const char *p)
 Sets the pattern string option. More...
 
 CPHIBlastProtOptionsHandle::CPHIBlastProtOptionsHandle (const CPHIBlastProtOptionsHandle &rhs)
 Disallow copy constructor. More...
 
CPHIBlastProtOptionsHandleCPHIBlastProtOptionsHandle::operator= (const CPHIBlastProtOptionsHandle &rhs)
 Disallow assignment operator. More...
 
 CBlastPrelimSearch::CBlastPrelimSearch (CRef< IQueryFactory > query_factory, CRef< CBlastOptions > options, const CSearchDatabase &dbinfo)
 Constructor which creates and manages a BLAST database handle for the caller. More...
 
 CBlastPrelimSearch::CBlastPrelimSearch (CRef< IQueryFactory > query_factory, CRef< CBlastOptions > options, CRef< CLocalDbAdapter > db, size_t num_threads=1)
 Constructor which creates BlastSeqSrc object from the already constructed BLAST database handle. More...
 
 CBlastPrelimSearch::CBlastPrelimSearch (CRef< IQueryFactory > query_factory, CRef< CBlastOptions > options, BlastSeqSrc *seqsrc, CConstRef< objects::CPssmWithParameters > pssm=null)
 Constructor which takes a PSSM and an already initialized BlastSeqSrc object. More...
 
CRef< SInternalDataCBlastPrelimSearch::Run ()
 Borrow the internal data and results results. More...
 
virtual void CBlastPrelimSearch::SetNumberOfThreads (size_t nthreads)
 @inheritDoc More...
 
TInterruptFnPtr CBlastPrelimSearch::SetInterruptCallback (TInterruptFnPtr fnptr, void *user_data=NULL)
 Set a function callback to be invoked by the CORE of BLAST to allow interrupting a BLAST search in progress. More...
 
int CBlastPrelimSearch::CheckInternalData ()
 Checks that internal data is valid. More...
 
BlastHSPResultsCBlastPrelimSearch::ComputeBlastHSPResults (BlastHSPStream *stream, Uint4 max_num_hsps=0, bool *rm_hsps=NULL, vector< bool > *rm_hsps_info=NULL) const
 Return HSPs in a structure other than the HSPStream? Provide conversion? How to combine this with CBlastTracebackStage? More...
 
TSearchMessages CBlastPrelimSearch::GetSearchMessages () const
 Retrieve any error/warning messages that occurred during the search. More...
 
TSeqLocInfoVector CBlastPrelimSearch::GetFilteredQueryRegions () const
 Retrieve the filtered/masked query regions. More...
 
bool CBlastPrelimSearch::Run (vector< list< CRef< CStd_seg > > > &results)
 
const TSeqLocInfoVectorCBlastPrelimSearch::GetQueryMasks (void) const
 Return query masks. More...
 
 CBlastPrelimSearch::CBlastPrelimSearch (const CBlastPrelimSearch &rhs)
 Prohibit copy constructor. More...
 
CBlastPrelimSearchCBlastPrelimSearch::operator= (const CBlastPrelimSearch &rhs)
 Prohibit assignment operator. More...
 
void CBlastPrelimSearch::x_Init (CRef< IQueryFactory > query_factory, CRef< CBlastOptions > options, CConstRef< objects::CPssmWithParameters > pssm, BlastSeqSrc *seqsrc, size_t num_threads=1)
 Internal initialization function Initializes internal data structures except the BlastSeqSrc. More...
 
int CBlastPrelimSearch::x_LaunchMultiThreadedSearch (SInternalData &internal_data)
 Runs the preliminary search in multi-threaded mode. More...
 
bool CBlastPrelimSearch::x_BuildStdSegList (vector< list< CRef< CStd_seg > > > &list)
 
 CPsiBlastInputFreqRatios::CPsiBlastInputFreqRatios (const unsigned char *query, unsigned int query_length, const CNcbiMatrix< double > &freq_ratios, const char *matrix_name=NULL, int gap_existence=0, int gap_extension=0, double impala_scale_factor=0)
 Constructor. More...
 
void CPsiBlastInputFreqRatios::Process ()
 No-op as we assume the data is passed in to the constructor. More...
 
unsigned char * CPsiBlastInputFreqRatios::GetQuery ()
 @inheritDoc More...
 
unsigned int CPsiBlastInputFreqRatios::GetQueryLength ()
 Get the query's length. More...
 
const char * CPsiBlastInputFreqRatios::GetMatrixName ()
 Obtain the name of the underlying matrix to use when building the PSSM. More...
 
int CPsiBlastInputFreqRatios::GetGapExistence ()
 Obtain the gap existence value to use when building the PSSM. More...
 
int CPsiBlastInputFreqRatios::GetGapExtension ()
 Obtain the gap extension value to use when building the PSSM. More...
 
double CPsiBlastInputFreqRatios::GetImpalaScaleFactor ()
 Obtain the IMPALA Scale Factor value to use when building the PSSM. More...
 
const CNcbiMatrix< double > & CPsiBlastInputFreqRatios::GetData ()
 Obtain a matrix of frequency ratios with this->GetQueryLength() columns and BLASTAA_SIZE rows. More...
 
 CPsiBlastInputData::CPsiBlastInputData (const unsigned char *query, unsigned int query_length, CConstRef< objects::CSeq_align_set > sset, CRef< objects::CScope > scope, const PSIBlastOptions &opts, const char *matrix_name=NULL, int gap_existence=0, int gap_opening=0, const PSIDiagnosticsRequest *diags=NULL, const string &query_title="")
 Construct a concrete strategy, used to configure the CPssmEngine object. More...
 
virtual CPsiBlastInputData::~CPsiBlastInputData ()
 virtual destructor More...
 
void CPsiBlastInputData::Process ()
 The work to process the alignment is done here. More...
 
unsigned char * CPsiBlastInputData::GetQuery ()
 Get the query sequence used as master for the multiple sequence alignment in ncbistdaa encoding. More...
 
unsigned int CPsiBlastInputData::GetQueryLength ()
 Get the query's length. More...
 
PSIMsaCPsiBlastInputData::GetData ()
 Obtain the multiple sequence alignment structure. More...
 
const PSIBlastOptionsCPsiBlastInputData::GetOptions ()
 Obtain the options for the PSSM engine. More...
 
const char * CPsiBlastInputData::GetMatrixName ()
 Obtain the name of the underlying matrix to use when building the PSSM. More...
 
int CPsiBlastInputData::GetGapExistence ()
 Obtain the gap existence value to use when building the PSSM. More...
 
int CPsiBlastInputData::GetGapExtension ()
 Obtain the gap extension value to use when building the PSSM. More...
 
const PSIDiagnosticsRequestCPsiBlastInputData::GetDiagnosticsRequest ()
 Obtain the diagnostics data that is requested from the PSSM engine. More...
 
CRef< objects::CBioseq > CPsiBlastInputData::GetQueryForPssm ()
 @inheritDoc More...
 
static void CPsiBlastInputData::x_GetSubjectSequence (const objects::CDense_seg &ds, objects::CScope &scope, string &sequence_data)
 Tries to fetch the sequence data for the subject for the segments specified in the Dense-seg. More...
 
unsigned int CPsiBlastInputData::x_CountAndSelectQualifyingAlignments ()
 Examines the sequence alignment and keeps track of those hits which have an HSP with an e-value below the inclusion threshold specified in the PSIBlastOptions structure. More...
 
void CPsiBlastInputData::x_ExtractAlignmentData ()
 Populates the multiple alignment data structure. More...
 
void CPsiBlastInputData::x_CopyQueryToMsa ()
 Copies query sequence data to multiple alignment data structure. More...
 
unsigned int CPsiBlastInputData::GetNumAlignedSequences () const
 Returns the number of sequences that make up the multiple sequence alignment. More...
 
void CPsiBlastInputData::x_ProcessDenseg (const objects::CDense_seg &denseg, unsigned int msa_index, double evalue, double bit_score)
 Iterates over the Dense-seg passed in and extracts alignment information to multiple alignment data structure. More...
 
void CPsiBlastInputData::x_ExtractQueryForPssm ()
 Extracts the query bioseq from m_SeqAlignSet. More...
 
 CPsiBlastInputData::CPsiBlastInputData (const CPsiBlastInputData &)
 prohibit copy constructor More...
 
CPsiBlastInputDataCPsiBlastInputData::operator= (const CPsiBlastInputData &)
 prohibit assignment operator More...
 
 CPsiBl2Seq::CPsiBl2Seq (CRef< objects::CPssmWithParameters > pssm, CRef< IQueryFactory > subject, CConstRef< CPSIBlastOptionsHandle > options)
 Constructor to compare a PSSM against protein sequences. More...
 
 CPsiBl2Seq::CPsiBl2Seq (CRef< objects::CPssmWithParameters > pssm, CRef< CLocalDbAdapter > subject, CConstRef< CPSIBlastOptionsHandle > options)
 Constructor to compare a PSSM against protein sequences. More...
 
 CPsiBl2Seq::CPsiBl2Seq (CRef< IQueryFactory > query, CRef< IQueryFactory > subject, CConstRef< CBlastProteinOptionsHandle > options)
 Constructor to compare protein sequences in an object manager-free manner. More...
 
 CPsiBl2Seq::~CPsiBl2Seq ()
 Destructor. More...
 
CRef< CSearchResultSetCPsiBl2Seq::Run ()
 Run the PSI-BLAST 2 Sequences engine. More...
 
void CPsiBl2Seq::x_InitSubject (CRef< IQueryFactory > subject, const CBlastOptionsHandle *options)
 Auxiliary method to initialize the subject. More...
 
 CPsiBl2Seq::CPsiBl2Seq (const CPsiBl2Seq &rhs)
 Prohibit copy constructor. More...
 
CPsiBl2SeqCPsiBl2Seq::operator= (const CPsiBl2Seq &rhs)
 Prohibit assignment operator. More...
 
 CPsiBlast::CPsiBlast (CRef< IQueryFactory > query_factory, CRef< CLocalDbAdapter > blastdb, CConstRef< CPSIBlastOptionsHandle > options)
 Constructor to compare a single sequence against a database of protein sequences. More...
 
 CPsiBlast::CPsiBlast (CRef< objects::CPssmWithParameters > pssm, CRef< CLocalDbAdapter > blastdb, CConstRef< CPSIBlastOptionsHandle > options)
 Constructor to compare a PSSM against a database of protein sequences. More...
 
 CPsiBlast::~CPsiBlast ()
 Destructor. More...
 
void CPsiBlast::SetPssm (CConstRef< objects::CPssmWithParameters > pssm)
 This method allows the same object to be reused when performing multiple iterations. More...
 
CConstRef< objects::CPssmWithParameters > CPsiBlast::GetPssm () const
 Accessor for the most recently used PSSM. More...
 
CRef< CSearchResultSetCPsiBlast::Run ()
 Run the PSI-BLAST engine for one iteration. More...
 
 CPsiBlast::CPsiBlast (const CPsiBlast &rhs)
 Prohibit copy constructor. More...
 
CPsiBlastCPsiBlast::operator= (const CPsiBlast &rhs)
 Prohibit assignment operator. More...
 
CRef< objects::CPssmWithParameters > PsiBlastComputePssmFromAlignment (const objects::CBioseq &query, CConstRef< objects::CSeq_align_set > alignment, CRef< objects::CScope > database_scope, const CPSIBlastOptionsHandle &opts_handle, CConstRef< CBlastAncillaryData > ancillary_data, PSIDiagnosticsRequest *diagnostics_req=0)
 Computes a PSSM from the result of a PSI-BLAST iteration. More...
 
 CPsiBlastIterationState::CPsiBlastIterationState (unsigned int num_iterations=1)
 Constructor. More...
 
 CPsiBlastIterationState::~CPsiBlastIterationState ()
 Destructor. More...
 
 CPsiBlastIterationState::operator bool ()
 Allow implicit conversion to a boolean value, returning true if there are more iterations to perform or false if iterations are done. More...
 
bool CPsiBlastIterationState::HasConverged ()
 Determines if the PSI-BLAST search has converged (i.e. More...
 
bool CPsiBlastIterationState::HasMoreIterations () const
 Determines if more iterations are still needed. More...
 
TSeqIds CPsiBlastIterationState::GetPreviouslyFoundSeqIds () const
 Retrieve the set of Seq-id's found in the previous iteration. More...
 
void CPsiBlastIterationState::Advance (const TSeqIds &list)
 Advance the iterator by passing it the list of Seq-ids which passed the inclusion criteria for the current iteration. More...
 
static void CPsiBlastIterationState::GetSeqIds (CConstRef< objects::CSeq_align_set > seqalign, CConstRef< CPSIBlastOptionsHandle > opts, TSeqIds &retval)
 Extract the sequence ids from the sequence alignment which identify those sequences that will be used for PSSM construction. More...
 
unsigned int CPsiBlastIterationState::GetIterationNumber () const
 Return the number of the current iteration. More...
 
 CPsiBlastIterationState::CPsiBlastIterationState (const CPsiBlastIterationState &rhs)
 Prohibit copy constructor. More...
 
CPsiBlastIterationStateCPsiBlastIterationState::operator= (const CPsiBlastIterationState &rhs)
 Prohibit assignment operator. More...
 
void CPsiBlastIterationState::x_ThrowExceptionOnLogicError ()
 After the iteration state object has converged or exhausted its iterations, it shouldn't be modified, so it throws a CBlastException if this happens. More...
 
 CPSIBlastOptionsHandle::CPSIBlastOptionsHandle (EAPILocality locality=CBlastOptions::eLocal)
 Creates object with default options set. More...
 
 CPSIBlastOptionsHandle::CPSIBlastOptionsHandle (CRef< CBlastOptions > opt)
 
 CPSIBlastOptionsHandle::~CPSIBlastOptionsHandle ()
 Destructor. More...
 
double CPSIBlastOptionsHandle::GetInclusionThreshold () const
 Returns InclusionThreshold. More...
 
void CPSIBlastOptionsHandle::SetInclusionThreshold (double incthr)
 Sets InclusionThreshold. More...
 
int CPSIBlastOptionsHandle::GetPseudoCount () const
 Returns PseudoCount. More...
 
void CPSIBlastOptionsHandle::SetPseudoCount (int p)
 Sets PseudoCount. More...
 
void CPSIBlastOptionsHandle::SetPSITblastnDefaults ()
 Sets default options for psi tblastn search. More...
 
virtual void CPSIBlastOptionsHandle::SetRemoteProgramAndService_Blast3 ()
 Set the program and service name for remote blast. More...
 
virtual void CPSIBlastOptionsHandle::SetQueryOptionDefaults ()
 Override the parent class' default for filtering query sequence (i.e. More...
 
void CPSIBlastOptionsHandle::SetPSIBlastDefaults ()
 Sets PSIBlastDefaults. More...
 
 CPSIBlastOptionsHandle::CPSIBlastOptionsHandle (const CPSIBlastOptionsHandle &rhs)
 Disallow copy constructor. More...
 
CPSIBlastOptionsHandleCPSIBlastOptionsHandle::operator= (const CPSIBlastOptionsHandle &rhs)
 Disallow assignment operator. More...
 
virtual const char * CPssmEngineException::GetErrCodeString (void) const override
 Translate from the error code value to its string representation. More...
 
 CPssmEngineException::NCBI_EXCEPTION_DEFAULT (CPssmEngineException, CBlastException)
 
 CPssmEngine::CPssmEngine (IPssmInputData *input)
 Constructor to configure the PSSM engine with a PSSM input data strategy object Checks that no data returned by the IPssmInputData interface is NULL. More...
 
 CPssmEngine::CPssmEngine (IPssmInputFreqRatios *input)
 Constructor to perform the last 2 stages of the PSSM creation algorithm Checks that no data returned by the IPssmInputFreqRatios interface is NULL. More...
 
 CPssmEngine::CPssmEngine (IPssmInputCdd *input)
 Constructor to configure the PSSM engine with a PSSM input data strategy object for CDD-based PSSM computation. More...
 
 CPssmEngine::~CPssmEngine ()
 Destructor. More...
 
void CPssmEngine::SetUngappedStatisticalParams (CConstRef< CBlastAncillaryData > ancillary_data)
 Sets the Karlin & Altschul parameters in the BlastScoreBlk to be used in PSSM generation. More...
 
CRef< objects::CPssmWithParameters > CPssmEngine::Run ()
 Runs the PSSM engine to compute the PSSM. More...
 
static unsigned char * CPssmEngine::x_GuardProteinQuery (const unsigned char *query, unsigned int query_length)
 Copies query sequence and adds protein sentinel bytes at the beginning and at the end of the sequence. More...
 
BlastQueryInfoCPssmEngine::x_InitializeQueryInfo (unsigned int query_length)
 Initialiazes the core BlastQueryInfo structure for a single protein sequence. More...
 
void CPssmEngine::x_InitializeScoreBlock (const unsigned char *query, unsigned int query_length, const char *matrix_name, int gap_existence, int gap_extension)
 Initializes the BlastScoreBlk data member required to run the PSSM engine. More...
 
unsigned char * CPssmEngine::x_GetQuery () const
 Private interface to retrieve query sequence from its data source interface. More...
 
unsigned int CPssmEngine::x_GetQueryLength () const
 Private interface to retrieve query length from its data source interface. More...
 
const char * CPssmEngine::x_GetMatrixName () const
 Private interface to retrieve matrix name from its data source interface. More...
 
int CPssmEngine::x_GetGapExistence () const
 Private interface to retrieve gap existence cost from data source. More...
 
int CPssmEngine::x_GetGapExtension () const
 Private interface to retrieve gap extension cost from data source. More...
 
CRef< objects::CPssmWithParameters > CPssmEngine::x_CreatePssmFromMsa ()
 Using IPssmInputData as a delegate to provide input data in the form of a multiple sequence alignment, creates a PSSM using the CORE C PSSM engine API. More...
 
CRef< objects::CPssmWithParameters > CPssmEngine::x_CreatePssmFromFreqRatios ()
 Using IPssmInputFreqRatios as a delegate to provide the input PSSM's frequency ratios, creates a PSSM using the CORE C PSSM engine API. More...
 
CRef< objects::CPssmWithParameters > CPssmEngine::x_CreatePssmFromCDD ()
 Using IPssmInputCdd as a delegate to provide data in the form of multiple alignment of CDs, creates PSSM using the CORE C PSSM engine API. More...
 
static CRef< objects::CPssmWithParameters > CPssmEngine::x_PSIMatrix2Asn1 (const PSIMatrix *pssm, const char *matrix_name, const PSIBlastOptions *opts=NULL, const PSIDiagnosticsResponse *diagnostics=NULL)
 Converts the PSIMatrix structure into a ASN.1 CPssmWithParameters object. More...
 
static std::string CPssmEngine::x_ErrorCodeToString (int error_code)
 Convert a PSSM return status into a string. More...
 
 CPssmEngine::CPssmEngine ()
 Default constructor available for derived test classes. More...
 
 CPssmEngine::CPssmEngine (const CPssmEngine &rhs)
 Prohibit copy constructor. More...
 
CPssmEngineCPssmEngine::operator= (const CPssmEngine &rhs)
 Prohibit assignment operator. More...
 
static CNcbiMatrix< int > * CScorematPssmConverter::GetScores (const objects::CPssmWithParameters &pssm)
 Returns matrix of BLASTAA_SIZE by query size (dimensions are opposite of what is stored in the BlastScoreBlk) containing scores. More...
 
static CNcbiMatrix< double > * CScorematPssmConverter::GetFreqRatios (const objects::CPssmWithParameters &pssm)
 Returns matrix of BLASTAA_SIZE by query size (dimensions are opposite of what is stored in the BlastScoreBlk) containing frequency ratios. More...
 
static void CScorematPssmConverter::GetInformationContent (const objects::CPssmWithParameters &pssm, vector< double > &retval)
 Returns the information content per position of the PSSM. More...
 
static void CScorematPssmConverter::GetGaplessColumnWeights (const objects::CPssmWithParameters &pssm, vector< double > &retval)
 Returns the relative gapless PSSM column weights to pseudocounts for the provided PSSM. More...
 
static CNcbiMatrix< int > * CScorematPssmConverter::GetResidueFrequencies (const objects::CPssmWithParameters &pssm)
 Returns matrix of BLASTAA_SIZE by query size (dimensions are opposite of what is stored in the BlastScoreBlk) containing the residue frequencies per position of the PSSM. More...
 
static CNcbiMatrix< double > * CScorematPssmConverter::GetWeightedResidueFrequencies (const objects::CPssmWithParameters &pssm)
 Returns matrix of BLASTAA_SIZE by query size (dimensions are opposite of what is stored in the BlastScoreBlk) containing the weighted residue frequencies per position of the PSSM. More...
 
static void CScorematPssmConverter::GetSigma (const objects::CPssmWithParameters &pssm, vector< double > &retval)
 Data used in sequence weights computation. More...
 
static void CScorematPssmConverter::GetIntervalSizes (const objects::CPssmWithParameters &pssm, vector< int > &retval)
 Length of the aligned regions per position of the query sequence. More...
 
static void CScorematPssmConverter::GetNumMatchingSeqs (const objects::CPssmWithParameters &pssm, vector< int > &retval)
 Gets the number of matching sequences per position of the PSSM. More...
 
virtual IPssmInput_Base::~IPssmInput_Base ()
 virtual destructor More...
 
virtual unsigned char * IPssmInput_Base::GetQuery ()=0
 Get the query sequence used as master for the multiple sequence alignment in ncbistdaa encoding. More...
 
virtual unsigned int IPssmInput_Base::GetQueryLength ()=0
 Get the query's length. More...
 
virtual const char * IPssmInput_Base::GetMatrixName ()
 Obtain the name of the underlying matrix to use when building the PSSM. More...
 
virtual int IPssmInput_Base::GetGapExistence ()
 Obtain the gap existence value for the underlying matrix used to build the PSSM. More...
 
virtual int IPssmInput_Base::GetGapExtension ()
 Obtain the gap extension value for the underlying matrix used to build the PSSM. More...
 
virtual CRef< objects::CBioseq > IPssmInput_Base::GetQueryForPssm ()
 Get a CBioseq object for attachment into the CPssmWithParameters that CPssmEngine produces (only attached if it's not NULL). More...
 
virtual IPssmInputData::~IPssmInputData ()
 virtual destructor More...
 
virtual void IPssmInputData::Process ()=0
 Algorithm to produce multiple sequence alignment structure should be implemented in this method. More...
 
virtual PSIMsaIPssmInputData::GetData ()=0
 Obtain the multiple sequence alignment structure. More...
 
virtual const PSIBlastOptionsIPssmInputData::GetOptions ()=0
 Obtain the options for the PSSM engine. More...
 
virtual const PSIDiagnosticsRequestIPssmInputData::GetDiagnosticsRequest ()
 Obtain the diagnostics data that is requested from the PSSM engine Its results will be populated in the PssmWithParameters ASN.1 object. More...
 
virtual IPssmInputFreqRatios::~IPssmInputFreqRatios ()
 virtual destructor More...
 
virtual void IPssmInputFreqRatios::Process ()=0
 Algorithm to produce the PSSM's frequecy ratios should be implemented in this method. More...
 
virtual const CNcbiMatrix< double > & IPssmInputFreqRatios::GetData ()=0
 Obtain a matrix of frequency ratios with this->GetQueryLength() columns and BLASTAA_SIZE rows. More...
 
virtual double IPssmInputFreqRatios::GetImpalaScaleFactor ()
 
 ILocalQueryData::ILocalQueryData ()
 Default constructor. More...
 
virtual ILocalQueryData::~ILocalQueryData ()
 virtual destructor More...
 
virtual BLAST_SequenceBlkILocalQueryData::GetSequenceBlk ()=0
 Accessor for the BLAST_SequenceBlk structure. More...
 
virtual BlastQueryInfoILocalQueryData::GetQueryInfo ()=0
 Accessor for the BlastQueryInfo structure. More...
 
virtual size_t ILocalQueryData::GetNumQueries ()=0
 Get the number of queries. More...
 
virtual CConstRef< objects::CSeq_loc > ILocalQueryData::GetSeq_loc (size_t index)=0
 Get the Seq_loc for the sequence indicated by index. More...
 
virtual size_t ILocalQueryData::GetSeqLength (size_t index)=0
 Get the length of the sequence indicated by index. More...
 
size_t ILocalQueryData::GetSumOfSequenceLengths ()
 Compute the sum of all the sequence's lengths. More...
 
void ILocalQueryData::GetMessages (TSearchMessages &messages) const
 Retrieve all error/warning messages. More...
 
void ILocalQueryData::GetQueryMessages (size_t index, TQueryMessages &qmsgs)
 Retrieve error/warning messages for a specific query. More...
 
bool ILocalQueryData::IsValidQuery (size_t index)
 Determine if a given query sequence is valid or not. More...
 
bool ILocalQueryData::IsAtLeastOneQueryValid ()
 Determine if at least one query sequence is valid or not. More...
 
void ILocalQueryData::FlushSequenceData ()
 Frees the cached sequence data structure (as this is usually the larger data structure). More...
 
void ILocalQueryData::x_ValidateIndex (size_t index)
 
virtual IRemoteQueryData::~IRemoteQueryData ()
 
virtual CRef< objects::CBioseq_set > IRemoteQueryData::GetBioseqSet ()=0
 Accessor for the CBioseq_set. More...
 
virtual TSeqLocs IRemoteQueryData::GetSeqLocs ()=0
 Accessor for the TSeqLocs. More...
 
virtual IQueryFactory::~IQueryFactory ()
 
CRef< ILocalQueryDataIQueryFactory::MakeLocalQueryData (const CBlastOptions *opts)
 Creates and caches an ILocalQueryData. More...
 
CRef< IRemoteQueryDataIQueryFactory::MakeRemoteQueryData ()
 Creates and caches an IRemoteQueryData. More...
 
virtual CRef< ILocalQueryDataIQueryFactory::x_MakeLocalQueryData (const CBlastOptions *opts)=0
 factory method to create an ILocalQueryData, only called if the data members above are not set More...
 
virtual CRef< IRemoteQueryDataIQueryFactory::x_MakeRemoteQueryData ()=0
 factory method to create an IRemoteQueryData, only called if the data members above are not set More...
 
virtual const char * CRemoteBlastException::GetErrCodeString (void) const override
 Translate from the error code value to its string representation. More...
 
 CRemoteBlastException::NCBI_EXCEPTION_DEFAULT (CRemoteBlastException, CBlastException)
 
 CRemoteBlast::CRemoteBlast (const string &RID)
 Use the specified RID to get results for an existing search. More...
 
 CRemoteBlast::CRemoteBlast (CNcbiIstream &f)
 Uses the file to populate results. More...
 
 CRemoteBlast::CRemoteBlast (CBlastOptionsHandle *any_opts)
 Create a search using any kind of options handle. More...
 
 CRemoteBlast::CRemoteBlast (CRef< IQueryFactory > queries, CRef< CBlastOptionsHandle > opts_handle, const CSearchDatabase &db)
 Create a sequence search and set options, queries, and database. More...
 
 CRemoteBlast::CRemoteBlast (CRef< IQueryFactory > queries, CRef< CBlastOptionsHandle > opts_handle, CRef< IQueryFactory > subjects)
 Create a search and set options, queries, and subject sequences. More...
 
 CRemoteBlast::CRemoteBlast (CRef< objects::CPssmWithParameters > pssm, CRef< CBlastOptionsHandle > opts_handle, const CSearchDatabase &db)
 Create a PSSM search and set options, queries, and database. More...
 
 CRemoteBlast::~CRemoteBlast ()
 Destruct the search object. More...
 
void CRemoteBlast::SetGIList (const list< TGi > &gi_list)
 This restricts the subject database to this list of GIs (this is not supported yet on the server end). More...
 
void CRemoteBlast::SetNegativeGIList (const list< TGi > &gi_list)
 This excludes the provided GIs from the subject database (this is not supported yet on the server end). More...
 
void CRemoteBlast::SetDbFilteringAlgorithmId (int algo_id, ESubjectMaskingType mask_type=eSoftSubjMasking)
 Sets the filtering algorithm ID to be applied to the BLAST database (not supported by server yet) More...
 
void CRemoteBlast::SetDbFilteringAlgorithmKey (string algo_key, ESubjectMaskingType mask_type=eSoftSubjMasking)
 Sets the filtering algorithm key to be applied to the BLAST database (not supported by server yet) More...
 
ESubjectMaskingType CRemoteBlast::GetSubjectMaskingType () const
 
void CRemoteBlast::SetDatabase (const string &x)
 Set the name of the database to search against. More...
 
void CRemoteBlast::SetSubjectSequences (CRef< IQueryFactory > subj)
 Set a list of subject sequences to search against. More...
 
void CRemoteBlast::SetSubjectSequences (const list< CRef< objects::CBioseq > > &subj)
 Set a list of subject sequences to search against. More...
 
void CRemoteBlast::SetEntrezQuery (const char *x)
 Restrict search to sequences matching this Entrez query. More...
 
void CRemoteBlast::SetQueries (CRef< objects::CBioseq_set > bioseqs)
 Set the query as a Bioseq_set. More...
 
static objects::CBlast4_get_search_results_reply::TMasks CRemoteBlast::ConvertToRemoteMasks (const TSeqLocInfoVector &masking_locations, EBlastProgramType program, vector< string > *warnings=NULL)
 Convert a TSeqLocInfoVector to a list< CRef<CBlast4_mask> > objects. More...
 
void CRemoteBlast::SetQueries (CRef< objects::CBioseq_set > bioseqs, const TSeqLocInfoVector &masking_locations)
 Set the query as a Bioseq_set along with the corresponding masking locations. More...
 
void CRemoteBlast::SetQueryMasks (const TSeqLocInfoVector &masking_locations)
 Set the masking locations for queries. More...
 
void CRemoteBlast::SetQueries (TSeqLocList &seqlocs)
 Set the query as a list of Seq_locs. More...
 
void CRemoteBlast::SetQueries (TSeqLocList &seqlocs, const TSeqLocInfoVector &masking_locations)
 Set the query as a list of Seq_locs. More...
 
void CRemoteBlast::SetQueries (CRef< objects::CPssmWithParameters > pssm)
 Set a PSSM query (as for PSI blast), which must include a bioseq set. More...
 
CRef< CSearchResultSetCRemoteBlast::GetResultSet ()
 Submit the search (if necessary) and return the results. More...
 
bool CRemoteBlast::SubmitSync (void)
 This submits the search (if necessary) and polls for results. More...
 
bool CRemoteBlast::SubmitSync (int timeout)
 This submits the search (if necessary) and polls for results. More...
 
bool CRemoteBlast::Submit (void)
 This submits the search (if necessary) and returns immediately. More...
 
ESearchStatus CRemoteBlast::CheckStatus ()
 Returns the status of a previously submitted search/RID. More...
 
bool CRemoteBlast::CheckDone (void)
 Check whether the search has completed. More...
 
string CRemoteBlast::GetErrors (void)
 This returns a string containing any errors that were produced by the search. More...
 
string CRemoteBlast::GetWarnings (void)
 This returns any warnings encountered. More...
 
const vector< string > & CRemoteBlast::GetWarningVector ()
 This returns any warnings encountered as a vector of strings. More...
 
const vector< string > & CRemoteBlast::GetErrorVector ()
 This returns any errors encountered as a vector of strings. More...
 
const stringCRemoteBlast::GetRID (void)
 Gets the request id (RID) associated with the search. More...
 
CRef< objects::CSeq_align_set > CRemoteBlast::GetAlignments (void)
 Get the seqalign set from the results. More...
 
TSeqAlignVector CRemoteBlast::GetSeqAlignSets ()
 Get the seqalign vector from the results. More...
 
CRef< objects::CBlast4_phi_alignments > CRemoteBlast::GetPhiAlignments (void)
 Get the results of a PHI-Align request, if PHI pattern was set. More...
 
TKarlinAltschulBlocks CRemoteBlast::GetKABlocks (void)
 Get the Karlin/Altschul parameter blocks produced by the search. More...
 
TSeqLocInfoVector CRemoteBlast::GetMasks (void)
 Get the queries' masked locations. More...
 
list< stringCRemoteBlast::GetSearchStats (void)
 Get the search statistics block as a list of strings. More...
 
CRef< objects::CPssmWithParameters > CRemoteBlast::GetPSSM (void)
 Get the PSSM produced by the search. More...
 
void CRemoteBlast::SetVerbose (EDebugMode verb=eDebug)
 Adjust the debugging level. More...
 
bool CRemoteBlast::IsDbSearch ()
 Return values states whether GetDatabases or GetSubjectSequences call should be used. More...
 
CRef< objects::CBlast4_database > CRemoteBlast::GetDatabases ()
 Get the database used by the search. More...
 
list< CRef< objects::CBioseq > > CRemoteBlast::GetSubjectSequences ()
 Returns subject sequences if "bl2seq" mode used. More...
 
CBlast4_subject::TSeq_loc_list CRemoteBlast::GetSubjectSeqLocs ()
 
string CRemoteBlast::GetProgram ()
 Get the program used for this search. More...
 
string CRemoteBlast::GetService ()
 Get the service used for this search. More...
 
string CRemoteBlast::GetCreatedBy ()
 Get the created-by string associated with this search. More...
 
CRef< objects::CBlast4_queries > CRemoteBlast::GetQueries ()
 Get the queries used for this search. More...
 
CRef< CBlastOptionsHandleCRemoteBlast::GetSearchOptions ()
 Get the search options used for this search. More...
 
CRef< objects::CBlast4_request > CRemoteBlast::GetSearchStrategy ()
 Fetch the search strategy for this object without submitting the search. More...
 
Int4 CRemoteBlast::GetDbFilteringAlgorithmId () const
 Returns the filtering algorithm ID used in the database. More...
 
string CRemoteBlast::GetDbFilteringAlgorithmKey () const
 Returns the filtering algorithm key used in the database. More...
 
string CRemoteBlast::GetTask () const
 Returns the task used to create the remote search (if any) More...
 
string CRemoteBlast::GetClientId () const
 Retrieves the client ID used by this object to send requests. More...
 
void CRemoteBlast::SetClientId (const string &client_id)
 Sets the client ID used by this object to send requests. More...
 
bool CRemoteBlast::LoadFromArchive ()
 Loads next chunk of archive from file. More...
 
string CRemoteBlast::GetTitle (void)
 Get the title assigned for this search. More...
 
void CRemoteBlast::EnableDiskCacheUse ()
 Controls disk cache usage for results retrieval. More...
 
void CRemoteBlast::DisableDiskCacheUse ()
 
bool CRemoteBlast::IsDiskCacheActive (void)
 
bool CRemoteBlast::IsDiskCacheError (void)
 disk cache error handling More...
 
void CRemoteBlast::ClearDiskCacheError (void)
 
string CRemoteBlast::GetDiskCacheErrorMessahe (void)
 
CRef< objects::CBlast4_reply > CRemoteBlast::x_GetSearchStatsOnly (void)
 
CRef< objects::CBlast4_reply > CRemoteBlast::x_GetSearchResultsHTTP (void)
 
unsigned int CRemoteBlast::GetPsiNumberOfIterations (void)
 
bool CRemoteBlast::IsErrMsgArchive (void)
 
set< TTaxId > & CRemoteBlast::GetTaxidList ()
 
set< TTaxId > & CRemoteBlast::GetNegativeTaxidList ()
 
bool CRemoteBlast::x_HasRetrievedSubjects () const
 
CRef< objects::CBlast4_request_body > CRemoteBlast::x_GetBlast4SearchRequestBody ()
 Retrieve the request body for a search submission. More...
 
void CRemoteBlast::x_SetDatabase (const string &x)
 Sets a subset (only m_Dbs) of what the public SetDatabase sets. More...
 
void CRemoteBlast::x_SetSubjectSequences (const list< CRef< objects::CBioseq > > &subj)
 Set a list of subject sequences to search against (only m_SubjectSequences) More...
 
TGSRR::TMasks CRemoteBlast::x_GetMasks (void)
 Get the query masks from the results. More...
 
int CRemoteBlast::x_DefaultTimeout (void)
 The default timeout is 3.5 hours. More...
 
void CRemoteBlast::x_Init (CNcbiIstream &f)
 Uses the file to populate results. More...
 
void CRemoteBlast::x_Init (CBlastOptionsHandle *algo_opts, const string &program, const string &service)
 Called by new search constructors: initialize a new search. More...
 
void CRemoteBlast::x_Init (CBlastOptionsHandle *algo_opts)
 Called by new search constructors: initialize a new search. More...
 
void CRemoteBlast::x_Init (const string &RID)
 Called by RID constructor: set up monitoring of existing search. More...
 
void CRemoteBlast::x_Init (CRef< CBlastOptionsHandle > opts_handle, const CSearchDatabase &db)
 Initialize a search with a database and options handle. More...
 
void CRemoteBlast::x_InitQueries (CRef< IQueryFactory > queries)
 Initialize queries based on a query factory. More...
 
void CRemoteBlast::x_InitDiskCache (void)
 Initialize disk caching. More...
 
void CRemoteBlast::x_SetAlgoOpts (void)
 Configure new search from options handle passed to constructor. More...
 
void CRemoteBlast::x_SetOneParam (objects::CBlast4Field &field, const int *value)
 Set an integer parameter (not used yet). More...
 
void CRemoteBlast::x_SetOneParam (objects::CBlast4Field &field, const list< int > *value)
 Set a list of integers. More...
 
void CRemoteBlast::x_SetOneParam (objects::CBlast4Field &field, const list< Int8 > *value)
 Set a list of 8 byte integers. More...
 
void CRemoteBlast::x_SetOneParam (objects::CBlast4Field &field, const char **value)
 Set a string parameter. More...
 
void CRemoteBlast::x_SetOneParam (objects::CBlast4Field &field, CRef< objects::CBlast4_mask > mask)
 Set a masking location for query. More...
 
EState CRemoteBlast::x_GetState (void)
 Determine what state the search is in. More...
 
bool CRemoteBlast::x_IsUnknownRID (void)
 Determine if this is an unknown RID. More...
 
TGSRRCRemoteBlast::x_GetGSRR (void)
 Poll until done, return the CBlast4_get_search_results_reply. More...
 
CRef< objects::CBlast4_reply > CRemoteBlast::x_SendRequest (CRef< objects::CBlast4_request_body > body)
 Send a Blast4 request and get a reply. More...
 
CRef< objects::CBlast4_reply > CRemoteBlast::x_GetSearchResults (void)
 Try to get the search results. More...
 
void CRemoteBlast::x_CheckConfig (void)
 Verify that search object contains mandatory fields. More...
 
void CRemoteBlast::x_SubmitSearch (void)
 Submit the search and process results (of submit action). More...
 
void CRemoteBlast::x_CheckResults (void)
 Try to get and process results. More...
 
void CRemoteBlast::x_CheckResultsDC (void)
 Try to get and process results using disk cache. More...
 
void CRemoteBlast::x_SearchErrors (CRef< objects::CBlast4_reply > reply)
 Iterate over error list, splitting into errors and warnings. More...
 
void CRemoteBlast::x_PollUntilDone (EImmediacy poll_immed, int seconds)
 Poll until results are found, error occurs, or timeout expires. More...
 
void CRemoteBlast::x_GetRequestInfo ()
 Fetch the request info (wait for completion if necessary). More...
 
void CRemoteBlast::x_GetRequestInfoFromRID ()
 Fetch the requested info from splitd. More...
 
void CRemoteBlast::x_GetRequestInfoFromFile ()
 Fetch the requested info from an archive file. More...
 
void CRemoteBlast::x_ExtractQueryIds (CSearchResultSet::TQueryIdVector &query_ids)
 Extract the query IDs from the CBlast4_queries for a given search. More...
 
void CRemoteBlast::x_SetMaskingLocationsForQueries (const TSeqLocInfoVector &masking_locations)
 Set the masking locations AFTER the queries have been set in the m_QSR field. More...
 
void CRemoteBlast::x_ExtractUserSpecifiedMasks (CRef< IQueryFactory > query_factory, TSeqLocInfoVector &masks)
 Extract the user specified masking locations from the query factory. More...
 
void CRemoteBlast::x_QueryMaskingLocationsToNetwork ()
 Converts the provided query masking locations (if any) to the network representation following the BLAST 4 ASN.1 spec. More...
 
void CRemoteBlast::x_ProcessOneOption (CBlastOptionsHandle &opts, const string &nm, const objects::CBlast4_value &v, struct SInteractingOptions &io)
 Add an algorithm or program option to the provided handle. More...
 
void CRemoteBlast::x_ProcessOptions (CBlastOptionsHandle &opts, const TValueList &L, struct SInteractingOptions &io)
 Add algorithm and program options to the provided handle. More...
 
EProgram CRemoteBlast::x_AdjustProgram (const TValueList &L, const string &pstr, EProgram program)
 Adjust the EProgram based on option values. More...
 
void CRemoteBlast::x_GetSubjects (void)
 
string CRemoteBlast::x_GetStringFromSearchInfoReply (CRef< CBlast4_reply > reply, const string &name, const string &value)
 
unsigned int CRemoteBlast::x_GetPsiIterationsFromServer (void)
 
 CRemoteBlast::CRemoteBlast (const CRemoteBlast &)
 Prohibit copy construction. More...
 
CRemoteBlastCRemoteBlast::operator= (const CRemoteBlast &)
 Prohibit assignment. More...
 
objects::EBlast4_frame_type FrameNumber2NetworkFrame (int frame, EBlastProgramType program)
 Converts the return value of CSeqLocInfo::GetFrame into the Blast4-frame-type field. More...
 
CSeqLocInfo::ETranslationFrame NetworkFrame2FrameNumber (objects::EBlast4_frame_type frame, EBlastProgramType program)
 Converts Blast4-frame-type into CSeqLocInfo::ETranslationFrame. More...
 
EBlastProgramType NetworkProgram2BlastProgramType (const string &program, const string &service)
 Function to convert from program and service name into the CORE BLAST program type This is based on the values set in the various CBlastOptionsHandle subclasses (look for SetRemoteProgramAndService_Blast3 in include tree) More...
 
CRef< objects::CBlast4_request > ExtractBlast4Request (CNcbiIstream &in)
 Extract a Blast4-request (a.k.a. More...
 
void FlattenBioseqSet (const CBioseq_set &bss, list< CRef< CBioseq > > &seqs)
 
virtual void CRemoteSeqSearch::SetOptions (CRef< CBlastOptionsHandle > options)
 Configure the search. More...
 
virtual void CRemoteSeqSearch::SetSubject (CConstRef< CSearchDatabase > subject)
 Set the databases to search. More...
 
virtual void CRemoteSeqSearch::SetQueryFactory (CRef< IQueryFactory > query_factory)
 Set the factory which will return the queries to search for. More...
 
virtual CRef< CSearchResultSetCRemoteSeqSearch::Run ()
 Run the search. More...
 
CRemoteBlastCRemoteSeqSearch::x_RemoteBlast ()
 Method to construct and run the remote blast search. More...
 
virtual void CRemotePssmSearch::SetOptions (CRef< CBlastOptionsHandle > options)
 Configure the search. More...
 
virtual void CRemotePssmSearch::SetSubject (CConstRef< CSearchDatabase > subject)
 Set the databases to search. More...
 
virtual void CRemotePssmSearch::SetQuery (CRef< objects::CPssmWithParameters > query)
 Set the query to search with. More...
 
virtual CRef< CSearchResultSetCRemotePssmSearch::Run ()
 Run the search. More...
 
CRemoteBlastCRemotePssmSearch::x_RemoteBlast ()
 Method to construct and run the remote blast search. More...
 
virtual CRef< ISeqSearchCRemoteSearchFactory::GetSeqSearch ()
 Get an object to manage a remote sequence search. More...
 
virtual CRef< IPssmSearchCRemoteSearchFactory::GetPssmSearch ()
 Get an object to manage a remote PSSM search. More...
 
virtual CRef< CBlastOptionsHandleCRemoteSearchFactory::GetOptions (EProgram)
 Get an options handle for a search of the specified type. More...
 
void Blast_FindRepeatFilterLoc (TSeqLocVector &query_loc, const CBlastOptionsHandle *opts_handle)
 Finds repeats locations for a given set of sequences. More...
 
void Blast_FindRepeatFilterLoc (TSeqLocVector &query, const char *filter_db)
 Overloaded version of the function above which takes the name of the repeats filtering database to use, and a TSeqLocVector. More...
 
void Blast_FindRepeatFilterLoc (CBlastQueryVector &query, const char *filter_db)
 Overloaded version of the function above which takes the name of the repeats filtering database to use, and a CBlastQueryVector. More...
 
 CBlastRPSInfo::CBlastRPSInfo (const string &rps_dbname)
 Parametrized constructor. More...
 
 CBlastRPSInfo::CBlastRPSInfo (const string &rps_dbname, int flags)
 Parametrized constructor. More...
 
 CBlastRPSInfo::~CBlastRPSInfo ()
 Destructor. More...
 
const BlastRPSInfoCBlastRPSInfo::operator() () const
 Accessor for the underlying C structure (managed by this class) More...
 
double CBlastRPSInfo::GetScalingFactor () const
 Returns the scaling factor used to build RPS-BLAST database. More...
 
const char * CBlastRPSInfo::GetMatrixName () const
 Returns the name of the scoring matrix used to build the RPS-BLAST database. More...
 
int CBlastRPSInfo::GetGapOpeningCost () const
 Returns the gap opening cost associated with the scoring matrix above. More...
 
int CBlastRPSInfo::GetGapExtensionCost () const
 Returns the gap extension cost associated with the scoring matrix above. More...
 
void CBlastRPSInfo::x_Init (const string &rps_dbname, int flags)
 Initialize attributes. More...
 
 CBlastRPSInfo::CBlastRPSInfo (const CBlastRPSInfo &rhs)
 Prohibit copy-constructor. More...
 
CBlastRPSInfoCBlastRPSInfo::operator= (const CBlastRPSInfo &rhs)
 Prohibit assignment operator. More...
 
 CRPSTBlastnOptionsHandle::CRPSTBlastnOptionsHandle (EAPILocality locality=CBlastOptions::eLocal)
 Creates object with default options set. More...
 
 CRPSTBlastnOptionsHandle::~CRPSTBlastnOptionsHandle ()
 
int CRPSTBlastnOptionsHandle::GetDbGeneticCode () const
 Returns DbGeneticCode. More...
 
void CRPSTBlastnOptionsHandle::SetDbGeneticCode (int gc)
 Sets DbGeneticCode. More...
 
virtual void CRPSTBlastnOptionsHandle::SetRemoteProgramAndService_Blast3 ()
 Set the program and service name for remote blast. More...
 
void CRPSTBlastnOptionsHandle::SetQueryOptionDefaults ()
 Overrides SubjectSequenceOptionsDefaults for RPS-TBLASTN options. More...
 
void CRPSTBlastnOptionsHandle::SetGappedExtensionDefaults ()
 Overrides SetGappedExtensionDefaults for RPS-TBLASTN options. More...
 
 CRPSTBlastnOptionsHandle::CRPSTBlastnOptionsHandle (const CRPSTBlastnOptionsHandle &rhs)
 Disallow copy constructor. More...
 
CRPSTBlastnOptionsHandleCRPSTBlastnOptionsHandle::operator= (const CRPSTBlastnOptionsHandle &rhs)
 Disallow assignment operator. More...
 
 CImportStrategyData::CImportStrategyData ()
 Constructor. More...
 
 CImportStrategy::CImportStrategy (CRef< objects::CBlast4_request > request, bool ignore_unsupported_options=false)
 Constructor, imports the CBlast4_request. More...
 
CRef< blast::CBlastOptionsHandle > CImportStrategy::GetOptionsHandle ()
 Builds and returns the OptionsHandle. More...
 
string CImportStrategy::GetTask ()
 Fetches task, such as "megablast", "blastn", etc. More...
 
string CImportStrategy::GetService () const
 Fetches service, such as psiblast, plain, megablast. More...
 
string CImportStrategy::GetProgram () const
 Fetches program, one of blastn, blastp, blastx, tblastn, tblastx. More...
 
string CImportStrategy::GetCreatedBy () const
 Returns ident field from a Blast4-request. More...
 
TSeqRange CImportStrategy::GetQueryRange ()
 The start and stop on the query (if applicable) More...
 
int CImportStrategy::GetDBFilteringID ()
 The DB filter ID. More...
 
string CImportStrategy::GetDBFilteringKey ()
 The DB filter key. More...
 
ESubjectMaskingType CImportStrategy::GetSubjectMaskingType ()
 Get Subject Masking Type. More...
 
CRef< objects::CBlast4_queries > CImportStrategy::GetQueries ()
 The queries either as Bioseq, seqloc, or pssm. More...
 
CRef< objects::CBlast4_subject > CImportStrategy::GetSubject ()
 Returns the target sequences. More...
 
objects::CBlast4_parameters * CImportStrategy::GetAlgoOptions ()
 Options specific to blast searches (e.g, threshold, expect value). More...
 
objects::CBlast4_parameters * CImportStrategy::GetProgramOptions ()
 Options for controlling program execution and database filtering. More...
 
objects::CBlast4_parameters * CImportStrategy::GetWebFormatOptions ()
 Options for controlling formatting (psi blast iteration number also). More...
 
unsigned int CImportStrategy::GetPsiNumOfIterations ()
 Get number of iteration for psi blast, return 0 if num of iterations not available. More...
 
CBlastOptionsBuilderCImportStrategy::GetOptionsBuilder ()
 Return the BlastOptions builder used in this class. More...
 
set< intCImportStrategy::GetTaxidList ()
 
set< intCImportStrategy::GetNegativeTaxidList ()
 
void CImportStrategy::FetchData ()
 Fills in CImportStrategyData and m_OptionsBuilder. More...
 
void CImportStrategy::x_GetProgramOptionIntegerList (EBlastOptIdx idx, list< int > &list)
 
 CImportStrategy::CImportStrategy (const CImportStrategy &rhs)
 Prohibit copy constructor. More...
 
CImportStrategyCImportStrategy::operator= (const CImportStrategy &rhs)
 Prohibit assignment operator. More...
 
 CExportStrategy::CExportStrategy (CRef< CBlastOptionsHandle > opts_handle, const string &client_id=kEmptyStr)
 Construct search strategy with :-. More...
 
 CExportStrategy::CExportStrategy (CRef< IQueryFactory > query, CRef< CBlastOptionsHandle > opts_handle, CRef< CSearchDatabase > db, const string &client_id=kEmptyStr, unsigned int psi_num_iterations=0)
 Construct search strategy with :-. More...
 
 CExportStrategy::CExportStrategy (CRef< IQueryFactory > query, CRef< CBlastOptionsHandle > opts_handle, CRef< IQueryFactory > subject, const string &client_id=kEmptyStr)
 Construct search strategy with :-. More...
 
 CExportStrategy::CExportStrategy (CRef< CPssmWithParameters > pssm, CRef< CBlastOptionsHandle > opts_handle, CRef< CSearchDatabase > db, const string &client_id=kEmptyStr, unsigned int psi_num_iterations=0)
 Construct search strategy with :-. More...
 
CRef< objects::CBlast4_request > CExportStrategy::GetSearchStrategy (void)
 
void CExportStrategy::ExportSearchStrategy_ASN1 (CNcbiOstream *out)
 
 CExportStrategy::CExportStrategy (const CExportStrategy &)
 
CExportStrategyCExportStrategy::operator= (const CExportStrategy &)
 
void CExportStrategy::x_Process_BlastOptions (CRef< CBlastOptionsHandle > &opts_handle)
 
void CExportStrategy::x_Process_Query (CRef< IQueryFactory > &query)
 
void CExportStrategy::x_Process_Pssm (CRef< CPssmWithParameters > &pssm)
 
void CExportStrategy::x_Process_SearchDb (CRef< CSearchDatabase > &db)
 
void CExportStrategy::x_Process_Subject (CRef< IQueryFactory > &subject)
 
void CExportStrategy::x_AddParameterToProgramOptions (objects::CBlast4Field &field, const int int_value)
 
void CExportStrategy::x_AddParameterToProgramOptions (objects::CBlast4Field &field, const vector< int > &int_list)
 
void CExportStrategy::x_AddParameterToProgramOptions (objects::CBlast4Field &field, const vector< Int8 > &int_list)
 
void CExportStrategy::x_AddParameterToProgramOptions (objects::CBlast4Field &field, const string &str)
 
void CExportStrategy::x_AddPsiNumOfIterationsToFormatOptions (unsigned int num_iters)
 
 SPatternUnit::SPatternUnit (const string unit)
 
bool SPatternUnit::test (Uint1 letter)
 
 CSeedTop::CSeedTop (const string &pattern)
 
TSeedTopResults CSeedTop::Run (CRef< CLocalDbAdapter > db)
 
TSeedTopResults CSeedTop::Run (CBioseq_Handle &b_hdl)
 
void CSeedTop::x_ParsePattern ()
 
void CSeedTop::x_MakeLookupTable ()
 
void CSeedTop::x_MakeScoreBlk ()
 
void CSeedTop::x_GetPatternRanges (vector< int > &pos, Uint4 off, Uint1 *seq, Uint4 len, vector< vector< int > > &ranges)
 
 CSeqDbSeqInfoSrc::CSeqDbSeqInfoSrc (const string &dbname, bool is_protein)
 Constructor: includes initializing the CSeqDB object. More...
 
 CSeqDbSeqInfoSrc::CSeqDbSeqInfoSrc (ncbi::CSeqDB *seqdb)
 Constructor from an already existing CSeqDB object. More...
 
virtual CSeqDbSeqInfoSrc::~CSeqDbSeqInfoSrc ()
 Our destructor. More...
 
void CSeqDbSeqInfoSrc::SetFilteringAlgorithmId (int algo_id)
 Sets the filtering algorithm ID used in the search. More...
 
virtual list< CRef< objects::CSeq_id > > CSeqDbSeqInfoSrc::GetId (Uint4 oid) const
 Retrieve a sequence identifier given its ordinal number. More...
 
virtual CConstRef< objects::CSeq_loc > CSeqDbSeqInfoSrc::GetSeqLoc (Uint4 oid) const
 Method to retrieve the sequence location given its ordinal number. More...
 
virtual Uint4 CSeqDbSeqInfoSrc::GetLength (Uint4 oid) const
 Retrieve sequence length given its ordinal number. More...
 
virtual size_t CSeqDbSeqInfoSrc::Size () const
 Returns the size of the underlying container of sequences. More...
 
virtual bool CSeqDbSeqInfoSrc::HasGiList () const
 Returns true if the subject is restricted by a GI list. More...
 
virtual bool CSeqDbSeqInfoSrc::GetMasks (Uint4 index, const TSeqRange &target_range, TMaskedSubjRegions &retval) const
 Retrieves the subject masks for the corresponding index. More...
 
virtual bool CSeqDbSeqInfoSrc::GetMasks (Uint4 index, const vector< TSeqRange > &target_ranges, TMaskedSubjRegions &retval) const
 Retrieves the subject masks for the corresponding index. More...
 
virtual bool CSeqDbSeqInfoSrc::CanReturnPartialSequence () const
 Return true if the implementation can return anything besides a seq-loc for the entire sequence. More...
 
 CSeqVecSeqInfoSrc::CSeqVecSeqInfoSrc (const TSeqLocVector &seqv)
 Constructor from a vector of sequence locations. More...
 
virtual CSeqVecSeqInfoSrc::~CSeqVecSeqInfoSrc ()
 Destructor. More...
 
virtual list< CRef< objects::CSeq_id > > CSeqVecSeqInfoSrc::GetId (Uint4 index) const
 Retrieve a sequence identifier given its index in the vector. More...
 
virtual CConstRef< objects::CSeq_loc > CSeqVecSeqInfoSrc::GetSeqLoc (Uint4 index) const
 Method to retrieve the sequence location given its ordinal number. More...
 
virtual Uint4 CSeqVecSeqInfoSrc::GetLength (Uint4 index) const
 Retrieve sequence length given its index in the vector. More...
 
virtual size_t CSeqVecSeqInfoSrc::Size () const
 Returns the size of the underlying container of sequences. More...
 
virtual bool CSeqVecSeqInfoSrc::HasGiList () const
 Is the subject restricted by a GI list? (Always returns false). More...
 
virtual bool CSeqVecSeqInfoSrc::GetMasks (Uint4 index, const TSeqRange &target_range, TMaskedSubjRegions &retval) const
 Retrieves the subject masks for the corresponding index. More...
 
virtual bool CSeqVecSeqInfoSrc::GetMasks (Uint4 index, const vector< TSeqRange > &target_ranges, TMaskedSubjRegions &retval) const
 Retrieves the subject masks for the corresponding index. More...
 
virtual bool CSeqVecSeqInfoSrc::CanReturnPartialSequence () const
 Return true if the implementation can return anything besides a seq-loc for the entire sequence. More...
 
BlastSeqSrcMultiSeqBlastSeqSrcInit (TSeqLocVector &seq_vector, EBlastProgramType program, bool dbscan_mode=false)
 Initialize the sequence source structure. More...
 
BlastSeqSrcSeqDbBlastSeqSrcInit (const string &dbname, bool is_prot, Uint4 first_seq=0, Uint4 last_seq=0, Int4 mask_algo_id=-1, ESubjectMaskingType mask_type=eNoSubjMasking)
 Initialize the sequence source structure. More...
 
BlastSeqSrcSeqDbBlastSeqSrcInit (CSeqDB *seqdb, Int4 mask_algo_id=-1, ESubjectMaskingType mask_type=eNoSubjMasking)
 Initialize the sequence source structure using an existing SeqDB object. More...
 
 CStructWrapper< TData >::CStructWrapper (TData *obj, TDelete *dfun)
 Constructor. More...
 
 CStructWrapper< TData >::~CStructWrapper ()
 Destructor. More...
 
TData * CStructWrapper< TData >::GetPointer ()
 The a pointer to the wrapped object. More...
 
TData & CStructWrapper< TData >::operator* ()
 The a reference to the wrapped object. More...
 
TData * CStructWrapper< TData >::operator-> ()
 The a pointer to the wrapped object. More...
 
 CStructWrapper< TData >::CStructWrapper (CStructWrapper< TData > &x)
 Prohibit copy constructor. More...
 
CStructWrapperCStructWrapper< TData >::operator= (CStructWrapper< TData > &x)
 Prohibit assignment operator. More...
 
template<class TData >
CStructWrapper< TData > * WrapStruct (TData *obj, TData *(*del)(TData *))
 Auxiliary function to create a CStructWrapper for a pointer to an object. More...
 
 CThreadable::CThreadable (void)
 Default ctor. More...
 
virtual CThreadable::~CThreadable (void)
 Our virtual destructor. More...
 
virtual void CThreadable::SetNumberOfThreads (size_t nthreads)
 Mutator for the number of threads. More...
 
size_t CThreadable::GetNumberOfThreads (void) const
 Accessor for the number of threads to use. More...
 
bool CThreadable::IsMultiThreaded (void) const
 Returns true if more than 1 thread is specified. More...
 
static CRef< CBlastRPSInfoCSetupFactory::CreateRpsStructures (const string &rps_dbname, CRef< CBlastOptions > options)
 Initializes RPS-BLAST data structures. More...
 
static BlastScoreBlkCSetupFactory::CreateScoreBlock (const CBlastOptionsMemento *opts_memento, CRef< ILocalQueryData > query_data, BlastSeqLoc **lookup_segments, TSearchMessages &search_messages, TSeqLocInfoVector *masked_query_regions=NULL, const CBlastRPSInfo *rps_info=NULL)
 Initializes the BlastScoreBlk. More...
 
static LookupTableWrapCSetupFactory::CreateLookupTable (CRef< ILocalQueryData > query_data, const CBlastOptionsMemento *opts_memento, BlastScoreBlk *score_blk, CRef< CBlastSeqLocWrap > lookup_segments, const CBlastRPSInfo *rps_info=NULL, BlastSeqSrc *seqsrc=NULL, size_t num_threads=1)
 Initialize the lookup table. More...
 
static BlastDiagnosticsCSetupFactory::CreateDiagnosticsStructure ()
 Create and initialize the BlastDiagnostics structure for single-threaded applications. More...
 
static BlastDiagnosticsCSetupFactory::CreateDiagnosticsStructureMT ()
 Create and initialize the BlastDiagnostics structure for multi-threaded applications. More...
 
static BlastHSPStreamCSetupFactory::CreateHspStream (const CBlastOptionsMemento *opts_memento, size_t number_of_queries, BlastHSPWriter *writer)
 Create and initialize the BlastHSPStream structure. More...
 
static BlastHSPWriterCSetupFactory::CreateHspWriter (const CBlastOptionsMemento *opts_memento, BLAST_SequenceBlk *query, BlastQueryInfo *query_info)
 Create a writer to be registered for use by stream. More...
 
static BlastHSPPipeCSetupFactory::CreateHspPipe (const CBlastOptionsMemento *opts_memento, BlastQueryInfo *query_info)
 Create a pipe to be registered for use by stream. More...
 
static BlastSeqSrcCSetupFactory::CreateBlastSeqSrc (const CSearchDatabase &db)
 Create a BlastSeqSrc from a CSearchDatabase (uses CSeqDB) More...
 
static BlastSeqSrcCSetupFactory::CreateBlastSeqSrc (CSeqDB *db, int filt_algo=-1, ESubjectMaskingType mask_type=eNoSubjMasking)
 Create a BlastSeqSrc from an existing CSeqDB object. More...
 
static void CSetupFactory::InitializeMegablastDbIndex (CRef< CBlastOptions > options)
 Initialize a megablast BLAST database index. More...
 
 SInternalData::SInternalData ()
 Default ctor. More...
 
 SDatabaseScanData::SDatabaseScanData ()
 Default ctor. More...
 
 CTBlastnOptionsHandle::CTBlastnOptionsHandle (EAPILocality locality=CBlastOptions::eLocal)
 Creates object with default options set. More...
 
 CTBlastnOptionsHandle::CTBlastnOptionsHandle (CRef< CBlastOptions > opt)
 
 CTBlastnOptionsHandle::~CTBlastnOptionsHandle ()
 
bool CTBlastnOptionsHandle::GetOutOfFrameMode () const
 Returns OutOfFrameMode. More...
 
void CTBlastnOptionsHandle::SetOutOfFrameMode (bool m=true)
 Sets OutOfFrameMode. More...
 
int CTBlastnOptionsHandle::GetFrameShiftPenalty () const
 Returns FrameShiftPenalty. More...
 
void CTBlastnOptionsHandle::SetFrameShiftPenalty (int p)
 Sets FrameShiftPenalty. More...
 
int CTBlastnOptionsHandle::GetLongestIntronLength () const
 Returns LongestIntronLength. More...
 
void CTBlastnOptionsHandle::SetLongestIntronLength (int l)
 Sets LongestIntronLength. More...
 
int CTBlastnOptionsHandle::GetDbGeneticCode () const
 Returns DbGeneticCode. More...
 
void CTBlastnOptionsHandle::SetDbGeneticCode (int gc)
 Sets DbGeneticCode. More...
 
virtual void CTBlastnOptionsHandle::SetRemoteProgramAndService_Blast3 ()
 Set the program and service name for remote blast. More...
 
virtual void CTBlastnOptionsHandle::SetLookupTableDefaults ()
 Sets LookupTableDefaults for tblastn options. More...
 
virtual void CTBlastnOptionsHandle::SetScoringOptionsDefaults ()
 Sets ScoringOptionsDefaults for tblastn options. More...
 
virtual void CTBlastnOptionsHandle::SetHitSavingOptionsDefaults ()
 Sets HitSavingOptionsDefaults for tblastn options. More...
 
virtual void CTBlastnOptionsHandle::SetSubjectSequenceOptionsDefaults ()
 Sets SubjectSequenceOptionsDefaults for tblastn options. More...
 
virtual void CTBlastnOptionsHandle::SetGappedExtensionDefaults ()
 Overrides SetGappedExtensionDefaults for tblastn options. More...
 
 CTBlastnOptionsHandle::CTBlastnOptionsHandle (const CTBlastnOptionsHandle &rhs)
 Disallow copy constructor. More...
 
CTBlastnOptionsHandleCTBlastnOptionsHandle::operator= (const CTBlastnOptionsHandle &rhs)
 Disallow assignment operator. More...
 
 CTBlastxOptionsHandle::CTBlastxOptionsHandle (EAPILocality locality)
 Creates object with default options set. More...
 
 CTBlastxOptionsHandle::~CTBlastxOptionsHandle ()
 
objects::ENa_strand CTBlastxOptionsHandle::GetStrandOption () const
 Returns StrandOption. More...
 
void CTBlastxOptionsHandle::SetStrandOption (objects::ENa_strand strand)
 Sets StrandOption. More...
 
int CTBlastxOptionsHandle::GetDbGeneticCode () const
 Returns DbGeneticCode. More...
 
void CTBlastxOptionsHandle::SetDbGeneticCode (int gc)
 Sets DbGeneticCode. More...
 
int CTBlastxOptionsHandle::GetQueryGeneticCode () const
 Returns QueryGeneticCode. More...
 
void CTBlastxOptionsHandle::SetQueryGeneticCode (int gc)
 Sets QueryGeneticCode. More...
 
virtual void CTBlastxOptionsHandle::SetRemoteProgramAndService_Blast3 ()
 Set the program and service name for remote blast. More...
 
void CTBlastxOptionsHandle::SetLookupTableDefaults ()
 Overrides LookupTableDefaults for tblastx options. More...
 
void CTBlastxOptionsHandle::SetQueryOptionDefaults ()
 Overrides QueryOptionDefaults for tblastx options. More...
 
void CTBlastxOptionsHandle::SetGappedExtensionDefaults ()
 Overrides GappedExtensionDefaults for tblastx options. More...
 
void CTBlastxOptionsHandle::SetScoringOptionsDefaults ()
 Overrides ScoringOptionsDefaults for tblastx options. More...
 
void CTBlastxOptionsHandle::SetHitSavingOptionsDefaults ()
 Overrides HitSavingOptionsDefaults for tblastx options. More...
 
void CTBlastxOptionsHandle::SetSubjectSequenceOptionsDefaults ()
 Overrides SubjectSequenceOptionsDefaults for tblastx options. More...
 
 CTBlastxOptionsHandle::CTBlastxOptionsHandle (const CTBlastxOptionsHandle &rhs)
 Disallow copy constructor. More...
 
CTBlastxOptionsHandleCTBlastxOptionsHandle::operator= (const CTBlastxOptionsHandle &rhs)
 Disallow assignment operator. More...
 
 CBlastTracebackSearch::CBlastTracebackSearch (CRef< IQueryFactory > qf, CRef< CBlastOptions > opts, BlastSeqSrc *seqsrc, CRef< IBlastSeqInfoSrc > seqinfosrc, CRef< TBlastHSPStream > hsps, CConstRef< objects::CPssmWithParameters > pssm=null)
 Create a BlastSeqSrc re-using an already created BlastSeqSrc. More...
 
 CBlastTracebackSearch::CBlastTracebackSearch (CRef< IQueryFactory > query_factory, CRef< SInternalData > internal_data, CRef< CBlastOptions > opts, CRef< IBlastSeqInfoSrc > seqinfosrc, TSearchMessages &search_msgs)
 Use the internal data and return value of the preliminary search to proceed with the traceback. More...
 
virtual CBlastTracebackSearch::~CBlastTracebackSearch ()
 Destructor. More...
 
CRef< CSearchResultSetCBlastTracebackSearch::Run ()
 Run the traceback search. More...
 
BlastHSPResultsCBlastTracebackSearch::RunSimple ()
 Runs the traceback but only returns the HSP's and not the Seq-Align. More...
 
void CBlastTracebackSearch::SetResultType (EResultType type)
 Specifies how the Seq-align-set returned as part of the results is formatted. More...
 
void CBlastTracebackSearch::SetDBScanInfo (CRef< SDatabaseScanData > dbscan_info)
 Sets the m_DBscanInfo field. More...
 
TSearchMessages CBlastTracebackSearch::GetSearchMessages () const
 Retrieve any error/warning messages that occurred during the search. More...
 
void CBlastTracebackSearch::x_Init (CRef< IQueryFactory > qf, CRef< CBlastOptions > opts, CConstRef< objects::CPssmWithParameters > pssm, const string &dbname, CRef< TBlastHSPStream > hsps)
 Common initialization performed when doing traceback only. More...
 
 CBlastTracebackSearch::CBlastTracebackSearch (CBlastTracebackSearch &)
 Prohibit copy constructor. More...
 
CBlastTracebackSearchCBlastTracebackSearch::operator= (CBlastTracebackSearch &)
 Prohibit assignment operator. More...
 
virtual const char * CSearchException::GetErrCodeString () const override
 Get a message describing the situation leading to the throw. More...
 
 CSearchException::NCBI_EXCEPTION_DEFAULT (CSearchException, CException)
 Include standard NCBI exception behavior. More...
 
 CSearchDatabase::CSearchDatabase (const string &dbname, EMoleculeType mol_type)
 Simple constructor. More...
 
 CSearchDatabase::CSearchDatabase (const string &dbname, EMoleculeType mol_type, const string &entrez_query)
 Constructor with allows an entrez query to be specified. More...
 
void CSearchDatabase::SetDatabaseName (const string &dbname)
 Mutator for the database name. More...
 
string CSearchDatabase::GetDatabaseName () const
 Accessor for the database name. More...
 
void CSearchDatabase::SetMoleculeType (EMoleculeType mol_type)
 Mutator for the molecule type. More...
 
EMoleculeType CSearchDatabase::GetMoleculeType () const
 Accessor for the molecule type. More...
 
bool CSearchDatabase::IsProtein () const
 Determine whether this database contains protein sequences or not. More...
 
void CSearchDatabase::SetEntrezQueryLimitation (const string &entrez_query)
 Mutator for the entrez query. More...
 
string CSearchDatabase::GetEntrezQueryLimitation () const
 Accessor for the entrez query. More...
 
void CSearchDatabase::SetGiList (CSeqDBGiList *gilist)
 Mutator for the gi list. More...
 
const CRef< CSeqDBGiList > & CSearchDatabase::GetGiList () const
 Accessor for the gi list. More...
 
const TGiList CSearchDatabase::GetGiListLimitation () const
 
void CSearchDatabase::SetNegativeGiList (CSeqDBGiList *gilist)
 Mutator for the negative gi list. More...
 
const CRef< CSeqDBGiList > & CSearchDatabase::GetNegativeGiList () const
 Accessor for the negative gi list. More...
 
const TGiList CSearchDatabase::GetNegativeGiListLimitation () const
 
void CSearchDatabase::SetFilteringAlgorithm (int filt_algorithm_id)
 Temporary fix for backwards compatibility with other 6.0 SCs. More...
 
void CSearchDatabase::SetFilteringAlgorithm (int filt_algorithm_id, ESubjectMaskingType mask_type)
 Mutator for the filtering algorithm. More...
 
void CSearchDatabase::SetFilteringAlgorithm (const string &filt_algorithm, ESubjectMaskingType mask_type)
 Mutator for the filtering algorithm. More...
 
int CSearchDatabase::GetFilteringAlgorithm () const
 Accessor for the filtering algorithm ID. More...
 
string CSearchDatabase::GetFilteringAlgorithmKey () const
 Accessor for the filtering algorithm key. More...
 
ESubjectMaskingType CSearchDatabase::GetMaskType () const
 
void CSearchDatabase::SetSeqDb (CRef< CSeqDB > seqdb)
 Mutator for the seqdb. More...
 
CRef< CSeqDBCSearchDatabase::GetSeqDb () const
 Obtain a reference to the database. More...
 
void CSearchDatabase::x_TranslateFilteringAlgorithm () const
 Translate string algorithm id to numeric id. More...
 
void CSearchDatabase::x_InitializeDb () const
 Initialize the database. More...
 
void CSearchDatabase::x_ValidateMaskingAlgorithm () const
 Validates that the specified filtering algorithm ID is supported by the specified BLAST database. More...
 
virtual void ISearch::SetOptions (CRef< CBlastOptionsHandle > options)=0
 Configure the search. More...
 
virtual void ISearch::SetSubject (CConstRef< CSearchDatabase > subject)=0
 Set the subject database(s) to search. More...
 
virtual CRef< CSearchResultSetISearch::Run ()=0
 Run the search to completion. More...
 
virtual ISeqSearch::~ISeqSearch ()
 Destructor. More...
 
virtual void ISeqSearch::SetQueryFactory (CRef< IQueryFactory > query_factory)=0
 Set the queries to search. More...
 
virtual void IPssmSearch::SetQuery (CRef< objects::CPssmWithParameters > pssm)=0
 Set the queries to search. More...
 
virtual CRef< ISeqSearchISearchFactory::GetSeqSearch ()=0
 Create a new search object with a sequence-based query. More...
 
virtual CRef< IPssmSearchISearchFactory::GetPssmSearch ()=0
 Create a new search object with a pssm-based query. More...
 
virtual CRef< CBlastOptionsHandleISearchFactory::GetOptions (EProgram program)=0
 Create a CBlastOptionsHandle. More...
 
 CBlastVersion::CBlastVersion ()
 
virtual string CBlastVersion::Print (void) const
 Print version information. More...
 
static string CReference::GetString (EPublication pub)
 Reference for requested publication. More...
 
static string CReference::GetHTMLFreeString (EPublication pub)
 Reference for requested publication without umlaut. More...
 
static string CReference::GetPubmedUrl (EPublication pub)
 Get Pubmed url for requested publication. More...
 
 CReference::CReference ()
 Prohibit constructing this class. More...
 
 CReference::CReference (const CReference &rhs)
 Prohibit copy constructor. More...
 
CReferenceCReference::operator= (const CReference &rhs)
 Prohibit assignment operator. More...
 
void GetTaxIdWithWindowMaskerSupport (set< int > &supported_taxids)
 This function returns a list of NCBI taxonomy IDs for which there exists windowmasker masking data to support organism specific filtering. More...
 
string WindowMaskerTaxidToDb (int taxid)
 Get the windowmasker file path for a given taxid. More...
 
string WindowMaskerTaxidToDb (const string &window_masker_path, int taxid)
 Get the windowmasker file path for a given taxid and base path. More...
 
int WindowMaskerPathInit (const string &window_masker_path)
 Initialize the path to the windowmasker data files. More...
 
void WindowMaskerPathReset ()
 Resets the path to the windowmasker data files. More...
 
string WindowMaskerPathGet ()
 Retrieves the path to the windowmasker data files. More...
 
void SmithWatermanScoreWithTraceback (EBlastProgramType program_number, const Uint1 *A, Int4 a_size, const Uint1 *B, Int4 b_size, BlastHSP *template_hsp, BlastHSPList *hsp_list, const BlastScoringParameters *score_params, const BlastHitSavingParameters *hit_params, BlastGapAlignStruct *gap_align, Int4 start_shift, Int4 cutoff)
 Find all local alignments between two (unpacked) sequences, using the Smith-Waterman algorithm, then save the list of alignments found. More...
 
Int2 BLAST_SmithWatermanGetGappedScore (EBlastProgramType program_number, BLAST_SequenceBlk *query, BlastQueryInfo *query_info, BLAST_SequenceBlk *subject, BlastGapAlignStruct *gap_align, const BlastScoringParameters *score_params, const BlastExtensionParameters *ext_params, const BlastHitSavingParameters *hit_params, const BlastInitialWordParameters *word_params, BlastInitHitList *init_hitlist, BlastHSPList **hsp_list_ptr, BlastGappedStats *gapped_stats, Boolean *fence_hit)
 Performs score-only Smith-Waterman gapped alignment of the subject sequence with all contexts in the query. More...
 
Int4 BLAST_FindBestNucleotideWordSize (double min_percent_identity, Int4 min_align_length)
 Given a minimum amount of identity and the minimum desired length of nucleotide alignments, find the largest blastn word size that will find random instances of those alignments with high probability. More...
 
CRef< objects::CBlast4_archive > BlastBuildArchive (blast::IQueryFactory &queries, blast::CBlastOptionsHandle &options_handle, const CSearchResultSet &results, CRef< CSearchDatabase > search_db, unsigned int num_iters=0)
 Returns a blast archive object. More...
 
CRef< objects::CBlast4_archive > BlastBuildArchive (blast::IQueryFactory &queries, blast::CBlastOptionsHandle &options_handle, const CSearchResultSet &results, blast::IQueryFactory &subjects)
 Returns a blast archive object. More...
 
CRef< objects::CBlast4_archive > BlastBuildArchive (objects::CPssmWithParameters &pssm, blast::CBlastOptionsHandle &options_handle, const CSearchResultSet &results, CRef< CSearchDatabase > search_db, unsigned int num_iters=0)
 Returns a blast archive object. More...
 
 CIgBlastVersion::CIgBlastVersion ()
 
 CIgAnnotation::CIgAnnotation ()
 Constructor. More...
 
 CIgAnnotationInfo::CIgAnnotationInfo (CConstRef< CIgBlastOptions > &ig_options)
 
bool CIgAnnotationInfo::GetDomainInfo (const string sid, int *domain_info)
 
const string CIgAnnotationInfo::GetDomainChainType (const string sid)
 
int CIgAnnotationInfo::GetFrameOffset (const string sid)
 
int CIgAnnotationInfo::GetJDomain (const string &sid)
 
int CIgAnnotationInfo::GetFwr4EndOffset (const string &sid)
 
const string CIgAnnotationInfo::GetDJChainType (const string sid)
 
const CRef< CIgAnnotation > & CIgBlastResults::GetIgAnnotation () const
 
CRef< CIgAnnotation > & CIgBlastResults::SetIgAnnotation ()
 
CRef< CSeq_align_set > & CIgBlastResults::SetSeqAlign ()
 
 CIgBlastResults::CIgBlastResults (CConstRef< objects::CSeq_id > query, CRef< objects::CSeq_align_set > align, const TQueryMessages &errs, CRef< CBlastAncillaryData > ancillary_data)
 Constructor. More...
 
 CIgBlast::CIgBlast (CRef< CBlastQueryVector > query_factory, CRef< CLocalDbAdapter > blastdb, CRef< CBlastOptionsHandle > options, CConstRef< CIgBlastOptions > ig_options, CRef< CScope > scope)
 Local Igblast search API. More...
 
 CIgBlast::CIgBlast (CRef< CBlastQueryVector > query_factory, CRef< CSearchDatabase > blastdb, CRef< IQueryFactory > subjects, CRef< CBlastOptionsHandle > options, CConstRef< CIgBlastOptions > ig_options, string entrez_query, CRef< CScope > scope)
 Remote Igblast search API. More...
 
 CIgBlast::~CIgBlast ()
 Destructor. More...
 
CRef< CSearchResultSetCIgBlast::Run ()
 Run the Ig-BLAST engine. More...
 
void CIgBlast::SetNumberOfThreads (size_t nthreads)
 Set MT mode. More...
 
string CIgBlast::GetRid ()
 
 CIgBlast::CIgBlast (const CIgBlast &rhs)
 Prohibit copy constructor. More...
 
CIgBlastCIgBlast::operator= (const CIgBlast &rhs)
 Prohibit assignment operator. More...
 
void CIgBlast::x_SetupVSearch (CRef< IQueryFactory > &qf, CRef< CBlastOptionsHandle > &opts_hndl)
 Prepare blast option handle and query for V germline database search. More...
 
void CIgBlast::x_SetupDJSearch (const vector< CRef< CIgAnnotation > > &annots, CRef< IQueryFactory > &qf, CRef< CBlastOptionsHandle > &opts_hndl, int db_type)
 Prepare blast option handle and query for D, J germline database search. More...
 
void CIgBlast::x_SetupCRegionSearch (const vector< CRef< CIgAnnotation > > &annots, CRef< IQueryFactory > &qf, CRef< CBlastOptionsHandle > &opts_hndl)
 
void CIgBlast::x_SetupNoOverlapDSearch (const vector< CRef< CIgAnnotation > > &annots, CRef< CSearchResultSet > &results, CRef< IQueryFactory > &qf, CRef< CBlastOptionsHandle > &opts_hndl, int db_type)
 
void CIgBlast::x_SetupDbSearch (vector< CRef< CIgAnnotation > > &annot, CRef< IQueryFactory > &qf)
 Prepare blast option handle and query for specified database search. More...
 
void CIgBlast::x_AnnotateV (CRef< CSearchResultSet > &results, vector< CRef< CIgAnnotation > > &annot)
 Annotate the V gene based on blast results. More...
 
void CIgBlast::x_AnnotateDJ (CRef< CSearchResultSet > &results_D, CRef< CSearchResultSet > &results_J, vector< CRef< CIgAnnotation > > &annot)
 Annotate the D and J genes based on blast results. More...
 
void CIgBlast::x_AnnotateD (CRef< CSearchResultSet > &results_D, vector< CRef< CIgAnnotation > > &annot)
 
void CIgBlast::x_AnnotateJ (CRef< CSearchResultSet > &results_J, vector< CRef< CIgAnnotation > > &annot)
 
void CIgBlast::x_AnnotateC (CRef< CSearchResultSet > &results_c, CRef< CSearchResultSet > &results_j, vector< CRef< CIgAnnotation > > &annot)
 
void CIgBlast::x_AnnotateDomain (CRef< CSearchResultSet > &gl_results, CRef< CSearchResultSet > &dm_results, vector< CRef< CIgAnnotation > > &annot)
 Annotate the query chaintype and domains based on blast results. More...
 
void CIgBlast::x_SetChainType (CRef< CSearchResultSet > &results, vector< CRef< CIgAnnotation > > &annot)
 Set the subject chain type and frame info. More...
 
void CIgBlast::x_ConvertResultType (CRef< CSearchResultSet > &results)
 Convert bl2seq result to database search mode. More...
 
static void CIgBlast::s_SortResultsByEvalue (CRef< CSearchResultSet > &results)
 Sort blast results according to evalue. More...
 
static void CIgBlast::s_AppendResults (CRef< CSearchResultSet > &results, int num_aligns, int gene, CRef< CSearchResultSet > &final_results)
 Append blast results to the final results. More...
 
void CIgBlast::x_SetAnnotation (vector< CRef< CIgAnnotation > > &annot, CRef< CSearchResultSet > &final_results)
 Append annotation info to the final results. More...
 
void CIgBlast::x_FindDJ (CRef< CSearchResultSet > &results_D, CRef< CSearchResultSet > &results_J, CRef< CIgAnnotation > &annot, CRef< CSeq_align_set > &align_D, CRef< CSeq_align_set > &align_J, string q_ct, bool q_ms, ENa_strand q_st, int q_ve, int iq)
 
void CIgBlast::x_FindDJAln (CRef< CSeq_align_set > &align_D, CRef< CSeq_align_set > &align_J, string q_ct, bool q_ms, ENa_strand q_st, int q_ve, int iq, bool va_or_vd_as_heavy_chain)
 
void CIgBlast::x_ExtendAlign5end (CRef< CSearchResultSet > &results)
 
void CIgBlast::x_ExtendAlign3end (CRef< CSearchResultSet > &results)
 
void CIgBlast::x_ScreenByAlignLength (CRef< CSearchResultSet > &results, int length)
 
void CIgBlast::x_FillJDomain (CRef< CSeq_align > &align, CRef< CIgAnnotation > &annot)
 
void CIgBlast::x_ProcessDJResult (CRef< CSearchResultSet > &results_V, CRef< CSearchResultSet > &results_D, CRef< CSearchResultSet > &results_J, vector< CRef< CIgAnnotation > > &annots)
 
void CIgBlast::x_ProcessDGeneResult (CRef< CSearchResultSet > &results_V, CRef< CSearchResultSet > &results_D, CRef< CSearchResultSet > &results_J, vector< CRef< CIgAnnotation > > &annots)
 
void CIgBlast::x_ProcessCResult (CRef< CSearchResultSet > &results_C, vector< CRef< CIgAnnotation > > &annots)
 
 ScorePositionSort::ScorePositionSort (CRef< CScope > scope)
 
bool ScorePositionSort::operator() (CRef< CSeq_align > &x, CRef< CSeq_align > &y)
 
bool ScorePositionSort::s_CompareSeqAlignByScoreAndPosition (const CRef< CSeq_align > &x, const CRef< CSeq_align > &y, CRef< CScope > scope)
 
virtual const char * CBlastServicesException::GetErrCodeString () const override
 Get a message describing the situation leading to the throw. More...
 
 CBlastServicesException::NCBI_EXCEPTION_DEFAULT (CBlastServicesException, CException)
 Include standard NCBI exception behavior. More...
 
 CBlastServices::CBlastServices ()
 Default constructor. More...
 
void CBlastServices::SetVerbose (bool value=true)
 Analogous to CRemoteBlast::SetVerbose. More...
 
bool CBlastServices::IsValidBlastDb (const string &dbname, bool is_protein)
 Returns true if the BLAST database specified exists in the NCBI servers. More...
 
CRef< objects::CBlast4_database_info > CBlastServices::GetDatabaseInfo (CRef< objects::CBlast4_database > blastdb)
 Retrieve detailed information for one BLAST database If information about multiple databases is needed, use the other GetDatabaseInfo method. More...
 
vector< CRef< objects::CBlast4_database_info > > CBlastServices::GetDatabaseInfo (const string &dbname, bool is_protein, bool *found_all, vector< string > *missing_names=NULL)
 Retrieve detailed information for databases listed in the string. More...
 
vector< CRef< objects::CBlast4_database_info > > CBlastServices::GetDatabaseInfoLegacy (const string &dbname, bool is_protein, bool *found_all, vector< string > *missing_names=NULL)
 Same as GetDatabaseInfo but retrieving whole list of database. More...
 
vector< CRef< objects::CBlast4_database_info > > CBlastServices::GetOrganismSpecificRepeatsDatabases ()
 Retrieve organism specific repeats databases. More...
 
objects::CBlast4_get_windowmasked_taxids_reply::Tdata CBlastServices::GetTaxIdWithWindowMaskerSupport ()
 Retrieve a list of NCBI taxonomy IDs for which there exists windowmasker masking data to support an alternative organism specific filtering. More...
 
static void CBlastServices::GetSequencesInfo (TSeqIdVector &seqids, const string &database, char seqtype, TBioseqVector &bioseqs, string &errors, string &warnings, bool verbose=false, bool target_only=false)
 Get a set of Bioseqs without their sequence data given an input set of. More...
 
static void CBlastServices::GetSequences (TSeqIdVector &seqids, const string &database, char seqtype, TBioseqVector &bioseqs, string &errors, string &warnings, bool verbose=false, bool target_only=false)
 Get a set of Bioseqs given an input set of Seq-ids. More...
 
static void CBlastServices::GetSequenceParts (const TSeqIntervalVector &seqids, const string &database, char seqtype, TSeqIdVector &ids, TSeqDataVector &seq_data, string &errors, string &warnings, bool verbose=false)
 This retrieves (partial) sequence data from the remote BLAST server. More...
 
void CBlastServices::x_GetAvailableDatabases ()
 Retrieve the BLAST databases available for searching. More...
 
CRef< objects::CBlast4_database_info > CBlastServices::x_FindDbInfoFromAvailableDatabases (CRef< objects::CBlast4_database > blastdb)
 Look for a database matching this method's argument and returned detailed information about it. More...
 
 CBlastServices::CBlastServices (const CBlastServices &)
 Prohibit copy construction. More...
 
CBlastServicesCBlastServices::operator= (const CBlastServices &)
 Prohibit assignment. More...
 
 USING_SCOPE (objects)
 
 CBlastSeqVectorFromCSeq_data::CBlastSeqVectorFromCSeq_data (const objects::CSeq_data &seq_data, TSeqPos length)
 Parametrized constructor. More...
 
virtual void CBlastSeqVectorFromCSeq_data::SetCoding (objects::CSeq_data::E_Choice c)
 @inheritDoc More...
 
virtual Uint1 CBlastSeqVectorFromCSeq_data::operator[] (TSeqPos pos) const
 @inheritDoc More...
 
virtual SBlastSequence CBlastSeqVectorFromCSeq_data::GetCompressedPlusStrand ()
 @inheritDoc More...
 
virtual TSeqPos CBlastSeqVectorFromCSeq_data::x_Size () const
 @inheritDoc More...
 
virtual void CBlastSeqVectorFromCSeq_data::x_SetPlusStrand ()
 @inheritDoc More...
 
virtual void CBlastSeqVectorFromCSeq_data::x_SetMinusStrand ()
 @inheritDoc More...
 
void CBlastSeqVectorFromCSeq_data::x_ComplementData ()
 Complements the data in m_SequenceData in place. More...
 
CSeqUtil::ECoding CBlastSeqVectorFromCSeq_data::x_Encoding_CSeq_data2CSeqUtil (objects::CSeq_data::E_Choice c)
 Auxiliary function to map the description of the encoding in CSeq_data::EChoice to CSeqUtil::ECoding. More...
 
 CBlastQuerySourceBioseqSet::CBlastQuerySourceBioseqSet (const objects::CBioseq_set &bss, bool is_prot)
 Parametrized constructor for a Bioseq-set. More...
 
 CBlastQuerySourceBioseqSet::CBlastQuerySourceBioseqSet (const objects::CBioseq &bioseq, bool is_prot)
 Parametrized constructor for a Bioseq. More...
 
virtual objects::ENa_strand CBlastQuerySourceBioseqSet::GetStrand (int index) const
 Return strand for a sequence. More...
 
virtual TSeqPos CBlastQuerySourceBioseqSet::Size () const
 Return the number of elements in the sequence container. More...
 
virtual CConstRef< objects::CSeq_loc > CBlastQuerySourceBioseqSet::GetMask (int index)
 Return the filtered (masked) regions for a sequence. More...
 
virtual TMaskedQueryRegions CBlastQuerySourceBioseqSet::GetMaskedRegions (int index)
 Return the filtered (masked) regions for a sequence. More...
 
virtual CConstRef< objects::CSeq_loc > CBlastQuerySourceBioseqSet::GetSeqLoc (int index) const
 Return the CSeq_loc associated with a sequence. More...
 
virtual const objects::CSeq_id * CBlastQuerySourceBioseqSet::GetSeqId (int index) const
 Return the sequence identifier associated with a sequence. More...
 
virtual Uint4 CBlastQuerySourceBioseqSet::GetGeneticCodeId (int index) const
 Retrieve the genetic code associated with a sequence. More...
 
virtual SBlastSequence CBlastQuerySourceBioseqSet::GetBlastSequence (int index, EBlastEncoding encoding, objects::ENa_strand strand, ESentinelType sentinel, string *warnings=0) const
 Return the sequence data for a sequence. More...
 
virtual TSeqPos CBlastQuerySourceBioseqSet::GetLength (int index) const
 Return the length of a sequence. More...
 
virtual string CBlastQuerySourceBioseqSet::GetTitle (int index) const
 Return the title of a sequence. More...
 
virtual bool CBlastQuerySourceBioseqSet::IsFirstOfAPair (int index) const
 Is this sequence followed by a mate (for mapping short reads) More...
 
virtual int CBlastQuerySourceBioseqSet::GetSegmentInfo (int index) const
 Get segment information (for mapping paired short reads) More...
 
void CBlastQuerySourceBioseqSet::x_BioseqSanityCheck (const objects::CBioseq &bs)
 Auxiliary method to do some sanity checks on the input Bioseqs. More...
 
CRef< CSeq_align_setCreateEmptySeq_align_set (void)
 Constructs an empty Seq-align-set containing an empty discontinuous seq-align, and appends it to a previously constructed Seq-align-set. More...
 
 DEFINE_CLASS_STATIC_FAST_MUTEX (CAutomaticGenCodeSingleton::sm_Mutex)
 
void ThrowIfInvalidTask (const string &task)
 Validates that the task provided is indeed a valid task, otherwise throws a CBlastException. More...
 
string EProgramToTaskName (EProgram p)
 Convert a EProgram enumeration value to a task name (as those used in the BLAST command line binaries) More...
 
EBlastProgramType EProgramToEBlastProgramType (EProgram p)
 Convert EProgram to EBlastProgramType. More...
 
EProgram ProgramNameToEnum (const std::string &program_name)
 Map a string into an element of the ncbi::blast::EProgram enumeration (except eBlastProgramMax). More...
 
template<class Position >
CRange< Position > Map (const CRange< Position > &target, const CRange< Position > &range)
 
static pair< BlastSeqLoc *, bools_GetBlastnMask (const BlastMaskLoc *mask, unsigned int query_index)
 Return the masked locations for a given query as well as whether the linked list's elements should be reverted or not (true in the case of negative only strand) The first element of the returned pair is the linked list of masked locations The second element of the returned pair is true if the linked list needs to be reversed. More...
 
static void s_ConvertBlastnMasks (const CPacked_seqint::Tdata &query_intervals, const BlastMaskLoc *mask, TSeqLocInfoVector &retval)
 Convert EBlastTypeBlastn CORE masks into TSeqLocInfoVector. More...
 
CRef< objects::CBioseq_set > TSeqLocVector2Bioseqs (const TSeqLocVector &input)
 Convert a TSeqLocVector to a CBioseq_set. More...
 
void LoadSequencesToScope (CScope::TIds &ids, vector< TSeqRange > &ranges, CRef< CScope > &scope)
 
CConstRef< objects::CSeq_loc > CreateWholeSeqLocFromIds (const list< CRef< objects::CSeq_id > > seqids)
 Create a single CSeq_loc of type whole from the first id in the list. More...
 
void Blast_Message2TSearchMessages (const Blast_Message *blmsg, const BlastQueryInfo *query_info, TSearchMessages &messages)
 Converts the Blast_Message structure into a TSearchMessages object. More...
 
string BlastErrorCode2String (Int2 error_code)
 Returns a string containing a human-readable interpretation of the error_code passed as this function's argument. More...
 
CRef< SBlastSetupDataBlastSetupPreliminarySearch (CRef< IQueryFactory > query_factory, CRef< CBlastOptions > options, size_t num_threads=1)
 Set up internal data structures used by the BLAST CORE engine. More...
 
CRef< SBlastSetupDataBlastSetupPreliminarySearchEx (CRef< IQueryFactory > qf, CRef< CBlastOptions > options, CConstRef< CPssmWithParameters > pssm, BlastSeqSrc *seqsrc, size_t num_threads)
 Extended interface to set up internal data structures used by the BLAST CORE engine. More...
 
void BuildBlastAncillaryData (EBlastProgramType program, const vector< CConstRef< CSeq_id > > &query_ids, const BlastScoreBlk *sbp, const BlastQueryInfo *qinfo, const TSeqAlignVector &alignments, const EResultType result_type, CSearchResultSet::TAncillaryVector &retval)
 Builds an CSearchResultSet::TAncillaryVector. More...
 
CRef< CSearchResultSetBlastBuildSearchResultSet (const vector< CConstRef< CSeq_id > > &query_ids, const BlastScoreBlk *sbp, const BlastQueryInfo *qinfo, EBlastProgramType program, const TSeqAlignVector &alignments, TSearchMessages &messages, const vector< TSeqLocInfoVector > &subj_masks, const TSeqLocInfoVector *query_masks=NULL, const EResultType result_type=ncbi::blast::eDatabaseSearch)
 Build a CSearchResultSet from internal BLAST data structures. More...
 
bool TQueryMessagesLessComparator::operator() (const CRef< CSearchMessage > &a, const CRef< CSearchMessage > &b) const
 Operator to determine if *a is less than *b. More...
 
bool TQueryMessagesEqualComparator::operator() (const CRef< CSearchMessage > &a, const CRef< CSearchMessage > &b) const
 Operator to determine if *a is equal to *b. More...
 
 SBlastSetupData::SBlastSetupData (CRef< IQueryFactory > qf, CRef< CBlastOptions > opts)
 
static unsigned long s_MB_IdbGetResults (Int4 oid_i, Int4 chunk_i, BlastInitHitList *init_hitlist)
 Get the seed search results for a give subject id and chunk number. More...
 
static int s_MB_IdbCheckOid (Int4 oid, Int4 *last_vol_oid)
 
static void s_MB_IdxEndSearchIndication (Int4 last_vol_id)
 
 USING_SCOPE (ncbi::objects)
 
 USING_SCOPE (ncbi::blastdbindex)
 
static void NullSetUsingThreads (bool)
 No-op callback for setting concurrency state. More...
 
static void NullSetNumThreads (size_t)
 No-op callback for setting the number of threads. More...
 
static void NullSetQueryInfo (LookupTableWrap *, CRef< CBlastSeqLocWrap >)
 No-op callback for setting query info. More...
 
static void NullRunSearch (BLAST_SequenceBlk *, LookupTableOptions *, BlastInitialWordOptions *)
 No-op callback to run indexed search. More...
 
virtual CIndexedDb::~CIndexedDb ()
 Object destructor. More...
 
virtual int CIndexedDb::CheckOid (Int4 oid, Int4 *last_vol_id)=0
 Check whether any results were reported for a given subject sequence. More...
 
virtual void CIndexedDb::EndSearchIndication (Int4 last_vol_id)=0
 Function used by threads to indicate that they are done with iterating over the database sequences. More...
 
virtual void CIndexedDb::DoPreSearch (BLAST_SequenceBlk *queries, LookupTableOptions *lut_options, BlastInitialWordOptions *word_options)=0
 Run preliminary indexed search functionality. More...
 
void CIndexedDb::SetQueryInfo (CRef< CBlastSeqLocWrap > locs_wrap)
 Set the current set of unmasked query segments. More...
 
virtual unsigned long CIndexedDb::GetResults (CDbIndex::TSeqNum oid, CDbIndex::TSeqNum chunk, BlastInitHitList *init_hitlist) const =0
 Return results corresponding to a given subject sequence and chunk. More...
 
virtual int CIndexedDb::MinIndexWordSize ()=0
 
TSeqMap::size_type CIndexedDb_Old::LocateIndex (CDbIndex::TSeqNum oid) const
 Find an index corresponding to the given subject id. More...
 
 CIndexedDb_Old::CIndexedDb_Old (const string &indexname)
 Object constructor. More...
 
virtual int CIndexedDb_Old::CheckOid (Int4 oid, Int4 *)
 Check whether any results were reported for a given subject sequence. More...
 
virtual void CIndexedDb_Old::EndSearchIndication (Int4)
 Not used. More...
 
virtual int CIndexedDb_Old::MinIndexWordSize ()
 Get the minimum acceptable word size to use with indexed search. More...
 
void CIndexedDb_Old::PreSearch (BLAST_SequenceBlk *queries, BlastSeqLoc *locs, LookupTableOptions *lut_options, BlastInitialWordOptions *word_options)
 Invoke the seed search procedure on each of the loaded indices. More...
 
virtual void CIndexedDb_Old::DoPreSearch (BLAST_SequenceBlk *queries, LookupTableOptions *lut_options, BlastInitialWordOptions *word_options)
 Wrapper around PreSearch(). More...
 
virtual unsigned long CIndexedDb_Old::GetResults (CDbIndex::TSeqNum oid, CDbIndex::TSeqNum chunk, BlastInitHitList *init_hitlist) const
 Return results corresponding to a given subject sequence and chunk. More...
 
 CIndexedDb_New::SVolResults::SVolResults ()
 
static void CIndexedDb_New::ParseDBNames (const std::string db_spec, TStrVec &db_names)
 Generate a list of BLAST database names from a single string. More...
 
static void CIndexedDb_New::EnumerateDbVolumes (const TStrVec &db_names, TStrVec &db_vols)
 Generate a list of leaf database volumes from a list of database names. More...
 
static void CIndexedDb_New::TraceNames (const TStrVec &names)
 This is only used for debugging output. More...
 
void CIndexedDb_New::TraceVolumes (void)
 This is only used for debugging output. More...
 
SIZE_TYPE CIndexedDb_New::GetNextUnusedOID (void) const
 Auxiliary function thet returns the oid value that is one more than the largest oid used so far. More...
 
void CIndexedDb_New::UpdateIndex (Int4 oid, Int4 *vol_idx)
 Update the seed sets, if necessary. More...
 
void CIndexedDb_New::AddIndexInfo (const std::string &vol_name, bool &idx_not_resolved)
 
virtual int CIndexedDb_New::MinIndexWordSize ()
 
TVolList::const_iterator CIndexedDb_New::FindVolume (SIZE_TYPE oid) const
 Find a volume containing the given subject ordinal id. More...
 
 CIndexedDb_New::CIndexedDb_New (const string &indexname, bool &partial)
 Object constructor. More...
 
virtual CIndexedDb_New::~CIndexedDb_New ()
 Object destructor. More...
 
virtual int CIndexedDb_New::CheckOid (Int4 oid, Int4 *last_vol_id)
 Check whether any results were reported for a given subject sequence. More...
 
virtual void CIndexedDb_New::EndSearchIndication (Int4 last_vol_id)
 Function used by threads to indicate that they are done with iterating over the database sequences. More...
 
virtual void CIndexedDb_New::DoPreSearch (BLAST_SequenceBlk *queries, LookupTableOptions *lut_options, BlastInitialWordOptions *word_options)
 Run preliminary indexed search functionality. More...
 
virtual unsigned long CIndexedDb_New::GetResults (CDbIndex::TSeqNum oid, CDbIndex::TSeqNum chunk, BlastInitHitList *init_hitlist) const
 Return results corresponding to a given subject sequence and chunk. More...
 
void CIndexedDb_New::SetMultipleThreads (bool multiple_threads)
 Set the concurrency status. More...
 
void CIndexedDb_New::SetNumThreads (size_t n_threads)
 Set the number of threads used for concurrent search. More...
 
static void IndexedDbRunSearch (BLAST_SequenceBlk *queries, LookupTableOptions *lut_options, BlastInitialWordOptions *word_options)
 Run indexed search. More...
 
static void IndexedDbSetUsingThreads (bool multiple_threads)
 Set state of concurrency in the index structure. More...
 
static void IndexedDbSetNumThreads (size_t n_threads)
 Set the number of concurrent search threads in the index structure. More...
 
static void IndexedDbSetQueryInfo (LookupTableWrap *lt_wrap, CRef< CBlastSeqLocWrap > locs_wrap)
 Set information about unmasked query segments. More...
 
static int s_GetMinimumSupportedWordSizeByIndex (const string &fname)
 
std::string s_CheckMinWordSize (int word_size)
 
std::string DbIndexInit (const string &indexname, bool old_style, bool &partial, const int word_size)
 
void SetUpDbIndexCallbacks (void)
 
void ClearDbIndexCallbacks (void)
 
DbIndexSetUsingThreadsFnType GetDbIndexSetUsingThreadsFn ()
 Return the appropriate callback to set the concurrency state in the index structure. More...
 
DbIndexSetNumThreadsFnType GetDbIndexSetNumThreadsFn ()
 Return the appropriate callback to set the number of threads in the index structure. More...
 
DbIndexSetQueryInfoFnType GetDbIndexSetQueryInfoFn ()
 Return the appropriate callback to set query information in the index. More...
 
DbIndexRunSearchFnType GetDbIndexRunSearchFn ()
 Return the appropriate callback to run indexed seed search. More...
 
 USING_SCOPE (ncbi)
 
 USING_SCOPE (ncbi::blast)
 
 CBlastOptionsMemento::~CBlastOptionsMemento ()
 Note the no-op destructor, this class does not own any of its data members! More...
 
 CBlastOptionsMemento::CBlastOptionsMemento (CBlastOptionsLocal *local_opts)
 
 CEffectiveSearchSpacesMemento::CEffectiveSearchSpacesMemento (CBlastOptions *options)
 Parametrized constructor. More...
 
 CEffectiveSearchSpacesMemento::~CEffectiveSearchSpacesMemento ()
 Destructor. More...
 
 CBlastQuerySourceOM::CBlastQuerySourceOM (TSeqLocVector &v, EBlastProgramType prog)
 Constructor which takes a TSeqLocVector. More...
 
 CBlastQuerySourceOM::CBlastQuerySourceOM (TSeqLocVector &v, const CBlastOptions *opts)
 Constructor which takes a TSeqLocVector. More...
 
 CBlastQuerySourceOM::CBlastQuerySourceOM (CBlastQueryVector &v, EBlastProgramType prog)
 Constructor which takes a CBlastQueryVector. More...
 
 CBlastQuerySourceOM::CBlastQuerySourceOM (CBlastQueryVector &v, const CBlastOptions *opts)
 Constructor which takes a CBlastQueryVector. More...
 
virtual CBlastQuerySourceOM::~CBlastQuerySourceOM ()
 dtor which determines if the internal pointer to its data should be deleted or not. More...
 
virtual objects::ENa_strand CBlastQuerySourceOM::GetStrand (int i) const
 Return strand for a sequence. More...
 
virtual CConstRef< objects::CSeq_loc > CBlastQuerySourceOM::GetMask (int i)
 Return the filtered (masked) regions for a sequence. More...
 
virtual TMaskedQueryRegions CBlastQuerySourceOM::GetMaskedRegions (int i)
 Return the filtered (masked) regions for a sequence. More...
 
virtual CConstRef< objects::CSeq_loc > CBlastQuerySourceOM::GetSeqLoc (int i) const
 Return the CSeq_loc associated with a sequence. More...
 
virtual const objects::CSeq_id * CBlastQuerySourceOM::GetSeqId (int index) const
 Return the sequence identifier associated with a sequence. More...
 
virtual Uint4 CBlastQuerySourceOM::GetGeneticCodeId (int index) const
 Retrieve the genetic code associated with a sequence. More...
 
virtual SBlastSequence CBlastQuerySourceOM::GetBlastSequence (int i, EBlastEncoding encoding, objects::ENa_strand strand, ESentinelType sentinel, string *warnings=0) const
 Return the sequence data for a sequence. More...
 
virtual TSeqPos CBlastQuerySourceOM::GetLength (int i) const
 Return the length of a sequence. More...
 
virtual TSeqPos CBlastQuerySourceOM::Size () const
 Return the number of elements in the sequence container. More...
 
virtual string CBlastQuerySourceOM::GetTitle (int index) const
 Return the title of a sequence. More...
 
virtual bool CBlastQuerySourceOM::IsFirstOfAPair (int index) const
 Is this sequence followed by a mate (for mapping short reads) More...
 
virtual int CBlastQuerySourceOM::GetSegmentInfo (int index) const
 Get segment information (for mapping paired short reads) More...
 
void CBlastQuerySourceOM::x_CalculateMasks ()
 Performs filtering on the query sequences to calculate the masked locations. More...
 
void CBlastQuerySourceOM::x_AutoDetectGeneticCodes (void)
 Tries to extract the genetic code using the CScope, if it succeeds, it supercedes what's specified in the {SSeqLoc,CBlastSearchQuery}::genetic_code_id field. More...
 
void SetupQueryInfo (TSeqLocVector &queries, EBlastProgramType prog, objects::ENa_strand strand_opt, BlastQueryInfo **qinfo)
 Allocates the query information structure and fills the context offsets, in case of multiple queries, frames or strands. More...
 
void SetupQueryInfo (const CBlastQueryVector &queries, EBlastProgramType prog, objects::ENa_strand strand_opt, BlastQueryInfo **qinfo)
 Allocates the query information structure and fills the context offsets, in case of multiple queries, frames or strands. More...
 
void SetupQueries (TSeqLocVector &queries, BlastQueryInfo *qinfo, BLAST_SequenceBlk **seqblk, EBlastProgramType prog, objects::ENa_strand strand_opt, TSearchMessages &messages)
 Populates BLAST_SequenceBlk with sequence data for use in CORE BLAST. More...
 
void SetupSubjects (TSeqLocVector &subjects, EBlastProgramType program, vector< BLAST_SequenceBlk * > *seqblk_vec, unsigned int *max_subjlen)
 Sets up internal subject data structure for the BLAST search. More...
 
SBlastSequence GetSequence (const objects::CSeq_loc &sl, EBlastEncoding encoding, objects::CScope *scope, objects::ENa_strand strand=objects::eNa_strand_plus, ESentinelType sentinel=eSentinels, std::string *warnings=NULL)
 Retrieves a sequence using the object manager. More...
 
CRef< objects::CPacked_seqint > TSeqLocVector2Packed_seqint (const TSeqLocVector &sequences)
 Converts a TSeqLocVector into a CPacked_seqint. More...
 
void s_Ncbi4naToNcbi2na (const string &ncbi4na, int base_length, unsigned char *ncbi2na)
 
 CBlastSeqVectorOM::CBlastSeqVectorOM (const CSeq_loc &seqloc, CScope &scope)
 
virtual void CBlastSeqVectorOM::SetCoding (CSeq_data::E_Choice coding)
 @inheritDoc More...
 
virtual Uint1 CBlastSeqVectorOM::operator[] (TSeqPos pos) const
 @inheritDoc More...
 
virtual void CBlastSeqVectorOM::GetStrandData (objects::ENa_strand strand, unsigned char *buf)
 @inheritDoc More...
 
virtual SBlastSequence CBlastSeqVectorOM::GetCompressedPlusStrand ()
 @inheritDoc More...
 
virtual TSeqPos CBlastSeqVectorOM::x_Size () const
 @inheritDoc More...
 
virtual void CBlastSeqVectorOM::x_SetPlusStrand ()
 @inheritDoc More...
 
virtual void CBlastSeqVectorOM::x_SetMinusStrand ()
 @inheritDoc More...
 
void CBlastSeqVectorOM::x_SetStrand (ENa_strand s)
 @inheritDoc More...
 
void CBlastSeqVectorOM::x_FixStrand (objects::ENa_strand &strand) const
 If the Seq-loc is on the minus strand and the user is asking for the minus strand, we change the user's request to the plus strand. More...
 
 SBlast4ParamFinder::SBlast4ParamFinder (EBlastOptIdx opt_idx)
 
bool SBlast4ParamFinder::operator() (const CRef< CBlast4_parameter > &rhs)
 
static void s_MergeCBlast4_parameters (const objects::CBlast4_parameters *aopts, const objects::CBlast4_parameters *popts, const objects::CBlast4_parameters *fopts, objects::CBlast4_parameters &retval)
 Convenience function to merge all lists into one object to facilitate invoking AdjustProgram. More...
 
 CBlastOptionsRemote::CBlastOptionsRemote (void)
 
 CBlastOptionsRemote::~CBlastOptionsRemote ()
 
 CBlastOptionsRemote::CBlastOptionsRemote (const CBlastOptionsRemote &optsRemote)
 Copy constructor. More...
 
CBlastOptionsRemoteCBlastOptionsRemote::operator= (const CBlastOptionsRemote &optsRemote)
 Assignment operator. More...
 
TBlast4OptsCBlastOptionsRemote::GetBlast4AlgoOpts ()
 
void CBlastOptionsRemote::SetValue (EBlastOptIdx opt, const EProgram &x)
 
void CBlastOptionsRemote::SetValue (EBlastOptIdx opt, const int &x)
 
void CBlastOptionsRemote::SetValue (EBlastOptIdx opt, const double &x)
 
void CBlastOptionsRemote::SetValue (EBlastOptIdx opt, const char *x)
 
void CBlastOptionsRemote::SetValue (EBlastOptIdx opt, const TSeqLocVector &x)
 
void CBlastOptionsRemote::SetValue (EBlastOptIdx opt, const ESeedContainerType &x)
 
void CBlastOptionsRemote::SetValue (EBlastOptIdx opt, const bool &x)
 
void CBlastOptionsRemote::SetValue (EBlastOptIdx opt, const Int8 &x)
 
void CBlastOptionsRemote::SetValue (EBlastOptIdx opt, const short &x)
 
void CBlastOptionsRemote::SetValue (EBlastOptIdx opt, const unsigned int &x)
 
void CBlastOptionsRemote::SetValue (EBlastOptIdx opt, const unsigned char &x)
 
void CBlastOptionsRemote::SetValue (EBlastOptIdx opt, const objects::ENa_strand &x)
 
void CBlastOptionsRemote::ResetValue (CBlast4Field &opt)
 Remove any objects matching this Blast4 field object. More...
 
void CBlastOptionsRemote::SetDefaultsMode (bool dmode)
 
bool CBlastOptionsRemote::GetDefaultsMode ()
 
void CBlastOptionsRemote::x_DoDeepCopy (const CBlastOptionsRemote &optsRemote)
 Perform a "deep copy" of remote Blast options. More...
 
template<class T >
void CBlastOptionsRemote::x_SetParam (CBlast4Field &name, T &value)
 
void CBlastOptionsRemote::x_SetOneParam (CBlast4Field &field, const int *x)
 
void CBlastOptionsRemote::x_SetOneParam (CBlast4Field &field, const char **x)
 
void CBlastOptionsRemote::x_SetOneParam (CBlast4Field &field, const bool *x)
 
void CBlastOptionsRemote::x_SetOneParam (CBlast4Field &field, CRef< objects::CBlast4_cutoff > *x)
 
void CBlastOptionsRemote::x_SetOneParam (CBlast4Field &field, const double *x)
 
void CBlastOptionsRemote::x_SetOneParam (CBlast4Field &field, const Int8 *x)
 
void CBlastOptionsRemote::x_SetOneParam (CBlast4Field &field, objects::EBlast4_strand_type *x)
 
void CBlastOptionsRemote::x_AttachValue (CRef< objects::CBlast4_parameter > p)
 
void CBlastOptionsRemote::x_ResetValue (CBlast4Field &f)
 Remove values for a given Blast4 field. More...
 
void CBlastOptionsRemote::x_Throwx (const string &msg) const
 
static void s_BlastMessageToException (Blast_Message **blmsg_ptr, const string &default_msg)
 
int x_safe_strcmp (const char *a, const char *b)
 
int x_safe_memcmp (const void *a, const void *b, size_t size)
 
bool x_QuerySetupOptions_cmp (const QuerySetUpOptions *a, const QuerySetUpOptions *b)
 
bool x_LookupTableOptions_cmp (const LookupTableOptions *a, const LookupTableOptions *b)
 
bool x_BlastDatabaseOptions_cmp (const BlastDatabaseOptions *a, const BlastDatabaseOptions *b)
 
bool x_BlastScoringOptions_cmp (const BlastScoringOptions *a, const BlastScoringOptions *b)
 
bool x_BlastEffectiveLengthsOptions_cmp (const BlastEffectiveLengthsOptions *a, const BlastEffectiveLengthsOptions *b)
 
 CBlastOptionsLocal::CBlastOptionsLocal ()
 
 CBlastOptionsLocal::~CBlastOptionsLocal ()
 
 CBlastOptionsLocal::CBlastOptionsLocal (const CBlastOptionsLocal &optsLocal)
 Copy constructor. More...
 
CBlastOptionsLocalCBlastOptionsLocal::operator= (const CBlastOptionsLocal &optsLocal)
 Assignment operator. More...
 
bool CBlastOptionsLocal::Validate () const
 Validate the options. More...
 
EProgram CBlastOptionsLocal::GetProgram () const
 Accessors/Mutators for individual options. More...
 
EBlastProgramType CBlastOptionsLocal::GetProgramType () const
 
void CBlastOptionsLocal::SetProgram (EProgram p)
 
double CBlastOptionsLocal::GetWordThreshold () const
 
void CBlastOptionsLocal::SetWordThreshold (double w)
 
ELookupTableType CBlastOptionsLocal::GetLookupTableType () const
 
void CBlastOptionsLocal::SetLookupTableType (ELookupTableType type)
 
int CBlastOptionsLocal::GetWordSize () const
 
void CBlastOptionsLocal::SetWordSize (int ws)
 
Uint4 CBlastOptionsLocal::GetLookupTableStride () const
 Skip words after each collected one while creating a lookup table (currently only for megablast) More...
 
void CBlastOptionsLocal::SetLookupTableStride (Uint4 val)
 
unsigned char CBlastOptionsLocal::GetMBTemplateLength () const
 Megablast only lookup table options. More...
 
void CBlastOptionsLocal::SetMBTemplateLength (unsigned char len)
 
unsigned char CBlastOptionsLocal::GetMBTemplateType () const
 
void CBlastOptionsLocal::SetMBTemplateType (unsigned char type)
 
bool CBlastOptionsLocal::GetLookupDbFilter (void) const
 
void CBlastOptionsLocal::SetLookupDbFilter (bool val)
 
Uint1 CBlastOptionsLocal::GetMaxDbWordCount (void) const
 
void CBlastOptionsLocal::SetMaxDbWordCount (Uint1 val)
 
char * CBlastOptionsLocal::GetFilterString () const
 
void CBlastOptionsLocal::SetFilterString (const char *f)
 
bool CBlastOptionsLocal::GetMaskAtHash () const
 
void CBlastOptionsLocal::SetMaskAtHash (bool val=true)
 
bool CBlastOptionsLocal::GetDustFiltering () const
 
void CBlastOptionsLocal::SetDustFiltering (bool val=true)
 
int CBlastOptionsLocal::GetDustFilteringLevel () const
 
void CBlastOptionsLocal::SetDustFilteringLevel (int m)
 
int CBlastOptionsLocal::GetDustFilteringWindow () const
 
void CBlastOptionsLocal::SetDustFilteringWindow (int m)
 
int CBlastOptionsLocal::GetDustFilteringLinker () const
 
void CBlastOptionsLocal::SetDustFilteringLinker (int m)
 
bool CBlastOptionsLocal::GetSegFiltering () const
 
void CBlastOptionsLocal::SetSegFiltering (bool val=true)
 
int CBlastOptionsLocal::GetSegFilteringWindow () const
 
void CBlastOptionsLocal::SetSegFilteringWindow (int m)
 
double CBlastOptionsLocal::GetSegFilteringLocut () const
 
void CBlastOptionsLocal::SetSegFilteringLocut (double m)
 
double CBlastOptionsLocal::GetSegFilteringHicut () const
 
void CBlastOptionsLocal::SetSegFilteringHicut (double m)
 
bool CBlastOptionsLocal::GetRepeatFiltering () const
 
void CBlastOptionsLocal::SetRepeatFiltering (bool val=true)
 
const char * CBlastOptionsLocal::GetRepeatFilteringDB () const
 
void CBlastOptionsLocal::SetRepeatFilteringDB (const char *db)
 
int CBlastOptionsLocal::GetWindowMaskerTaxId () const
 
void CBlastOptionsLocal::SetWindowMaskerTaxId (int taxid)
 
const char * CBlastOptionsLocal::GetWindowMaskerDatabase () const
 
void CBlastOptionsLocal::SetWindowMaskerDatabase (const char *db)
 
objects::ENa_strand CBlastOptionsLocal::GetStrandOption () const
 
void CBlastOptionsLocal::SetStrandOption (objects::ENa_strand s)
 
int CBlastOptionsLocal::GetQueryGeneticCode () const
 
void CBlastOptionsLocal::SetQueryGeneticCode (int gc)
 
bool CBlastOptionsLocal::GetReadQualityFiltering (void) const
 
void CBlastOptionsLocal::SetReadQualityFiltering (bool val=true)
 
double CBlastOptionsLocal::GetReadMaxFractionAmbiguous (void) const
 
void CBlastOptionsLocal::SetReadMaxFractionAmbiguous (double val)
 
int CBlastOptionsLocal::GetReadMinDimerEntropy (void) const
 
void CBlastOptionsLocal::SetReadMinDimerEntropy (int val)
 
int CBlastOptionsLocal::GetWindowSize () const
 
void CBlastOptionsLocal::SetWindowSize (int w)
 
int CBlastOptionsLocal::GetOffDiagonalRange () const
 
void CBlastOptionsLocal::SetOffDiagonalRange (int r)
 
double CBlastOptionsLocal::GetXDropoff () const
 
void CBlastOptionsLocal::SetXDropoff (double x)
 
double CBlastOptionsLocal::GetGapXDropoff () const
 
void CBlastOptionsLocal::SetGapXDropoff (double x)
 
double CBlastOptionsLocal::GetGapXDropoffFinal () const
 
void CBlastOptionsLocal::SetGapXDropoffFinal (double x)
 
EBlastPrelimGapExt CBlastOptionsLocal::GetGapExtnAlgorithm () const
 
void CBlastOptionsLocal::SetGapExtnAlgorithm (EBlastPrelimGapExt a)
 
EBlastTbackExt CBlastOptionsLocal::GetGapTracebackAlgorithm () const
 
void CBlastOptionsLocal::SetGapTracebackAlgorithm (EBlastTbackExt a)
 
ECompoAdjustModes CBlastOptionsLocal::GetCompositionBasedStats () const
 
void CBlastOptionsLocal::SetCompositionBasedStats (ECompoAdjustModes mode)
 
bool CBlastOptionsLocal::GetSmithWatermanMode () const
 
void CBlastOptionsLocal::SetSmithWatermanMode (bool m=true)
 
int CBlastOptionsLocal::GetUnifiedP () const
 
void CBlastOptionsLocal::SetUnifiedP (int u=0)
 
int CBlastOptionsLocal::GetMaxMismatches () const
 
void CBlastOptionsLocal::SetMaxMismatches (int m)
 
int CBlastOptionsLocal::GetMismatchWindow () const
 
void CBlastOptionsLocal::SetMismatchWindow (int w)
 
bool CBlastOptionsLocal::GetChaining (void) const
 
void CBlastOptionsLocal::SetChaining (bool ch)
 
int CBlastOptionsLocal::GetHitlistSize () const
 
void CBlastOptionsLocal::SetHitlistSize (int s)
 
int CBlastOptionsLocal::GetMaxNumHspPerSequence () const
 
void CBlastOptionsLocal::SetMaxNumHspPerSequence (int m)
 
int CBlastOptionsLocal::GetMaxHspsPerSubject () const
 
void CBlastOptionsLocal::SetMaxHspsPerSubject (int m)
 
int CBlastOptionsLocal::GetCullingLimit () const
 
void CBlastOptionsLocal::SetCullingLimit (int s)
 
bool CBlastOptionsLocal::GetSubjectBestHit () const
 
void CBlastOptionsLocal::SetSubjectBestHit ()
 
double CBlastOptionsLocal::GetBestHitOverhang () const
 
void CBlastOptionsLocal::SetBestHitOverhang (double s)
 
void CBlastOptionsLocal::SetBestHitScoreEdge (double score_edge)
 
double CBlastOptionsLocal::GetBestHitScoreEdge () const
 
double CBlastOptionsLocal::GetEvalueThreshold () const
 
void CBlastOptionsLocal::SetEvalueThreshold (double eval)
 
int CBlastOptionsLocal::GetCutoffScore () const
 
void CBlastOptionsLocal::SetCutoffScore (int s)
 
vector< double > CBlastOptionsLocal::GetCutoffScoreCoeffs () const
 
void CBlastOptionsLocal::SetCutoffScoreCoeffs (const vector< double > &c)
 
double CBlastOptionsLocal::GetPercentIdentity () const
 
void CBlastOptionsLocal::SetPercentIdentity (double p)
 
int CBlastOptionsLocal::GetMaxEditDistance () const
 
void CBlastOptionsLocal::SetMaxEditDistance (int e)
 
double CBlastOptionsLocal::GetQueryCovHspPerc () const
 
void CBlastOptionsLocal::SetQueryCovHspPerc (double p)
 
int CBlastOptionsLocal::GetMinDiagSeparation () const
 
void CBlastOptionsLocal::SetMinDiagSeparation (int d)
 
bool CBlastOptionsLocal::GetSumStatisticsMode () const
 Sum statistics options. More...
 
void CBlastOptionsLocal::SetSumStatisticsMode (bool m=true)
 
int CBlastOptionsLocal::GetLongestIntronLength () const
 
void CBlastOptionsLocal::SetLongestIntronLength (int l)
 
bool CBlastOptionsLocal::GetGappedMode () const
 Returns true if gapped BLAST is set, false otherwise. More...
 
void CBlastOptionsLocal::SetGappedMode (bool m=true)
 
int CBlastOptionsLocal::GetMaskLevel () const
 Masklevel filtering option -RMH-. More...
 
void CBlastOptionsLocal::SetMaskLevel (int s)
 
double CBlastOptionsLocal::GetLowScorePerc () const
 Sets low score percentages. More...
 
void CBlastOptionsLocal::SetLowScorePerc (double p=0.0)
 
bool CBlastOptionsLocal::GetPaired () const
 
void CBlastOptionsLocal::SetPaired (bool p)
 
bool CBlastOptionsLocal::GetSplice () const
 Splice HSPs for each query. More...
 
void CBlastOptionsLocal::SetSplice (bool p)
 
bool CBlastOptionsLocal::GetComplexityAdjMode () const
 Returns true if cross_match-like complexity adjusted. More...
 
void CBlastOptionsLocal::SetComplexityAdjMode (bool m=true)
 
double CBlastOptionsLocal::GetGapTrigger () const
 
void CBlastOptionsLocal::SetGapTrigger (double g)
 
const char * CBlastOptionsLocal::GetMatrixName () const
 
void CBlastOptionsLocal::SetMatrixName (const char *matrix)
 
int CBlastOptionsLocal::GetMatchReward () const
 
void CBlastOptionsLocal::SetMatchReward (int r)
 
int CBlastOptionsLocal::GetMismatchPenalty () const
 
void CBlastOptionsLocal::SetMismatchPenalty (int p)
 
int CBlastOptionsLocal::GetGapOpeningCost () const
 
void CBlastOptionsLocal::SetGapOpeningCost (int g)
 
int CBlastOptionsLocal::GetGapExtensionCost () const
 
void CBlastOptionsLocal::SetGapExtensionCost (int e)
 
int CBlastOptionsLocal::GetFrameShiftPenalty () const
 
void CBlastOptionsLocal::SetFrameShiftPenalty (int p)
 
bool CBlastOptionsLocal::GetOutOfFrameMode () const
 
void CBlastOptionsLocal::SetOutOfFrameMode (bool m=true)
 
Int8 CBlastOptionsLocal::GetDbLength () const
 
void CBlastOptionsLocal::SetDbLength (Int8 l)
 
unsigned int CBlastOptionsLocal::GetDbSeqNum () const
 
void CBlastOptionsLocal::SetDbSeqNum (unsigned int n)
 
Int8 CBlastOptionsLocal::GetEffectiveSearchSpace () const
 
void CBlastOptionsLocal::SetEffectiveSearchSpace (Int8 eff)
 
void CBlastOptionsLocal::SetEffectiveSearchSpace (const vector< Int8 > &eff)
 
int CBlastOptionsLocal::GetDbGeneticCode () const
 
void CBlastOptionsLocal::SetDbGeneticCode (int gc)
 
const char * CBlastOptionsLocal::GetPHIPattern () const
 
void CBlastOptionsLocal::SetPHIPattern (const char *pattern, bool is_dna)
 
void CBlastOptionsLocal::DebugDump (CDebugDumpContext ddc, unsigned int depth) const
 Allows to dump a snapshot of the object. More...
 
double CBlastOptionsLocal::GetInclusionThreshold () const
 
void CBlastOptionsLocal::SetInclusionThreshold (double incthr)
 
int CBlastOptionsLocal::GetPseudoCount () const
 
void CBlastOptionsLocal::SetPseudoCount (int ps)
 
bool CBlastOptionsLocal::GetIgnoreMsaMaster () const
 
void CBlastOptionsLocal::SetIgnoreMsaMaster (bool val)
 
double CBlastOptionsLocal::GetDomainInclusionThreshold () const
 
void CBlastOptionsLocal::SetDomainInclusionThreshold (double incthr)
 
bool CBlastOptionsLocal::GetUseIndex () const
 
bool CBlastOptionsLocal::GetForceIndex () const
 
bool CBlastOptionsLocal::GetIsOldStyleMBIndex () const
 
const string CBlastOptionsLocal::GetIndexName () const
 
void CBlastOptionsLocal::SetUseIndex (bool use_index=true, const string &index_name="", bool force_index=false, bool old_style_index=false)
 
bool CBlastOptionsLocal::GetMBIndexLoaded () const
 
void CBlastOptionsLocal::SetMBIndexLoaded (bool index_loaded=true)
 
bool CBlastOptionsLocal::operator== (const CBlastOptionsLocal &rhs) const
 
bool CBlastOptionsLocal::operator!= (const CBlastOptionsLocal &rhs) const
 
QuerySetUpOptionsCBlastOptionsLocal::GetQueryOpts () const
 
LookupTableOptionsCBlastOptionsLocal::GetLutOpts () const
 
BlastInitialWordOptionsCBlastOptionsLocal::GetInitWordOpts () const
 
BlastExtensionOptionsCBlastOptionsLocal::GetExtnOpts () const
 
BlastHitSavingOptionsCBlastOptionsLocal::GetHitSaveOpts () const
 
PSIBlastOptionsCBlastOptionsLocal::GetPSIBlastOpts () const
 
BlastDatabaseOptionsCBlastOptionsLocal::GetDbOpts () const
 
BlastScoringOptionsCBlastOptionsLocal::GetScoringOpts () const
 
BlastEffectiveLengthsOptionsCBlastOptionsLocal::GetEffLenOpts () const
 
void CBlastOptionsLocal::x_DoDeepCopy (const CBlastOptionsLocal &optsLocal)
 Perform a "deep copy" of local Blast options. More...
 
static void CBlastOptionsLocal::x_Copy_CQuerySetUpOptions (CQuerySetUpOptions &queryOptsDst, const CQuerySetUpOptions &queryOptsSrc)
 Get a copy of CQuerySetUpOptions. More...
 
static void CBlastOptionsLocal::x_Copy_CLookupTableOptions (CLookupTableOptions &lutOptsDst, const CLookupTableOptions &lutOptsSrc)
 Get a copy of CLookupTableOptions. More...
 
static void CBlastOptionsLocal::x_Copy_CBlastInitialWordOptions (CBlastInitialWordOptions &initWordOptsDst, const CBlastInitialWordOptions &initWordOptsSrc)
 Get a copy of CBlastInitialWordOptions. More...
 
static void CBlastOptionsLocal::x_Copy_CBlastExtensionOptions (CBlastExtensionOptions &extnOptsDst, const CBlastExtensionOptions &extnOptsSrc)
 Get a copy of CBlastExtensionOptions. More...
 
static void CBlastOptionsLocal::x_Copy_CBlastHitSavingOptions (CBlastHitSavingOptions &hitSaveOptsDst, const CBlastHitSavingOptions &hitSaveOptsSrc)
 Get a copy of CBlastHitSavingOptions. More...
 
static void CBlastOptionsLocal::x_Copy_CPSIBlastOptions (CPSIBlastOptions &psiBlastOptsDst, const CPSIBlastOptions &psiBlastOptsSrc)
 Get a copy of CPSIBlastOptions. More...
 
static void CBlastOptionsLocal::x_Copy_CBlastDatabaseOptions (CBlastDatabaseOptions &dbOptsDst, const CBlastDatabaseOptions &dbOptsSrc)
 Get a copy of CBlastDatabaseOptions. More...
 
static void CBlastOptionsLocal::x_Copy_CBlastScoringOptions (CBlastScoringOptions &scoringOptsDst, const CBlastScoringOptions &scoringOptsSrc)
 Get a copy of CBlastScoringOptions. More...
 
static void CBlastOptionsLocal::x_Copy_CBlastEffectiveLengthsOptions (CBlastEffectiveLengthsOptions &effLenOptsDst, const CBlastEffectiveLengthsOptions &effLenOptsSrc)
 Get a copy of CBlastEffectiveLengthsOptions. More...
 
static void s_InitializeKarlinBlk (Blast_KarlinBlk *src, Blast_KarlinBlk **dest)
 
static void s_InitializeGumbelBlk (Blast_GumbelBlk *src, Blast_GumbelBlk **dest)
 
static CConstRef< CSeq_ids_ExtractSeqId (CConstRef< CSeq_align_set > align_set)
 Find the first alignment in a set of blast results, and. More...
 
static ENa_strand s_Frame2Strand (short frame)
 Converts a frame into the appropriate strand. More...
 
static int s_GetCurrPos (int &pos, int pos2advance)
 Advances position in a sequence, according to an edit script instruction. More...
 
static TSeqPos s_GetAlignmentStart (int &curr_pos, int num, ENa_strand strand, bool translate, int length, int original_length, short frame)
 Finds the starting position of a sequence segment in an alignment, given an editing script. More...
 
static Int4 s_GetProteinFrameLength (Int4 nuc_length, Int2 frame)
 Finds length of a protein frame given a nucleotide length and a frame number. More...
 
static void s_CollectSeqAlignData (const BlastHSP *hsp, const GapEditScript *esp, unsigned int first, unsigned int nsegs, CDense_seg::TStarts &starts, CDense_seg::TLens &lengths, CDense_seg::TStrands &strands, Int4 query_length, Int4 subject_length, bool translate1, bool translate2)
 Fills vectors of start positions, lengths and strands for all alignment segments. More...
 
static void s_CreateDenseg (CDense_seg &dense_seg, CRef< CSeq_id > master, CRef< CSeq_id > slave, CDense_seg::TStarts &starts, CDense_seg::TLens &lengths, CDense_seg::TStrands &strands)
 Creates a Dense-seg object from the starts, lengths and strands vectors and two Seq-ids. More...
 
static CSeq_align::C_Segs::TStd s_CreateStdSegs (CRef< CSeq_id > master, CRef< CSeq_id > slave, CDense_seg::TStarts &starts, CDense_seg::TLens &lengths, CDense_seg::TStrands &strands, bool translate_master, bool translate_slave)
 Creates a Std-seg object from the starts, lengths and strands vectors and two Seq-ids for a translated search. More...
 
static void s_CorrectUASequence (BlastHSP *hsp)
 Checks if any decline-to-align segments immediately follow an insertion or deletion, and swaps any such segments so indels are always to the right of the decline-to-align segments. More...
 
static void s_ValidateExon (const CSpliced_exon &exon, const CSeq_id &product_id, const CSeq_id &genomic_id)
 
void MakeSplicedSeg (CSpliced_seg &spliced_seg, CRef< CSeq_id > product_id, CRef< CSeq_id > genomic_id, int product_length, const HSPChain *chain)
 Convert a spliced alignmeny in BlastHSPChain into Spliced_seg. More...
 
static CRef< CSeq_aligns_CreateSeqAlign (CRef< CSeq_id > master, CRef< CSeq_id > slave, CDense_seg::TStarts starts, CDense_seg::TLens lengths, CDense_seg::TStrands strands, bool translate_master, bool translate_slave)
 Creates a Seq-align for a single HSP from precalculated vectors of start positions, lengths and strands of segments, sequence identifiers and other information. More...
 
static CRef< CSeq_aligns_BlastHSP2SeqAlign (EBlastProgramType program, BlastHSP *hsp, CRef< CSeq_id > id1, CRef< CSeq_id > id2, Int4 query_length, Int4 subject_length)
 Converts a traceback editing block to a Seq-align, provided the 2 sequence identifiers. More...
 
static CRef< CSeq_aligns_OOFBlastHSP2SeqAlign (EBlastProgramType program, BlastHSP *hsp, CRef< CSeq_id > query_id, CRef< CSeq_id > subject_id, Int4 query_length, Int4 subject_length)
 This function is used for out-of-frame traceback conversion Converts an OOF editing script chain to a Seq-align of type Std-seg. More...
 
static CRef< CScores_MakeScore (const string &ident_string, double d, int i, bool is_integer)
 Creates and initializes CScore with a given name, and with integer or double value. More...
 
static size_t s_CalculateScoreVectorSize (const BlastHSP *hsp, const vector< string > &seqid_list)
 Computes the exact size of a CSeq_align::TScore for a given HSP. More...
 
static void s_BuildScoreList (const BlastHSP *hsp, CSeq_align::TScore &scores, const vector< string > &seqid_list, Int4 query_length)
 Creates a list of score objects for a Seq-align, given an HSP structure. More...
 
static void s_AddUserObjectToSeqAlign (CRef< CSeq_align > &seqalign, const vector< string > &seqid_list)
 Produce UserObject with Seq-ids to limit formatting to ("use_this_gi") More...
 
static void s_AddScoresToSeqAlign (CRef< CSeq_align > &seqalign, const BlastHSP *hsp, const vector< string > &seqid_list, Int4 query_length)
 Given an HSP structure, creates a list of scores and inserts them into a Seq-align. More...
 
CRef< CDense_diagx_UngappedHSPToDenseDiag (BlastHSP *hsp, CRef< CSeq_id > query_id, CRef< CSeq_id > subject_id, Int4 query_length, Int4 subject_length, const vector< string > &seqid_list)
 Creates a Dense-diag object from HSP information and sequence identifiers for a non-translated ungapped search. More...
 
CRef< CStd_segx_UngappedHSPToStdSeg (BlastHSP *hsp, CRef< CSeq_id > query_id, CRef< CSeq_id > subject_id, Int4 query_length, Int4 subject_length, const vector< string > &seqid_list)
 Creates a Std-seg object from HSP information and sequence identifiers for a translated ungapped search. More...
 
void BLASTUngappedHspListToSeqAlign (EBlastProgramType program, BlastHSPList *hsp_list, CRef< CSeq_id > query_id, CRef< CSeq_id > subject_id, Int4 query_length, Int4 subject_length, const vector< string > &seqid_list, vector< CRef< CSeq_align > > &sa_vector)
 Creates a Seq-align from an HSP list for an ungapped search. More...
 
void BLASTHspListToSeqAlign (EBlastProgramType program, BlastHSPList *hsp_list, CRef< CSeq_id > query_id, CRef< CSeq_id > subject_id, Int4 query_length, Int4 subject_length, bool is_ooframe, const vector< string > &seqid_list, vector< CRef< CSeq_align > > &sa_vector)
 This is called for each query and each subject in a BLAST search. More...
 
void RemapToQueryLoc (CRef< CSeq_align > sar, const CSeq_loc &query)
 Remaps Seq-align offsets relative to the query Seq-loc. More...
 
static void s_RemapToSubjectLoc (CRef< CSeq_align > &subj_aligns, const CSeq_loc &subj_loc)
 Remap subject alignment if its location specified the reverse strand or a starting location other than the beginning of the sequence. More...
 
CRef< CSeq_align_setBlastHitList2SeqAlign_OMF (const BlastHitList *hit_list, EBlastProgramType prog, const CSeq_loc &query_loc, TSeqPos query_length, const IBlastSeqInfoSrc *seqinfo_src, bool is_gapped, bool is_ooframe, TSeqLocInfoVector &subj_masks)
 
TSeqAlignVector PhiBlastResults2SeqAlign_OMF (const BlastHSPResults *results, EBlastProgramType prog, class ILocalQueryData &query, const IBlastSeqInfoSrc *seqinfo_src, const SPHIQueryInfo *pattern_info, vector< TSeqLocInfoVector > &subj_masks)
 
static void s_AdjustNegativeSubjFrameInBlastn (ENa_strand subj_strand, EBlastProgramType program, BlastHSPList *hsp_list)
 This function changes the subject frame for HSPs if the program is blastn and the subject was specified with a negative strand. More...
 
static TSeqAlignVector s_BLAST_OneSubjectResults2CSeqAlign (const BlastHSPResults *results, ILocalQueryData &query_data, const IBlastSeqInfoSrc &seqinfo_src, EBlastProgramType prog, Uint4 subj_idx, bool is_gapped, bool is_ooframe, vector< TSeqLocInfoVector > &subj_masks)
 Extracts results from the BlastHSPResults structure for only one subject sequence, identified by its index, and converts them into a vector of CSeq_align_set objects. More...
 
static TSeqAlignVector s_TransposeSeqAlignVector (const TSeqAlignVector &alnvec, const size_t num_queries, const size_t num_subjects)
 Transpose the (linearly organized) seqalign set matrix from (q1 s1 q2 s1 ... More...
 
static TSeqAlignVector s_BlastResults2SeqAlignSequenceCmp_OMF (const BlastHSPResults *results, EBlastProgramType prog, class ILocalQueryData &query_data, const IBlastSeqInfoSrc *seqinfo_src, bool is_gapped, bool is_ooframe, vector< TSeqLocInfoVector > &subj_masks)
 
static TSeqAlignVector s_BlastResults2SeqAlignDatabaseSearch_OMF (const BlastHSPResults *results, EBlastProgramType prog, class ILocalQueryData &query, const IBlastSeqInfoSrc *seqinfo_src, bool is_gapped, bool is_ooframe, vector< TSeqLocInfoVector > &subj_masks)
 
TSeqAlignVector LocalBlastResults2SeqAlign (BlastHSPResults *hsp_results, ILocalQueryData &local_data, const IBlastSeqInfoSrc &seqinfo_src, EBlastProgramType program, bool gapped, bool oof_mode, vector< TSeqLocInfoVector > &subj_masks, EResultType result_type=eDatabaseSearch)
 Convert traceback output into Seq-align format. More...
 
CRef< CStd_segx_NonTranslatedHSPToStdSeg (BlastHSP *hsp, CRef< CSeq_id > query_id, CRef< CSeq_id > subject_id, Int4 query_length, Int4 subject_length, const vector< string > &seqid_list)
 Creates a Std-seg object from HSP information and sequence identifiers for a non-translated ungapped search. More...
 
void BLASTPrelminSearchHitListToStdSeg (EBlastProgramType program, BlastHitList *hit_list, const CSeq_loc &query_loc, TSeqPos query_length, const IBlastSeqInfoSrc *subject_seqinfo, list< CRef< CStd_seg > > &seg_list)
 
void GetSequenceLengthAndId (const blast::IBlastSeqInfoSrc *seqinfo_src, int oid, CRef< CSeq_id > &seqid, TSeqPos *length)
 
void GetSequenceLengthAndId (const blast::IBlastSeqInfoSrc *seqinfo_src, int oid, int(*rank_func)(const CRef< CSeq_id > &), CRef< CSeq_id > &seqid, TSeqPos *length)
 
 SBlastSequence::SBlastSequence ()
 Default constructor. More...
 
 SBlastSequence::SBlastSequence (TSeqPos buf_len)
 Allocates a sequence buffer of the specified length. More...
 
 SBlastSequence::SBlastSequence (Uint1 *d, TSeqPos l)
 Parametrized constructor. More...
 
virtual IBlastQuerySource::~IBlastQuerySource ()
 Our no-op virtual destructor. More...
 
virtual objects::ENa_strand IBlastQuerySource::GetStrand (int index) const =0
 Return strand for a sequence. More...
 
virtual TSeqPos IBlastQuerySource::Size () const =0
 Return the number of elements in the sequence container. More...
 
bool IBlastQuerySource::Empty () const
 Returns true if the container is empty, else false. More...
 
virtual CConstRef< objects::CSeq_loc > IBlastQuerySource::GetMask (int index)=0
 Return the filtered (masked) regions for a sequence. More...
 
virtual TMaskedQueryRegions IBlastQuerySource::GetMaskedRegions (int index)=0
 Return the filtered (masked) regions for a sequence. More...
 
virtual CConstRef< objects::CSeq_loc > IBlastQuerySource::GetSeqLoc (int index) const =0
 Return the CSeq_loc associated with a sequence. More...
 
virtual const objects::CSeq_id * IBlastQuerySource::GetSeqId (int index) const =0
 Return the sequence identifier associated with a sequence. More...
 
virtual Uint4 IBlastQuerySource::GetGeneticCodeId (int index) const =0
 Retrieve the genetic code associated with a sequence. More...
 
virtual SBlastSequence IBlastQuerySource::GetBlastSequence (int index, EBlastEncoding encoding, objects::ENa_strand strand, ESentinelType sentinel, std::string *warnings=0) const =0
 Return the sequence data for a sequence. More...
 
virtual TSeqPos IBlastQuerySource::GetLength (int index) const =0
 Return the length of a sequence. More...
 
virtual string IBlastQuerySource::GetTitle (int index) const =0
 Return the title of a sequence. More...
 
virtual bool IBlastQuerySource::IsFirstOfAPair (int index) const =0
 Is this sequence followed by a mate (for mapping short reads) More...
 
virtual int IBlastQuerySource::GetSegmentInfo (int index) const =0
 Get segment information (for mapping paired short reads) More...
 
objects::ENa_strand BlastSetup_GetStrand (const objects::CSeq_loc &query_seqloc, EBlastProgramType program, objects::ENa_strand strand_option)
 Choose between a Seq-loc specified query strand and the strand obtained from the CBlastOptions. More...
 
virtual IBlastSeqVector::~IBlastSeqVector ()
 Our no-op virtual destructor. More...
 
virtual void IBlastSeqVector::SetCoding (objects::CSeq_data::E_Choice coding)=0
 Sets the encoding for the sequence data. More...
 
TSeqPos IBlastSeqVector::size () const
 Returns the length of the sequence data (in the case of nucleotides, only one strand) More...
 
virtual Uint1 IBlastSeqVector::operator[] (TSeqPos pos) const =0
 Allows index-based access to the sequence data. More...
 
virtual void IBlastSeqVector::GetStrandData (objects::ENa_strand strand, unsigned char *buf)
 Retrieve strand data in one chunk. More...
 
void IBlastSeqVector::SetPlusStrand ()
 For nucleotide sequences this instructs the implementation to convert its representation to be that of the plus strand. More...
 
void IBlastSeqVector::SetMinusStrand ()
 For nucleotide sequences this instructs the implementation to convert its representation to be that of the minus strand. More...
 
objects::ENa_strand IBlastSeqVector::GetStrand () const
 Accessor for the strand currently set. More...
 
virtual SBlastSequence IBlastSeqVector::GetCompressedPlusStrand ()=0
 Returns the compressed nucleotide data for the plus strand, still occupying one base per byte. More...
 
virtual TSeqPos IBlastSeqVector::x_Size () const =0
 Method which retrieves the size of the sequence vector, as described in the size() method above. More...
 
virtual void IBlastSeqVector::x_SetPlusStrand ()=0
 Method which does the work for setting the plus strand of the nucleotide sequence data. More...
 
virtual void IBlastSeqVector::x_SetMinusStrand ()=0
 Method which does the work for setting the minus strand of the nucleotide sequence data. More...
 
void SetupQueryInfo_OMF (const IBlastQuerySource &queries, EBlastProgramType prog, objects::ENa_strand strand_opt, BlastQueryInfo **qinfo)
 ObjMgr Free version of SetupQueryInfo. More...
 
void SetupQueries_OMF (IBlastQuerySource &queries, BlastQueryInfo *qinfo, BLAST_SequenceBlk **seqblk, EBlastProgramType prog, objects::ENa_strand strand_opt, TSearchMessages &messages)
 ObjMgr Free version of SetupQueries. More...
 
void SetupSubjects_OMF (IBlastQuerySource &subjects, EBlastProgramType program, vector< BLAST_SequenceBlk * > *seqblk_vec, unsigned int *max_subjlen)
 Object manager free version of SetupSubjects. More...
 
SBlastSequence GetSequence_OMF (IBlastSeqVector &sv, EBlastEncoding encoding, objects::ENa_strand strand, ESentinelType sentinel, std::string *warnings=0)
 Object manager free version of GetSequence. More...
 
TSeqPos CalculateSeqBufferLength (TSeqPos sequence_length, EBlastEncoding encoding, objects::ENa_strand strand=objects::eNa_strand_unknown, ESentinelType sentinel=eSentinels) THROWS((CBlastException))
 Calculates the length of the buffer to allocate given the desired encoding, strand (if applicable) and use of sentinel bytes around sequence. More...
 
SBlastSequence CompressNcbi2na (const SBlastSequence &source)
 Compresses the sequence data passed in to the function from 1 base per byte to 4 bases per byte. More...
 
Uint1 GetSentinelByte (EBlastEncoding encoding) THROWS((CBlastException))
 Convenience function to centralize the knowledge of which sentinel bytes we use for supported encodings. More...
 
string FindBlastDbPath (const char *dbname, bool is_prot)
 Returns the path (including a trailing path separator) to the location where the BLAST database can be found. More...
 
unsigned int GetNumberOfContexts (EBlastProgramType p)
 Returns the number of contexts for a given BLAST program. More...
 
EBlastEncoding GetQueryEncoding (EBlastProgramType program)
 Returns the encoding for the sequence data used in BLAST for the query. More...
 
EBlastEncoding GetSubjectEncoding (EBlastProgramType program)
 Returns the encoding for the sequence data used in BLAST2Sequences for the subject. More...
 
BLAST_SequenceBlkSafeSetupQueries (IBlastQuerySource &queries, const CBlastOptions *options, BlastQueryInfo *query_info, TSearchMessages &messages)
 Wrapper around SetupQueries. More...
 
BlastQueryInfoSafeSetupQueryInfo (const IBlastQuerySource &queries, const CBlastOptions *options)
 Wrapper around SetupQueryInfo. More...
 
char * BlastFindMatrixPath (const char *matrix_name, Boolean is_prot)
 Returns the path to a specified matrix. More...
 
 CBlastQueryFilteredFrames::CBlastQueryFilteredFrames (EBlastProgramType program)
 Construct container for frame values and BlastSeqLocs for the specified search program. More...
 
 CBlastQueryFilteredFrames::CBlastQueryFilteredFrames (EBlastProgramType program, const TMaskedQueryRegions &mqr)
 Construct container for frame values and BlastSeqLocs from a TMaskedQueryRegions vector. More...
 
 CBlastQueryFilteredFrames::~CBlastQueryFilteredFrames ()
 Destructor; frees any BlastSeqLoc lists not released by the caller. More...
 
void CBlastQueryFilteredFrames::AddSeqLoc (const objects::CSeq_interval &intv, int frame)
 Add a masked interval to the specified frame. More...
 
BlastSeqLoc ** CBlastQueryFilteredFrames::operator[] (int frame)
 Access the BlastSeqLocs for a given frame. More...
 
void CBlastQueryFilteredFrames::Release (int frame)
 Release the BlastSeqLocs for a given frame. More...
 
bool CBlastQueryFilteredFrames::QueryHasMultipleFrames () const
 Check whether the query is multiframe for this type of search. More...
 
const set< ETranslationFrame > & CBlastQueryFilteredFrames::ListFrames ()
 Returns the list of frame values for which this object contains masking information. More...
 
bool CBlastQueryFilteredFrames::Empty ()
 Returns true if this object contains any masking information. More...
 
void CBlastQueryFilteredFrames::UseProteinCoords (TSeqPos dna_length)
 Adjusts all stored masks from nucleotide to protein offsets. More...
 
size_t CBlastQueryFilteredFrames::GetNumFrames () const
 
 CBlastQueryFilteredFrames::CBlastQueryFilteredFrames (CBlastQueryFilteredFrames &f)
 Prevent copy construction. More...
 
CBlastQueryFilteredFramesCBlastQueryFilteredFrames::operator= (CBlastQueryFilteredFrames &f)
 Prevent assignment. More...
 
void CBlastQueryFilteredFrames::x_VerifyFrame (int frame)
 Verify the specified frame value. More...
 
bool CBlastQueryFilteredFrames::x_NeedsTrans ()
 Returns true if this program needs coordinate translation. More...
 
static void s_QueryInfo_SetContext (BlastQueryInfo *qinfo, Uint4 index, Uint4 length)
 Set field values for one element of the context array of a concatenated query. More...
 
static objects::ENa_strand s_BlastSetup_GetStrand (objects::ENa_strand seqloc_strand, EBlastProgramType program, objects::ENa_strand strand_opt)
 Internal function to choose between the strand specified in a Seq-loc (which specified the query strand) and the strand obtained from the CBlastOptions. More...
 
static void s_AdjustFirstContext (BlastQueryInfo *query_info, EBlastProgramType prog, ENa_strand strand_opt, const IBlastQuerySource &queries)
 Adjust first context depending on the first query strand. More...
 
static void s_ComputeStartEndContexts (ENa_strand strand, int num_contexts, int &start, int &end)
 Calculate the starting and ending contexts for a given strand. More...
 
static void s_AddMask (EBlastProgramType prog, BlastMaskLoc *mask, int query_index, CBlastQueryFilteredFrames &seqloc_frames, ENa_strand strand, TSeqPos query_length)
 Adds seqloc_frames to mask. More...
 
static void s_RestrictSeqLocs_Multiframe (CBlastQueryFilteredFrames &frame_to_bsl, const IBlastQuerySource &queries, int query_index, const BlastQueryInfo *qinfo)
 Restricts the masked locations in frame_to_bsl for the case when the BLAST program requires the query to be translated into multiple frames. More...
 
static CRef< CBlastQueryFilteredFramess_GetRestrictedBlastSeqLocs (IBlastQuerySource &queries, int query_index, const BlastQueryInfo *qinfo, EBlastProgramType program)
 Extract the masking locations for a single query into a CBlastQueryFilteredFrames object and adjust the masks so that they correspond to the range specified by the Seq-loc in queries. More...
 
static void s_InvalidateQueryContexts (BlastQueryInfo *qinfo, int query_index)
 Mark the contexts corresponding to the query identified by query_index as invalid. More...
 
static void s_SeqLoc2MaskedSubjRanges (const CSeq_loc *slp, const CSeq_loc *range, Int4 total_length, CSeqDB::TSequenceRanges &output)
 
static bool s_IsValidResidue (Uint1 res)
 Tests if a number represents a valid residue. More...
 
static SBlastSequence GetSequenceProtein (IBlastSeqVector &sv, string *warnings=0)
 Protein sequences are always encoded in eBlastEncodingProtein and always have sentinel bytes around sequence data. More...
 
static SBlastSequence GetSequenceCompressedNucleotide (IBlastSeqVector &sv)
 Auxiliary function to retrieve plus strand in compressed (ncbi4na) format. More...
 
static SBlastSequence GetSequenceSingleNucleotideStrand (IBlastSeqVector &sv, EBlastEncoding encoding, objects::ENa_strand strand, ESentinelType sentinel)
 Auxiliary function to retrieve a single strand of a nucleotide sequence. More...
 
static SBlastSequence GetSequenceNucleotideBothStrands (IBlastSeqVector &sv, EBlastEncoding encoding, ESentinelType sentinel)
 Auxiliary function to retrieve both strands of a nucleotide sequence. More...
 
char * s_GetCStringOfMatrixPath (string &full_path, const string &matrix_name)
 Get the path to the matrix, without the actual matrix name. More...
 
static bool BlastDbFileExists (string &path, bool is_prot)
 Checks if a BLAST database exists at a given file path: looks for an alias file first, then for an index file. More...
 
void Blast_FindDustFilterLoc (TSeqLocVector &query, const CBlastNucleotideOptionsHandle *nucl_handle)
 Finds dust locations for a given set of sequences by calling the the symmetric dust lib. More...
 
static CRef< CSeq_loc_Mappers_CreateSeqLocMapper (CSeq_id &query_id, const CSeq_loc *target_seqloc, CScope *scope)
 Auxiliary function to create CSeq_loc_Mapper from a copy of the target Seq-loc. More...
 
void s_CombineDustMasksWithUserProvidedMasks (CSeqVector &data, CConstRef< CSeq_loc > seqloc, CRef< CScope > scope, CRef< CSeq_id > query_id, CRef< CSeq_loc > &orig_query_mask, Uint4 level, Uint4 window, Uint4 linker)
 
void Blast_FindDustFilterLoc (TSeqLocVector &query, Uint4 level=CSymDustMasker::DEFAULT_LEVEL, Uint4 window=CSymDustMasker::DEFAULT_WINDOW, Uint4 linker=CSymDustMasker::DEFAULT_LINKER)
 Overloaded version of the function above which takes the filtering implementation's arguments directly, TSeqLocVector version. More...
 
void Blast_FindDustFilterLoc (CBlastQueryVector &query, Uint4 level=CSymDustMasker::DEFAULT_LEVEL, Uint4 window=CSymDustMasker::DEFAULT_WINDOW, Uint4 linker=CSymDustMasker::DEFAULT_LINKER)
 Overloaded version of the function above which takes the filtering implementation's arguments directly, CBlastQueryVector version. More...
 
 CFilteringMemento::CFilteringMemento (CBlastOptionsMemento *opts_memento)
 Parametrized constructor. More...
 
 CFilteringMemento::~CFilteringMemento ()
 Destructor. More...
 
static IBlastSeqInfoSrcs_InitSeqInfoSrc (const BlastSeqSrc *seqsrc)
 FIXME: this should be removed as soon as we safely can We will be able to do this once we are guaranteed that every constructor to CLocalBlast takes or can construct a IBlastSeqInfoSrc on it's own. More...
 
static void s_CheckForBlastSeqSrcErrors (const BlastSeqSrc *seqsrc)
 Checks if the BlastSeqSrc initialization succeeded. More...
 
static void s_ComputeBtopAndIdentity (const HSPChain *chain, string &btop, string &md_tag, double &perc_id, bool btop_splice_signals)
 
static CRef< CSeq_aligns_CreateSeqAlign (const HSPChain *chain, CRef< ILocalQueryData > &qdata, CRef< IBlastSeqInfoSrc > &seqinfo_src, const BlastQueryInfo *query_info, bool btop_splice_signals)
 
bool seq_align_pairs_first::operator() (const CRef< CSeq_align > &a, const CRef< CSeq_align > &b)
 
bool compare_alignments_fwrev_first::operator() (const CRef< CSeq_align > &a, const CRef< CSeq_align > &b)
 
bool compare_alignments_revfw_first::operator() (const CRef< CSeq_align > &a, const CRef< CSeq_align > &b)
 
static const char kGapChar ('-')
 The representation of a gap in ASCII format. More...
 
static void s_GetQuerySequenceData (const CBioseq &bioseq, size_t query_length, CNCBIstdaa &retval)
 Auxiliary function to retrieve the sequence data in NCBI-stdaa format from the bioseq. More...
 
static bool s_AreSequencesEqual (const CNCBIstdaa &sequence, Uint1 *query)
 Returns true iff sequence is identical to query. More...
 
static CRef< CBioseq_sets_QueryVectorToBioseqSet (const CBlastQueryVector &queries)
 Produces a BioseqSet from a CBlastQueryVector. More...
 
static CRef< CBioseq_sets_TSeqLocVectorToBioseqSet (const TSeqLocVector *queries)
 Produces a BioseqSet from a TSeqLocVector. More...
 
static IRemoteQueryData::TSeqLocs s_TSeqLocVectorToTSeqLocs (const TSeqLocVector *queries)
 Produces a vector of SeqLocs from a TSeqLocVector. More...
 
static IRemoteQueryData::TSeqLocs s_QueryVectorToTSeqLocs (const CBlastQueryVector &queries)
 Produces a vector of SeqLocs from a CBlastQueryVector. More...
 
 CObjMgr_LocalQueryData::CObjMgr_LocalQueryData (TSeqLocVector *queries, const CBlastOptions *options)
 Ctor that takes a vector of SSeqLocs. More...
 
 CObjMgr_LocalQueryData::CObjMgr_LocalQueryData (CBlastQueryVector &queries, const CBlastOptions *options)
 Ctor that takes a CBlastQueryVector (preferred over TSeqLocVector). More...
 
virtual BLAST_SequenceBlkCObjMgr_LocalQueryData::GetSequenceBlk ()
 Accessor for the BLAST_SequenceBlk structure. More...
 
virtual BlastQueryInfoCObjMgr_LocalQueryData::GetQueryInfo ()
 Accessor for the BlastQueryInfo structure. More...
 
virtual size_t CObjMgr_LocalQueryData::GetNumQueries ()
 Get the number of queries. More...
 
virtual CConstRef< CSeq_locCObjMgr_LocalQueryData::GetSeq_loc (size_t index)
 Get the Seq_loc for the sequence indicated by index. More...
 
virtual size_t CObjMgr_LocalQueryData::GetSeqLength (size_t index)
 Get the length of the sequence indicated by index. More...
 
 CObjMgr_RemoteQueryData::CObjMgr_RemoteQueryData (const TSeqLocVector *queries)
 Construct query data from a TSeqLocVector. More...
 
 CObjMgr_RemoteQueryData::CObjMgr_RemoteQueryData (CBlastQueryVector &queries)
 Construct query data from a CBlastQueryVector. More...
 
virtual CRef< objects::CBioseq_set > CObjMgr_RemoteQueryData::GetBioseqSet ()
 Accessor for the CBioseq_set. More...
 
virtual TSeqLocs CObjMgr_RemoteQueryData::GetSeqLocs ()
 Accessor for the TSeqLocs. More...
 
static EBlastProgramType s_GuessProgram (CConstRef< CSeq_loc > mask)
 Auxiliary function to help guess the program type from a CSeq-loc. More...
 
 CObjMgrFree_LocalQueryData::CObjMgrFree_LocalQueryData (CConstRef< CBioseq_set > bioseq_set, const CBlastOptions *options)
 
virtual BLAST_SequenceBlkCObjMgrFree_LocalQueryData::GetSequenceBlk ()
 Accessor for the BLAST_SequenceBlk structure. More...
 
virtual BlastQueryInfoCObjMgrFree_LocalQueryData::GetQueryInfo ()
 Accessor for the BlastQueryInfo structure. More...
 
virtual size_t CObjMgrFree_LocalQueryData::GetNumQueries ()
 Get the number of queries. More...
 
virtual CConstRef< CSeq_locCObjMgrFree_LocalQueryData::GetSeq_loc (size_t index)
 Get the Seq_loc for the sequence indicated by index. More...
 
virtual size_t CObjMgrFree_LocalQueryData::GetSeqLength (size_t index)
 Get the length of the sequence indicated by index. More...
 
static IRemoteQueryData::TSeqLocs s_ConstBioseqSetToSeqLocs (CConstRef< CBioseq_set > bioseq_set)
 Convert a constant reference to a Bioseq-set to IRemoteQueryData::TSeqLocs. More...
 
 CObjMgrFree_RemoteQueryData::CObjMgrFree_RemoteQueryData (CConstRef< CBioseq_set > bioseq_set)
 Construct query data from a CBioseq_set. More...
 
virtual CRef< CBioseq_setCObjMgrFree_RemoteQueryData::GetBioseqSet ()
 Accessor for the CBioseq_set. More...
 
virtual TSeqLocs CObjMgrFree_RemoteQueryData::GetSeqLocs ()
 Accessor for the TSeqLocs. More...
 
CRef< CBioseq_setx_BioseqSetFromBioseq (const CBioseq &bioseq)
 Auxiliary function to convert a CBioseq into a CRef<CBioseq_set> More...
 
 CPrelimSearchRunner::CPrelimSearchRunner (SInternalData &internal_data, const CBlastOptionsMemento *opts_memento)
 
 CPrelimSearchRunner::~CPrelimSearchRunner ()
 
int CPrelimSearchRunner::operator() ()
 
 CPrelimSearchRunner::CPrelimSearchRunner (const CPrelimSearchRunner &rhs)
 Prohibit copy constructor. More...
 
CPrelimSearchRunnerCPrelimSearchRunner::operator= (const CPrelimSearchRunner &rhs)
 Prohibit assignment operator. More...
 
 CPrelimSearchThread::CPrelimSearchThread (SInternalData &internal_data, const CBlastOptionsMemento *opts_memento)
 
virtual CPrelimSearchThread::~CPrelimSearchThread (void)
 
virtual void * CPrelimSearchThread::Main (void)
 Derived (user-created) class must provide a real thread function. More...
 
void s_FixNumIdent (BlastHSPList *hsp_list, bool gapped_calculation)
 
void s_GetBitScores (BlastHitList *hit_list, bool gapped_calculation, const BlastScoreBlk *sbp)
 
void PsiBlastSetupScoreBlock (BlastScoreBlk *score_blk, CConstRef< objects::CPssmWithParameters > pssm, TSearchMessages &messages, CConstRef< CBlastOptions > options)
 Setup CORE BLAST score block structure with data from the scoremat PSSM. More...
 
template<class T >
void Convert2Matrix (const list< T > &source, CNcbiMatrix< T > &dest, bool by_row, SIZE_TYPE num_rows, SIZE_TYPE num_columns)
 Convert a list of values into a CNcbiMatrix. More...
 
void PsiBlastAddAncillaryPssmData (objects::CPssmWithParameters &pssm, int gap_open, int gap_extend)
 Even though the query sequence and the matrix gap costs are not a product of the PSSM engine, set them as they are required for the PSI-BLAST (query sequence) and RPS-BLAST/formatrpsdb (gap costs) More...
 
static void s_AdjustFrequencyRatiosMatrixToMatchScoreMatrix (objects::CPssmWithParameters &pssm)
 After creating the PSSM from frequency ratios, adjust the frequency ratios matrix to match the dimensions of the score matrix. More...
 
void PsiBlastComputePssmScores (CRef< objects::CPssmWithParameters > pssm, const CBlastOptions &opts)
 Given a PSSM with frequency ratios and options, invoke the PSSM engine to compute the scores. More...
 
static double s_GetEvalue (const CScore &score)
 Returns the evalue from this score object. More...
 
static double s_GetBitScore (const CScore &score)
 Returns the bit_score from this score object. More...
 
double GetLowestEvalue (const objects::CDense_seg::TScores &scores, double *bit_score=NULL)
 Returns the lowest score from the list of scores in CDense_seg::TScores. More...
 
void CPsiBlastAlignmentProcessor::operator() (const objects::CSeq_align_set &alignments, double evalue_inclusion_threshold, THitIdentifiers &output)
 Extract all the THitId which have evalues below the inclusion threshold. More...
 
static void CPsiBlastValidate::Pssm (const objects::CPssmWithParameters &pssm, bool require_scores=false)
 Perform validation on the PSSM. More...
 
static void CPsiBlastValidate::QueryFactory (CRef< IQueryFactory > query_factory, const CBlastOptionsHandle &opts_handle, EQueryFactoryType query_factory_type=eQFT_Query)
 Function to perform sanity checks on the query factory. More...
 
 CPsiBlastImpl::CPsiBlastImpl (CRef< objects::CPssmWithParameters > pssm, CRef< CLocalDbAdapter > subject, CConstRef< CPSIBlastOptionsHandle > options)
 Constructor for restarting PSI-BLAST iterations with a previously generated PSSM. More...
 
 CPsiBlastImpl::CPsiBlastImpl (CRef< IQueryFactory > query, CRef< CLocalDbAdapter > subject, CConstRef< CBlastProteinOptionsHandle > options)
 Constructor to handle the first iteration of PSI-BLAST when the query is a protein sequence or when the performing an object manager free BLAST 2 Sequences search. More...
 
CRef< CSearchResultSetCPsiBlastImpl::Run ()
 Run the PSI-BLAST engine for one iteration. More...
 
void CPsiBlastImpl::SetPssm (CConstRef< objects::CPssmWithParameters > pssm)
 This method allows the same object to be reused when performing multiple iterations. More...
 
CConstRef< objects::CPssmWithParameters > CPsiBlastImpl::GetPssm () const
 Accessor for the most recently used PSSM. More...
 
void CPsiBlastImpl::SetResultType (EResultType type)
 Set the desired result type. More...
 
 CPsiBlastImpl::CPsiBlastImpl (const CPsiBlastImpl &rhs)
 Prohibit copy constructor. More...
 
CPsiBlastImplCPsiBlastImpl::operator= (const CPsiBlastImpl &rhs)
 Prohibit assignment operator. More...
 
void CPsiBlastImpl::x_Validate ()
 Perform sanity checks on input parameters. More...
 
void CPsiBlastImpl::x_CreatePssmScoresFromFrequencyRatios ()
 Computes the PSSM scores in case these are not available in the PSSM. More...
 
void CPsiBlastImpl::x_ExtractQueryFromPssm ()
 Auxiliary function to get the query sequence data from the ASN.1 PSSM Post-condition: (m_Query.Empty() == false) More...
 
static void s_CheckAgainstNullData (IPssmInputData *pssm_input_msa)
 This function makes sure that none of the required data is returned as NULL or "empty". More...
 
static void s_CheckAgainstNullData (IPssmInputFreqRatios *pssm_input_freqratios)
 This function makes sure that none of the required data is returned as NULL or "empty". More...
 
static void s_Validate (IPssmInputData *pssm_input_msa)
 Performs validation on data provided before invoking the CORE PSSM engine. More...
 
static void s_Validate (IPssmInputCdd *pssm_input)
 Performs validation on data provided before invoking the CORE PSSM engine. More...
 
static void s_Validate (IPssmInputFreqRatios *pssm_input_fr)
 Performs validation on data provided before invoking the CORE PSSM engine. More...
 
 SNcbiMatrix2DoubleMatrix::SNcbiMatrix2DoubleMatrix (const CNcbiMatrix< double > &m)
 Constructor. More...
 
 SNcbiMatrix2DoubleMatrix::~SNcbiMatrix2DoubleMatrix ()
 Destructor. More...
 
 SNcbiMatrix2DoubleMatrix::operator double ** ()
 Retrieves data in the format expected by the C CORE APIs. More...
 
static bool s_SearchPending (CRef< objects::CBlast4_reply > reply)
 Determine whether the search is still running. More...
 
static CRef< CBlast4_masks_CreateBlastMask (const CPacked_seqint &packed_int, EBlastProgramType program)
 Creates a Blast4-mask which is supposed to contain all masked locations for a given query sequence and frame, all of which are in the packed_int argument. More...
 
static const string kNoRIDSpecified ("Cannot fetch query info: No RID was specified.")
 
static const string kNoArchiveFile ("Cannot fetch query info: No archive file.")
 
static void s_ExtractQueryIdsFromBioseqSet (const CBioseq_set &bss, CSearchResultSet::TQueryIdVector &query_ids)
 Extract the query IDs from a CBioseq_set. More...
 
static CRef< CBlast4_request_bodys_BuildSearchInfoRequest (const string &rid, const string &name, const string &value)
 
static CRef< CSearchResultSets_BuildResultsRemote (CRemoteBlast &rb)
 Build a result set from results in a remote blast search. More...
 
static TSeqAlignVector s_SplitAlignVectorBySubjects (TSeqAlignVector seqaligns)
 CRemoteBlast does not separate each hit to the query in discontinuous Seq-aligns, so we do it here. More...
 
static CSeq_locs_BlastSeqLoc2CSeqloc (const CSeq_loc &query, CScope *scope, BlastSeqLoc *loc_list)
 Convert a list of mask locations to a CSeq_loc object. More...
 
static CSeq_locs_BlastSeqLoc2CSeqloc (SSeqLoc &query, BlastSeqLoc *loc_list)
 Convert a list of mask locations to a CSeq_loc object. More...
 
TMaskedQueryRegions s_BlastSeqLoc2MaskedRegions (const CSeq_loc &query, CScope *scope, BlastSeqLoc *loc_list, EBlastProgramType program)
 Convert a list of mask locations to TMaskedQueryRegions. More...
 
static void s_SeqAlignToBlastSeqLoc (const CSeq_align_set &alignment, BlastSeqLoc **locs)
 Build a list of BlastSeqLoc's from a set of Dense-seg contained in a Seq-align-set. More...
 
static void s_FillMaskLocFromBlastResults (TSeqLocVector &query, const CSearchResultSet &results)
 Fills the mask locations in the query SSeqLoc structures, as if it was a lower case mask, given the results of a BLAST search against a database of repeats. More...
 
static void s_FillMaskLocFromBlastResults (CBlastQueryVector &query, const CSearchResultSet &results, EBlastProgramType program)
 Fills the mask locations in the BlastSearchQuery structures, as if it was a lower case mask, given the results of a BLAST search against a database of repeats. More...
 
static CRef< CBlastOptionsHandles_CreateRepeatsSearchOptions ()
 Create an options handle with the defaults set for a search for repeats. More...
 
 CBlastRPSAuxInfo::CBlastRPSAuxInfo (const string &matrix, int gap_open, int gap_extend, double scale_factor, const vector< double > &karlin_k)
 Parametrized constructor. More...
 
 CBlastRPSAuxInfo::~CBlastRPSAuxInfo ()
 Destructor. More...
 
const BlastRPSAuxInfoCBlastRPSAuxInfo::operator() () const
 Lend the caller the pointer to the data structure this object manages. More...
 
 CBlastRPSAuxInfo::CBlastRPSAuxInfo (const CBlastRPSAuxInfo &rhs)
 Prohibit copy-constructor. More...
 
CBlastRPSAuxInfoCBlastRPSAuxInfo::operator= (const CBlastRPSAuxInfo &rhs)
 Prohibit assignment operator. More...
 
void CBlastRPSAuxInfo::x_DoDestroy ()
 Deallocates the structure owned by this class. More...
 
 CRpsAuxFile::CRpsAuxFile (const string &filename_no_extn)
 Parametrized constructor. More...
 
const BlastRPSAuxInfoCRpsAuxFile::operator() () const
 Lend the caller the pointer to the data structure this object manages. More...
 
CRef< CBlastRPSAuxInfoCRpsAuxFile::x_ReadFromFile (CNcbiIfstream &input)
 Auxiliary method to read the contents of the file into m_Data. More...
 
 CRpsMmappedFile::CRpsMmappedFile (const string &filename)
 Parametrized constructor. More...
 
 CRpsLookupTblFile::CRpsLookupTblFile (const string &filename_no_extn)
 Parametrized constructor. More...
 
const BlastRPSLookupFileHeaderCRpsLookupTblFile::operator() () const
 Lend the caller the pointer to the data structure this object manages. More...
 
 CRpsPssmFile::CRpsPssmFile (const string &filename_no_extn)
 Parametrized constructor. More...
 
const BlastRPSProfileHeaderCRpsPssmFile::operator() () const
 Lend the caller the pointer to the data structure this object manages. More...
 
 CRpsFreqsFile::CRpsFreqsFile (const string &filename_no_extn)
 Parametrized constructor. More...
 
const BlastRPSProfileHeaderCRpsFreqsFile::operator() () const
 Lend the caller the pointer to the data structure this object manages. More...
 
 CRpsObsrFile::CRpsObsrFile (const string &filename_no_extn)
 Parametrized constructor. More...
 
const BlastRPSProfileHeaderCRpsObsrFile::operator() () const
 Lend the caller the pointer to the data structure this object manages. More...
 
 CRpsFreqRatiosFile::CRpsFreqRatiosFile (const string &filename_no_extn)
 Parametrized constructor. More...
 
virtual CRpsFreqRatiosFile::~CRpsFreqRatiosFile ()
 
const BlastRPSFreqRatiosHeaderCRpsFreqRatiosFile::operator() () const
 Lend the caller the pointer to the data structure this object manages. More...
 
 CBioseqSeqInfoSrc::CBioseqSeqInfoSrc (const objects::CBioseq &bs, bool is_prot)
 Parametrized constructor. More...
 
 CBioseqSeqInfoSrc::CBioseqSeqInfoSrc (const objects::CBioseq_set &bss, bool is_prot)
 Parametrized constructor. More...
 
virtual list< CRef< objects::CSeq_id > > CBioseqSeqInfoSrc::GetId (Uint4 index) const
 Retrieve a sequence identifier given its index in the vector. More...
 
virtual CConstRef< objects::CSeq_loc > CBioseqSeqInfoSrc::GetSeqLoc (Uint4 index) const
 Retrieve a sequence identifier given its index in the vector. More...
 
virtual Uint4 CBioseqSeqInfoSrc::GetLength (Uint4 index) const
 Retrieve sequence length given its index in the vector. More...
 
virtual size_t CBioseqSeqInfoSrc::Size () const
 Returns the size of the underlying container of sequences. More...
 
virtual bool CBioseqSeqInfoSrc::HasGiList () const
 Is the subject restricted by a GI list? (Always returns false). More...
 
virtual bool CBioseqSeqInfoSrc::GetMasks (Uint4 index, const TSeqRange &target_range, TMaskedSubjRegions &retval) const
 Retrieves the subject masks for the corresponding index. More...
 
virtual bool CBioseqSeqInfoSrc::GetMasks (Uint4 index, const vector< TSeqRange > &target_ranges, TMaskedSubjRegions &retval) const
 Retrieves the subject masks for the corresponding index. More...
 
virtual bool CBioseqSeqInfoSrc::CanReturnPartialSequence () const
 Return true if the implementation can return anything besides a seq-loc for the entire sequence. More...
 
static void s_SeqIntervalToSeqLocInfo (CRef< CSeq_interval > interval, const vector< TSeqRange > &target_ranges, const CSeqLocInfo::ETranslationFrame frame, TMaskedSubjRegions &retval)
 
 CMultiSeqInfo::CMultiSeqInfo (TSeqLocVector &seq_vector, EBlastProgramType program, bool dbscan_mode)
 Constructor from a vector of sequence location/scope pairs and a BLAST program type. More...
 
 CMultiSeqInfo::~CMultiSeqInfo ()
 Destructor. More...
 
Uint4 CMultiSeqInfo::GetMaxLength ()
 Setter and getter functions for the private fields. More...
 
void CMultiSeqInfo::SetMaxLength (Uint4 val)
 Sets maximal length. More...
 
Uint4 CMultiSeqInfo::GetAvgLength ()
 Returns average length. More...
 
void CMultiSeqInfo::SetAvgLength (Uint4 val)
 Sets average length. More...
 
Int8 CMultiSeqInfo::GetTotLength ()
 Returns total length. More...
 
bool CMultiSeqInfo::GetIsProtein ()
 Answers whether sequences in this object are protein or nucleotide. More...
 
Uint4 CMultiSeqInfo::GetNumSeqs ()
 Returns number of sequences. More...
 
BLAST_SequenceBlkCMultiSeqInfo::GetSeqBlk (int index)
 Returns sequence block structure for one of the sequences. More...
 
static Int4 s_MultiSeqGetMaxLength (void *multiseq_handle, void *)
 The following functions interact with the C API, and have to be declared extern "C". More...
 
static Int4 s_MultiSeqGetMinLength (void *multiseq_handle, void *)
 Retrieves the length of the longest sequence in the BlastSeqSrc. More...
 
static Int4 s_MultiSeqGetAvgLength (void *multiseq_handle, void *)
 Retrieves the length of the longest sequence in the BlastSeqSrc. More...
 
static Int4 s_MultiSeqGetNumSeqs (void *multiseq_handle, void *)
 Retrieves the number of sequences in the BlastSeqSrc. More...
 
static Int4 s_MultiSeqGetNumSeqsStats (void *, void *)
 Returns zero as this implementation does not support alias files. More...
 
static Int8 s_MultiSeqGetTotLen (void *multiseq_handle, void *)
 Returns total length in db scan mode. More...
 
static Int8 s_MultiSeqGetTotLenStats (void *, void *)
 Returns 0 as this implementation does not use alias files. More...
 
static const char * s_MultiSeqGetName (void *, void *)
 Always returns NcbiEmptyCStr. More...
 
static Boolean s_MultiSeqGetIsProt (void *multiseq_handle, void *)
 Answers whether this object is for protein or nucleotide sequences. More...
 
static Int2 s_MultiSeqGetSequence (void *multiseq_handle, BlastSeqSrcGetSeqArg *args)
 Retrieves the sequence for a given index, in a given encoding. More...
 
static void s_MultiSeqReleaseSequence (void *, BlastSeqSrcGetSeqArg *args)
 Deallocates the uncompressed sequence buffer if necessary. More...
 
static Int4 s_MultiSeqGetSeqLen (void *multiseq_handle, void *args)
 Retrieve length of a given sequence. More...
 
static Int2 s_MultiSeqGetNextChunk (void *multiseq_handle, BlastSeqSrcIterator *itr)
 Mirrors the database iteration interface. More...
 
static void s_MultiSeqResetChunkIter (void *)
 Resets the internal bookmark iterator (N/A in this case) More...
 
static Int4 s_MultiSeqIteratorNext (void *multiseq_handle, BlastSeqSrcIterator *itr)
 Gets the next sequence index, given a BlastSeqSrc pointer. More...
 
 SMultiSeqSrcNewArgs::SMultiSeqSrcNewArgs (TSeqLocVector sv, EBlastProgramType p, bool db)
 Constructor. More...
 
static BlastSeqSrcs_MultiSeqSrcFree (BlastSeqSrc *seq_src)
 Multi sequence source destructor: frees its internal data structure. More...
 
static BlastSeqSrcs_MultiSeqSrcCopy (BlastSeqSrc *seq_src)
 Multi-sequence sequence source copier: creates a new reference to the CMultiSeqInfo object and copies the rest of the BlastSeqSrc structure. More...
 
static BlastSeqSrcs_MultiSeqSrcNew (BlastSeqSrc *retval, void *args)
 Multi-sequence source constructor. More...
 
 CQueryFactoryInfo::CQueryFactoryInfo (CRef< IQueryFactory > qf, EBlastProgramType program)
 Constructor from a vector of sequence location/scope pairs and a BLAST program type. More...
 
 CQueryFactoryInfo::CQueryFactoryInfo (const TSeqLocVector &subject_seqs, EBlastProgramType program)
 
 CQueryFactoryInfo::~CQueryFactoryInfo ()
 Destructor. More...
 
Uint4 CQueryFactoryInfo::GetMaxLength ()
 Setter and getter functions for the private fields. More...
 
Uint4 CQueryFactoryInfo::GetMinLength ()
 Returns minimal length of a set of sequences. More...
 
Uint4 CQueryFactoryInfo::GetAvgLength ()
 Returns average length. More...
 
void CQueryFactoryInfo::SetAvgLength (Uint4 val)
 Sets average length. More...
 
bool CQueryFactoryInfo::GetIsProtein ()
 Answers whether sequences in this object are protein or nucleotide. More...
 
Uint4 CQueryFactoryInfo::GetNumSeqs ()
 Returns number of sequences. More...
 
BLAST_SequenceBlkCQueryFactoryInfo::GetSeqBlk (Uint4 index)
 Returns sequence block structure for one of the sequences. More...
 
static Int4 s_QueryFactoryGetMaxLength (void *multiseq_handle, void *)
 The following functions interact with the C API, and have to be declared extern "C". More...
 
static Int4 s_QueryFactoryGetMinLength (void *multiseq_handle, void *)
 Retrieves the length of the longest sequence in the BlastSeqSrc. More...
 
static Int4 s_QueryFactoryGetAvgLength (void *multiseq_handle, void *)
 Retrieves the average length of the sequence in the BlastSeqSrc. More...
 
static Int4 s_QueryFactoryGetNumSeqs (void *multiseq_handle, void *)
 Retrieves the number of sequences in the BlastSeqSrc. More...
 
static Int4 s_QueryFactoryGetNumSeqsStats (void *, void *)
 Returns zero as this implementation does not use an alias file. More...
 
static Int8 s_QueryFactoryGetTotLen (void *, void *)
 Returns 0 as total length, indicating that this is NOT a database! More...
 
static Int8 s_QueryFactoryGetTotLenStats (void *, void *)
 Returns 0 as total statistic length, as this implementation does not use alias files. More...
 
static const char * s_QueryFactoryGetName (void *, void *)
 Always returns NcbiEmptyCStr. More...
 
static Boolean s_QueryFactoryGetIsProt (void *multiseq_handle, void *)
 Answers whether this object is for protein or nucleotide sequences. More...
 
static Int2 s_QueryFactoryGetSequence (void *multiseq_handle, BlastSeqSrcGetSeqArg *args)
 Retrieves the sequence for a given index, in a given encoding. More...
 
static void s_QueryFactoryReleaseSequence (void *, BlastSeqSrcGetSeqArg *args)
 Deallocates the uncompressed sequence buffer if necessary. More...
 
static Int4 s_QueryFactoryGetSeqLen (void *multiseq_handle, void *args)
 Retrieve length of a given sequence. More...
 
static Int2 s_QueryFactoryGetNextChunk (void *multiseq_handle, BlastSeqSrcIterator *itr)
 Mirrors the database iteration interface. More...
 
static void s_QueryFactoryResetChunkIter (void *)
 Resets the internal bookmark iterator (N/A in this case) More...
 
static Int4 s_QueryFactoryIteratorNext (void *multiseq_handle, BlastSeqSrcIterator *itr)
 Gets the next sequence index, given a BlastSeqSrc pointer. More...
 
 SQueryFactorySrcNewArgs::SQueryFactorySrcNewArgs (CRef< IQueryFactory > qf, const TSeqLocVector &subj_seqs, EBlastProgramType p)
 Constructor. More...
 
static BlastSeqSrcs_QueryFactorySrcFree (BlastSeqSrc *seq_src)
 Multi sequence source destructor: frees its internal data structure. More...
 
static BlastSeqSrcs_QueryFactorySrcCopy (BlastSeqSrc *seq_src)
 Multi-sequence sequence source copier: creates a new reference to the CQueryFactoryInfo object and copies the rest of the BlastSeqSrc structure. More...
 
static BlastSeqSrcs_QueryFactorySrcNew (BlastSeqSrc *retval, void *args)
 Multi-sequence source constructor. More...
 
static BlastSeqSrcs_QueryFactoryBlastSeqSrcInit (CRef< IQueryFactory > query_factory, const TSeqLocVector &subj_seqs, EBlastProgramType program)
 
BlastSeqSrcQueryFactoryBlastSeqSrcInit (CRef< IQueryFactory > query_factory, EBlastProgramType program)
 Initialize the sequence source structure from a query factory. More...
 
BlastSeqSrcQueryFactoryBlastSeqSrcInit (const TSeqLocVector &subj_seqs, EBlastProgramType program)
 Initialize the sequence source structure from a TSeqLocVector. More...
 
 USING_SCOPE (blast)
 
 SSeqDB_SeqSrc_Data::SSeqDB_SeqSrc_Data ()
 Constructor. More...
 
 SSeqDB_SeqSrc_Data::SSeqDB_SeqSrc_Data (CSeqDB *ptr, int id, ESubjectMaskingType type)
 Constructor. More...
 
SSeqDB_SeqSrc_DataSSeqDB_SeqSrc_Data::clone ()
 Make a copy of this object, sharing the same SeqDB object. More...
 
CSeqDBExpertSSeqDB_SeqSrc_Data::operator-> ()
 Convenience to allow datap->method to use SeqDB methods. More...
 
CSeqDBExpertSSeqDB_SeqSrc_Data::operator* ()
 Convenience to allow datap->method to use SeqDB methods. More...
 
static Int4 s_SeqDbGetMaxLength (void *seqdb_handle, void *)
 Retrieves the length of the longest sequence in the BlastSeqSrc. More...
 
static Int4 s_SeqDbGetMinLength (void *seqdb_handle, void *)
 Retrieves the length of the shortest sequence in the BlastSeqSrc. More...
 
static void s_SeqDbSetNumberOfThreads (void *seqdb_handle, int n)
 Setting number of threads in MT mode. More...
 
static Int4 s_SeqDbGetNumSeqs (void *seqdb_handle, void *)
 Retrieves the number of sequences in the BlastSeqSrc. More...
 
static Int4 s_SeqDbGetNumSeqsStats (void *seqdb_handle, void *)
 Retrieves the number of sequences from alias file to be used for. More...
 
static Int8 s_SeqDbGetTotLen (void *seqdb_handle, void *)
 Retrieves the total length of all sequences in the BlastSeqSrc. More...
 
static Int8 s_SeqDbGetTotLenStats (void *seqdb_handle, void *)
 Retrieves the total length of all sequences from alias file. More...
 
static Int4 s_SeqDbGetAvgLength (void *seqdb_handle, void *ignoreme)
 Retrieves the average length of sequences in the BlastSeqSrc. More...
 
static const char * s_SeqDbGetName (void *seqdb_handle, void *)
 Retrieves the name of the BLAST database. More...
 
static Boolean s_SeqDbGetIsProt (void *seqdb_handle, void *)
 Checks whether database is protein or nucleotide. More...
 
static Boolean s_SeqDbGetSupportsPartialFetching (void *seqdb_handle, void *)
 Determine if partial fetching should be enabled. More...
 
static void s_SeqDbSetRanges (void *seqdb_handle, BlastSeqSrcSetRangesArg *args)
 Set sequence ranges for partial fetching. More...
 
static Int2 s_SeqDbGetSequence (void *seqdb_handle, BlastSeqSrcGetSeqArg *args)
 Retrieves the sequence meeting the criteria defined by its second argument. More...
 
static void s_SeqDbReleaseSequence (void *seqdb_handle, BlastSeqSrcGetSeqArg *args)
 Returns the memory allocated for the sequence buffer to the CSeqDB interface. More...
 
static Int4 s_SeqDbGetSeqLen (void *seqdb_handle, void *args)
 Retrieve length of a given database sequence. More...
 
static Int2 s_SeqDbGetNextChunk (void *seqdb_handle, BlastSeqSrcIterator *itr)
 Assigns next chunk of the database to the sequence source iterator. More...
 
static Int4 s_SeqDbIteratorNext (void *seqdb_handle, BlastSeqSrcIterator *itr)
 Finds the next not searched ordinal id in the iteration over BLAST database. More...
 
static void s_SeqDbResetChunkIterator (void *seqdb_handle)
 Resets CSeqDB's internal chunk bookmark. More...
 
 CSeqDbSrcNewArgs::CSeqDbSrcNewArgs (const string &db, bool is_prot, Uint4 first_oid=0, Uint4 final_oid=0, Int4 mask_algo_id=-1, ESubjectMaskingType mask_type=eNoSubjMasking)
 Constructor. More...
 
const string CSeqDbSrcNewArgs::GetDbName () const
 Getter functions for the private fields. More...
 
char CSeqDbSrcNewArgs::GetDbType () const
 Returns database type: protein or nucleotide. More...
 
Uint4 CSeqDbSrcNewArgs::GetFirstOid () const
 Returns first database ordinal id covered by this BlastSeqSrc. More...
 
Uint4 CSeqDbSrcNewArgs::GetFinalOid () const
 Returns last database ordinal id covered by this BlastSeqSrc. More...
 
Int4 CSeqDbSrcNewArgs::GetMaskAlgoId () const
 Returns the default filtering algorithm to use with sequence data extracted from this BlastSeqSrc. More...
 
ESubjectMaskingType CSeqDbSrcNewArgs::GetMaskType () const
 
static BlastSeqSrcs_SeqDbSrcFree (BlastSeqSrc *seq_src)
 SeqDb sequence source destructor: frees its internal data structure. More...
 
static BlastSeqSrcs_SeqDbSrcCopy (BlastSeqSrc *seq_src)
 SeqDb sequence source copier: creates a new reference to the CSeqDB object and copies the rest of the BlastSeqSrc structure. More...
 
static void s_InitNewSeqDbSrc (BlastSeqSrc *retval, TSeqDBData *datap)
 Initializes the data structure and function pointers in a SeqDb based BlastSeqSrc. More...
 
static BlastSeqSrcs_SeqDbSrcSharedNew (BlastSeqSrc *retval, void *args)
 Populates a BlastSeqSrc, creating a new reference to the already existing SeqDb object. More...
 
static BlastSeqSrcs_SeqDbSrcNew (BlastSeqSrc *retval, void *args)
 SeqDb sequence source constructor. More...
 
static CRef< CPacked_seqints_LocalQueryData2Packed_seqint (ILocalQueryData &query_data)
 Auxiliary function to extract the Seq-ids from the ILocalQueryData and bundle them in a Packed-seqint. More...
 
 CQuerySplitter::CQuerySplitter (CRef< IQueryFactory > query_factory, const CBlastOptions *options)
 Parametrized constructor. More...
 
size_t CQuerySplitter::GetChunkSize () const
 Returns the number of bases/residues that make up a query chunk. More...
 
Uint4 CQuerySplitter::GetNumberOfChunks () const
 Returns the number of chunks the query/queries will be split into. More...
 
bool CQuerySplitter::IsQuerySplit () const
 Determines whether the query sequence(s) are split or not. More...
 
CRef< CSplitQueryBlkCQuerySplitter::Split ()
 Split the query sequence(s) More...
 
CRef< IQueryFactoryCQuerySplitter::GetQueryFactoryForChunk (Uint4 chunk_num)
 Returns a IQueryFactory suitable to be executed by a BLAST search class. More...
 
void CQuerySplitter::x_ExtractCScopesAndMasks ()
 Auxiliary method to extract the CScope objects from the query factory. More...
 
void CQuerySplitter::x_ComputeChunkRanges ()
 Compute all chunk ranges. More...
 
void CQuerySplitter::x_ComputeQueryIndicesForChunks ()
 Compute query indices that correspond to each chunk. More...
 
void CQuerySplitter::x_ComputeQueryContextsForChunks ()
 Compute query contexts that correspond to each chunk. More...
 
void CQuerySplitter::x_ComputeContextOffsetsForChunks ()
 Compute the context offsets which are used to adjust the results. More...
 
void CQuerySplitter::x_ComputeContextOffsets_TranslatedQueries ()
 Compute the context offsets which are used to adjust the results for translated queries. More...
 
void CQuerySplitter::x_ComputeContextOffsets_NonTranslatedQueries ()
 Compute the context offsets which are used to adjust the results for non-translated queries. More...
 
 CQuerySplitter::CQuerySplitter (const CQuerySplitter &rhs)
 Prohibit copy constructor. More...
 
CQuerySplitterCQuerySplitter::operator= (const CQuerySplitter &rhs)
 Prohibit assignment operator. More...
 
size_t SplitQuery_GetOverlapChunkSize (EBlastProgramType program)
 Size of the region that overlaps in between each query chunk. More...
 
bool SplitQuery_ShouldSplit (EBlastProgramType program, size_t chunk_size, size_t concatenated_query_length, size_t num_queries)
 Determines if the input query sequence(s) should be split because it. More...
 
Uint4 SplitQuery_CalculateNumChunks (EBlastProgramType program, size_t *chunk_size, size_t concatenated_query_length, size_t num_queries)
 Calculate the number of chunks that a query will be split into based upon query length, chunk_size and program. More...
 
void SplitQuery_SetEffectiveSearchSpace (CRef< CBlastOptions > options, CRef< IQueryFactory > full_query_fact, CRef< SInternalData > full_data)
 this might supercede the function below... More...
 
CRef< SInternalDataSplitQuery_CreateChunkData (CRef< IQueryFactory > qf, CRef< CBlastOptions > options, CRef< SInternalData > full_data, size_t num_threaded=1)
 Function used by search class to retrieve a query factory for a given chunk. More...
 
ostream & operator<< (ostream &out, const CContextTranslator &rhs)
 
 CContextTranslator::CContextTranslator (const CSplitQueryBlk &sqb, vector< CRef< IQueryFactory > > *query_chunk_factories=NULL, const CBlastOptions *options=NULL)
 Constructor. More...
 
int CContextTranslator::GetAbsoluteContext (size_t chunk_num, Int4 context_in_chunk) const
 Get the context number in the absolute (i.e. More...
 
int CContextTranslator::GetContextInChunk (size_t chunk_num, int absolute_context) const
 Get the context number in the split query chunk. More...
 
int CContextTranslator::GetStartingChunk (size_t curr_chunk, Int4 context_in_chunk) const
 Get the chunk number where context_in_chunk starts (i.e. More...
 
 CQueryDataPerChunk::CQueryDataPerChunk (const CSplitQueryBlk &sqb, EBlastProgramType program, CRef< ILocalQueryData > local_query_data)
 Constructor. More...
 
size_t CQueryDataPerChunk::GetQueryLength (size_t chunk_num, int context_in_chunk) const
 Get the length of the query. More...
 
size_t CQueryDataPerChunk::GetQueryLength (int global_query_index) const
 Get the length of the query. More...
 
int CQueryDataPerChunk::GetLastChunk (int global_query_index)
 get the last chunk where query identified with global_query_index is found More...
 
int CQueryDataPerChunk::GetLastChunk (size_t chunk_num, int context_in_chunk)
 get the last chunk where query identified with global_query_index is found More...
 
size_t CQueryDataPerChunk::x_ContextInChunkToQueryIndex (int context_in_chunk) const
 Convert a context in a chunk to a query index (within the chunk) More...
 
template<class T >
string s_PrintVector (const vector< T > &data2print)
 Auxiliary function to print a vector. More...
 
ostream & operator<< (ostream &out, const CSplitQueryBlk &rhs)
 
 CSplitQueryBlk::CSplitQueryBlk (Uint4 num_chunks, bool gapped_merge=true)
 Constructor for wrapper class for SSplitQueryBlk. More...
 
 CSplitQueryBlk::~CSplitQueryBlk ()
 Destructor. More...
 
size_t CSplitQueryBlk::GetNumChunks () const
 Retrieve the number of chunks. More...
 
size_t CSplitQueryBlk::GetNumQueriesForChunk (size_t chunk_num) const
 Get the number of queries in a given chunk. More...
 
vector< size_t > CSplitQueryBlk::GetQueryIndices (size_t chunk_num) const
 Get the indices of the queries contained in a given chunk. More...
 
vector< intCSplitQueryBlk::GetQueryContexts (size_t chunk_num) const
 Get the contexts of the queries contained in a given chunk. More...
 
vector< size_t > CSplitQueryBlk::GetContextOffsets (size_t chunk_num) const
 Get the context offsets (corrections) of the queries contained in a given chunk. More...
 
TChunkRange CSplitQueryBlk::GetChunkBounds (size_t chunk_num) const
 Get the boundaries of a chunk in the concatenated query. More...
 
void CSplitQueryBlk::SetChunkBounds (size_t chunk_num, const TChunkRange &chunk_range)
 Set the boundaries of a chunk in the concatenated query. More...
 
void CSplitQueryBlk::AddQueryToChunk (size_t chunk_num, Int4 query_index)
 Adds a query index to a given chunk. More...
 
void CSplitQueryBlk::AddContextToChunk (size_t chunk_num, Int4 context_index)
 Adds a query context to a given chunk. More...
 
void CSplitQueryBlk::AddContextOffsetToChunk (size_t chunk_num, Int4 context_offset)
 Adds a context offset (correction) to a given chunk. More...
 
SSplitQueryBlkCSplitQueryBlk::GetCStruct () const
 Returns the C structure managed by objects of this class. More...
 
void CSplitQueryBlk::SetChunkOverlapSize (size_t size)
 Sets the size (# of bases/residues) of overlap between query chunks. More...
 
size_t CSplitQueryBlk::GetChunkOverlapSize () const
 Gets the size (# of bases/residues) of overlap between query chunks. More...
 
 CSplitQueryBlk::CSplitQueryBlk (const CSplitQueryBlk &rhs)
 Do not allow copy-construction. More...
 
CSplitQueryBlkCSplitQueryBlk::operator= (const CSplitQueryBlk &rhs)
 Do not allow assignment operator. More...
 
static bool s_IsNumericId (const string &id)
 
static string s_WINDOW_MASKER_STAT_FILE_NAME ("wmasker.obinary")
 
static string s_WINDOW_MASKER_PATH (kEmptyStr)
 
 DEFINE_STATIC_MUTEX (InitMutex)
 
CSeqMaskers_BuildSeqMasker (const string &lstat)
 
void s_BuildMaskedRanges (CSeqMasker::TMaskList &masks, const CSeq_loc &seqloc, CSeq_id &query_id, TMaskedQueryRegions *mqr, CRef< CSeq_loc > *psl)
 
template<class TQueries >
void Blast_FindWindowMaskerLoc_Fwd (TQueries &query, const CBlastOptions *opts)
 
template<class TQueries >
void Blast_FindWindowMaskerLoc_Fwd (TQueries &query, const CBlastOptionsHandle *opts_handle)
 
void Blast_FindWindowMaskerLoc (CBlastQueryVector &query, const CBlastOptions *opts_handle)
 Find Window Masker filtered locations using a BlastOptions. More...
 
void Blast_FindWindowMaskerLoc (TSeqLocVector &query, const CBlastOptions *opts)
 Find Window Masker filtered locations using BlastOptions. More...
 
void Blast_FindWindowMaskerLoc (CBlastQueryVector &query, const CBlastOptionsHandle *opts_handle)
 Find Window Masker filtered locations using a BlastOptionsHandle. More...
 
void Blast_FindWindowMaskerLoc (TSeqLocVector &query, const CBlastOptionsHandle *opts_handle)
 Find Window Masker filtered locations using a BlastOptionsHandle. More...
 
void Blast_FindWindowMaskerLoc (CBlastQueryVector &query, const string &lstat)
 Find Window Masker filtered locations by database name. More...
 
void Blast_FindWindowMaskerLoc (TSeqLocVector &query, const string &lstat)
 Find Window Masker filtered locations on TSeqLocVector by database name. More...
 
static string s_FindPathToWM (void)
 Find the path to the window masker files, first checking the (optionally set) value passed to the WindowMaskerPathInit function, then the environment variable WINDOW_MASKER_PATH, then the section WINDOW_MASKER, label WINDOW_MASKER_PATH in the NCBI configuration file. More...
 
void Blast_FindWindowMaskerLocTaxId (CBlastQueryVector &query, int taxid)
 Find Window Masker filtered locations by taxonomic ID. More...
 
void Blast_FindWindowMaskerLocTaxId (TSeqLocVector &query, int taxid)
 Find Window Masker filtered locations on a TSeqLocVector by Taxid. More...
 
static void s_OldGetTaxIdWithWindowMaskerSupport (set< int > &supported_taxids)
 
 CAutoNcbiConfigFile::CAutoNcbiConfigFile (EConfigOpts opts=blast::SDataLoaderConfig::eDefault)
 
void CAutoNcbiConfigFile::SetProteinBlastDbDataLoader (const string &prot_db_name)
 
void CAutoNcbiConfigFile::SetNucleotideBlastDbDataLoader (const string &nucl_db_name)
 
void CAutoNcbiConfigFile::RemoveBLASTDBEnvVar ()
 
 CAutoNcbiConfigFile::~CAutoNcbiConfigFile ()
 
 CAutoNcbiConfigFile::CAutoNcbiConfigFile (const CAutoNcbiConfigFile &)=delete
 
CAutoNcbiConfigFileCAutoNcbiConfigFile::operator= (const CAutoNcbiConfigFile &)=delete
 
 CBlastScopeSourceWrapper::CBlastScopeSourceWrapper ()
 
 CBlastScopeSourceWrapper::CBlastScopeSourceWrapper (blast::SDataLoaderConfig dlconfig)
 
CRef< CScopeCBlastScopeSourceWrapper::NewScope ()
 
string CBlastScopeSourceWrapper::GetBlastDbLoaderName () const
 
 CBlastScopeSourceWrapper::~CBlastScopeSourceWrapper ()
 
static CRef< CBlast4_ka_blocks_Convert_to_CBlast_ka_block (const Blast_KarlinBlk *kablk, bool gapped)
 
static CRef< objects::CBlast4_archive > s_BuildArchiveAll (CRef< CExportStrategy > export_strategy, blast::CBlastOptionsHandle &options_handle, const CSearchResultSet &results)
 
static void s_ReadLinesFromFile (const string &fn, vector< string > &lines)
 
static bool s_CompareSeqAlignByScoreAndName (const CRef< CSeq_align > &x, const CRef< CSeq_align > &y)
 
static bool s_IsSeqAlignAsGood (const CRef< CSeq_align > &x, const CRef< CSeq_align > &y)
 
static string s_RemoveLocalPrefix (const string &sid)
 
static string s_MakeTopHitsId (const CSeq_align_set::Tdata &align_list, int num_align)
 
static bool s_SeqAlignInSet (CSeq_align_set::Tdata &align_list, CRef< CSeq_align > &align)
 
static bool s_CompareSeqAlignByEvalue (const CRef< CSeq_align > &x, const CRef< CSeq_align > &y)
 
static bool s_CompareSeqAlignByScore (const CRef< CSeq_align > &x, const CRef< CSeq_align > &y)
 
static bool s_DJNotCompatible (const CSeq_align &d, const CSeq_align &j, bool ms, int margin)
 
static void s_ProcessErrorsFromReply (CRef< objects::CBlast4_reply > reply, string &errors, string &warnings)
 Process error messages from a reply object. More...
 
static void s_GetSeqsFromReply (CRef< objects::CBlast4_reply > reply, CBlastServices::TBioseqVector &bioseqs, string &errors, string &warnings)
 Get bioseqs from a sequence fetching reply. More...
 
static EBlast4_residue_type s_SeqTypeToResidue (char p, string &errors)
 
static CRef< objects::CBlast4_request > s_BuildGetSeqRequest (CBlastServices::TSeqIdVector &seqids, const string &database, char seqtype, bool skip_seq_data, bool target_only, string &errors)
 Build Sequence Fetching Request. More...
 
static void s_GetSequences (CBlastServices::TSeqIdVector &seqids, const string &database, char seqtype, bool skip_seq_data, bool target_only, CBlastServices::TBioseqVector &bioseqs, string &errors, string &warnings, bool verbose)
 Main function to issue a Blast4-get-sequences-request and collect its results from the remote BLAST server. More...
 
static CRef< objects::CBlast4_request > s_BuildGetSeqPartsRequest (const CBlastServices::TSeqIntervalVector &seqids, const string &database, char seqtype, string &errors)
 Build Sequence Parts Fetching Request. More...
 
static void s_GetPartsFromReply (CRef< objects::CBlast4_reply > reply, CBlastServices::TSeqIdVector &ids, CBlastServices::TSeqDataVector &seq_data, string &errors, string &warnings)
 Extract information from the get-seq-parts reply object. More...
 
void TQueryMessages::SetQueryId (const string &id)
 Set the query id as a string. More...
 
string TQueryMessages::GetQueryId () const
 Get the query id as a string. More...
 
void TQueryMessages::Combine (const TQueryMessages &other)
 Combine other messages with these. More...
 
bool TSearchMessages::HasMessages () const
 
string TSearchMessages::ToString () const
 Converts messages to a string, which is returned. More...
 
void TSearchMessages::Combine (const TSearchMessages &other_msgs)
 Combine another set of search messages with this one. More...
 
void TSearchMessages::RemoveDuplicates ()
 Find and remove redundant messages. More...
 
void TSearchMessages::AddMessageAllQueries (EBlastSeverity severity, int error_id, const string &message)
 Add a message for all queries. More...
 
 CBlastOptions::CBlastOptions (EAPILocality locality=eLocal)
 Constructor which allows specification of local or remote version of the options (might change in the future) More...
 
 CBlastOptions::~CBlastOptions ()
 Destructor. More...
 
CRef< CBlastOptionsCBlastOptions::Clone () const
 Explicit deep copy of the Blast options object. More...
 
EAPILocality CBlastOptions::GetLocality () const
 Return the locality used when the object was created. More...
 
const CBlastOptionsMementoCBlastOptions::CreateSnapshot () const
 Create a snapshot of the state of this object for internal use of its data structures (BLAST C++ APIs only) More...
 
bool CBlastOptions::operator== (const CBlastOptions &rhs) const
 
bool CBlastOptions::operator!= (const CBlastOptions &rhs) const
 
bool CBlastOptions::Validate () const
 Validate the options. More...
 
EProgram CBlastOptions::GetProgram () const
 Accessors/Mutators for individual options. More...
 
EBlastProgramType CBlastOptions::GetProgramType () const
 Returns the CORE BLAST notion of program type. More...
 
void CBlastOptions::SetProgram (EProgram p)
 Sets the task this object is best suited for. More...
 
bool CBlastOptions::IsIterativeSearch () const
 
double CBlastOptions::GetWordThreshold () const
 Returns WordThreshold. More...
 
void CBlastOptions::SetWordThreshold (double w)
 Sets WordThreshold. More...
 
ELookupTableType CBlastOptions::GetLookupTableType () const
 
void CBlastOptions::SetLookupTableType (ELookupTableType type)
 
int CBlastOptions::GetWordSize () const
 
void CBlastOptions::SetWordSize (int ws)
 
Uint4 CBlastOptions::GetLookupTableStride () const
 
void CBlastOptions::SetLookupTableStride (Uint4 val)
 
bool CBlastOptions::GetLookupDbFilter (void) const
 
void CBlastOptions::SetLookupDbFilter (bool val)
 
Uint1 CBlastOptions::GetMaxDbWordCount (void) const
 Get maximum word count for lookup table word masking by database frequency. More...
 
void CBlastOptions::SetMaxDbWordCount (Uint1 num)
 Set maximum word count for lookup table word masking by database frequency. More...
 
unsigned char CBlastOptions::GetMBTemplateLength () const
 Megablast only lookup table options. More...
 
void CBlastOptions::SetMBTemplateLength (unsigned char len)
 
unsigned char CBlastOptions::GetMBTemplateType () const
 
void CBlastOptions::SetMBTemplateType (unsigned char type)
 
void CBlastOptions::ClearFilterOptions ()
 
char * CBlastOptions::GetFilterString () const
 Return the filtering string used. More...
 
void CBlastOptions::SetFilterString (const char *f, bool clear=true)
 
bool CBlastOptions::GetMaskAtHash () const
 
void CBlastOptions::SetMaskAtHash (bool val=true)
 
bool CBlastOptions::GetDustFiltering () const
 
void CBlastOptions::SetDustFiltering (bool val=true)
 
int CBlastOptions::GetDustFilteringLevel () const
 
void CBlastOptions::SetDustFilteringLevel (int m)
 
int CBlastOptions::GetDustFilteringWindow () const
 
void CBlastOptions::SetDustFilteringWindow (int m)
 
int CBlastOptions::GetDustFilteringLinker () const
 
void CBlastOptions::SetDustFilteringLinker (int m)
 
bool CBlastOptions::GetSegFiltering () const
 
void CBlastOptions::SetSegFiltering (bool val=true)
 
int CBlastOptions::GetSegFilteringWindow () const
 
void CBlastOptions::SetSegFilteringWindow (int m)
 
double CBlastOptions::GetSegFilteringLocut () const
 
void CBlastOptions::SetSegFilteringLocut (double m)
 
double CBlastOptions::GetSegFilteringHicut () const
 
void CBlastOptions::SetSegFilteringHicut (double m)
 
bool CBlastOptions::GetRepeatFiltering () const
 Returns true if repeat filtering is on. More...
 
void CBlastOptions::SetRepeatFiltering (bool val=true)
 Turns on repeat filtering using the default repeat database, namely kDefaultRepeatFilterDb. More...
 
const char * CBlastOptions::GetRepeatFilteringDB () const
 Returns the name of the repeat filtering database to use. More...
 
void CBlastOptions::SetRepeatFilteringDB (const char *db)
 Sets the repeat filtering database to use. More...
 
int CBlastOptions::GetWindowMaskerTaxId () const
 Returns the tax id used for the windowmasker database to use, if set via SetWindowMaskerTaxId (otherwise, returns 0) More...
 
void CBlastOptions::SetWindowMaskerTaxId (int taxid)
 Sets the tax id to select an appropriate windowmasker database Conversion algorithm from tax id to database name is specific to NCBI, will not work outside NCBI. More...
 
const char * CBlastOptions::GetWindowMaskerDatabase () const
 Return the name of the windowmasker database to use. More...
 
void CBlastOptions::SetWindowMaskerDatabase (const char *db)
 Sets the windowmasker database to use. More...
 
bool CBlastOptions::GetReadQualityFiltering () const
 Returns true if next-generation read quality filtering is turned on. More...
 
void CBlastOptions::SetReadQualityFiltering (bool val=true)
 Turn on/off next-generation read quality filtering with deafult parameters. More...
 
double CBlastOptions::GetReadMaxFractionAmbiguous () const
 Get maximum fraction of ambiguous bases for next-generation read quality filtering. More...
 
void CBlastOptions::SetReadMaxFractionAmbiguous (double val)
 Set maximum fraction of ambiguous bases for next-generation read quality filtering. More...
 
int CBlastOptions::GetReadMinDimerEntropy () const
 Get minimum dimer entropy for next-generation read quality filtering. More...
 
void CBlastOptions::SetReadMinDimerEntropy (int val)
 Set minimum dimer entropy for next-generation read quality filtering. More...
 
objects::ENa_strand CBlastOptions::GetStrandOption () const
 
void CBlastOptions::SetStrandOption (objects::ENa_strand s)
 
int CBlastOptions::GetQueryGeneticCode () const
 
void CBlastOptions::SetQueryGeneticCode (int gc)
 
int CBlastOptions::GetWindowSize () const
 
void CBlastOptions::SetWindowSize (int w)
 
int CBlastOptions::GetOffDiagonalRange () const
 
void CBlastOptions::SetOffDiagonalRange (int r)
 
double CBlastOptions::GetXDropoff () const
 
void CBlastOptions::SetXDropoff (double x)
 
double CBlastOptions::GetGapXDropoff () const
 
void CBlastOptions::SetGapXDropoff (double x)
 
double CBlastOptions::GetGapXDropoffFinal () const
 
void CBlastOptions::SetGapXDropoffFinal (double x)
 
double CBlastOptions::GetGapTrigger () const
 
void CBlastOptions::SetGapTrigger (double g)
 
EBlastPrelimGapExt CBlastOptions::GetGapExtnAlgorithm () const
 
void CBlastOptions::SetGapExtnAlgorithm (EBlastPrelimGapExt a)
 
EBlastTbackExt CBlastOptions::GetGapTracebackAlgorithm () const
 
void CBlastOptions::SetGapTracebackAlgorithm (EBlastTbackExt a)
 
ECompoAdjustModes CBlastOptions::GetCompositionBasedStats () const
 
void CBlastOptions::SetCompositionBasedStats (ECompoAdjustModes mode)
 
bool CBlastOptions::GetSmithWatermanMode () const
 
void CBlastOptions::SetSmithWatermanMode (bool m=true)
 
int CBlastOptions::GetUnifiedP () const
 
void CBlastOptions::SetUnifiedP (int u=0)
 
int CBlastOptions::GetMaxMismatches () const
 
void CBlastOptions::SetMaxMismatches (int m)
 
int CBlastOptions::GetMismatchWindow () const
 
void CBlastOptions::SetMismatchWindow (int w)
 
bool CBlastOptions::GetChaining () const
 
void CBlastOptions::SetChaining (bool ch)
 
int CBlastOptions::GetHitlistSize () const
 
void CBlastOptions::SetHitlistSize (int s)
 
int CBlastOptions::GetMaxNumHspPerSequence () const
 
void CBlastOptions::SetMaxNumHspPerSequence (int m)
 
int CBlastOptions::GetMaxHspsPerSubject () const
 
void CBlastOptions::SetMaxHspsPerSubject (int m)
 
int CBlastOptions::GetCullingLimit () const
 
void CBlastOptions::SetCullingLimit (int s)
 
bool CBlastOptions::GetSubjectBestHit () const
 
void CBlastOptions::SetSubjectBestHit ()
 
double CBlastOptions::GetBestHitOverhang () const
 
void CBlastOptions::SetBestHitOverhang (double overhang)
 
double CBlastOptions::GetBestHitScoreEdge () const
 
void CBlastOptions::SetBestHitScoreEdge (double score_edge)
 
double CBlastOptions::GetEvalueThreshold () const
 
void CBlastOptions::SetEvalueThreshold (double eval)
 
int CBlastOptions::GetCutoffScore () const
 
void CBlastOptions::SetCutoffScore (int s)
 
vector< double > CBlastOptions::GetCutoffScoreCoeffs () const
 
void CBlastOptions::SetCutoffScoreCoeffs (const vector< double > &c)
 
double CBlastOptions::GetPercentIdentity () const
 
void CBlastOptions::SetPercentIdentity (double p)
 
int CBlastOptions::GetMaxEditDistance () const
 
void CBlastOptions::SetMaxEditDistance (int e)
 
double CBlastOptions::GetQueryCovHspPerc () const
 
void CBlastOptions::SetQueryCovHspPerc (double p)
 
int CBlastOptions::GetMinDiagSeparation () const
 
void CBlastOptions::SetMinDiagSeparation (int d)
 
bool CBlastOptions::GetSumStatisticsMode () const
 Sum statistics options. More...
 
void CBlastOptions::SetSumStatisticsMode (bool m=true)
 
int CBlastOptions::GetLongestIntronLength () const
 for linking HSPs with uneven gaps More...
 
void CBlastOptions::SetLongestIntronLength (int l)
 for linking HSPs with uneven gaps More...
 
bool CBlastOptions::GetGappedMode () const
 Returns true if gapped BLAST is set, false otherwise. More...
 
void CBlastOptions::SetGappedMode (bool m=true)
 
int CBlastOptions::GetMaskLevel () const
 Masklevel filtering option -RMH-. More...
 
void CBlastOptions::SetMaskLevel (int s)
 
bool CBlastOptions::GetComplexityAdjMode () const
 Returns true if cross_match-like complexity adjusted. More...
 
void CBlastOptions::SetComplexityAdjMode (bool m=true)
 
double CBlastOptions::GetLowScorePerc () const
 Sets a low score to drop ungapped alignments if hit list is full. More...
 
void CBlastOptions::SetLowScorePerc (double p=0.0)
 
bool CBlastOptions::GetPaired () const
 
void CBlastOptions::SetPaired (bool p)
 
bool CBlastOptions::GetSpliceAlignments () const
 Splice HSPs for each query (for mappring RNA-Seq reads to a genome) More...
 
void CBlastOptions::SetSpliceAlignments (bool s)
 
const char * CBlastOptions::GetMatrixName () const
 
void CBlastOptions::SetMatrixName (const char *matrix)
 
int CBlastOptions::GetMatchReward () const
 
void CBlastOptions::SetMatchReward (int r)
 
int CBlastOptions::GetMismatchPenalty () const
 
void CBlastOptions::SetMismatchPenalty (int p)
 
int CBlastOptions::GetGapOpeningCost () const
 
void CBlastOptions::SetGapOpeningCost (int g)
 
int CBlastOptions::GetGapExtensionCost () const
 
void CBlastOptions::SetGapExtensionCost (int e)
 
int CBlastOptions::GetFrameShiftPenalty () const
 
void CBlastOptions::SetFrameShiftPenalty (int p)
 
bool CBlastOptions::GetOutOfFrameMode () const
 
void CBlastOptions::SetOutOfFrameMode (bool m=true)
 
Int8 CBlastOptions::GetDbLength () const
 
void CBlastOptions::SetDbLength (Int8 l)
 
unsigned int CBlastOptions::GetDbSeqNum () const
 
void CBlastOptions::SetDbSeqNum (unsigned int n)
 
Int8 CBlastOptions::GetEffectiveSearchSpace () const
 
void CBlastOptions::SetEffectiveSearchSpace (Int8 eff)
 
void CBlastOptions::SetEffectiveSearchSpace (const vector< Int8 > &eff)
 
int CBlastOptions::GetDbGeneticCode () const
 
void CBlastOptions::SetDbGeneticCode (int gc)
 
const char * CBlastOptions::GetPHIPattern () const
 
void CBlastOptions::SetPHIPattern (const char *pattern, bool is_dna)
 
double CBlastOptions::GetInclusionThreshold () const
 
void CBlastOptions::SetInclusionThreshold (double u)
 
int CBlastOptions::GetPseudoCount () const
 
void CBlastOptions::SetPseudoCount (int u)
 
bool CBlastOptions::GetIgnoreMsaMaster () const
 
void CBlastOptions::SetIgnoreMsaMaster (bool val)
 
double CBlastOptions::GetDomainInclusionThreshold (void) const
 
void CBlastOptions::SetDomainInclusionThreshold (double th)
 
void CBlastOptions::DebugDump (CDebugDumpContext ddc, unsigned int depth) const
 Allows to dump a snapshot of the object. More...
 
void CBlastOptions::DoneDefaults () const
 
TBlast4OptsCBlastOptions::GetBlast4AlgoOpts ()
 
bool CBlastOptions::GetUseIndex () const
 
bool CBlastOptions::GetForceIndex () const
 
bool CBlastOptions::GetIsOldStyleMBIndex () const
 
bool CBlastOptions::GetMBIndexLoaded () const
 
const string CBlastOptions::GetIndexName () const
 
void CBlastOptions::SetUseIndex (bool use_index=true, const string &index_name="", bool force_index=false, bool old_style_index=false)
 
void CBlastOptions::SetMBIndexLoaded (bool index_loaded=true)
 
QuerySetUpOptionsCBlastOptions::GetQueryOpts () const
 Returns QuerySetUpOptions for eLocal objects, NULL for eRemote. More...
 
LookupTableOptionsCBlastOptions::GetLutOpts () const
 Returns LookupTableOptions for eLocal objects, NULL for eRemote. More...
 
BlastInitialWordOptionsCBlastOptions::GetInitWordOpts () const
 Returns BlastInitialWordOptions for eLocal objects, NULL for eRemote. More...
 
BlastExtensionOptionsCBlastOptions::GetExtnOpts () const
 Returns BlastExtensionOptions for eLocal objects, NULL for eRemote. More...
 
BlastHitSavingOptionsCBlastOptions::GetHitSaveOpts () const
 Returns BlastHitSavingOptions for eLocal objects, NULL for eRemote. More...
 
PSIBlastOptionsCBlastOptions::GetPSIBlastOpts () const
 Returns PSIBlastOptions for eLocal objects, NULL for eRemote. More...
 
BlastDatabaseOptionsCBlastOptions::GetDbOpts () const
 Returns BlastDatabaseOptions for eLocal objects, NULL for eRemote. More...
 
BlastScoringOptionsCBlastOptions::GetScoringOpts () const
 Returns BlastScoringOptions for eLocal objects, NULL for eRemote. More...
 
BlastEffectiveLengthsOptionsCBlastOptions::GetEffLenOpts () const
 Returns BlastEffectiveLengthsOptions for eLocal objects, NULL for eRemote. More...
 
void CBlastOptions::x_Throwx (const string &msg) const
 Auxiliary to throw CBlastExceptions. More...
 
void CBlastOptions::SetDefaultsMode (bool dmode)
 If this is true, remote options will ignore "Set" calls. More...
 
bool CBlastOptions::GetDefaultsMode () const
 
void CBlastOptions::x_DoDeepCopy (const CBlastOptions &opts)
 Perform a "deep copy" of Blast options. More...
 

Variables

TSeqLocVector CBl2Seq::m_tQueries
 query sequence(s) More...
 
TSeqLocVector CBl2Seq::m_tSubjects
 sequence(s) to BLAST against More...
 
CRef< CBlastOptionsHandleCBl2Seq::m_OptsHandle
 Blast options. More...
 
CRef< CLocalBlastCBl2Seq::m_Blast
 The actual BLAST instance. More...
 
bool CBl2Seq::m_DbScanMode
 Scan like a databsase (as opposed to pairwise) More...
 
TSearchMessages CBl2Seq::m_Messages
 Stores any warnings emitted during query setup. More...
 
BlastDiagnosticsCBl2Seq::mi_pDiagnostics
 Return search statistics data. More...
 
CSearchResultSet::TAncillaryVector CBl2Seq::m_AncillaryData
 Ancillary BLAST data. More...
 
CRef< CSearchResultSetCBl2Seq::m_Results
 CLocalBlast results. More...
 
TInterruptFnPtr CBl2Seq::m_InterruptFnx
 Interrupt callback. More...
 
void * CBl2Seq::m_InterruptUserData
 Interrupt user datacallback. More...
 
ETranslationFrame CFrameFinder::m_Frame
 Frame to look for. More...
 
static Uint4 CAutomaticGenCodeSingleton::m_RefCounter = 0
 
CDiagHandlerCBlastAppDiagHandler::m_handler
 
list< CRef< objects::CBlast4_error > > CBlastAppDiagHandler::m_messages
 
bool CBlastAppDiagHandler::m_save
 
BLAST_SequenceBlkCBLAST_SequenceBlk::m_Ptr
 
BlastQueryInfoCBlastQueryInfo::m_Ptr
 
QuerySetUpOptionsCQuerySetUpOptions::m_Ptr
 
LookupTableOptionsCLookupTableOptions::m_Ptr
 
LookupTableWrapCLookupTableWrap::m_Ptr
 
BlastInitialWordOptionsCBlastInitialWordOptions::m_Ptr
 
BlastInitialWordParametersCBlastInitialWordParameters::m_Ptr
 
Blast_ExtendWordCBlast_ExtendWord::m_Ptr
 
BlastExtensionOptionsCBlastExtensionOptions::m_Ptr
 
BlastExtensionParametersCBlastExtensionParameters::m_Ptr
 
BlastHitSavingOptionsCBlastHitSavingOptions::m_Ptr
 
BlastHitSavingParametersCBlastHitSavingParameters::m_Ptr
 
PSIBlastOptionsCPSIBlastOptions::m_Ptr
 
BlastDatabaseOptionsCBlastDatabaseOptions::m_Ptr
 
BlastScoreBlkCBlastScoreBlk::m_Ptr
 
BlastScoringOptionsCBlastScoringOptions::m_Ptr
 
BlastScoringParametersCBlastScoringParameters::m_Ptr
 
BlastEffectiveLengthsOptionsCBlastEffectiveLengthsOptions::m_Ptr
 
BlastEffectiveLengthsParametersCBlastEffectiveLengthsParameters::m_Ptr
 
BlastGapAlignStructCBlastGapAlignStruct::m_Ptr
 
BlastHSPResultsCBlastHSPResults::m_Ptr
 
PSIMsaCPSIMsa::m_Ptr
 
PSIMatrixCPSIMatrix::m_Ptr
 
PSIDiagnosticsRequestCPSIDiagnosticsRequest::m_Ptr
 
PSIDiagnosticsResponseCPSIDiagnosticsResponse::m_Ptr
 
BlastSeqSrcCBlastSeqSrc::m_Ptr
 
BlastSeqSrcIteratorCBlastSeqSrcIterator::m_Ptr
 
Blast_MessageCBlast_Message::m_Ptr
 
BlastMaskLocCBlastMaskLoc::m_Ptr
 
BlastSeqLocCBlastSeqLoc::m_Ptr
 
SBlastProgressCSBlastProgress::m_Ptr
 
bool CBlastOptionsBuilder::SOptional< T >::m_IsSet
 True if the value has been specified. More...
 
T CBlastOptionsBuilder::SOptional< T >::m_Value
 The value itself, valid only if m_IsSet is true. More...
 
string CBlastOptionsBuilder::m_Program
 Program value for blast4 protocol. More...
 
string CBlastOptionsBuilder::m_Service
 Service value for blast4 protocol. More...
 
bool CBlastOptionsBuilder::m_PerformCulling
 Whether to perform culling. More...
 
int CBlastOptionsBuilder::m_HspRangeMax
 How much culling to do. More...
 
SOptional< stringCBlastOptionsBuilder::m_EntrezQuery
 The entreq query to use (or none). More...
 
SOptional< intCBlastOptionsBuilder::m_FirstDbSeq
 The first OID to process (or none). More...
 
SOptional< intCBlastOptionsBuilder::m_FinalDbSeq
 The last OID to process (or none). More...
 
SOptional< list< TGi > > CBlastOptionsBuilder::m_GiList
 The GI list (or none). More...
 
SOptional< list< TGi > > CBlastOptionsBuilder::m_NegativeGiList
 The negative GI list (or none). More...
 
SOptional< intCBlastOptionsBuilder::m_DbFilteringAlgorithmId
 The GI list (or none). More...
 
SOptional< stringCBlastOptionsBuilder::m_DbFilteringAlgorithmKey
 
SOptional< ESubjectMaskingTypeCBlastOptionsBuilder::m_SubjectMaskingType
 
SOptional< TMaskListCBlastOptionsBuilder::m_QueryMasks
 The query masking locations. More...
 
bool CBlastOptionsBuilder::m_IgnoreQueryMasks
 Indicated that query masks have already been collected. More...
 
TSeqRange CBlastOptionsBuilder::m_QueryRange
 The range to restrict the query sequence(s) More...
 
CBlastOptions::EAPILocality CBlastOptionsBuilder::m_Locality
 API Locality of resulting options. More...
 
bool CBlastOptionsBuilder::m_IgnoreUnsupportedOptions
 Should this class quietly ignore unsupported options. More...
 
bool CBlastOptionsBuilder::m_ForceMbIndex
 Should loading of the megablast BLAST DB index be required? More...
 
string CBlastOptionsBuilder::m_MbIndexName
 Which megablast BLAST DB index name to load. More...
 
SOptional< list< TTaxId > > CBlastOptionsBuilder::m_TaxidList
 The tax id list (or none). More...
 
SOptional< list< TTaxId > > CBlastOptionsBuilder::m_NegativeTaxidList
 The negative tax id list (or none). More...
 
CRef< CBlastOptionsCBlastOptionsHandle::m_Opts
 Data type this class controls access to. More...
 
bool CBlastOptionsHandle::m_DefaultsMode
 Set to true when 'remote' options should ignore setters. More...
 
Blast_GumbelBlkCBlastAncillaryData::m_GumbelBlk
 Gumbel parameters for one query. More...
 
Blast_KarlinBlkCBlastAncillaryData::m_UngappedKarlinBlk
 Ungapped Karlin parameters for one query. More...
 
Blast_KarlinBlkCBlastAncillaryData::m_GappedKarlinBlk
 Gapped Karlin parameters for one query. More...
 
Blast_KarlinBlkCBlastAncillaryData::m_PsiUngappedKarlinBlk
 PSI-BLAST ungapped Karlin parameters for one query (if applicable) More...
 
Blast_KarlinBlkCBlastAncillaryData::m_PsiGappedKarlinBlk
 PSI-BLAST gapped Karlin parameters for one query (if applicable) More...
 
Int8 CBlastAncillaryData::m_SearchSpace
 Search space used when calculating e-values for one query. More...
 
Int8 CBlastAncillaryData::m_LengthAdjustment
 Length adjustment for boundary conditions. More...
 
CConstRef< objects::CSeq_id > CSearchResults::m_QueryId
 this query's id More...
 
CRef< objects::CSeq_align_set > CSearchResults::m_Alignment
 alignments for this query More...
 
TQueryMessages CSearchResults::m_Errors
 error/warning messages for this query More...
 
TMaskedQueryRegions CSearchResults::m_Masks
 this query's masked regions More...
 
TSeqLocInfoVector CSearchResults::m_SubjectMasks
 the matching subjects masks More...
 
CRef< CBlastAncillaryDataCSearchResults::m_AncillaryData
 non-alignment ancillary data for this query More...
 
string CSearchResults::m_RID
 The RID, if applicable (otherwise it's empty) More...
 
SPHIQueryInfoCSearchResults::m_PhiQueryInfo
 PHI-BLAST information. More...
 
EResultType CSearchResultSet::m_ResultType
 Type of results stored in this object. More...
 
size_type CSearchResultSet::m_NumQueries
 Number of queries. More...
 
vector< CRef< CSearchResults > > CSearchResultSet::m_Results
 Vector of results. More...
 
bool CSearchResultSet::m_IsPhiBlast
 True if this object contains PHI-BLAST results. More...
 
TSeqLocInfoVector CSearchResultSet::m_QueryMasks
 Stores the masked query regions, for convenience and usage in CBl2Seq. More...
 
double CBlastpKmerOptionsHandle::m_Thresh
 Jaccard distance cutoff. More...
 
int CBlastpKmerOptionsHandle::m_MinHits
 number of hits to initiate calculation of Jaccard distance in LSH More...
 
int CBlastpKmerOptionsHandle::m_Candidates
 Number of target seqs to process with BLAST. More...
 
TRange CCddInputData::CHitSegment::m_QueryRange
 Segment range on query. More...
 
TRange CCddInputData::CHitSegment::m_SubjectRange
 Segment range on subject. More...
 
vector< PSICdMsaCellDataCCddInputData::CHitSegment::m_MsaData
 Data used for PSSM computation. More...
 
vector< double > CCddInputData::CHitSegment::m_WFreqsData
 Buffer for residue frequencies from CDs. More...
 
CConstRef< CSeq_idCCddInputData::CHit::m_SubjectId
 Seq_id of hit subject. More...
 
double CCddInputData::CHit::m_Evalue
 E-value. More...
 
int CCddInputData::CHit::m_MsaIdx
 Hit index in MSA table. More...
 
vector< CHitSegment * > CCddInputData::CHit::m_SegmentList
 List of hit segments. More...
 
vector< Uint1CCddInputData::m_QueryData
 Query sequence. More...
 
string CCddInputData::m_QueryTitle
 Query title (for PSSM) More...
 
string CCddInputData::m_DbName
 CDD database name. More...
 
CConstRef< objects::CSeq_align_set > CCddInputData::m_SeqalignSet
 RPS-BLAST hits for the query. More...
 
vector< CHit * > CCddInputData::m_Hits
 RPS-BLAST hits in internal representation. More...
 
PSICdMsa CCddInputData::m_CddData
 MSA of CDs and CD data. More...
 
PSIMsaDimensions CCddInputData::m_MsaDimensions
 MSA dimensions, used by PSSM engine. More...
 
vector< PSICdMsaCellCCddInputData::m_MsaData
 MSA data. More...
 
PSICdMsaCell ** CCddInputData::m_Msa
 Pointer to MSA. More...
 
PSIBlastOptions CCddInputData::m_Opts
 Delta BLAST options for PSSM Engine. More...
 
string CCddInputData::m_MatrixName
 Scoring matrix name. More...
 
PSIDiagnosticsRequestCCddInputData::m_DiagnosticsRequest
 PSSM engine Diagnostics request. More...
 
double CCddInputData::m_MinEvalue
 Min e-value threshold for all hits to be included in PSSM computation. More...
 
CRef< objects::CBioseq > CCddInputData::m_QueryBioseq
 Query as Bioseq. More...
 
int CCddInputData::m_GapExistence
 Gap existence for underlying scoring system. More...
 
int CCddInputData::m_GapExtension
 Gap extension for underlying scoring system. More...
 
static const int CCddInputData::kAlphabetSize = 28
 
static const int CCddInputData::kRpsScaleFactor = 1000
 Scale of residue frequencies and number of independent observations stored in CDD. More...
 
CRef< IQueryFactoryCDeltaBlast::m_Queries
 Queries. More...
 
CRef< CLocalDbAdapterCDeltaBlast::m_Subject
 Reference to a BLAST subject/database object. More...
 
CRef< CLocalDbAdapterCDeltaBlast::m_DomainDb
 Reference to a BLAST conserved domain database object. More...
 
CConstRef< CDeltaBlastOptionsHandleCDeltaBlast::m_Options
 Delta Blast options. More...
 
CRef< CBlastRPSOptionsHandleCDeltaBlast::m_RpsOptions
 RPS Blast options. More...
 
vector< CRef< CPssmWithParameters > > CDeltaBlast::m_Pssm
 PSSMs computed for each query. More...
 
CRef< CSearchResultSetCDeltaBlast::m_DomainResults
 Conseved domain search (intermediate) results. More...
 
CRef< CSearchResultSetCDeltaBlast::m_Results
 Pssm-protein search results. More...
 
CRef< IQueryFactoryCEffectiveSearchSpaceCalculator::m_QueryFactory
 source of query sequence(s) More...
 
EBlastProgramType CEffectiveSearchSpaceCalculator::m_Program
 BLAST program. More...
 
BlastQueryInfoCEffectiveSearchSpaceCalculator::m_QueryInfo
 struct to store eff. search spaces More...
 
std::list< BlastHSPList * > CBlastHSPListQueueData::m_resultsQueue
 Queue in a form of a linked list of HSP lists. More...
 
bool CBlastHSPListQueueData::m_writingDone
 Has writing to the queue finished? More...
 
CFastMutex CBlastHSPListQueueData::m_Mutex
 Mutex for writing to the queue. More...
 
CSemaphoreCBlastHSPListQueueData::m_Sema
 Semaphore fore reading from the queue. More...
 
CRef< IQueryFactoryCLocalBlast::m_QueryFactory
 Query factory from which to obtain the query sequence data. More...
 
CRef< CBlastOptionsCLocalBlast::m_Opts
 Options to use. More...
 
CRef< SInternalDataCLocalBlast::m_InternalData
 Internal core data structures which are used in the preliminary and traceback stages of the search. More...
 
CRef< CBlastPrelimSearchCLocalBlast::m_PrelimSearch
 Object which runs the preliminary stage of the search. More...
 
CRef< CBlastTracebackSearchCLocalBlast::m_TbackSearch
 Object which runs the traceback stage of the search. More...
 
CRef< CLocalDbAdapterCLocalBlast::m_LocalDbAdapter
 Local DB adaptor (if one was) passed to constructor. More...
 
CRef< IBlastSeqInfoSrcCLocalBlast::m_SeqInfoSrc
 User-specified IBlastSeqInfoSrc implementation (may be used for non-standard databases, etc.) More...
 
TSearchMessages CLocalBlast::m_Messages
 Warnings and error messages. More...
 
std::string CLocalBlast::m_batch_num_str
 
BlastSeqSrcCLocalDbAdapter::m_SeqSrc
 Pointer to the BlastSeqSrc this object owns and manages. More...
 
CRef< IBlastSeqInfoSrcCLocalDbAdapter::m_SeqInfoSrc
 Pointer to the IBlastSeqInfoSrc. More...
 
CRef< CSearchDatabaseCLocalDbAdapter::m_DbInfo
 Object containing BLAST database description. More...
 
CRef< IQueryFactoryCLocalDbAdapter::m_SubjectFactory
 IQueryFactory containing the subject sequences. More...
 
CConstRef< CBlastOptionsHandleCLocalDbAdapter::m_OptsHandle
 Options to be used when instantiating the subject sequences. More...
 
TSeqLocVector CLocalDbAdapter::m_Subjects
 This is initialized ONLY if the m_SubjectFactory is of type CObjMgr_QueryFactory, case in which it's not empty. More...
 
const string CLocalDbAdapter::m_DbName
 This is initialized ONLY if this object represents a BLAST database. More...
 
bool CLocalDbAdapter::m_DbScanMode
 Specifies that bl2seq search run in database scan mode (not pairwise) More...
 
CRef< CBlastOptionsHandleCLocalSeqSearch::m_SearchOpts
 Search options. More...
 
CRef< CLocalBlastCLocalSeqSearch::m_LocalBlast
 Local database search class. More...
 
CConstRef< CSearchDatabaseCLocalSeqSearch::m_Database
 BLAST database for the search class to use. More...
 
CRef< IQueryFactoryCLocalSeqSearch::m_QueryFactory
 Factory which provides the query data to be populated in m_Queries. More...
 
vector< stringCLocalSeqSearch::m_Warnings
 Warnings produced by the search. More...
 
CRef< CBlastOptionsHandleCLocalPssmSearch::m_SearchOpts
 Search configuration. More...
 
CRef< CPsiBlastCLocalPssmSearch::m_PsiBlast
 Search class. More...
 
CRef< objects::CPssmWithParameters > CLocalPssmSearch::m_Pssm
 Search queries. More...
 
CConstRef< CSearchDatabaseCLocalPssmSearch::m_Subject
 Subject database. More...
 
CRef< IQueryFactoryCMagicBlast::m_Queries
 Queries. More...
 
CRef< CLocalDbAdapterCMagicBlast::m_LocalDbAdapter
 Reference to a BLAST subject/database object. More...
 
CRef< CBlastOptionsCMagicBlast::m_Options
 Options to configure the search. More...
 
CRef< CBlastPrelimSearchCMagicBlast::m_PrelimSearch
 Object that runs BLAST search. More...
 
CRef< SInternalDataCMagicBlast::m_InternalData
 Internal data strctures. More...
 
TSearchMessages CMagicBlast::m_Messages
 Warning and error messages. More...
 
bool CMagicBlast::m_BtopSpliceSignals
 Should BTOP strings be formatted with splice signals. More...
 
CConstRef< CSeq_idCMagicBlastResults::m_QueryId
 Query id. More...
 
CConstRef< CSeq_idCMagicBlastResults::m_MateId
 Mate id if results are for paired reads. More...
 
CRef< CSeq_align_setCMagicBlastResults::m_Aligns
 Alignments for a single or a pair of reads. More...
 
bool CMagicBlastResults::m_Paired
 True if results are for paired reads. More...
 
bool CMagicBlastResults::m_Concordant
 True if results are concordant pair. More...
 
TResultsInfo CMagicBlastResults::m_FirstInfo
 Alignment flags for the query. More...
 
TResultsInfo CMagicBlastResults::m_LastInfo
 Alignment flags for the mate. More...
 
vector< CRef< CMagicBlastResults > > CMagicBlastResultSet::m_Results
 
TAutoUint1ArrayPtr CPsiBlastInputClustalW::m_Query
 Pointer to query sequence. More...
 
vector< stringCPsiBlastInputClustalW::m_AsciiMsa
 The raw multiple sequence alignment in ASCII read from the input file. More...
 
PSIMsaCPsiBlastInputClustalW::m_Msa
 Structure representing the multiple sequence alignment. More...
 
PSIMsaDimensions CPsiBlastInputClustalW::m_MsaDimensions
 Multiple sequence alignment dimensions. More...
 
PSIBlastOptions CPsiBlastInputClustalW::m_Opts
 Algorithm options. More...
 
PSIDiagnosticsRequestCPsiBlastInputClustalW::m_DiagnosticsRequest
 Diagnostics request structure. More...
 
string CPsiBlastInputClustalW::m_MatrixName
 Underlying matrix to use. More...
 
int CPsiBlastInputClustalW::m_GapExistence
 Gap existence parameter used. More...
 
int CPsiBlastInputClustalW::m_GapExtension
 Gap extension parameter used. More...
 
CRef< objects::CSeq_entry > CPsiBlastInputClustalW::m_SeqEntry
 CSeq_entry obtained from the multiple sequence alignment. More...
 
CRef< objects::CBioseq > CPsiBlastInputClustalW::m_QueryBioseq
 Query as CBioseq for PSSM. More...
 
TSeqLocVector CObjMgr_QueryFactory::m_SSeqLocVector
 
CRef< CBlastQueryVectorCObjMgr_QueryFactory::m_QueryVector
 
CConstRef< objects::CBioseq_set > CObjMgrFree_QueryFactory::m_Bioseqs
 
CRef< IQueryFactoryCBlastPrelimSearch::m_QueryFactory
 Query factory is retained to ensure the lifetime of the data (queries) produced by it. More...
 
CRef< SInternalDataCBlastPrelimSearch::m_InternalData
 
CRef< CBlastOptionsCBlastPrelimSearch::m_Options
 
CRef< CLocalDbAdapterCBlastPrelimSearch::m_DbAdapter
 
const CSearchDatabaseCBlastPrelimSearch::m_DbInfo
 
TSearchMessages CBlastPrelimSearch::m_Messages
 Warnings and error messages. More...
 
TSeqLocInfoVector CBlastPrelimSearch::m_MasksForAllQueries
 Query masking information. More...
 
unsigned char * CPsiBlastInputFreqRatios::m_Query
 Query sequence data. More...
 
unsigned int CPsiBlastInputFreqRatios::m_QueryLength
 Length of query sequence data. More...
 
const char * CPsiBlastInputFreqRatios::m_MatrixName
 Name of underlying scoring matrix. More...
 
int CPsiBlastInputFreqRatios::m_GapExistence
 Gap existence penalty. More...
 
int CPsiBlastInputFreqRatios::m_GapExtension
 Gap extension penalty. More...
 
CNcbiMatrix< double > CPsiBlastInputFreqRatios::m_FreqRatios
 Frequency ratios. More...
 
double CPsiBlastInputFreqRatios::m_ImpalaScaleFactor
 
unsigned char * CPsiBlastInputData::m_Query
 Pointer to query sequence. More...
 
string CPsiBlastInputData::m_QueryTitle
 Title of query. More...
 
CRef< objects::CScope > CPsiBlastInputData::m_Scope
 Scope where to retrieve the sequences in the aligment from. More...
 
PSIMsaCPsiBlastInputData::m_Msa
 Structure representing the multiple sequence alignment. More...
 
PSIMsaDimensions CPsiBlastInputData::m_MsaDimensions
 Multiple sequence alignment dimensions. More...
 
CConstRef< objects::CSeq_align_set > CPsiBlastInputData::m_SeqAlignSet
 Pairwise alignment result of a BLAST search. More...
 
PSIBlastOptions CPsiBlastInputData::m_Opts
 Algorithm options. More...
 
PSIDiagnosticsRequestCPsiBlastInputData::m_DiagnosticsRequest
 Diagnostics request structure. More...
 
string CPsiBlastInputData::m_MatrixName
 Underlying matrix to use. More...
 
int CPsiBlastInputData::m_GapExistence
 Gap existence paramter used. More...
 
int CPsiBlastInputData::m_GapExtension
 Gap extension paramter used. More...
 
CRef< objects::CBioseq > CPsiBlastInputData::m_QueryBioseq
 Query as CBioseq for PSSM. More...
 
CRef< CLocalDbAdapterCPsiBl2Seq::m_Subject
 Reference to a BLAST subject/database object. More...
 
class CPsiBlastImplCPsiBl2Seq::m_Impl
 Implementation class. More...
 
CRef< CLocalDbAdapterCPsiBlast::m_Subject
 Reference to a BLAST subject/database object. More...
 
class CPsiBlastImplCPsiBlast::m_Impl
 Implementation class. More...
 
unsigned int CPsiBlastIterationState::m_TotalNumIterationsToDo
 Number of iterations to perform. More...
 
unsigned int CPsiBlastIterationState::m_IterationsDone
 Number of iterations already done. More...
 
TSeqIds CPsiBlastIterationState::m_PreviousData
 Identifiers for sequences found in the previous iteration. More...
 
TSeqIds CPsiBlastIterationState::m_CurrentData
 Identifiers for sequences found in the current iteration. More...
 
IPssmInputDataCPssmEngine::m_PssmInput
 Handle to strategy to process raw PSSM input data. More...
 
IPssmInputFreqRatiosCPssmEngine::m_PssmInputFreqRatios
 Pointer to input data to create PSSM from frequency ratios. More...
 
CBlastScoreBlk CPssmEngine::m_ScoreBlk
 Blast score block structure. More...
 
IPssmInputCddCPssmEngine::m_PssmInputCdd
 Pointer to strategy to process raw PSSM input data Note: Only one m_PssmInput* should be non-NULL. More...
 
CBLAST_SequenceBlk ILocalQueryData::m_SeqBlk
 Data member to cache the BLAST_SequenceBlk. More...
 
CBlastQueryInfo ILocalQueryData::m_QueryInfo
 Data member to cache the BlastQueryInfo. More...
 
TSearchMessages ILocalQueryData::m_Messages
 Error/warning messages are stored here. More...
 
size_t ILocalQueryData::m_SumOfSequenceLengths
 
CRef< objects::CBioseq_set > IRemoteQueryData::m_Bioseqs
 Data member to cache the CBioseq_set. More...
 
TSeqLocs IRemoteQueryData::m_SeqLocs
 Data member to cache the TSeqLocs. More...
 
CRef< ILocalQueryDataIQueryFactory::m_LocalQueryData
 
CRef< IRemoteQueryDataIQueryFactory::m_RemoteQueryData
 
CRef< blast::CBlastOptionsHandle > CRemoteBlast::m_CBOH
 Options for new search. More...
 
CRef< objects::CBlast4_queue_search_request > CRemoteBlast::m_QSR
 Request object for new search. More...
 
CRef< objects::CBlast4_reply > CRemoteBlast::m_Reply
 Results of BLAST search. More...
 
CRef< objects::CBlast4_archive > CRemoteBlast::m_Archive
 Archive of BLAST search and results. More...
 
bool CRemoteBlast::m_ReadFile
 true if a CBlast4_archive should be read in. More...
 
unique_ptr< CObjectIStreamCRemoteBlast::m_ObjectStream
 Use to ready CBlast4_archive. More...
 
CFormatGuess::EFormat CRemoteBlast::m_ObjectType
 Type of object CBlast4_archive as determined by CFormatGuess. More...
 
vector< stringCRemoteBlast::m_Errs
 List of errors encountered. More...
 
vector< stringCRemoteBlast::m_Warn
 List of warnings encountered. More...
 
string CRemoteBlast::m_RID
 Request ID of submitted or pre-existing search. More...
 
int CRemoteBlast::m_ErrIgn
 Count of server glitches (communication errors) to ignore. More...
 
bool CRemoteBlast::m_Pending
 Pending state: indicates that search still needs to be queued. More...
 
EDebugMode CRemoteBlast::m_Verbose
 Verbosity mode: whether to produce debugging info on stdout. More...
 
ENeedConfig CRemoteBlast::m_NeedConfig
 Bitfield to track whether all necessary configuration is done. More...
 
CRef< objects::CBlast4_database > CRemoteBlast::m_Dbs
 Databases. More...
 
list< CRef< objects::CBioseq > > CRemoteBlast::m_SubjectSequences
 Subject Sequences. More...
 
CBlast4_subject::TSeq_loc_list CRemoteBlast::m_SubjectSeqLocs
 This field is populated when dealing with a remote bl2seq search (e.g. More...
 
string CRemoteBlast::m_Program
 Program value used when submitting this search. More...
 
string CRemoteBlast::m_Service
 Service value used when submitting this search. More...
 
string CRemoteBlast::m_CreatedBy
 Created-by attribution for this search. More...
 
CRef< objects::CBlast4_queries > CRemoteBlast::m_Queries
 Queries associated with this search. More...
 
CRef< objects::CBlast4_parameters > CRemoteBlast::m_AlgoOpts
 Options relevant to the search algorithm. More...
 
CRef< objects::CBlast4_parameters > CRemoteBlast::m_ProgramOpts
 Options relevant to the search application. More...
 
CRef< objects::CBlast4_parameters > CRemoteBlast::m_FormatOpts
 Options relevant to the format application. More...
 
TSeqLocInfoVector CRemoteBlast::m_QueryMaskingLocations
 Masking locations for queries. More...
 
string CRemoteBlast::m_EntrezQuery
 Entrez Query, if any. More...
 
string CRemoteBlast::m_FirstDbSeq
 First database sequence. More...
 
string CRemoteBlast::m_FinalDbSeq
 Final database sequence. More...
 
list< TGiCRemoteBlast::m_GiList
 GI list. More...
 
list< TGiCRemoteBlast::m_NegativeGiList
 Negative GI list. More...
 
int CRemoteBlast::m_DbFilteringAlgorithmId
 filtering algorithm to use in the database More...
 
string CRemoteBlast::m_DbFilteringAlgorithmKey
 filtering algorithm key to use in the database More...
 
ESubjectMaskingType CRemoteBlast::m_SubjectMaskingType
 
string CRemoteBlast::m_Task
 Task used when the search was submitted (recovered via CBlastOptionsBuilder) More...
 
string CRemoteBlast::m_ClientId
 Client ID submitting requests throw this interface. More...
 
bool CRemoteBlast::m_use_disk_cache
 Use disk cache for retrieving results default: false. More...
 
bool CRemoteBlast::m_disk_cache_error_flag
 disk cache error flag More...
 
string CRemoteBlast::m_disk_cache_error_msg
 disk cache error message More...
 
set< TTaxIdCRemoteBlast::m_TaxidList
 
set< TTaxIdCRemoteBlast::m_NegativeTaxidList
 
CRef< CBlastOptionsHandleCRemoteSeqSearch::m_SearchOpts
 Search configuration. More...
 
CRef< CRemoteBlastCRemoteSeqSearch::m_RemoteBlast
 Remote search management object. More...
 
CRef< IRemoteQueryDataCRemoteSeqSearch::m_Queries
 Search queries. More...
 
CConstRef< CSearchDatabaseCRemoteSeqSearch::m_Subject
 Search subject. More...
 
vector< stringCRemoteSeqSearch::m_Warnings
 Warnings produced by the search. More...
 
CRef< CBlastOptionsHandleCRemotePssmSearch::m_SearchOpts
 Search configuration. More...
 
CRef< CRemoteBlastCRemotePssmSearch::m_RemoteBlast
 Remote search management object. More...
 
CRef< objects::CPssmWithParameters > CRemotePssmSearch::m_Pssm
 Search queries. More...
 
CConstRef< CSearchDatabaseCRemotePssmSearch::m_Subject
 Search subject. More...
 
vector< stringCRemotePssmSearch::m_Warnings
 Warnings produced by the search. More...
 
CRef< CRpsAuxFileCBlastRPSInfo::m_AuxFile
 The auxiliary RPS-BLAST file (.aux) More...
 
CRef< CRpsPssmFileCBlastRPSInfo::m_PssmFile
 The PSSM RPS-BLAST file (.rps) More...
 
CRef< CRpsLookupTblFileCBlastRPSInfo::m_LutFile
 The lookup table RPS-BLAST file (.loo) More...
 
CRef< CRpsFreqsFileCBlastRPSInfo::m_FreqsFile
 Weighted residue frequencies file (.wcounts) used by delta-blast. More...
 
CRef< CRpsObsrFileCBlastRPSInfo::m_ObsrFile
 Number of independent observations file (.obsr) used by delta-blast. More...
 
CRef< CRpsFreqRatiosFileCBlastRPSInfo::m_FreqRatiosFile
 Frequency ratios file (.freq) used for composition based statistics and cobalt. More...
 
unique_ptr< BlastRPSInfoCBlastRPSInfo::m_RpsInfo
 Pointer which contains pointers to data managed by the data members above. More...
 
bool CImportStrategyData::valid
 Has the struct been properly filled in? More...
 
CRef< blast::CBlastOptionsHandle > CImportStrategyData::m_OptionsHandle
 BLAST options. More...
 
int CImportStrategyData::m_FilteringID
 Filtering ID. More...
 
TSeqRange CImportStrategyData::m_QueryRange
 Range of query. More...
 
string CImportStrategyData::m_Task
 Task, such as megablast, blastn, blastp, etc. More...
 
unsigned int CImportStrategyData::m_PsiNumOfIterations
 
string CImportStrategyData::m_FilteringKey
 Filtering key. More...
 
ESubjectMaskingType CImportStrategyData::m_SubjectMaskingType
 Subject Masking Type. More...
 
unique_ptr< CImportStrategyDataCImportStrategy::m_Data
 
CRef< objects::CBlast4_request > CImportStrategy::m_Request
 
string CImportStrategy::m_Service
 
unique_ptr< CBlastOptionsBuilderCImportStrategy::m_OptionsBuilder
 
bool CImportStrategy::m_IgnoreUnsupportedOptions
 ignore unsupported options when creating blast options builder object More...
 
CRef< CBlast4_queue_search_requestCExportStrategy::m_QueueSearchRequest
 
string CExportStrategy::m_ClientId
 
string SPatternUnit::allowed_letters
 
string SPatternUnit::disallowed_letters
 
size_t SPatternUnit::at_least
 
size_t SPatternUnit::at_most
 
bool SPatternUnit::is_x
 
static const EBlastProgramType CSeedTop::m_Program = eBlastTypePhiBlastp
 
string CSeedTop::m_Pattern
 
CLookupTableWrap CSeedTop::m_Lookup
 
CBlastScoreBlk CSeedTop::m_ScoreBlk
 
vector< struct SPatternUnitCSeedTop::m_Units
 
CRef< CSeqDBCSeqDbSeqInfoSrc::m_iSeqDb
 BLAST database object. More...
 
int CSeqDbSeqInfoSrc::m_FilteringAlgoId
 Filtering algorithm ID used with these subjects, use -1 if not applicable. More...
 
TSeqLocVector CSeqVecSeqInfoSrc::m_SeqVec
 Vector of subject sequence locations to get information from. More...
 
TData * CStructWrapper< TData >::m_Data
 the pointer managed by this object More...
 
TDeleteCStructWrapper< TData >::m_DeleteFunction
 deallocation function for the pointer above More...
 
size_t CThreadable::m_NumThreads
 Keep track of how many threads should be used. More...
 
BLAST_SequenceBlkSInternalData::m_Queries
 The query sequence data, these fields are "borrowed" from the query factory (which owns them) More...
 
BlastQueryInfoSInternalData::m_QueryInfo
 The query information structure. More...
 
CRef< TBlastScoreBlkSInternalData::m_ScoreBlk
 BLAST score block structure. More...
 
CRef< TLookupTableWrapSInternalData::m_LookupTable
 Lookup table, usually only needed in the preliminary stage of the search, but for PHI-BLAST it's also needed in the traceback stage. More...
 
CRef< TBlastDiagnosticsSInternalData::m_Diagnostics
 Diagnostic output from preliminary and traceback stages. More...
 
CRef< TBlastHSPStreamSInternalData::m_HspStream
 HSP output of the preliminary stage goes here. More...
 
CRef< TBlastSeqSrcSInternalData::m_SeqSrc
 The source of subject sequence data. More...
 
CRef< CBlastRPSInfoSInternalData::m_RpsData
 The RPS-BLAST related data. More...
 
TInterruptFnPtr SInternalData::m_FnInterrupt
 The interrupt callback. More...
 
CRef< CSBlastProgressSInternalData::m_ProgressMonitor
 The user data structure to aid in progress monitoring. More...
 
const int SDatabaseScanData::kNoPhiBlastPattern
 set to -1 in ctor, indicate that m_NumPatOccurInDB is unset or not applicable. More...
 
int SDatabaseScanData::m_NumPatOccurInDB
 Number of times pattern found to occur in database (for phi-blast only). More...
 
CRef< IQueryFactoryCBlastTracebackSearch::m_QueryFactory
 The query to search for. More...
 
CRef< CBlastOptionsCBlastTracebackSearch::m_Options
 The options with which this search is configured. More...
 
CRef< SInternalDataCBlastTracebackSearch::m_InternalData
 Fields and data from the preliminary search. More...
 
const CBlastOptionsMementoCBlastTracebackSearch::m_OptsMemento
 Options from the preliminary search. More...
 
TSearchMessages CBlastTracebackSearch::m_Messages
 Warnings and Errors. More...
 
CRef< IBlastSeqInfoSrcCBlastTracebackSearch::m_SeqInfoSrc
 Pointer to the IBlastSeqInfoSrc object to use to generate the Seq-aligns. More...
 
EResultType CBlastTracebackSearch::m_ResultType
 Determines if BLAST database search or BLAST 2 sequences style of results should be produced. More...
 
CRef< SDatabaseScanDataCBlastTracebackSearch::m_DBscanInfo
 Tracks information from database scanning phase. More...
 
string CSearchDatabase::m_DbName
 database name More...
 
EMoleculeType CSearchDatabase::m_MolType
 molecule type More...
 
string CSearchDatabase::m_EntrezQueryLimitation
 entrez query More...
 
CRef< CSeqDBGiListCSearchDatabase::m_GiList
 gi list More...
 
CRef< CSeqDBGiListCSearchDatabase::m_NegativeGiList
 negative gi list More...
 
bool CSearchDatabase::m_GiListSet
 
string CSearchDatabase::m_FilteringAlgorithmString
 filtering to apply to database sequences More...
 
int CSearchDatabase::m_FilteringAlgorithmId
 
ESubjectMaskingType CSearchDatabase::m_MaskType
 
bool CSearchDatabase::m_NeedsFilteringTranslation
 
bool CSearchDatabase::m_DbInitialized
 
CRef< CSeqDBCSearchDatabase::m_SeqDb
 
const Uint1 NCBI4NA_TO_BLASTNA []
 Translates between ncbi4na and blastna. More...
 
const Uint1 BLASTNA_TO_NCBI4NA []
 Translates between blastna and ncbi4na. More...
 
const Uint1 IUPACNA_TO_BLASTNA []
 Translates between iupacna and blastna. More...
 
const Uint1 IUPACNA_TO_NCBI4NA []
 Translates between iupacna and ncbi4na. More...
 
const Uint1 AMINOACID_TO_NCBISTDAA []
 Translates between ncbieaa and ncbistdaa. More...
 
const char NCBISTDAA_TO_AMINOACID []
 Translates between ncbieaa and ncbistdaa. More...
 
const char BLASTNA_TO_IUPACNA []
 Translates between blastna and iupacna. More...
 
const char NCBI4NA_TO_IUPACNA []
 Translates between ncbi4na and iupacna. More...
 
const Uint1 kProtSentinel
 Sentinel byte for protein sequences. More...
 
const Uint1 kNuclSentinel
 Sentinel nibble for nucleotide sequences. More...
 
bool CIgBlastOptions::m_IsProtein
 
string CIgBlastOptions::m_Origin
 
string CIgBlastOptions::m_DomainSystem
 
string CIgBlastOptions::m_SequenceType
 
int CIgBlastOptions::m_Min_D_match
 
int CIgBlastOptions::m_V_penalty
 
int CIgBlastOptions::m_D_penalty
 
int CIgBlastOptions::m_J_penalty
 
string CIgBlastOptions::m_AuxFilename
 
string CIgBlastOptions::m_DFrameFileName
 
string CIgBlastOptions::m_CustomInternalData
 
string CIgBlastOptions::m_IgDataPath
 
CRef< CLocalDbAdapterCIgBlastOptions::m_Db [5]
 
int CIgBlastOptions::m_NumAlign [4]
 
bool CIgBlastOptions::m_FocusV
 
bool CIgBlastOptions::m_Translate
 
bool CIgBlastOptions::m_ExtendAlign5end
 
bool CIgBlastOptions::m_ExtendAlign3end
 
int CIgBlastOptions::m_MinVLength
 
int CIgBlastOptions::m_MinJLength
 
bool CIgBlastOptions::m_DetectOverlap
 
list< stringCIgBlastOptions::m_AirrField
 
bool CIgAnnotation::m_MinusStrand
 
vector< stringCIgAnnotation::m_TopGeneIds
 
vector< stringCIgAnnotation::m_ChainType
 
string CIgAnnotation::m_ChainTypeToShow
 
int CIgAnnotation::m_GeneInfo [8]
 
int CIgAnnotation::m_FrameInfo [3]
 
int CIgAnnotation::m_DomainInfo [12]
 
int CIgAnnotation::m_DomainInfo_S [10]
 
int CIgAnnotation::m_JDomain [5]
 
int CIgAnnotation::m_CDomain [2]
 
int CIgAnnotation::m_DframeStart
 
map< string, intCIgAnnotationInfo::m_DomainIndex
 
vector< intCIgAnnotationInfo::m_DomainData
 
map< string, stringCIgAnnotationInfo::m_DomainChainType
 
map< string, intCIgAnnotationInfo::m_FrameOffset
 
map< string, stringCIgAnnotationInfo::m_DJChainType
 
map< string, intCIgAnnotationInfo::m_JDomainInfo
 
map< string, intCIgAnnotationInfo::m_Fwr4EndOffset
 
int CIgBlastResults::m_NumActualV
 
int CIgBlastResults::m_NumActualD
 
int CIgBlastResults::m_NumActualJ
 
int CIgBlastResults::m_NumActualC
 
CRef< CIgAnnotationCIgBlastResults::m_Annotation
 
bool CIgBlast::m_IsLocal
 
size_t CIgBlast::m_NumThreads
 
CRef< CBlastQueryVectorCIgBlast::m_Query
 
CRef< IQueryFactoryCIgBlast::m_Subject
 
CRef< CLocalDbAdapterCIgBlast::m_LocalDb
 
CRef< CSearchDatabaseCIgBlast::m_RemoteDb
 
CRef< CBlastOptionsHandleCIgBlast::m_Options
 
CConstRef< CIgBlastOptionsCIgBlast::m_IgOptions
 
CIgAnnotationInfo CIgBlast::m_AnnotationInfo
 
string CIgBlast::m_EntrezQuery
 
CRef< CScopeCIgBlast::m_Scope
 
string CIgBlast::m_RID
 
CRef< CScopeScorePositionSort::m_scope
 
int ScorePositionSort::min_J_position_diff = 100
 
double ScorePositionSort::reliable_J_match_factor = 0.5
 
objects::CBlast4_get_databases_reply::Tdata CBlastServices::m_AvailableDatabases
 BLAST databases available to search. More...
 
objects::CBlast4_get_windowmasked_taxids_reply::Tdata CBlastServices::m_WindowMaskedTaxIds
 Taxonomy IDs for which there's windowmasker masking data at NCBI. More...
 
bool CBlastServices::m_Verbose
 Display verbose output to stdout? More...
 
vector< char > CBlastSeqVectorFromCSeq_data::m_SequenceData
 Container for the actual sequence data. More...
 
CSeqUtil::ECoding CBlastSeqVectorFromCSeq_data::m_Encoding
 Encoding used in the data above. More...
 
bool CBlastQuerySourceBioseqSet::m_IsProt
 True if the data contained in this object is protein. More...
 
vector< CConstRef< objects::CBioseq > > CBlastQuerySourceBioseqSet::m_Bioseqs
 Contains pointers to the input data. More...
 
CRef< SInternalDataSBlastSetupData::m_InternalData
 
CRef< CQuerySplitterSBlastSetupData::m_QuerySplitter
 
TSeqLocInfoVector SBlastSetupData::m_Masks
 
TSearchMessages SBlastSetupData::m_Messages
 
static DbIndexSetUsingThreadsFnType SetUsingThreadsFn = &NullSetUsingThreads
 Global pointer to the appropriate callback to set the state of concurrency. More...
 
static DbIndexSetNumThreadsFnType SetNumThreadsFn = &NullSetNumThreads
 Global pointer to the appropriate callback to set the number of threads. More...
 
static DbIndexSetQueryInfoFnType SetQueryInfoFn = &NullSetQueryInfo
 Global pointer to the appropriate callback to set query info, based on whether or not index search is enabled. More...
 
static DbIndexRunSearchFnType RunSearchFn = &NullRunSearch
 Global pointer to the appropriate callback to run indexed search, based on whether or not index search is enabled. More...
 
CRef< CBlastSeqLocWrapCIndexedDb::locs_wrap_
 Current set of unmasked query locations. More...
 
static CRef< CIndexedDbCIndexedDb::Index_Set_Instance
 Shared representation of currently loaded index volumes. More...
 
TResultSet CIndexedDb_Old::results_
 Set of result sets, one per loaded index. More...
 
TSeqMap CIndexedDb_Old::seqmap_
 For each element of indices_ with index i seqmap_[i] contains one plus the last oid of that database index. More...
 
vector< stringCIndexedDb_Old::index_names_
 List of index volume names. More...
 
CRef< CDbIndexCIndexedDb_Old::index_
 Currently loaded index. More...
 
SIZE_TYPE CIndexedDb_New::SVolumeDescriptor::start_oid
 OId of the first sequence of the volume. More...
 
SIZE_TYPE CIndexedDb_New::SVolumeDescriptor::n_oids
 Number of sequences in the volume. More...
 
std::string CIndexedDb_New::SVolumeDescriptor::name
 Fully qualified name of the volume. More...
 
bool CIndexedDb_New::SVolumeDescriptor::has_index
 'true' if the volume is indexed. More...
 
TVolResults CIndexedDb_New::SVolResults::res
 Seed set or null. More...
 
int CIndexedDb_New::SVolResults::ref_count
 How many threads still need the result set. More...
 
TVolList CIndexedDb_New::volumes_
 index volume descriptors More...
 
TResultsHolder CIndexedDb_New::results_holder_
 reference counted seed set holders More...
 
CFastMutex CIndexedDb_New::mtx_
 mutex used for thread sync More...
 
BLAST_SequenceBlkCIndexedDb_New::queries_
 query data (from BLAST) More...
 
CDbIndex::SSearchOptions CIndexedDb_New::sopt_
 common search parameters More...
 
bool CIndexedDb_New::multiple_threads_
 flag indicating that multithreading is in effect More...
 
size_t CIndexedDb_New::n_threads_
 number of search threads running More...
 
EBlastProgramType CBlastOptionsMemento::m_ProgramType
 
QuerySetUpOptionsCBlastOptionsMemento::m_QueryOpts
 
LookupTableOptionsCBlastOptionsMemento::m_LutOpts
 
BlastInitialWordOptionsCBlastOptionsMemento::m_InitWordOpts
 
BlastExtensionOptionsCBlastOptionsMemento::m_ExtnOpts
 
BlastHitSavingOptionsCBlastOptionsMemento::m_HitSaveOpts
 
PSIBlastOptionsCBlastOptionsMemento::m_PSIBlastOpts
 
BlastDatabaseOptionsCBlastOptionsMemento::m_DbOpts
 
BlastScoringOptionsCBlastOptionsMemento::m_ScoringOpts
 
BlastEffectiveLengthsOptionsCBlastOptionsMemento::m_EffLenOpts
 
CBlastOptionsCEffectiveSearchSpacesMemento::m_Options
 Snapshopt of BLAST options. More...
 
BlastEffectiveLengthsOptionsCEffectiveSearchSpacesMemento::m_EffLenOrig
 Original effective length options. More...
 
BlastEffectiveLengthsOptionsCEffectiveSearchSpacesMemento::m_EffLenReplace
 Effective length that will be replaced in the BLAST options object. More...
 
CRef< CBlastQueryVectorCBlastQuerySourceOM::m_QueryVector
 Reference to input CBlastQueryVector (or empty if not used) More...
 
TSeqLocVectorCBlastQuerySourceOM::m_TSeqLocVector
 Reference to input TSeqLocVector (or NULL if not used) More...
 
bool CBlastQuerySourceOM::m_OwnTSeqLocVector
 flag to determine if the member above should or not be deleted in the destructor More...
 
const CBlastOptionsCBlastQuerySourceOM::m_Options
 BLAST algorithm options. More...
 
bool CBlastQuerySourceOM::m_CalculatedMasks
 this flag allows for lazy initialization of the masking locations More...
 
EBlastProgramType CBlastQuerySourceOM::m_Program
 BLAST program variable. More...
 
static unsigned char ctable [16]
 
const CSeq_locCBlastSeqVectorOM::m_SeqLoc
 
CScopeCBlastSeqVectorOM::m_Scope
 
CSeqVector CBlastSeqVectorOM::m_SeqVector
 
CBlast4FieldSBlast4ParamFinder::m_Target2Find
 
CRef< objects::CBlast4_parameters > CBlastOptionsRemote::m_ReqOpts
 
bool CBlastOptionsRemote::m_DefaultsMode
 
static const int kInvalidFilterValue = -1
 
CQuerySetUpOptions CBlastOptionsLocal::m_QueryOpts
 Query sequence settings. More...
 
CLookupTableOptions CBlastOptionsLocal::m_LutOpts
 Lookup table settings. More...
 
CBlastInitialWordOptions CBlastOptionsLocal::m_InitWordOpts
 Word settings. More...
 
CBlastExtensionOptions CBlastOptionsLocal::m_ExtnOpts
 Hit extension settings. More...
 
CBlastHitSavingOptions CBlastOptionsLocal::m_HitSaveOpts
 Hit saving settings. More...
 
CPSIBlastOptions CBlastOptionsLocal::m_PSIBlastOpts
 PSI-Blast settings. More...
 
CPSIBlastOptions CBlastOptionsLocal::m_DeltaBlastOpts
 Delta-Blast settings. More...
 
CBlastDatabaseOptions CBlastOptionsLocal::m_DbOpts
 Blast database settings. More...
 
CBlastScoringOptions CBlastOptionsLocal::m_ScoringOpts
 Scoring options. More...
 
CBlastEffectiveLengthsOptions CBlastOptionsLocal::m_EffLenOpts
 Effective lengths options. More...
 
EProgram CBlastOptionsLocal::m_Program
 Blast program. More...
 
bool CBlastOptionsLocal::m_UseMBIndex
 Use megablast database index. More...
 
bool CBlastOptionsLocal::m_ForceMBIndex
 
bool CBlastOptionsLocal::m_OldStyleMBIndex
 
bool CBlastOptionsLocal::m_MBIndexLoaded
 Database index has been loaded. More...
 
string CBlastOptionsLocal::m_MBIndexName
 Megablast database index name. More...
 
static const TSeqPos kBlastAlignmentDim = 2
 BLAST alignments have always 2 dimensions (i.e. More...
 
TAutoUint1Ptr SBlastSequence::data
 Sequence data. More...
 
TSeqPos SBlastSequence::length
 Length of the buffer above (not necessarily sequence length!) More...
 
objects::ENa_strand IBlastSeqVector::m_Strand
 Maintains the state of the strand currently saved by the implementation of this class. More...
 
EBlastProgramType CBlastQueryFilteredFrames::m_Program
 The type of search being done. More...
 
TFrameSet CBlastQueryFilteredFrames::m_Seqlocs
 Frame and BlastSeqLoc* data. More...
 
TFrameSet CBlastQueryFilteredFrames::m_SeqlocTails
 Frame and tail of BlastSeqLoc* linked list (to speed up appending) More...
 
set< ETranslationFrameCBlastQueryFilteredFrames::m_Frames
 Frames for masked locations. More...
 
bool CBlastQueryFilteredFrames::m_TranslateCoords
 True if this object's masked regions store DNA coordinates that will later be translated into protein coordinates. More...
 
CBlastOptionsMementoCFilteringMemento::m_OptsMemento
 snapshopt of BLAST options More...
 
char * CFilteringMemento::m_FilterString
 original filtering string specified in m_OptsMemento More...
 
SBlastFilterOptionsCFilteringMemento::m_FilterOpts
 original filtering options specified in m_OptsMemento More...
 
const TSeqLocVectorCObjMgr_LocalQueryData::m_Queries
 Adaptee in adapter design pattern. More...
 
CRef< CBlastQueryVectorCObjMgr_LocalQueryData::m_QueryVector
 
const CBlastOptionsCObjMgr_LocalQueryData::m_Options
 
CRef< IBlastQuerySourceCObjMgr_LocalQueryData::m_QuerySource
 
const TSeqLocVectorCObjMgr_RemoteQueryData::m_Queries
 Queries, if input representation is TSeqLocVector, or NULL. More...
 
const CRef< CBlastQueryVectorCObjMgr_RemoteQueryData::m_QueryVector
 Queries, if input representation is a CBlastQueryVector, or NULL. More...
 
const CBlastOptionsCObjMgrFree_LocalQueryData::m_Options
 
CConstRef< CBioseq_setCObjMgrFree_LocalQueryData::m_BioseqSet
 
CRef< IBlastQuerySourceCObjMgrFree_LocalQueryData::m_QuerySource
 
CConstRef< CBioseq_setCObjMgrFree_RemoteQueryData::m_ClientBioseqSet
 Queries, expressed as a CBioseq_set. More...
 
SInternalDataCPrelimSearchRunner::m_InternalData
 Data structure containing all the needed C structures for the preliminary stage of the BLAST search. More...
 
const CBlastOptionsMementoCPrelimSearchRunner::m_OptsMemento
 Pointer to memento which this class doesn't own. More...
 
SInternalData CPrelimSearchThread::m_InternalData
 
const CBlastOptionsMementoCPrelimSearchThread::m_OptsMemento
 
CRef< objects::CPssmWithParameters > CPsiBlastImpl::m_Pssm
 PSSM to be used as query. More...
 
CRef< IQueryFactoryCPsiBlastImpl::m_Query
 Query sequence (either extracted from PSSM or provided in constructor) More...
 
CRef< CLocalDbAdapterCPsiBlastImpl::m_Subject
 PSI-BLAST subject abstraction. More...
 
CConstRef< CBlastOptionsHandleCPsiBlastImpl::m_OptsHandle
 Options to use. More...
 
CRef< CSearchResultSetCPsiBlastImpl::m_Results
 Holds a reference to the results. More...
 
EResultType CPsiBlastImpl::m_ResultType
 Specifies how the results should be produced. More...
 
double ** SNcbiMatrix2DoubleMatrix::m_Data
 double** representation of a CNcbiMatrix More...
 
size_t SNcbiMatrix2DoubleMatrix::m_NumCols
 number of columns in the matrix (for deallocation) More...
 
BlastRPSAuxInfoCBlastRPSAuxInfo::m_Data
 The data structure this class manages. More...
 
static const string CRpsAuxFile::kExtension
 Extension associated with the RPS-BLAST database auxiliary file. More...
 
CRef< CBlastRPSAuxInfoCRpsAuxFile::m_Data
 
unique_ptr< CMemoryFileCRpsMmappedFile::m_MmappedFile
 The data structure this class manages. More...
 
static const string CRpsLookupTblFile::kExtension
 Extension associated with the RPS-BLAST database lookup table file. More...
 
BlastRPSLookupFileHeaderCRpsLookupTblFile::m_Data
 The data structure this class manages. More...
 
static const string CRpsPssmFile::kExtension
 Extension associated with the RPS-BLAST database PSSM file. More...
 
BlastRPSProfileHeaderCRpsPssmFile::m_Data
 The data structure this class manages. More...
 
static const string CRpsFreqsFile::kExtension
 Extension associated with the RPS-BLAST database PSSM file. More...
 
BlastRPSProfileHeaderCRpsFreqsFile::m_Data
 The data this class manages. More...
 
static const string CRpsObsrFile::kExtension
 Extension associated with the RPS-BLAST database PSSM file. More...
 
BlastRPSProfileHeaderCRpsObsrFile::m_Data
 Header. More...
 
static const string CRpsFreqRatiosFile::kExtension
 Extension associated with the RPS-BLAST database PSSM file. More...
 
BlastRPSFreqRatiosHeaderCRpsFreqRatiosFile::m_Data
 The data this class manages. More...
 
CBlastQuerySourceBioseqSet CBioseqSeqInfoSrc::m_DataSource
 
bool CMultiSeqInfo::m_ibIsProt
 Internal fields. More...
 
vector< BLAST_SequenceBlk * > CMultiSeqInfo::m_ivSeqBlkVec
 Vector of sequence blocks. More...
 
unsigned int CMultiSeqInfo::m_iMaxLength
 Length of the longest sequence in this set. More...
 
unsigned int CMultiSeqInfo::m_iAvgLength
 Average length of sequences in this set. More...
 
Int8 CMultiSeqInfo::m_iTotalLength
 Total length of sequences in this set. More...
 
bool CMultiSeqInfo::m_DbScanMode
 Database scanning mode (not pairwise) More...
 
TSeqLocVector SMultiSeqSrcNewArgs::seq_vector
 Vector of sequences. More...
 
EBlastProgramType SMultiSeqSrcNewArgs::program
 BLAST program. More...
 
bool SMultiSeqSrcNewArgs::dbscan_mode
 Database mode (not pairwise) More...
 
bool CQueryFactoryInfo::m_IsProt
 Are these sequences protein or nucleotide? More...
 
vector< BLAST_SequenceBlk * > CQueryFactoryInfo::m_SeqBlkVector
 Vector of sequence blocks. More...
 
unsigned int CQueryFactoryInfo::m_MaxLength
 Length of the longest sequence in this set. More...
 
unsigned int CQueryFactoryInfo::m_MinLength
 Length of the longest sequence in this set. More...
 
unsigned int CQueryFactoryInfo::m_AvgLength
 Average length of sequences in this set. More...
 
CRef< IBlastQuerySourceCQueryFactoryInfo::m_QuerySource
 local query data obtained from the query factory More...
 
Uint4 CQueryFactoryInfo::m_NumSeqs
 Number of sequences. More...
 
CRef< IQueryFactorySQueryFactorySrcNewArgs::query_factory
 The query factory. More...
 
TSeqLocVector SQueryFactorySrcNewArgs::subj_seqs
 The subject sequences. More...
 
EBlastProgramType SQueryFactorySrcNewArgs::program
 BLAST program. More...
 
 USING_NCBI_SCOPE
 
CRef< CSeqDBExpertSSeqDB_SeqSrc_Data::seqdb
 SeqDB object. More...
 
int SSeqDB_SeqSrc_Data::mask_algo_id
 Algorithm ID and type for mask data fetching. More...
 
ESubjectMaskingType SSeqDB_SeqSrc_Data::mask_type
 
bool SSeqDB_SeqSrc_Data::copied
 
bool SSeqDB_SeqSrc_Data::isProtein
 
CSeqDB::TSequenceRanges SSeqDB_SeqSrc_Data::seq_ranges
 Ranges of the sequence to include (for masking). More...
 
string CSeqDbSrcNewArgs::m_DbName
 Database name. More...
 
bool CSeqDbSrcNewArgs::m_IsProtein
 Is this database protein? More...
 
Uint4 CSeqDbSrcNewArgs::m_FirstDbSeq
 Ordinal id of the first sequence to search. More...
 
Uint4 CSeqDbSrcNewArgs::m_FinalDbSeq
 Ordinal id of the last sequence to search. More...
 
Int4 CSeqDbSrcNewArgs::m_MaskAlgoId
 filtering algorithm ID to use when retrieving sequence data More...
 
ESubjectMaskingType CSeqDbSrcNewArgs::m_MaskType
 
CRef< IQueryFactoryCQuerySplitter::m_QueryFactory
 The original, unsplit query factory. More...
 
const CBlastOptionsCQuerySplitter::m_Options
 BLAST options. More...
 
Uint4 CQuerySplitter::m_NumChunks
 Number of chunks, if this is 1, no splitting occurs. More...
 
CRef< CSplitQueryBlkCQuerySplitter::m_SplitBlk
 Split query block structure. More...
 
vector< CRef< IQueryFactory > > CQuerySplitter::m_QueryChunkFactories
 Vector of query factories, each element corresponds to a chunk. More...
 
CRef< ILocalQueryDataCQuerySplitter::m_LocalQueryData
 Source of local query data. More...
 
size_t CQuerySplitter::m_TotalQueryLength
 Length of the concatenated query. More...
 
size_t CQuerySplitter::m_ChunkSize
 Size of the query chunks. More...
 
TScopeVector CQuerySplitter::m_Scopes
 Vector of CScope objects. More...
 
TSeqLocInfoVector CQuerySplitter::m_UserSpecifiedMasks
 Vector of masking locations. More...
 
TSplitQueryVector CQuerySplitter::m_SplitQueriesInChunk
 Vector of split queries. More...
 
vector< vector< int > > CContextTranslator::m_ContextsPerChunk
 Each element in this vector represents a chunk, and it contains the contexts numbers that correspond in the full concatenated query. More...
 
vector< vector< int > > CContextTranslator::m_StartingChunks
 
vector< vector< int > > CContextTranslator::m_AbsoluteContexts
 
EBlastProgramType CQueryDataPerChunk::m_Program
 BLAST program type. More...
 
vector< vector< size_t > > CQueryDataPerChunk::m_QueryIndicesPerChunk
 Each element in this vector represents a chunk, and it contains the query indices that correspond in the full concatenated query. More...
 
vector< size_t > CQueryDataPerChunk::m_QueryLengths
 Lengths of the queries. More...
 
vector< intCQueryDataPerChunk::m_LastChunkForQueryCache
 Lists the last chunk where the query can be found. More...
 
SSplitQueryBlkCSplitQueryBlk::m_SplitQueryBlk
 The structure this object manages. More...
 
static const string kReferences [(int) CReference::eMaxPublications+1]
 References for the various BLAST publications. More...
 
static const string kPubMedUrls [(int) CReference::eMaxPublications+1]
 Pubmed URLs to retrieve the references defined above. More...
 
 USING_NCBI_SCOPE
 
static const char * CAutoNcbiConfigFile::kSection = "BLAST"
 
static const char * CAutoNcbiConfigFile::kDataLoaders = "DATA_LOADERS"
 
static const char * CAutoNcbiConfigFile::kProtBlastDbDataLoader = "BLASTDB_PROT_DATA_LOADER"
 
static const char * CAutoNcbiConfigFile::kNuclBlastDbDataLoader = "BLASTDB_NUCL_DATA_LOADER"
 
CNcbiApplicationCAutoNcbiConfigFile::m_App
 
CNcbiRegistryCAutoNcbiConfigFile::m_Registry
 
string CAutoNcbiConfigFile::m_BlastDb
 
CRef< blast::CBlastScopeSource > CBlastScopeSourceWrapper::m_ScopeSrc
 
static int max_allowed_VJ_distance_with_D = 225
 
static int max_allowed_VJ_distance_without_D = 50
 
static int max_allowed_VD_distance = 120
 
static int max_allowed_j_deletion = 32
 
static int extend_length5end = 30
 
static int extend_length3end = 15
 
static int max_J_length = 70
 
static int max_allowed_V_end_to_J_end = max_allowed_VJ_distance_with_D + max_J_length
 
static int max_v_j_overlap = 7
 
static int j_wordsize = 7
 

Friends

class CBl2Seq::::CBlastFilterTest
 
class CCddInputData::::CPssmCddInputTest
 
class CLocalBlast::::CBlastFilterTest
 
class CLocalBlast::CBl2Seq
 
class CPsiBlastInputData::::CPssmCreateTestFixture
 unit test class More...
 
class CPssmEngine::::CPssmCreateTestFixture
 unit test class More...
 
class CSeqDbSeqInfoSrc::CBlastTracebackSearch
 Friend declaration so that this class can access the CSeqDB object to enable partial subject sequence fetching. More...
 
class CBlastOptionsMemento::CBlastOptions
 
class CBlastOptionsMemento::CSetupFactory
 
class CBlastOptionsMemento::CPrelimSearchRunner
 
class CBlastOptionsMemento::CBlastPrelimSearch
 
class CBlastOptionsMemento::CBlastTracebackSearch
 
class CBlastOptionsMemento::CFilteringMemento
 
class CBlastOptionsMemento::CEffectiveSearchSpaceCalculator
 
class CBlastOptionsLocal::CBlastOptions
 
class CBlastOptionsLocal::CBlastOptionsMemento
 Friend class which allows extraction of this class' data members for internal use in the C++ API APIs. More...
 
class CBlastOptionsLocal::CEffectiveSearchSpacesMemento
 
class CQuerySplitter::::CSplitQueryTestFixture
 Declare unit test class as a friend. More...
 
bool CIndexedDb_New::SVolumeDescriptor::operator< (const SVolumeDescriptor &a, const SVolumeDescriptor &b)
 Volumes are compared by their starting ordinal ids. More...
 
std::ostream & CIndexedDb_New::SVolumeDescriptor::operator<< (std::ostream &os, const SVolumeDescriptor &vd)
 This is only used for debug tracing. More...
 
ostream & CQuerySplitter::operator<< (ostream &out, const CQuerySplitter &rhs)
 Print this object so that its contents can be directly used to update split_query.ini (for unit testing) More...
 
ostream & CContextTranslator::operator<< (ostream &out, const CContextTranslator &rhs)
 Print this object so that its contents can be directly used to update split_query.ini (for unit testing) More...
 
ostream & CSplitQueryBlk::operator<< (ostream &out, const CSplitQueryBlk &rhs)
 Print this object so that its contents can be directly used to update split_query.ini (for unit testing) More...
 

Detailed Description

Macro Definition Documentation

◆ BLAST2NA_SIZE

#define BLAST2NA_SIZE   4

Size of compressed nucleic acid alphabet.

Definition at line 91 of file blast_encoding.h.

◆ BLASTAA_SEQ_CODE

#define BLASTAA_SEQ_CODE   11

== Seq_code_ncbistdaa

Definition at line 98 of file blast_encoding.h.

◆ BLASTAA_SIZE

#define BLASTAA_SIZE   28

Size of aminoacid alphabet.

Definition at line 93 of file blast_encoding.h.

◆ BLASTNA_SEQ_CODE

#define BLASTNA_SEQ_CODE   99

Identifies the blastna alphabet, for use in blast only.

Definition at line 97 of file blast_encoding.h.

◆ BLASTNA_SIZE

#define BLASTNA_SIZE   16

Size of nucleic acid alphabet.

Definition at line 92 of file blast_encoding.h.

◆ DECLARE_AUTO_CLASS_WRAPPER

#define DECLARE_AUTO_CLASS_WRAPPER (   struct_name,
  free_func 
)
Value:
/** Wrapper class for struct_name. */ \
\
class NCBI_XBLAST_EXPORT C##struct_name : public CObject \
{ \
public: \
C##struct_name() : m_Ptr(NULL) {} \
C##struct_name(struct_name* p) : m_Ptr(p) {} \
virtual ~C##struct_name() { Reset(); } \
void Reset(struct_name* p = NULL) { \
if (m_Ptr) { \
free_func(m_Ptr); \
} \
m_Ptr = p; \
} \
struct_name* Release() { \
struct_name* retval = m_Ptr; \
m_Ptr = NULL; \
return retval; \
} \
struct_name* Get() const { return m_Ptr; } \
operator struct_name *() { return m_Ptr; } \
operator struct_name *() const { return m_Ptr; } \
struct_name* operator->() { return m_Ptr; } \
struct_name* operator->() const { return m_Ptr; } \
struct_name** operator&() { return &m_Ptr; } \
virtual void DebugDump(CDebugDumpContext ddc, unsigned int depth) const;\
private: \
struct_name* m_Ptr; \
}
#define NCBI_XBLAST_EXPORT
NULL operations for other cases.
Definition: blast_export.h:65
CObject –.
Definition: ncbiobj.hpp:180
static unsigned char depth[2 *(256+1+29)+1]
#define C(s)
Definition: common.h:231
CSafeFlags< E > operator&(E a, CSafeFlags< E > b)
Definition: ncbimisc.hpp:1363
#define NULL
Definition: ncbistd.hpp:225
const TYPE & Get(const CNamedParameterList *param)

Declares class to handle deallocating of the structure using the appropriate function.

Definition at line 274 of file blast_aux.hpp.

◆ GAP_IN_ALIGNMENT [1/2]

#define GAP_IN_ALIGNMENT   ((Uint4)-1)

Representation of GAP in Seq-align.

Definition at line 65 of file cdd_pssm_input.cpp.

◆ GAP_IN_ALIGNMENT [2/2]

#define GAP_IN_ALIGNMENT   ((Uint4)-1)

Representation of GAP in Seq-align.

Definition at line 72 of file psi_pssm_input.cpp.

◆ GAP_VALUE

#define GAP_VALUE   -1

Value in the Dense-seg indicating a gap.

Definition at line 66 of file blast_seqalign.cpp.

◆ NCBI4NA_SEQ_CODE

#define NCBI4NA_SEQ_CODE   4

== Seq_code_ncbi4na

Definition at line 99 of file blast_encoding.h.

◆ NCBI_MODULE [1/2]

#define NCBI_MODULE   NETBLAST

Definition at line 61 of file blast_services.hpp.

◆ NCBI_MODULE [2/2]

#define NCBI_MODULE   NETBLAST

Definition at line 57 of file blast_services.cpp.

◆ SMALLEST_EVALUE

#define SMALLEST_EVALUE   1.0e-180

Threshold below which e-values are saved as 0.

Definition at line 62 of file blast_seqalign.cpp.

◆ TYPEDEF_AUTOPTR_ARRAYDELETER

#define TYPEDEF_AUTOPTR_ARRAYDELETER (   type)    typedef AutoPtr<type, ArrayDeleter<type> > TAuto ## type ## ArrayPtr

Uses delete [] operator - for C++ arrays.

Definition at line 93 of file blast_aux.hpp.

◆ TYPEDEF_AUTOPTR_CDELETER

#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.

Definition at line 89 of file blast_aux.hpp.

Typedef Documentation

◆ argument_type

Definition at line 137 of file blast_aux.hpp.

◆ const_iterator [1/2]

const_iterator type definition

Definition at line 322 of file blast_results.hpp.

◆ const_iterator [2/2]

const_iterator type definition

Definition at line 251 of file magicblast.hpp.

◆ EAPILocality [1/2]

Convenience define.

See also
CBlastOptions class

Definition at line 85 of file blast_options_handle.hpp.

◆ EAPILocality [2/2]

Convenience define.

See also
CBlastOptions class

Definition at line 146 of file blast_options_handle.hpp.

◆ EConfigOpts

typedef blast::SDataLoaderConfig::EConfigOpts CAutoNcbiConfigFile::EConfigOpts

Definition at line 61 of file blast_input_unit_test_aux.hpp.

◆ ETranslationFrame [1/2]

Convenience typedef.

Definition at line 136 of file blast_aux.hpp.

◆ ETranslationFrame [2/2]

Data type for frame value, however inputs to methods use "int" instead of this type for readability and brevity.

Definition at line 432 of file blast_setup.hpp.

◆ iterator [1/2]

iterator type definition

Definition at line 325 of file blast_results.hpp.

◆ iterator [2/2]

iterator type definition

Definition at line 254 of file magicblast.hpp.

◆ result_type

Definition at line 138 of file blast_aux.hpp.

◆ size_type [1/2]

size_type type definition

Definition at line 316 of file blast_results.hpp.

◆ size_type [2/2]

size_type type definition

Definition at line 248 of file magicblast.hpp.

◆ TAncillaryVector

typedef for a vector of CRef<CBlastAncillaryData>

Definition at line 319 of file blast_results.hpp.

◆ TAutoCharPtr

Declares TAutoCharPtr (for Char arrays allocated with malloc/calloc)

Definition at line 100 of file blast_aux.hpp.

◆ TAutoUint1ArrayPtr

Declares TAutoUint1ArrayPtr (for Uint1 arrays allocated with new[])

Definition at line 102 of file blast_aux.hpp.

◆ TAutoUint1Ptr

Declares TAutoUint1Ptr (for Uint1 arrays allocated with malloc/calloc)

Definition at line 98 of file blast_aux.hpp.

◆ TBioseqVector

typedef vector< CRef<objects::CBioseq> > CBlastServices::TBioseqVector

Defines a std::vector of CRef<CBioseq>

Definition at line 161 of file blast_services.hpp.

◆ TBlast4Opts

typedef ncbi::objects::CBlast4_parameters CBlastOptionsRemote::TBlast4Opts

Definition at line 88 of file blast_options_cxx.cpp.

◆ TBlastDiagnostics

Definition at line 304 of file setup_factory.hpp.

◆ TBlastHSPStream

Definition at line 305 of file setup_factory.hpp.

◆ TBlastScoreBlk

Definition at line 302 of file setup_factory.hpp.

◆ TBlastSeqSrc

Definition at line 306 of file setup_factory.hpp.

◆ TChunkRange

Range describing a query chunk.

Definition at line 50 of file split_query_blk.hpp.

◆ TDelete

template<class TData >
typedef TData*() CStructWrapper< TData >::TDelete(TData *)

type definition for a function that deallocated memory associated with an object.

This functions return value is ignored; it would be void, except that most existing deletion functions return "NULL".

Definition at line 100 of file setup_factory.hpp.

◆ TErrorList

typedef list< CRef<objects::CBlast4_error> > TErrorList

Error value type used by Blast4 ASN.1 objects.

Definition at line 78 of file remote_blast.cpp.

◆ TFrameSet

Frame and BlastSeqLoc* info type.

Definition at line 517 of file blast_setup.hpp.

◆ TFreqs

Type used for residue frequencies stored in CDD.

Definition at line 100 of file cdd_pssm_input.hpp.

◆ TGiList

typedef vector<TGi> CSearchDatabase::TGiList

Define a list of gis.

Definition at line 112 of file uniform_search.hpp.

◆ TGSRR

typedef objects::CBlast4_get_search_results_reply CRemoteBlast::TGSRR
private

An alias for the most commonly used part of the Blast4 search results.

Definition at line 515 of file remote_blast.hpp.

◆ THitIdentifiers

Container of Seq-ids for the subject sequences (hits) aligned with the query.

Definition at line 108 of file psiblast_aux_priv.hpp.

◆ TKarlinAltschulBlocks

typedef list< CRef<objects::CBlast4_ka_block > > CRemoteBlast::TKarlinAltschulBlocks

Convenience typedef for a list of CRef<CBlast4_ka_block>

Definition at line 348 of file remote_blast.hpp.

◆ TLookupTableWrap

Definition at line 303 of file setup_factory.hpp.

◆ TMaskList

typedef list< CRef<objects::CBlast4_mask> > CBlastOptionsBuilder::TMaskList

List of Blast4 masks.

Definition at line 63 of file blast_options_builder.hpp.

◆ TObsr

Type used for number of independent observations stored in CDD.

Definition at line 103 of file cdd_pssm_input.hpp.

◆ TQueryIdVector

typedef vector< CConstRef<objects::CSeq_id> > CSearchResultSet::TQueryIdVector

List of query ids.

Definition at line 313 of file blast_results.hpp.

◆ TRange

typedef CRange<int> CCddInputData::TRange
protected

Definition at line 201 of file cdd_pssm_input.hpp.

◆ TResultSet

Type used to represent collections of search result sets.

Definition at line 214 of file blast_dbindex.cpp.

◆ TResultsHolder

typedef std::vector< SVolResults > CIndexedDb_New::TResultsHolder
private

List of reference counted result holders.

Definition at line 388 of file blast_dbindex.cpp.

◆ TResultsInfo

Definition at line 149 of file magicblast.hpp.

◆ TScopeVector

typedef vector< CRef<objects::CScope> > CQuerySplitter::TScopeVector

Defines a vector of CScope objects.

Definition at line 69 of file split_query.hpp.

◆ TSeedTopResults

Definition at line 140 of file seedtop.hpp.

◆ TSeqDataVector [1/2]

typedef vector< CRef<objects::CSeq_data> > CRemoteBlast::TSeqDataVector

Defines a std::vector of CRef<CSeq_data>

Definition at line 387 of file remote_blast.hpp.

◆ TSeqDataVector [2/2]

typedef vector< CRef<objects::CSeq_data> > CBlastServices::TSeqDataVector

Defines a std::vector of CRef<CSeq_data>

Definition at line 222 of file blast_services.hpp.

◆ TSeqDBData

Definition at line 106 of file seqsrc_seqdb.cpp.

◆ TSeqIds

typedef set<objects::CSeq_id_Handle> CPsiBlastIterationState::TSeqIds

List of CSeq_ids.

Definition at line 89 of file psiblast_iteration.hpp.

◆ TSeqIdVector

typedef vector< CRef<objects::CSeq_id> > CBlastServices::TSeqIdVector

Defines a std::vector of CRef<CSeq_id>

Definition at line 159 of file blast_services.hpp.

◆ TSeqIntervalVector [1/2]

typedef vector< CRef<objects::CSeq_interval> > CRemoteBlast::TSeqIntervalVector

Defines a std::vector of CRef<CSeq_interval>

Definition at line 385 of file remote_blast.hpp.

◆ TSeqIntervalVector [2/2]

typedef vector< CRef<objects::CSeq_interval> > CBlastServices::TSeqIntervalVector

Defines a std::vector of CRef<CSeq_interval>

Definition at line 220 of file blast_services.hpp.

◆ TSeqLocList

typedef list< CRef<objects::CSeq_loc> > CRemoteBlast::TSeqLocList

Typedef for a list of Seq-locs.

Definition at line 193 of file remote_blast.hpp.

◆ TSeqLocs

typedef list< CRef<objects::CSeq_loc> > IRemoteQueryData::TSeqLocs

Type definition for CSeq_loc set used as queries in the BLAST remote search class.

Definition at line 123 of file query_data.hpp.

◆ TSeqLocVector

typedef vector< CConstRef<objects::CSeq_loc> > CBlastOptionsRemote::TSeqLocVector

Definition at line 94 of file blast_options_cxx.cpp.

◆ TSeqMap

typedef vector< CDbIndex::TSeqNum > CIndexedDb_Old::TSeqMap
private

Type used to map loaded indices to subject ids.

Definition at line 217 of file blast_dbindex.cpp.

◆ TSPHIPatternSearchBlk

Definition at line 307 of file setup_factory.hpp.

◆ TSplitQueryVector

Definition of a vector of CBlastQueryVectors, each element corresponds to a query chunk.

Definition at line 73 of file split_query.hpp.

◆ TStrVec

typedef std::vector< std::string > CIndexedDb_New::TStrVec
private

Alias for a vector os strings.

Definition at line 339 of file blast_dbindex.cpp.

◆ TValueList [1/2]

typedef objects::CBlast4_parameters::Tdata CBlastOptionsBuilder::TValueList

List of name/value pairs.

Definition at line 60 of file blast_options_builder.hpp.

◆ TValueList [2/2]

typedef list< CRef<objects::CBlast4_parameter> > CRemoteBlast::TValueList
private

Value list.

Definition at line 512 of file remote_blast.hpp.

◆ TVolList

typedef std::vector< SVolumeDescriptor > CIndexedDb_New::TVolList
private

List of leaf index volumes.

Definition at line 369 of file blast_dbindex.cpp.

◆ TVolResults

This type captures the seeds found by search of an index volume.

Definition at line 372 of file blast_dbindex.cpp.

◆ value_type [1/2]

data type contained by this container

Definition at line 310 of file blast_results.hpp.

◆ value_type [2/2]

data type contained by this container

Definition at line 245 of file magicblast.hpp.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum

Never have less than 1 thread.

Enumerator
kMinNumThreads 

Definition at line 166 of file setup_factory.hpp.

◆ anonymous enum

anonymous enum
private

Initial value of all entries in the above cache.

Enumerator
kUninitialized 

Definition at line 250 of file split_query_aux_priv.hpp.

◆ EApplyTo

Master selection for operations involving ranges.

Enumerator
eQuery 
eSubject 

Definition at line 285 of file cdd_pssm_input.hpp.

◆ EBlastEncoding

Different types of sequence encodings for sequence retrieval from the BLAST database.

Enumerator
eBlastEncodingProtein 

NCBIstdaa.

eBlastEncodingNucleotide 

Special encoding for preliminary stage of BLAST: permutation of NCBI4na.

A.k.a.: BLASTNA encoding

eBlastEncodingNcbi4na 

NCBI4na.

eBlastEncodingNcbi2na 

NCBI2na.

eBlastEncodingError 

Error value for encoding.

Definition at line 53 of file blast_encoding.h.

◆ EDebugMode

Debugging support can be turned on with eDebug or off with eSilent.

Enumerator
eDebug 
eSilent 

Definition at line 371 of file remote_blast.hpp.

◆ EErrCode [1/6]

Error types that BLAST can generate.

Enumerator
eOutOfMemory 

Out-of-memory.

eNetworkError 

Network error.

Definition at line 51 of file blast_exception.hpp.

◆ EErrCode [2/6]

Error types that BLAST can generate.

Enumerator
eCoreBlastError 

FIXME: need to interpret CORE errors.

eInvalidOptions 

Invalid algorithm options.

eInvalidArgument 

Invalid argument to some function/method (could be programmer error - prefer assertions in those cases unless API needs to be "bullet-proof")

eNotSupported 

Feature not supported.

eInvalidCharacter 

Invalid character in sequence data.

eSeqSrcInit 

Initialization error in BlastSeqSrc implementation.

eRpsInit 

Error while initializing RPS-BLAST.

eSetup 

Error while setting up BLAST.

eSystem 

System exception.

Definition at line 74 of file blast_exception.hpp.

◆ EErrCode [3/6]

Types of exceptions generated by the CPssmEngine class.

Enumerator
eNullInputData 
eInvalidInputData 

Definition at line 66 of file pssm_engine.hpp.

◆ EErrCode [4/6]

Types of exceptions generated by the CRemoteBlast class.

Enumerator
eServiceNotAvailable 

Service is not available.

eIncompleteConfig 

Remote BLAST object not fully configured.

Definition at line 68 of file remote_blast.hpp.

◆ EErrCode [5/6]

Errors are classified into one of two types.

Enumerator
eConfigErr 

Argument validation failed.

eMemErr 

Memory allocation failed.

eInternal 

Internal error (e.g. unimplemented methods).

Definition at line 81 of file uniform_search.hpp.

◆ EErrCode [6/6]

Errors are classified into one of two types.

Enumerator
eArgErr 

Argument validation failed.

eFileErr 

Files were missing or contents were incorrect.

eRequestErr 

Request failed.

eMemErr 

Memory allocation failed.

Definition at line 70 of file blast_services.hpp.

◆ EImmediacy

Indicates whether to use async mode.

Enumerator
ePollAsync 
ePollImmed 

Definition at line 535 of file remote_blast.hpp.

◆ EMoleculeType

Molecule of the BLAST database.

Enumerator
eBlastDbIsProtein 

protein

eBlastDbIsNucleotide 

nucleotide

Definition at line 115 of file uniform_search.hpp.

◆ ENeedConfig

This class attempts to verify whether all necessary configuration is complete before attempting to submit the search.

Enumerator
eNoConfig 
eProgram 
eService 
eQueries 
eSubject 
eNeedAll 

Definition at line 542 of file remote_blast.hpp.

◆ EOpenFlags

Flags for opening database files.

Enumerator
fLookupTableFile 
fPssmFile 

Open pssm file.

fAuxInfoFile 

Open auxiliary information file.

fFrequenciesFile 

Open residue frequencies file.

fObservationsFile 

Open file with numbers of independent observations.

fFreqRatiosFile 

Open file with frequency ratios.

fRpsBlast 

Flags set for RPS-BLAST.

fDeltaBlast 

Flags set for DELTA-BLAST.

fRpsBlastWithCBS 

Flags set for RPS-BLAST running in CBS mode.

Definition at line 72 of file rps_aux.hpp.

◆ EOrdering

Ordering of alignments.

Enumerator
eFwRevFirst 
eRevFwFirst 

Definition at line 152 of file magicblast.hpp.

◆ EPublication

Enumerates the various BLAST publications.

Enumerator
eGappedBlast 

1997 NAR paper

ePhiBlast 

1998 NAR paper

eMegaBlast 

2000 J Compt Biol paper

eCompBasedStats 

2001 NAR paper

eCompAdjustedMatrices 

submitted for publication

eIndexedMegablast 

2008 Bioinformatics on indexed megablast

eDeltaBlast 

2012 Biology Direct on DeltaBLAST

eMaxPublications 

Used as sentinel value.

Definition at line 70 of file version.hpp.

◆ EQueryFactoryType

Enumeration to specify the different uses of the query factory.

Enumerator
eQFT_Query 
eQFT_Subject 

Definition at line 139 of file psiblast_aux_priv.hpp.

◆ EResultsInfo

Information flags about mapping results.

Enumerator
fUnaligned 

Read is unaligned.

fFiltered 

Read did not pass quality filtering.

Definition at line 141 of file magicblast.hpp.

◆ ESearchStatus

Represents the status of previously submitted search/RID.

Enumerator
eStatus_Unknown 

Never submitted or purged from the system.

eStatus_Done 

Completed successfully.

eStatus_Pending 

Not completed yet.

eStatus_Failed 

Completed but failed, call GetErrors/GetErrorVector()

Definition at line 251 of file remote_blast.hpp.

◆ ESentinelType

Allows specification of whether sentinel bytes should be used or not.

Enumerator
eSentinels 

Use sentinel bytes.

eNoSentinels 

Do not use sentinel bytes.

Definition at line 93 of file blast_setup.hpp.

◆ EState

enum CRemoteBlast::EState
private

Various states the search can be in.

eStart Not submitted, can still be configured. eFailed An error was encountered. eWait The search is still running. eDone Results are available.

Enumerator
eStart 
eFailed 
eWait 
eDone 

Definition at line 527 of file remote_blast.hpp.

◆ ETaskSets

Sets of tasks for the command line BLAST binaries.

Enumerator
eNuclNucl 

Nucleotide-nucleotide tasks.

eProtProt 

Protein-protein tasks.

eMapping 

Mapping tasks.

eAll 

Retrieve all available tasks.

Definition at line 111 of file blast_options_handle.hpp.

Function Documentation

◆ AddContextOffsetToChunk()

void CSplitQueryBlk::AddContextOffsetToChunk ( size_t  chunk_num,
Int4  context_offset 
)

Adds a context offset (correction) to a given chunk.

Parameters
chunk_numdesired chunk [in]
context_offsetquery context offset (correction) to be added [in]

Definition at line 183 of file split_query_blk.cpp.

References CSplitQueryBlk::m_SplitQueryBlk, and SplitQueryBlk_AddContextOffsetToChunk().

Referenced by CQuerySplitter::x_ComputeContextOffsets_NonTranslatedQueries(), and CQuerySplitter::x_ComputeContextOffsets_TranslatedQueries().

◆ AddContextToChunk()

void CSplitQueryBlk::AddContextToChunk ( size_t  chunk_num,
Int4  context_index 
)

Adds a query context to a given chunk.

Parameters
chunk_numdesired chunk [in]
context_indexcontext of the concatenated query to be added [in]

Definition at line 173 of file split_query_blk.cpp.

References CSplitQueryBlk::m_SplitQueryBlk, and SplitQueryBlk_AddContextToChunk().

Referenced by CQuerySplitter::x_ComputeQueryContextsForChunks().

◆ AddGeneticCode()

void CAutomaticGenCodeSingleton::AddGeneticCode ( int  genetic_code)

Add the genetic code to the genetic code singleton.

Parameters
genetic_codeInteger representing the genetic code [in]

Definition at line 653 of file blast_aux.cpp.

References FindGeneticCode(), GenCodeSingletonAdd(), GenCodeSingletonFind(), AutoPtr< X, Del >::get(), and NULL.

Referenced by CBlastOptions::SetDbGeneticCode(), and CBlastOptions::SetQueryGeneticCode().

◆ AddIndexInfo()

void CIndexedDb_New::AddIndexInfo ( const std::string vol_name,
bool idx_not_resolved 
)
private

◆ AddMessageAllQueries()

void TSearchMessages::AddMessageAllQueries ( EBlastSeverity  severity,
int  error_id,
const string message 
)

Add a message for all queries.

Parameters
severityThe severity of this message. [in]
error_idA number unique to this error. [in]
messageA description of the error for the user. [in]

Definition at line 1056 of file blast_aux.cpp.

References eBlastSevWarning, kBlastMessageNoContext, and NON_CONST_ITERATE.

Referenced by CSetupFactory::CreateScoreBlock(), and CBlastPrelimSearch::Run().

◆ AddQueryToChunk()

void CSplitQueryBlk::AddQueryToChunk ( size_t  chunk_num,
Int4  query_index 
)

Adds a query index to a given chunk.

Parameters
chunk_numdesired chunk [in]
query_indexindex of query to be added [in]

Definition at line 163 of file split_query_blk.cpp.

References CSplitQueryBlk::m_SplitQueryBlk, and SplitQueryBlk_AddQueryToChunk().

Referenced by CQuerySplitter::x_ComputeQueryIndicesForChunks().

◆ AddSeqLoc()

void CBlastQueryFilteredFrames::AddSeqLoc ( const objects::CSeq_interval &  intv,
int  frame 
)

Add a masked interval to the specified frame.

The specified interval of the specified frame is masked. This creates a BlastSeqLoc object inside this container for that frame, which will be freed at destruction time unless the client code calls Release() for that frame.

Parameters
intvThe interval to mask.
frameThe specific frame, expressed as a value from ETranslationFrame, on which this interval falls.

Definition at line 1731 of file blast_setup_cxx.cpp.

References _ASSERT, BlastSeqLocNew(), eBlastTypeBlastn, eBlastTypeMapping, CSeqLocInfo::eFrameMinus1, CSeqLocInfo::eFramePlus1, set< Key, Compare >::empty(), i, CBlastQueryFilteredFrames::m_Frames, CBlastQueryFilteredFrames::m_Program, CBlastQueryFilteredFrames::m_Seqlocs, CBlastQueryFilteredFrames::m_SeqlocTails, and CBlastQueryFilteredFrames::x_VerifyFrame().

Referenced by CBlastQueryFilteredFrames::CBlastQueryFilteredFrames().

◆ AdjustProgram()

EProgram CBlastOptionsBuilder::AdjustProgram ( const TValueList L,
EProgram  program,
const string program_string 
)
static

Adjust the EProgram based on option values.

The blast4 protocol uses a notion of program and service to represent the type of search to do. However, for some values of program and service, it is necessary to look at options values in order to determine the precise EProgram value. This is particularly true when dealing with discontiguous megablast for example. This method adjusts the program value based on the additional information found in these options.

Parameters
LThe list of options used for this search.
programThe EProgram suggested by program+service.
program_stringThe program as a string.
Returns
The EProgram value as adjusted by options or the argument program if L is NULL

Definition at line 586 of file blast_options_builder.cpp.

References _TRACE, eBlastn, eBlastOpt_IgnoreMsaMaster, eBlastOpt_MBTemplateLength, eBlastOpt_PHIPattern, eBlastOpt_PseudoCount, eBlastOpt_Web_RunPsiBlast, eBlastOpt_Web_StepNumber, eBlastp, eDiscMegablast, ePHIBlastn, ePHIBlastp, ePSIBlast, CBlast4Field::Get(), CBlast4_value_Base::GetInteger(), CBlast4Field::GetName(), CBlast4_parameter_Base::GetValue(), ITERATE, msg(), and NCBI_THROW.

Referenced by CBlastOptionsBuilder::GetSearchOptions().

◆ AdjustRanges()

void CCddInputData::CHitSegment::AdjustRanges ( int  d_from,
int  d_to 
)

Change ranges on query and subject by given values.

Parameters
d_fromChange value for the beginning of the segment [in]
d_toChange value for the end of the segment [in]

d_from and d_to are added to begining and end of both query and subject ranges. d_from and d_to can be negative.

Definition at line 788 of file cdd_pssm_input.cpp.

Referenced by CCddInputData::CHit::IntersectWith(), and CCddInputData::CHit::Subtract().

◆ Advance()

void CPsiBlastIterationState::Advance ( const TSeqIds list)

◆ begin() [1/4]

iterator CSearchResultSet::begin ( )
inline

Returns iterator to beginning of container, provided to facilitate STL-style iteration.

Definition at line 439 of file blast_results.hpp.

References CSearchResultSet::m_Results.

◆ begin() [2/4]

iterator CMagicBlastResultSet::begin ( )
inline

Returns iterator to the beginning of the container.

Definition at line 277 of file magicblast.hpp.

References CMagicBlastResultSet::m_Results.

◆ begin() [3/4]

const_iterator CSearchResultSet::begin ( ) const
inline

Returns const_iterator to beginning of container, provided to facilitate STL-style iteration.

Definition at line 431 of file blast_results.hpp.

References CSearchResultSet::m_Results.

Referenced by s_AddNewResultSet().

◆ begin() [4/4]

const_iterator CMagicBlastResultSet::begin ( ) const
inline

Returns const iteartor to the beginning of the container, provided to facilitate STL-style iteartion.

Definition at line 271 of file magicblast.hpp.

References CMagicBlastResultSet::m_Results.

◆ Blast_CMT_LOCKInit()

MT_LOCK Blast_CMT_LOCKInit ( void  )

Initialize a mutex locking mechanism for BLAST.

Initialize a mutex locking mechanism for BLAST.

Definition at line 72 of file blast_mtlock.cpp.

References BlastLockCleanup(), BlastLockHandler(), and MT_LOCK_Create().

Referenced by BlastSetupPreliminarySearchEx(), CSetupFactory::CreateDiagnosticsStructureMT(), CBlastPrelimSearch::SetNumberOfThreads(), and testHSPStream().

◆ BLAST_FindBestNucleotideWordSize()

Int4 BLAST_FindBestNucleotideWordSize ( double  min_percent_identity,
Int4  min_align_length 
)

Given a minimum amount of identity and the minimum desired length of nucleotide alignments, find the largest blastn word size that will find random instances of those alignments with high probability.

Note that when blast is actually run, it is obviously still possible to find alignments that are shorter and/or have less identity than what is specified here. The returned word size is just a choice that makes it unlikely that ungapped blast will miss alignments that exceed *both* minimums. The algorithm used is described in

 Valer Gotea, Vamsi Veeramachaneni, and Wojciech Makalowski
 "Mastering seeds for genomic size nucleotide BLAST searches"
 Nucleic Acids Research, 2003, Vol 31, No. 23, pp 6935-6941
 
Parameters
min_percent_identityHow much identity is expected in random alignments. Less identity means the probability of finding such alignments is decreased [in]
min_align_lengthThe smallest alignment length desired. Longer length gives blastn more leeway to find seeds and increases the computed probability that alignments will be found [in]
Returns
The optimal word size, or zero if the optimization process failed

Definition at line 436 of file blast_tune.c.

References s_FindWordSize(), s_MatrixDataFree(), and s_MatrixDataInit().

◆ Blast_FindDustFilterLoc() [1/3]

void Blast_FindDustFilterLoc ( CBlastQueryVector query,
Uint4  level = CSymDustMasker::DEFAULT_LEVEL,
Uint4  window = CSymDustMasker::DEFAULT_WINDOW,
Uint4  linker = CSymDustMasker::DEFAULT_LINKER 
)

Overloaded version of the function above which takes the filtering implementation's arguments directly, CBlastQueryVector version.

Parameters
queryVector of sequence locations. [in] [out]
levelDust filtering level argument [in]
windowDust filtering window argument [in]
linkerDust filtering linker argument [in]

Definition at line 166 of file dust_filter.cpp.

References data, eBlastTypeBlastn, CBioseq_Handle::eCoding_Iupac, CBlastQueryVector::GetMasks(), CBlastQueryVector::GetQuerySeqLoc(), CBlastQueryVector::GetScope(), i, CRef< C, Locker >::NotEmpty(), PackedSeqLocToMaskedQueryRegions(), s_CombineDustMasksWithUserProvidedMasks(), CBlastQueryVector::SetMaskedRegions(), and CBlastQueryVector::Size().

◆ Blast_FindDustFilterLoc() [2/3]

void Blast_FindDustFilterLoc ( TSeqLocVector query,
const CBlastNucleotideOptionsHandle nucl_handle 
)

Finds dust locations for a given set of sequences by calling the the symmetric dust lib.

The locations are saved in the respective fields of the SSeqLoc structures. If previous masks exist, they are combined with the new masks.

Parameters
queryVector of sequence locations. [in] [out]
nucl_handleoptions handle for blast search [in]

Definition at line 60 of file dust_filter.cpp.

References CBlastNucleotideOptionsHandle::GetDustFiltering(), CBlastNucleotideOptionsHandle::GetDustFilteringLevel(), CBlastNucleotideOptionsHandle::GetDustFilteringLinker(), CBlastNucleotideOptionsHandle::GetDustFilteringWindow(), and NULL.

Referenced by BOOST_AUTO_TEST_CASE(), CBlastQuerySourceOM::x_CalculateMasks(), and x_TestGetFilteredQueryRegions().

◆ Blast_FindDustFilterLoc() [3/3]

void Blast_FindDustFilterLoc ( TSeqLocVector query,
Uint4  level = CSymDustMasker::DEFAULT_LEVEL,
Uint4  window = CSymDustMasker::DEFAULT_WINDOW,
Uint4  linker = CSymDustMasker::DEFAULT_LINKER 
)

Overloaded version of the function above which takes the filtering implementation's arguments directly, TSeqLocVector version.

Parameters
queryVector of sequence locations. [in] [out]
levelDust filtering level argument [in]
windowDust filtering window argument [in]
linkerDust filtering linker argument [in]

Definition at line 147 of file dust_filter.cpp.

References data, CBioseq_Handle::eCoding_Iupac, NON_CONST_ITERATE, query, and s_CombineDustMasksWithUserProvidedMasks().

◆ Blast_FindRepeatFilterLoc() [1/3]

void Blast_FindRepeatFilterLoc ( CBlastQueryVector query,
const char *  filter_db 
)

Overloaded version of the function above which takes the name of the repeats filtering database to use, and a CBlastQueryVector.

Parameters
queryVector of sequence locations. [in] [out]
filter_dbName of the BLAST database with repeats to use for filtering [in]

Definition at line 375 of file repeats_filter_cxx.cpp.

References CBlastQueryVector::AddQuery(), CSearchDatabase::eBlastDbIsNucleotide, eBlastTypeBlastn, CBlastQueryVector::GetQuerySeqLoc(), CBlastQueryVector::GetScope(), i, query, results, CLocalBlast::Run(), s_CreateRepeatsSearchOptions(), s_FillMaskLocFromBlastResults(), and CBlastQueryVector::Size().

◆ Blast_FindRepeatFilterLoc() [2/3]

void Blast_FindRepeatFilterLoc ( TSeqLocVector query,
const char *  filter_db 
)

Overloaded version of the function above which takes the name of the repeats filtering database to use, and a TSeqLocVector.

Parameters
queryVector of sequence locations. [in] [out]
filter_dbName of the BLAST database with repeats to use for filtering [in]

Definition at line 343 of file repeats_filter_cxx.cpp.

References CSearchDatabase::eBlastDbIsNucleotide, mask, NULL, query, results, CLocalBlast::Run(), s_CreateRepeatsSearchOptions(), and s_FillMaskLocFromBlastResults().

◆ Blast_FindRepeatFilterLoc() [3/3]

void Blast_FindRepeatFilterLoc ( TSeqLocVector query_loc,
const CBlastOptionsHandle opts_handle 
)

Finds repeats locations for a given set of sequences.

The locations are saved in the respective fields of the SSeqLoc structures. If previous masks exist, they are combined with the new masks. opts_handle will be downcast to CBlastNucleotideOptionsHandle and if that succeeds and repeat filtering is specified then it will be run, otherwise it just returns.

Parameters
query_locVector of sequence locations. [in] [out]
opts_handleoptions handle for blast search [in]

Definition at line 329 of file repeats_filter_cxx.cpp.

References CBlastNucleotideOptionsHandle::GetRepeatFiltering(), CBlastNucleotideOptionsHandle::GetRepeatFilteringDB(), NULL, and query.

Referenced by BOOST_AUTO_TEST_CASE(), and CBlastQuerySourceOM::x_CalculateMasks().

◆ Blast_FindWindowMaskerLoc() [1/6]

void Blast_FindWindowMaskerLoc ( CBlastQueryVector query,
const CBlastOptions opts_handle 
)

Find Window Masker filtered locations using a BlastOptions.

Parameters
queryThese queries will be masked. [in|out]
opts_handleThis provides the database name or taxid. [in]

Definition at line 245 of file winmask_filter.cpp.

References Blast_FindWindowMaskerLoc_Fwd(), and query.

Referenced by Blast_FindWindowMaskerLoc_Fwd(), Blast_FindWindowMaskerLocTaxId(), BOOST_AUTO_TEST_CASE(), and CBlastQuerySourceOM::x_CalculateMasks().

◆ Blast_FindWindowMaskerLoc() [2/6]

void Blast_FindWindowMaskerLoc ( CBlastQueryVector query,
const CBlastOptionsHandle opts_handle 
)

Find Window Masker filtered locations using a BlastOptionsHandle.

Parameters
queryThese queries will be masked. [in|out]
opts_handleThis provides the database name or taxid. [in]

Definition at line 259 of file winmask_filter.cpp.

References Blast_FindWindowMaskerLoc_Fwd(), and query.

◆ Blast_FindWindowMaskerLoc() [3/6]

void Blast_FindWindowMaskerLoc ( CBlastQueryVector query,
const string lstat 
)

Find Window Masker filtered locations by database name.

Parameters
queryThese queries will be masked. [in|out]
lstatFilename of the WindowMasker database. [in]

Definition at line 280 of file winmask_filter.cpp.

References CSeq_id::Assign(), CBioseq_Handle::eCoding_Iupac, eNa_strand_plus, CBlastQueryVector::GetBlastSearchQuery(), CSeq_loc::GetId(), CBlastQueryVector::GetScope(), query, s_BuildMaskedRanges(), s_BuildSeqMasker(), and CBlastQueryVector::Size().

◆ Blast_FindWindowMaskerLoc() [4/6]

void Blast_FindWindowMaskerLoc ( TSeqLocVector query,
const CBlastOptions opts 
)

Find Window Masker filtered locations using BlastOptions.

Parameters
queryThese queries will be masked. [in|out]
optsThis provides the database name or taxid. [in]

Definition at line 252 of file winmask_filter.cpp.

References Blast_FindWindowMaskerLoc_Fwd(), and query.

◆ Blast_FindWindowMaskerLoc() [5/6]

void Blast_FindWindowMaskerLoc ( TSeqLocVector query,
const CBlastOptionsHandle opts_handle 
)

Find Window Masker filtered locations using a BlastOptionsHandle.

Parameters
queryThese queries will be masked. [in|out]
opts_handleThis provides the database name or taxid. [in]

Definition at line 266 of file winmask_filter.cpp.

References Blast_FindWindowMaskerLoc_Fwd(), and query.

◆ Blast_FindWindowMaskerLoc() [6/6]

void Blast_FindWindowMaskerLoc ( TSeqLocVector query,
const string lstat 
)

Find Window Masker filtered locations on TSeqLocVector by database name.

Parameters
queryThese queries will be masked. [in|out]
lstatFilename of the WindowMasker database. [in]

Definition at line 316 of file winmask_filter.cpp.

References CSeq_id::Assign(), CBioseq_Handle::eCoding_Iupac, eNa_strand_both, eNa_strand_plus, eNa_strand_unknown, CSeq_loc::GetId(), mask, NON_CONST_ITERATE, s_BuildMaskedRanges(), and s_BuildSeqMasker().

◆ Blast_FindWindowMaskerLoc_Fwd() [1/2]

template<class TQueries >
void Blast_FindWindowMaskerLoc_Fwd ( TQueries &  query,
const CBlastOptions opts 
)

◆ Blast_FindWindowMaskerLoc_Fwd() [2/2]

template<class TQueries >
void Blast_FindWindowMaskerLoc_Fwd ( TQueries &  query,
const CBlastOptionsHandle opts_handle 
)

◆ Blast_FindWindowMaskerLocTaxId() [1/2]

void Blast_FindWindowMaskerLocTaxId ( CBlastQueryVector query,
int  taxid 
)

Find Window Masker filtered locations by taxonomic ID.

Parameters
queryThese queries will be masked. [in|out]
taxidThis taxid will be used to find a database. [in]

Definition at line 418 of file winmask_filter.cpp.

References Blast_FindWindowMaskerLoc(), and WindowMaskerTaxidToDb().

Referenced by Blast_FindWindowMaskerLoc_Fwd().

◆ Blast_FindWindowMaskerLocTaxId() [2/2]

void Blast_FindWindowMaskerLocTaxId ( TSeqLocVector query,
int  taxid 
)

Find Window Masker filtered locations on a TSeqLocVector by Taxid.

Parameters
queryThese queries will be masked. [in|out]
taxidThis taxid will be used to find a database. [in]

Definition at line 425 of file winmask_filter.cpp.

References Blast_FindWindowMaskerLoc(), and WindowMaskerTaxidToDb().

◆ Blast_GetSeqLocInfoVector()

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.

Parameters
programType of BLAST program [in]
queriesContainer of query ids and start/stop locations [in]
maskAll masking locations [in]
mask_vVector of per-query lists of mask locations in CSeqLocInfo form. [out]

Definition at line 904 of file blast_aux.cpp.

References _ASSERT, BLAST_ContextToFrame(), Blast_ProgramNameFromType(), eBlastTypeBlastn, eBlastTypeMapping, GetNumberOfContexts(), INT1_MAX, NStr::IntToString(), ITERATE, SSeqRange::left, Map(), mask, msg(), NCBI_THROW, BlastSeqLoc::next, compile_time_bits::range(), SSeqRange::right, s_ConvertBlastnMasks(), CSeq_interval_Base::SetFrom(), CSeq_interval_Base::SetId(), CSeq_interval_Base::SetTo(), NStr::SizetToString(), and BlastSeqLoc::ssr.

Referenced by BOOST_AUTO_TEST_CASE(), CSetupFactory::CreateScoreBlock(), and x_TestGetSeqLocInfoVector().

◆ Blast_HSPListCQueueInit()

BlastHSPStream* Blast_HSPListCQueueInit ( )

Function to initialize a queue HSP stream.

◆ Blast_Message2TSearchMessages()

void Blast_Message2TSearchMessages ( const Blast_Message blmsg,
const BlastQueryInfo query_info,
TSearchMessages messages 
)

◆ Blast_ProgramNameFromType()

string Blast_ProgramNameFromType ( EBlastProgramType  program)

◆ BLAST_SmithWatermanGetGappedScore()

Int2 BLAST_SmithWatermanGetGappedScore ( EBlastProgramType  program_number,
BLAST_SequenceBlk query,
BlastQueryInfo query_info,
BLAST_SequenceBlk subject,
BlastGapAlignStruct gap_align,
const BlastScoringParameters score_params,
const BlastExtensionParameters ext_params,
const BlastHitSavingParameters hit_params,
const BlastInitialWordParameters word_params,
BlastInitHitList init_hitlist,
BlastHSPList **  hsp_list_ptr,
BlastGappedStats gapped_stats,
Boolean fence_hit 
)

Performs score-only Smith-Waterman gapped alignment of the subject sequence with all contexts in the query.

Parameters
program_numberType of BLAST program [in]
queryThe query sequence block [in]
query_infoQuery information structure, containing offsets into the concatenated sequence [in]
subjectThe subject sequence block [in]
gap_alignThe auxiliary structure for gapped alignment [in]
score_paramsOptions and parameters related to scoring [in]
ext_paramsOptions and parameters related to extensions [in]
hit_paramsOptions related to saving hits [in]
word_paramsOptions related to ungapped alignments [in]
init_hitlistList of initial HSPs (ignored)
hsp_list_ptrStructure containing all saved HSPs. Note that there will be at most one HSP for each context that contains a gapped alignment that exceeds a cutoff score. [out]
gapped_statsReturn statistics (not filled if NULL) [out]
fence_hitPartial range support (not used for S/W). [in]

Definition at line 629 of file blast_sw.c.

References BLAST_FrameToContext(), Blast_HSPInit(), Blast_HSPListNew(), Blast_HSPListSaveHSP(), Blast_ProgramIsRpsBlast(), BlastHspNumMax(), context, BlastQueryInfo::contexts, BlastGappedCutoffs::cutoff_score, BlastHitSavingParameters::cutoffs, SBlastScoreMatrix::data, eBlastTypeBlastn, eBlastTypeMapping, eBlastTypePhiBlastn, eBlastTypeRpsTblastn, BlastQueryInfo::first_context, BlastContextInfo::frame, BlastScoringParameters::gap_extend, BlastScoringParameters::gap_open, BlastContextInfo::is_valid, NULL, NUM_FRAMES, BlastHitSavingParameters::options, BlastScoreBlk::psi_matrix, SPsiBlastScoreMatrix::pssm, query, BlastContextInfo::query_length, BlastContextInfo::query_offset, s_NuclSmithWaterman(), s_SmithWatermanScoreOnly(), BlastGapAlignStruct::sbp, subject, and TRUE.

Referenced by s_BlastSetUpAuxStructures().

◆ BlastBuildArchive() [1/3]

CRef< objects::CBlast4_archive > BlastBuildArchive ( blast::IQueryFactory &  queries,
blast::CBlastOptionsHandle &  options_handle,
const CSearchResultSet results,
blast::IQueryFactory &  subjects 
)

Returns a blast archive object.

Parameters
queriesfactory to provide queries
options_handleBLAST options
resultsset of BLAST results
subjectsfactory to fetch subject sequences.

Definition at line 176 of file build_archive.cpp.

References results, and s_BuildArchiveAll().

◆ BlastBuildArchive() [2/3]

CRef< objects::CBlast4_archive > BlastBuildArchive ( blast::IQueryFactory &  queries,
blast::CBlastOptionsHandle &  options_handle,
const CSearchResultSet results,
CRef< CSearchDatabase search_db,
unsigned int  num_iters = 0 
)

Returns a blast archive object.

Parameters
queriesfactory to provide queries
options_handleBLAST options
resultsset of BLAST results
CSearchDatabasesearch database
num_iterspsi iteration number

Definition at line 156 of file build_archive.cpp.

References kEmptyStr, CRef< C, Locker >::Reset(), results, and s_BuildArchiveAll().

Referenced by BOOST_AUTO_TEST_CASE().

◆ BlastBuildArchive() [3/3]

CRef< objects::CBlast4_archive > BlastBuildArchive ( objects::CPssmWithParameters &  pssm,
blast::CBlastOptionsHandle &  options_handle,
const CSearchResultSet results,
CRef< CSearchDatabase search_db,
unsigned int  num_iters = 0 
)

Returns a blast archive object.

Parameters
queriesfactory to provide queries
options_handleBLAST options
resultsset of BLAST results
CSearchDatabasesearch database
num_iterspsi iteration number

Definition at line 190 of file build_archive.cpp.

References kEmptyStr, results, and s_BuildArchiveAll().

◆ BlastBuildSearchResultSet()

CRef< CSearchResultSet > BlastBuildSearchResultSet ( const vector< CConstRef< CSeq_id > > &  query_ids,
const BlastScoreBlk sbp,
const BlastQueryInfo qinfo,
EBlastProgramType  program,
const TSeqAlignVector alignments,
TSearchMessages messages,
const vector< TSeqLocInfoVector > &  subj_masks,
const TSeqLocInfoVector query_masks = NULL,
const EResultType  result_type = ncbi::blast::eDatabaseSearch 
)

Build a CSearchResultSet from internal BLAST data structures.

Parameters
query_masksMasks for query sequences [in]
subj_masksMasks for subject sequences [in]

Definition at line 305 of file blast_aux_priv.cpp.

References Blast_ProgramIsPhiBlast(), BuildBlastAncillaryData(), copy(), eSequenceComparison, i, NULL, BlastQueryInfo::pattern_info, and CSearchResultSet::size().

Referenced by CBlastTracebackSearch::Run().

◆ BlastDbFileExists()

static bool BlastDbFileExists ( string path,
bool  is_prot 
)
static

Checks if a BLAST database exists at a given file path: looks for an alias file first, then for an index file.

Definition at line 1389 of file blast_setup_cxx.cpp.

References CFile::Exists().

Referenced by FindBlastDbPath().

◆ BlastErrorCode2String()

string BlastErrorCode2String ( Int2  error_code)

Returns a string containing a human-readable interpretation of the error_code passed as this function's argument.

Definition at line 112 of file blast_aux_priv.cpp.

References Blast_MessageFree(), Blast_PerrorWithLocation, kBlastMessageNoContext, kEmptyStr, Blast_Message::message, and NULL.

Referenced by CLocalBlast::Run(), CBlastPrelimSearch::Run(), and CBlastPrelimSearch::x_LaunchMultiThreadedSearch().

◆ BlastFindMatrixPath()

char * BlastFindMatrixPath ( const char *  matrix_name,
Boolean  is_prot 
)

◆ BlastHitList2SeqAlign_OMF()

CRef<CSeq_align_set> BlastHitList2SeqAlign_OMF ( const BlastHitList hit_list,
EBlastProgramType  prog,
const CSeq_loc query_loc,
TSeqPos  query_length,
const IBlastSeqInfoSrc seqinfo_src,
bool  is_gapped,
bool  is_ooframe,
TSeqLocInfoVector subj_masks 
)

◆ BLASTHspListToSeqAlign()

void BLASTHspListToSeqAlign ( EBlastProgramType  program,
BlastHSPList hsp_list,
CRef< CSeq_id query_id,
CRef< CSeq_id subject_id,
Int4  query_length,
Int4  subject_length,
bool  is_ooframe,
const vector< string > &  seqid_list,
vector< CRef< CSeq_align > > &  sa_vector 
)

This is called for each query and each subject in a BLAST search.

Parameters
programBLAST program [in]
hsp_listHSP list structure [in]
query_idQuery sequence identifier [in]
subject_idSubject sequence identifier [in]
query_lengthLength of query sequence [in]
subject_lengthLength of subject sequence [in]
is_ooframeWas this a search with out-of-frame gapping? [in]
gi_listList of GIs for the subject sequence [in]
sa_vectorResulting Seq-align object [in|out]

Definition at line 1461 of file blast_seqalign.cpp.

References eBlastTypePsiBlast, CRef< C, Locker >::Empty(), BlastHSPList::hsp_array, BlastHSPList::hspcnt, BlastHSP::num_ident, s_AddScoresToSeqAlign(), s_AddUserObjectToSeqAlign(), s_BlastHSP2SeqAlign(), and s_OOFBlastHSP2SeqAlign().

Referenced by BlastHitList2SeqAlign_OMF(), and s_BLAST_OneSubjectResults2CSeqAlign().

◆ BLASTPrelminSearchHitListToStdSeg()

void BLASTPrelminSearchHitListToStdSeg ( EBlastProgramType  program,
BlastHitList hit_list,
const CSeq_loc query_loc,
TSeqPos  query_length,
const IBlastSeqInfoSrc subject_seqinfo,
list< CRef< CStd_seg > > &  seg_list 
)

◆ BlastSetup_GetStrand()

objects::ENa_strand BlastSetup_GetStrand ( const objects::CSeq_loc &  query_seqloc,
EBlastProgramType  program,
objects::ENa_strand  strand_option 
)

Choose between a Seq-loc specified query strand and the strand obtained from the CBlastOptions.

Parameters
query_seqlocSeq-loc corresponding to a given query sequence [in]
programprogram type from the CORE's point of view [in]
strand_optionstrand as specified by the BLAST options [in]

Definition at line 117 of file blast_setup_cxx.cpp.

References s_BlastSetup_GetStrand().

Referenced by CQuerySplitter::x_ComputeQueryContextsForChunks(), and CQuerySplitter::x_ComputeQueryIndicesForChunks().

◆ BlastSetupPreliminarySearch()

CRef< SBlastSetupData > BlastSetupPreliminarySearch ( CRef< IQueryFactory query_factory,
CRef< CBlastOptions options,
size_t  num_threads = 1 
)

Set up internal data structures used by the BLAST CORE engine.

Parameters
query_factorysource of query sequence data structures [in]
optionsBLAST options [in]
num_threadsnumber of threads [in]

Definition at line 122 of file blast_aux_priv.cpp.

References BlastSetupPreliminarySearchEx(), and NULL.

◆ BlastSetupPreliminarySearchEx()

CRef< SBlastSetupData > BlastSetupPreliminarySearchEx ( CRef< IQueryFactory qf,
CRef< CBlastOptions options,
CConstRef< CPssmWithParameters pssm,
BlastSeqSrc seqsrc,
size_t  num_threads 
)

Extended interface to set up internal data structures used by the BLAST CORE engine.

Parameters
query_factorysource of query sequence data structures [in]
optionsBLAST options [in]
pssmPSSM [in]
seqsrcsource of database/subject sequence data [in]
num_threadsnumber of threads to use [in]

Definition at line 132 of file blast_aux_priv.cpp.

References Blast_CMT_LOCKInit(), Blast_DiagnosticsFree(), Blast_ProgramIsRpsBlast(), BlastHSPStreamFree(), BlastHSPStreamRegisterMTLock(), BlastHSPStreamRegisterPipe(), BlastScoreBlkFree(), BlastSeqSrcGetName(), ClearDbIndexCallbacks(), CSetupFactory::CreateDiagnosticsStructure(), CSetupFactory::CreateDiagnosticsStructureMT(), CSetupFactory::CreateHspPipe(), CSetupFactory::CreateHspStream(), CSetupFactory::CreateHspWriter(), CSetupFactory::CreateLookupTable(), CSetupFactory::CreateRpsStructures(), CSetupFactory::CreateScoreBlock(), CBlastOptions::CreateSnapshot(), eTracebackSearch, ILocalQueryData::FlushSequenceData(), ILocalQueryData::GetMessages(), CException::GetMsg(), ILocalQueryData::GetNumQueries(), CBlastOptions::GetProgramType(), ILocalQueryData::GetQueryInfo(), ILocalQueryData::GetSequenceBlk(), CBlastOptions::GetUseIndex(), CSetupFactory::InitializeMegablastDbIndex(), kBlastErrMsg_CantCalculateUngappedKAParams, LookupTableWrapFree(), IQueryFactory::MakeLocalQueryData(), NCBI_RETHROW, NCBI_THROW, CConstRef< C, Locker >::NotEmpty(), NULL, PsiBlastSetupScoreBlock(), CRef< C, Locker >::Reset(), SetUpDbIndexCallbacks(), and CBlastOptions::Validate().

Referenced by BlastSetupPreliminarySearch(), SplitQuery_CreateChunkData(), and CBlastPrelimSearch::x_Init().

◆ BLASTUngappedHspListToSeqAlign()

void BLASTUngappedHspListToSeqAlign ( EBlastProgramType  program,
BlastHSPList hsp_list,
CRef< CSeq_id query_id,
CRef< CSeq_id subject_id,
Int4  query_length,
Int4  subject_length,
const vector< string > &  seqid_list,
vector< CRef< CSeq_align > > &  sa_vector 
)

Creates a Seq-align from an HSP list for an ungapped search.

Parameters
programBLAST program [in]
hsp_listHSP list structure [in]
query_idQuery sequence identifier [in]
subject_idSubject sequence identifier [in]
query_lengthLength of the query [in]
subject_lengthLength of the subject [in]
gi_listList of GIs for the subject sequence.

Definition at line 1397 of file blast_seqalign.cpp.

References eBlastTypeBlastn, eBlastTypeBlastp, eBlastTypeRpsBlast, CSeq_align_Base::eType_diags, BlastHSPList::hsp_array, BlastHSPList::hspcnt, s_AddUserObjectToSeqAlign(), CSeq_align_Base::SetSegs(), CSeq_align_Base::SetType(), x_UngappedHSPToDenseDiag(), and x_UngappedHSPToStdSeg().

Referenced by BlastHitList2SeqAlign_OMF(), and s_BLAST_OneSubjectResults2CSeqAlign().

◆ BuildBlastAncillaryData()

void BuildBlastAncillaryData ( EBlastProgramType  program,
const vector< CConstRef< CSeq_id > > &  query_ids,
const BlastScoreBlk sbp,
const BlastQueryInfo qinfo,
const TSeqAlignVector alignments,
const EResultType  result_type,
CSearchResultSet::TAncillaryVector retval 
)

Builds an CSearchResultSet::TAncillaryVector.

Parameters
programBLAST program [in]
query_idsthe sequence identifiers for the queries [in]
sbpBlastScoreBlk structure used during the search [in]
qinfoBlastQueryInfo structure used during the search [in]
alignmentsalignments that were the result of the search [in]
result_typeare these results for bl2seq or a database search? [in]
retvalthe output of this function is returned through this parameter [in|out]

Definition at line 264 of file blast_aux_priv.cpp.

References Blast_ProgramIsPhiBlast(), eSequenceComparison, and i.

Referenced by BlastBuildSearchResultSet().

◆ CalculateSeqBufferLength()

TSeqPos CalculateSeqBufferLength ( TSeqPos  sequence_length,
EBlastEncoding  encoding,
objects::ENa_strand  strand = objects::eNa_strand_unknown,
ESentinelType  sentinel = eSentinels 
)

Calculates the length of the buffer to allocate given the desired encoding, strand (if applicable) and use of sentinel bytes around sequence.

Parameters
sequence_lengthLength of the sequence [in]
encodingDesired encoding for calculation (supported encodings are listed in GetSequence()) [in]
strandWhich strand to use for calculation [in]
sentinelWhether to include or not sentinels in calculation. Same criteria as GetSequence() applies [in]
Returns
Length of the buffer to allocate to contain original sequence of length sequence_length for given encoding and parameter constraints. If the sequence_length is 0, the return value will be 0 too
Exceptions
CBlastExceptionin case of unsupported encoding

Definition at line 1197 of file blast_setup_cxx.cpp.

References _ASSERT, COMPRESSION_RATIO, eBlastEncodingNcbi2na, eBlastEncodingNcbi4na, eBlastEncodingNucleotide, eBlastEncodingProtein, eNa_strand_both, eNa_strand_plus, eNa_strand_unknown, eNoSentinels, eSentinels, and NCBI_THROW.

Referenced by CompressNcbi2na(), GetSequenceNucleotideBothStrands(), GetSequenceProtein(), and GetSequenceSingleNucleotideStrand().

◆ CanReturnPartialSequence() [1/4]

virtual bool CSeqDbSeqInfoSrc::CanReturnPartialSequence ( ) const
inlinevirtual

Return true if the implementation can return anything besides a seq-loc for the entire sequence.

If in doubt, the implementation must return true.

Implements IBlastSeqInfoSrc.

Definition at line 114 of file seqinfosrc_seqdb.hpp.

◆ CanReturnPartialSequence() [2/4]

virtual bool CSeqVecSeqInfoSrc::CanReturnPartialSequence ( ) const
inlinevirtual

Return true if the implementation can return anything besides a seq-loc for the entire sequence.

If in doubt, the implementation must return true.

Implements IBlastSeqInfoSrc.

Definition at line 103 of file seqinfosrc_seqvec.hpp.

◆ CanReturnPartialSequence() [3/4]

virtual bool CBioseqSeqInfoSrc::CanReturnPartialSequence ( ) const
inlinevirtual

Return true if the implementation can return anything besides a seq-loc for the entire sequence.

If in doubt, the implementation must return true. GetSeqLoc use CreateWholeSeqLocFromIds, so false is returned for this implementation.

Implements IBlastSeqInfoSrc.

Definition at line 116 of file seqinfosrc_bioseq.hpp.

◆ CanReturnPartialSequence() [4/4]

virtual bool IBlastSeqInfoSrc::CanReturnPartialSequence ( ) const
pure virtual

Return true if the implementation can return anything besides a seq-loc for the entire sequence.

If in doubt, the implementation must return true.

Implemented in CBioseqSeqInfoSrc, CSeqVecSeqInfoSrc, and CSeqDbSeqInfoSrc.

Referenced by BlastHitList2SeqAlign_OMF().

◆ CAutomaticGenCodeSingleton()

CAutomaticGenCodeSingleton::CAutomaticGenCodeSingleton ( int  genetic_code = 0)

Default constructor.

Parameters
genetic_codeInteger representing the genetic code, if 0 is passed the default BLAST_GENETIC_CODE will be used [in]
See also
BLAST_GENETIC_CODE

Definition at line 629 of file blast_aux.cpp.

References BLAST_GENETIC_CODE, FindGeneticCode(), GenCodeSingletonAdd(), GenCodeSingletonFind(), GenCodeSingletonInit(), AutoPtr< X, Del >::get(), CAutomaticGenCodeSingleton::m_RefCounter, and NULL.

◆ CAutoNcbiConfigFile() [1/2]

CAutoNcbiConfigFile::CAutoNcbiConfigFile ( const CAutoNcbiConfigFile )
privatedelete

◆ CAutoNcbiConfigFile() [2/2]

CAutoNcbiConfigFile::CAutoNcbiConfigFile ( EConfigOpts  opts = blast::SDataLoaderConfig::eDefault)
inline

◆ CBioseqSeqInfoSrc() [1/2]

CBioseqSeqInfoSrc::CBioseqSeqInfoSrc ( const objects::CBioseq &  bs,
bool  is_prot 
)

Parametrized constructor.

Parameters
bsCBioseq object from which to obtain the data [in]
is_prottrue if sequence in bs argument is protein, else false [in]

Definition at line 54 of file seqinfosrc_bioseq.cpp.

◆ CBioseqSeqInfoSrc() [2/2]

CBioseqSeqInfoSrc::CBioseqSeqInfoSrc ( const objects::CBioseq_set &  bss,
bool  is_prot 
)

Parametrized constructor.

Parameters
bssCBioseq_set object from which to obtain the data [in]
is_prottrue if sequences in bss argument are all proteins, else false [in]

Definition at line 58 of file seqinfosrc_bioseq.cpp.

◆ CBl2Seq() [1/7]

CBl2Seq::CBl2Seq ( const CBl2Seq rhs)
private

Prohibit copy constructor.

◆ CBl2Seq() [2/7]

CBl2Seq::CBl2Seq ( const SSeqLoc query,
const SSeqLoc subject,
CBlastOptionsHandle opts 
)

Constructor to compare 2 sequences with specified options.

Definition at line 77 of file bl2seq.cpp.

References CBl2Seq::m_OptsHandle, query, CRef< C, Locker >::Reset(), subject, and CBl2Seq::x_Init().

◆ CBl2Seq() [3/7]

CBl2Seq::CBl2Seq ( const SSeqLoc query,
const SSeqLoc subject,
EProgram  p 
)

Constructor to compare 2 sequences with default options.

Definition at line 48 of file bl2seq.cpp.

References CBlastOptionsFactory::Create(), query, and subject.

◆ CBl2Seq() [4/7]

CBl2Seq::CBl2Seq ( const SSeqLoc query,
const TSeqLocVector subjects,
CBlastOptionsHandle opts,
bool  dbscan_mode = false 
)

Constructor to compare query against all subject sequences with specified options.

Parameters
dbscan_modeDatabase search mode (as opposed to pairwise)

Definition at line 101 of file bl2seq.cpp.

References CBl2Seq::m_OptsHandle, query, CRef< C, Locker >::Reset(), and CBl2Seq::x_Init().

◆ CBl2Seq() [5/7]

CBl2Seq::CBl2Seq ( const SSeqLoc query,
const TSeqLocVector subjects,
EProgram  p,
bool  dbscan_mode = false 
)

Constructor to compare query against all subject sequences with default options.

Parameters
dbscan_modeDatabase search mode (as opposed to pairwise)

Definition at line 90 of file bl2seq.cpp.

References CBlastOptionsFactory::Create(), CBl2Seq::m_OptsHandle, query, CRef< C, Locker >::Reset(), and CBl2Seq::x_Init().

◆ CBl2Seq() [6/7]

CBl2Seq::CBl2Seq ( const TSeqLocVector queries,
const TSeqLocVector subjects,
CBlastOptionsHandle opts,
bool  dbscan_mode = false 
)

Constructor to allow query concatenation with specified options.

Parameters
dbscan_modeDatabase search mode (as opposed to pairwise)

Definition at line 120 of file bl2seq.cpp.

References CBl2Seq::m_OptsHandle, CRef< C, Locker >::Reset(), and CBl2Seq::x_Init().

◆ CBl2Seq() [7/7]

CBl2Seq::CBl2Seq ( const TSeqLocVector queries,
const TSeqLocVector subjects,
EProgram  p,
bool  dbscan_mode = false 
)

Constructor to allow query concatenation with default options.

Parameters
dbscan_modeDatabase search mode (as opposed to pairwise)

Definition at line 112 of file bl2seq.cpp.

References CBlastOptionsFactory::Create(), CBl2Seq::m_OptsHandle, CRef< C, Locker >::Reset(), and CBl2Seq::x_Init().

◆ CBlast_ExtendWord() [1/2]

CBlast_ExtendWord::CBlast_ExtendWord ( )
inline

Definition at line 322 of file blast_aux.hpp.

◆ CBlast_ExtendWord() [2/2]

CBlast_ExtendWord::CBlast_ExtendWord ( Blast_ExtendWord p)
inline

Definition at line 322 of file blast_aux.hpp.

◆ CBlast_Message() [1/2]

CBlast_Message::CBlast_Message ( )
inline

Definition at line 352 of file blast_aux.hpp.

◆ CBlast_Message() [2/2]

CBlast_Message::CBlast_Message ( Blast_Message p)
inline

Definition at line 352 of file blast_aux.hpp.

◆ CBLAST_SequenceBlk() [1/2]

CBLAST_SequenceBlk::CBLAST_SequenceBlk ( )
inline

Definition at line 309 of file blast_aux.hpp.

◆ CBLAST_SequenceBlk() [2/2]

CBLAST_SequenceBlk::CBLAST_SequenceBlk ( BLAST_SequenceBlk p)
inline

Definition at line 309 of file blast_aux.hpp.

◆ CBlastAdvancedProteinOptionsHandle() [1/3]

CBlastAdvancedProteinOptionsHandle::CBlastAdvancedProteinOptionsHandle ( const CBlastAdvancedProteinOptionsHandle rhs)
private

Disallow copy constructor.

◆ CBlastAdvancedProteinOptionsHandle() [2/3]

CBlastAdvancedProteinOptionsHandle::CBlastAdvancedProteinOptionsHandle ( CRef< CBlastOptions opt)
inline

Definition at line 64 of file blast_advprot_options.hpp.

◆ CBlastAdvancedProteinOptionsHandle() [3/3]

CBlastAdvancedProteinOptionsHandle::CBlastAdvancedProteinOptionsHandle ( EAPILocality  locality = CBlastOptions::eLocal)

Creates object with default options set.

Definition at line 46 of file blast_advprot_options.cpp.

References eBlastp.

◆ CBlastAncillaryData() [1/3]

CBlastAncillaryData::CBlastAncillaryData ( const CBlastAncillaryData rhs)

Copy-constructor.

Definition at line 150 of file blast_results.cpp.

References CBlastAncillaryData::do_copy().

◆ CBlastAncillaryData() [2/3]

CBlastAncillaryData::CBlastAncillaryData ( EBlastProgramType  program_type,
int  query_number,
const BlastScoreBlk sbp,
const BlastQueryInfo query_info 
)

◆ CBlastAncillaryData() [3/3]

CBlastAncillaryData::CBlastAncillaryData ( pair< double, double >  lambda,
pair< double, double >  k,
pair< double, double >  h,
Int8  effective_search_space,
bool  is_psiblast = false 
)

Parametrized constructor taking pairs of values for ungapped and gapped Karlin-Altschul parameters as well as the effective search space.

Parameters
lambdaPair of ungapped and gapped lambda (in that order) [in]
kPair of ungapped and gapped k (in that order) [in]
hPair of ungapped and gapped h (in that order) [in]
effective_search_spaceeffective search space [in]
is_psiblasttrue if the statistical parameters are for PSI-BLAST [in]

Definition at line 117 of file blast_results.cpp.

References Blast_KarlinBlkNew(), Blast_KarlinBlk::H, Blast_KarlinBlk::K, Blast_KarlinBlk::Lambda, lambda(), CBlastAncillaryData::m_GappedKarlinBlk, CBlastAncillaryData::m_PsiGappedKarlinBlk, CBlastAncillaryData::m_PsiUngappedKarlinBlk, CBlastAncillaryData::m_SearchSpace, and CBlastAncillaryData::m_UngappedKarlinBlk.

◆ CBlastAppDiagHandler()

CBlastAppDiagHandler::CBlastAppDiagHandler ( )
inline

Constructor.

Definition at line 252 of file blast_aux.hpp.

◆ CBlastDatabaseOptions() [1/2]

CBlastDatabaseOptions::CBlastDatabaseOptions ( )
inline

Definition at line 331 of file blast_aux.hpp.

◆ CBlastDatabaseOptions() [2/2]

CBlastDatabaseOptions::CBlastDatabaseOptions ( BlastDatabaseOptions p)
inline

Definition at line 331 of file blast_aux.hpp.

◆ CBlastEffectiveLengthsOptions() [1/2]

CBlastEffectiveLengthsOptions::CBlastEffectiveLengthsOptions ( )
inline

Definition at line 338 of file blast_aux.hpp.

◆ CBlastEffectiveLengthsOptions() [2/2]

CBlastEffectiveLengthsOptions::CBlastEffectiveLengthsOptions ( BlastEffectiveLengthsOptions p)
inline

Definition at line 338 of file blast_aux.hpp.

◆ CBlastEffectiveLengthsParameters() [1/2]

CBlastEffectiveLengthsParameters::CBlastEffectiveLengthsParameters ( )
inline

Definition at line 340 of file blast_aux.hpp.

◆ CBlastEffectiveLengthsParameters() [2/2]

CBlastEffectiveLengthsParameters::CBlastEffectiveLengthsParameters ( BlastEffectiveLengthsParameters p)
inline

Definition at line 340 of file blast_aux.hpp.

◆ CBlastExtensionOptions() [1/2]

CBlastExtensionOptions::CBlastExtensionOptions ( )
inline

Definition at line 323 of file blast_aux.hpp.

◆ CBlastExtensionOptions() [2/2]

CBlastExtensionOptions::CBlastExtensionOptions ( BlastExtensionOptions p)
inline

Definition at line 323 of file blast_aux.hpp.

◆ CBlastExtensionParameters() [1/2]

CBlastExtensionParameters::CBlastExtensionParameters ( )
inline

Definition at line 324 of file blast_aux.hpp.

◆ CBlastExtensionParameters() [2/2]

CBlastExtensionParameters::CBlastExtensionParameters ( BlastExtensionParameters p)
inline

Definition at line 324 of file blast_aux.hpp.

◆ CBlastGapAlignStruct() [1/2]

CBlastGapAlignStruct::CBlastGapAlignStruct ( )
inline

Definition at line 342 of file blast_aux.hpp.

◆ CBlastGapAlignStruct() [2/2]

CBlastGapAlignStruct::CBlastGapAlignStruct ( BlastGapAlignStruct p)
inline

Definition at line 342 of file blast_aux.hpp.

◆ CBlastHitSavingOptions() [1/2]

CBlastHitSavingOptions::CBlastHitSavingOptions ( )
inline

Definition at line 326 of file blast_aux.hpp.

◆ CBlastHitSavingOptions() [2/2]

CBlastHitSavingOptions::CBlastHitSavingOptions ( BlastHitSavingOptions p)
inline

Definition at line 326 of file blast_aux.hpp.

◆ CBlastHitSavingParameters() [1/2]

CBlastHitSavingParameters::CBlastHitSavingParameters ( )
inline

Definition at line 328 of file blast_aux.hpp.

◆ CBlastHitSavingParameters() [2/2]

CBlastHitSavingParameters::CBlastHitSavingParameters ( BlastHitSavingParameters p)
inline

Definition at line 328 of file blast_aux.hpp.

◆ CBlastHSPListQueueData()

CBlastHSPListQueueData::CBlastHSPListQueueData ( )

Constructor.

◆ CBlastHSPResults() [1/2]

CBlastHSPResults::CBlastHSPResults ( )
inline

Definition at line 343 of file blast_aux.hpp.

◆ CBlastHSPResults() [2/2]

CBlastHSPResults::CBlastHSPResults ( BlastHSPResults p)
inline

Definition at line 343 of file blast_aux.hpp.

◆ CBlastInitialWordOptions() [1/2]

CBlastInitialWordOptions::CBlastInitialWordOptions ( )
inline

Definition at line 318 of file blast_aux.hpp.

◆ CBlastInitialWordOptions() [2/2]

CBlastInitialWordOptions::CBlastInitialWordOptions ( BlastInitialWordOptions p)
inline

Definition at line 318 of file blast_aux.hpp.

◆ CBlastInitialWordParameters() [1/2]

CBlastInitialWordParameters::CBlastInitialWordParameters ( )
inline

Definition at line 320 of file blast_aux.hpp.

◆ CBlastInitialWordParameters() [2/2]

CBlastInitialWordParameters::CBlastInitialWordParameters ( BlastInitialWordParameters p)
inline

Definition at line 320 of file blast_aux.hpp.

◆ CBlastMaskLoc() [1/2]

CBlastMaskLoc::CBlastMaskLoc ( )
inline

Definition at line 354 of file blast_aux.hpp.

◆ CBlastMaskLoc() [2/2]

CBlastMaskLoc::CBlastMaskLoc ( BlastMaskLoc p)
inline

Definition at line 354 of file blast_aux.hpp.

◆ CBlastNucleotideOptionsHandle() [1/3]

CBlastNucleotideOptionsHandle::CBlastNucleotideOptionsHandle ( const CBlastNucleotideOptionsHandle rhs)
private

Disallow copy constructor.

◆ CBlastNucleotideOptionsHandle() [2/3]

CBlastNucleotideOptionsHandle::CBlastNucleotideOptionsHandle ( CRef< CBlastOptions opt)

Create Options Handle from Existing CBlastOptions Object.

Definition at line 55 of file blast_nucl_options.cpp.

◆ CBlastNucleotideOptionsHandle() [3/3]

CBlastNucleotideOptionsHandle::CBlastNucleotideOptionsHandle ( EAPILocality  locality = CBlastOptions::eLocal)

Creates object with default options set.

Definition at line 48 of file blast_nucl_options.cpp.

◆ CBlastOptions()

CBlastOptions::CBlastOptions ( EAPILocality  locality = eLocal)

Constructor which allows specification of local or remote version of the options (might change in the future)

Parameters
localityspecification of whether this type will be used with a remote or local BLAST search database class

Definition at line 299 of file blast_options_cxx.cpp.

References CBlastOptions::eBoth, CBlastOptions::eLocal, CBlastOptions::eRemote, CBlastOptions::m_Local, and CBlastOptions::m_Remote.

Referenced by CBlastOptions::Clone().

◆ CBlastOptionsBuilder()

CBlastOptionsBuilder::CBlastOptionsBuilder ( const string program,
const string service,
CBlastOptions::EAPILocality  locality = CBlastOptions::eLocal,
bool  ignore_unsupported_options = false 
)

Constructor.

This takes the program and service strings, using them to determine the type of CBlastOptionsHandle to return. Some of the name/value pairs also influence the type of blast options handle required.

Parameters
programBlast4 program string (e.g. blastn or blastp).
serviceBlast4 service string (e.g. plain or rpsblast).
localityLocality of the resulting object.

Definition at line 47 of file blast_options_builder.cpp.

◆ CBlastOptionsFactory()

CBlastOptionsFactory::CBlastOptionsFactory ( )
private

Private c-tor.

◆ CBlastOptionsHandle() [1/2]

CBlastOptionsHandle::CBlastOptionsHandle ( CRef< CBlastOptions opt)
protected

Create Options Handle from Existing CBlastOptions Object.

Definition at line 67 of file blast_options_handle.cpp.

◆ CBlastOptionsHandle() [2/2]

CBlastOptionsHandle::CBlastOptionsHandle ( EAPILocality  locality)

Default c-tor.

Definition at line 61 of file blast_options_handle.cpp.

◆ CBlastOptionsLocal() [1/2]

CBlastOptionsLocal::CBlastOptionsLocal ( )

◆ CBlastOptionsLocal() [2/2]

CBlastOptionsLocal::CBlastOptionsLocal ( const CBlastOptionsLocal optsLocal)

Copy constructor.

Definition at line 74 of file blast_options_local_priv.cpp.

References CBlastOptionsLocal::x_DoDeepCopy().

◆ CBlastOptionsMemento()

CBlastOptionsMemento::CBlastOptionsMemento ( CBlastOptionsLocal local_opts)
inlineprivate

◆ CBlastOptionsRemote() [1/2]

CBlastOptionsRemote::CBlastOptionsRemote ( const CBlastOptionsRemote optsRemote)
inline

Copy constructor.

Definition at line 74 of file blast_options_cxx.cpp.

References CBlastOptionsRemote::x_DoDeepCopy().

◆ CBlastOptionsRemote() [2/2]

CBlastOptionsRemote::CBlastOptionsRemote ( void  )
inline

◆ CBlastpKmerOptionsHandle() [1/3]

CBlastpKmerOptionsHandle::CBlastpKmerOptionsHandle ( const CBlastpKmerOptionsHandle rhs)
private

Disallow copy constructor.

◆ CBlastpKmerOptionsHandle() [2/3]

CBlastpKmerOptionsHandle::CBlastpKmerOptionsHandle ( CRef< CBlastOptions opt)
inline

Definition at line 59 of file blastp_kmer_options.hpp.

◆ CBlastpKmerOptionsHandle() [3/3]

CBlastpKmerOptionsHandle::CBlastpKmerOptionsHandle ( EAPILocality  locality = CBlastOptions::eLocal)

Creates object with default options set.

Definition at line 46 of file blastp_kmer_options.cpp.

◆ CBlastPrelimSearch() [1/4]

CBlastPrelimSearch::CBlastPrelimSearch ( const CBlastPrelimSearch rhs)
private

Prohibit copy constructor.

◆ CBlastPrelimSearch() [2/4]

CBlastPrelimSearch::CBlastPrelimSearch ( CRef< IQueryFactory query_factory,
CRef< CBlastOptions options,
BlastSeqSrc seqsrc,
CConstRef< objects::CPssmWithParameters >  pssm = null 
)

Constructor which takes a PSSM and an already initialized BlastSeqSrc object.

Note
we don't own the BlastSeqSrc

Definition at line 91 of file prelim_stage.cpp.

References CBlastPrelimSearch::m_InternalData, SInternalData::m_SeqSrc, and CBlastPrelimSearch::x_Init().

◆ CBlastPrelimSearch() [3/4]

CBlastPrelimSearch::CBlastPrelimSearch ( CRef< IQueryFactory query_factory,
CRef< CBlastOptions options,
const CSearchDatabase dbinfo 
)

Constructor which creates and manages a BLAST database handle for the caller.

Note
we create a BlastSeqSrc using CSeqDB as its implementation

Definition at line 62 of file prelim_stage.cpp.

References BlastSeqSrcFree(), and CSetupFactory::CreateBlastSeqSrc().

◆ CBlastPrelimSearch() [4/4]

CBlastPrelimSearch::CBlastPrelimSearch ( CRef< IQueryFactory query_factory,
CRef< CBlastOptions options,
CRef< CLocalDbAdapter db,
size_t  num_threads = 1 
)

Constructor which creates BlastSeqSrc object from the already constructed BLAST database handle.

Note
we don't own the BlastSeqSrc

Definition at line 75 of file prelim_stage.cpp.

References CBlastPrelimSearch::m_InternalData, SInternalData::m_SeqSrc, CLocalDbAdapter::MakeSeqSrc(), CBlastPrelimSearch::SetNumberOfThreads(), and CBlastPrelimSearch::x_Init().

◆ CBlastProteinOptionsHandle() [1/3]

CBlastProteinOptionsHandle::CBlastProteinOptionsHandle ( const CBlastProteinOptionsHandle rhs)
private

Disallow copy constructor.

◆ CBlastProteinOptionsHandle() [2/3]

CBlastProteinOptionsHandle::CBlastProteinOptionsHandle ( CRef< CBlastOptions opt)
inline

Create Options Handle from Existing CBlastOptions Object.

Definition at line 62 of file blast_prot_options.hpp.

◆ CBlastProteinOptionsHandle() [3/3]

CBlastProteinOptionsHandle::CBlastProteinOptionsHandle ( EAPILocality  locality = CBlastOptions::eLocal)

Creates object with default options set.

Definition at line 49 of file blast_prot_options.cpp.

References eBlastp.

◆ CBlastQueryFilteredFrames() [1/3]

CBlastQueryFilteredFrames::CBlastQueryFilteredFrames ( CBlastQueryFilteredFrames f)
private

Prevent copy construction.

◆ CBlastQueryFilteredFrames() [2/3]

CBlastQueryFilteredFrames::CBlastQueryFilteredFrames ( EBlastProgramType  program)

Construct container for frame values and BlastSeqLocs for the specified search program.

Parameters
programThe type of search being done.

Definition at line 1523 of file blast_setup_cxx.cpp.

References CBlastQueryFilteredFrames::m_TranslateCoords, and CBlastQueryFilteredFrames::x_NeedsTrans().

◆ CBlastQueryFilteredFrames() [3/3]

CBlastQueryFilteredFrames::CBlastQueryFilteredFrames ( EBlastProgramType  program,
const TMaskedQueryRegions mqr 
)

Construct container for frame values and BlastSeqLocs from a TMaskedQueryRegions vector.

Parameters
programSearch program value used [in]
mqrMaskedQueryRegions to convert [in]

Definition at line 1530 of file blast_setup_cxx.cpp.

References CBlastQueryFilteredFrames::AddSeqLoc(), Blast_QueryIsTranslated(), set< Key, Compare >::insert(), ITERATE, CBlastQueryFilteredFrames::m_TranslateCoords, and CBlastQueryFilteredFrames::x_NeedsTrans().

◆ CBlastQueryInfo() [1/2]

CBlastQueryInfo::CBlastQueryInfo ( )
inline

Definition at line 311 of file blast_aux.hpp.

◆ CBlastQueryInfo() [2/2]

CBlastQueryInfo::CBlastQueryInfo ( BlastQueryInfo p)
inline

Definition at line 311 of file blast_aux.hpp.

◆ CBlastQuerySourceBioseqSet() [1/2]

CBlastQuerySourceBioseqSet::CBlastQuerySourceBioseqSet ( const objects::CBioseq &  bioseq,
bool  is_prot 
)

Parametrized constructor for a Bioseq.

Parameters
bioseqbioseq from which to extract the data [in]
is_protwhether the bioseq argument contains a protein or nucleotide sequence [in]

Definition at line 242 of file bioseq_extract_data_priv.cpp.

References CBlastQuerySourceBioseqSet::m_Bioseqs, and CBlastQuerySourceBioseqSet::x_BioseqSanityCheck().

◆ CBlastQuerySourceBioseqSet() [2/2]

CBlastQuerySourceBioseqSet::CBlastQuerySourceBioseqSet ( const objects::CBioseq_set &  bss,
bool  is_prot 
)

Parametrized constructor for a Bioseq-set.

Parameters
bssset of bioseqs from which to extract the data [in]
is_protwhether the bss argument contains protein or nucleotide sequences [in]

Definition at line 230 of file bioseq_extract_data_priv.cpp.

References ConstBegin(), eDetectLoops, CBlastQuerySourceBioseqSet::m_Bioseqs, and CBlastQuerySourceBioseqSet::x_BioseqSanityCheck().

◆ CBlastQuerySourceOM() [1/4]

CBlastQuerySourceOM::CBlastQuerySourceOM ( CBlastQueryVector v,
const CBlastOptions opts 
)

Constructor which takes a CBlastQueryVector.

This version will compute masking information with dust.

Parameters
vObject containing the queries, scopes and masking info [in]
optsBLAST algorithm options [in]

Definition at line 99 of file blast_objmgr_tools.cpp.

References CBlastQuerySourceOM::x_AutoDetectGeneticCodes().

◆ CBlastQuerySourceOM() [2/4]

CBlastQuerySourceOM::CBlastQuerySourceOM ( CBlastQueryVector v,
EBlastProgramType  prog 
)

Constructor which takes a CBlastQueryVector.

This version assumes the masking information (if any) was provided with the CBlastQueryVector.

Parameters
vObject containing the queries, scopes and masking info [in]
progtype of program to run [in]

Definition at line 88 of file blast_objmgr_tools.cpp.

References CBlastQuerySourceOM::x_AutoDetectGeneticCodes().

◆ CBlastQuerySourceOM() [3/4]

CBlastQuerySourceOM::CBlastQuerySourceOM ( TSeqLocVector v,
const CBlastOptions opts 
)

Constructor which takes a TSeqLocVector.

This version will compute masking information with dust.

Parameters
vvector of SSeqLoc structures containing the queries [in]
optsBLAST algorithm options [in]
Note
that the v argument might be changed with the filtering locations

Definition at line 77 of file blast_objmgr_tools.cpp.

References CBlastQuerySourceOM::x_AutoDetectGeneticCodes().

◆ CBlastQuerySourceOM() [4/4]

CBlastQuerySourceOM::CBlastQuerySourceOM ( TSeqLocVector v,
EBlastProgramType  prog 
)

Constructor which takes a TSeqLocVector.

This version assumes the masking information (if any) was provided with the TSeqLocVector.

Parameters
vvector of SSeqLoc structures containing the queries [in]
progprogram type of this search [in]

Definition at line 66 of file blast_objmgr_tools.cpp.

◆ CBlastRPSAuxInfo() [1/2]

CBlastRPSAuxInfo::CBlastRPSAuxInfo ( const CBlastRPSAuxInfo rhs)
private

Prohibit copy-constructor.

◆ CBlastRPSAuxInfo() [2/2]

CBlastRPSAuxInfo::CBlastRPSAuxInfo ( const string matrix,
int  gap_open,
int  gap_extend,
double  scale_factor,
const vector< double > &  karlin_k 
)

Parametrized constructor.

Parameters
matrixname of the scoring matrix used to build the RPS-BLAST database
gap_opengap opening cost
gap_extendgap extension cost
scale_factorscaling factor
karlin_kstatistical K parameter calculated when building the RPS-BLAST database

Definition at line 95 of file rps_aux.cpp.

References _ASSERT, copy(), BlastRPSAuxInfo::gap_extend_penalty, BlastRPSAuxInfo::gap_open_penalty, BlastRPSAuxInfo::karlin_k, CBlastRPSAuxInfo::m_Data, NCBI_THROW, BlastRPSAuxInfo::orig_score_matrix, BlastRPSAuxInfo::scale_factor, strdup, and CBlastRPSAuxInfo::x_DoDestroy().

◆ CBlastRPSInfo() [1/3]

CBlastRPSInfo::CBlastRPSInfo ( const CBlastRPSInfo rhs)
private

Prohibit copy-constructor.

◆ CBlastRPSInfo() [2/3]

CBlastRPSInfo::CBlastRPSInfo ( const string rps_dbname)

Parametrized constructor.

Parameters
rps_dbnamename of the RPS-BLAST database

Definition at line 508 of file rps_aux.cpp.

References CBlastRPSInfo::fRpsBlast, and CBlastRPSInfo::x_Init().

◆ CBlastRPSInfo() [3/3]

CBlastRPSInfo::CBlastRPSInfo ( const string rps_dbname,
int  flags 
)

Parametrized constructor.

Parameters
rps_dbnamename of the RPS-BLAST database
flagsFlags for which database files to open

Definition at line 513 of file rps_aux.cpp.

References flags, and CBlastRPSInfo::x_Init().

◆ CBlastRPSOptionsHandle() [1/3]

CBlastRPSOptionsHandle::CBlastRPSOptionsHandle ( const CBlastRPSOptionsHandle rhs)
private

Disallow copy constructor.

◆ CBlastRPSOptionsHandle() [2/3]

CBlastRPSOptionsHandle::CBlastRPSOptionsHandle ( CRef< CBlastOptions opt)

Create Options Handle from Existing CBlastOptions Object.

Definition at line 55 of file blast_rps_options.cpp.

◆ CBlastRPSOptionsHandle() [3/3]

CBlastRPSOptionsHandle::CBlastRPSOptionsHandle ( EAPILocality  locality = CBlastOptions::eLocal)

Creates object with default options set.

Definition at line 48 of file blast_rps_options.cpp.

References eRPSBlast.

◆ CBlastScopeSourceWrapper() [1/2]

CBlastScopeSourceWrapper::CBlastScopeSourceWrapper ( )
inline

◆ CBlastScopeSourceWrapper() [2/2]

CBlastScopeSourceWrapper::CBlastScopeSourceWrapper ( blast::SDataLoaderConfig  dlconfig)
inline

◆ CBlastScoreBlk() [1/2]

CBlastScoreBlk::CBlastScoreBlk ( )
inline

Definition at line 333 of file blast_aux.hpp.

◆ CBlastScoreBlk() [2/2]

CBlastScoreBlk::CBlastScoreBlk ( BlastScoreBlk p)
inline

Definition at line 333 of file blast_aux.hpp.

◆ CBlastScoringOptions() [1/2]

CBlastScoringOptions::CBlastScoringOptions ( )
inline

Definition at line 334 of file blast_aux.hpp.

◆ CBlastScoringOptions() [2/2]

CBlastScoringOptions::CBlastScoringOptions ( BlastScoringOptions p)
inline

Definition at line 334 of file blast_aux.hpp.

◆ CBlastScoringParameters() [1/2]

CBlastScoringParameters::CBlastScoringParameters ( )
inline

Definition at line 335 of file blast_aux.hpp.

◆ CBlastScoringParameters() [2/2]

CBlastScoringParameters::CBlastScoringParameters ( BlastScoringParameters p)
inline

Definition at line 335 of file blast_aux.hpp.

◆ CBlastSeqLoc() [1/2]

CBlastSeqLoc::CBlastSeqLoc ( )
inline

Definition at line 355 of file blast_aux.hpp.

◆ CBlastSeqLoc() [2/2]

CBlastSeqLoc::CBlastSeqLoc ( BlastSeqLoc p)
inline

Definition at line 355 of file blast_aux.hpp.

◆ CBlastSeqSrc() [1/2]

CBlastSeqSrc::CBlastSeqSrc ( )
inline

Definition at line 350 of file blast_aux.hpp.

◆ CBlastSeqSrc() [2/2]

CBlastSeqSrc::CBlastSeqSrc ( BlastSeqSrc p)
inline

Definition at line 350 of file blast_aux.hpp.

◆ CBlastSeqSrcIterator() [1/2]

CBlastSeqSrcIterator::CBlastSeqSrcIterator ( )
inline

Definition at line 351 of file blast_aux.hpp.

◆ CBlastSeqSrcIterator() [2/2]

CBlastSeqSrcIterator::CBlastSeqSrcIterator ( BlastSeqSrcIterator p)
inline

Definition at line 351 of file blast_aux.hpp.

◆ CBlastSeqVectorFromCSeq_data()

CBlastSeqVectorFromCSeq_data::CBlastSeqVectorFromCSeq_data ( const objects::CSeq_data &  seq_data,
TSeqPos  length 
)

◆ CBlastSeqVectorOM()

CBlastSeqVectorOM::CBlastSeqVectorOM ( const CSeq_loc seqloc,
CScope scope 
)
inline

◆ CBlastServices() [1/2]

CBlastServices::CBlastServices ( )
inline

Default constructor.

Definition at line 110 of file blast_services.hpp.

◆ CBlastServices() [2/2]

CBlastServices::CBlastServices ( const CBlastServices )
private

Prohibit copy construction.

◆ CBlastTracebackSearch() [1/3]

CBlastTracebackSearch::CBlastTracebackSearch ( CBlastTracebackSearch )
private

Prohibit copy constructor.

◆ CBlastTracebackSearch() [2/3]

CBlastTracebackSearch::CBlastTracebackSearch ( CRef< IQueryFactory qf,
CRef< CBlastOptions opts,
BlastSeqSrc seqsrc,
CRef< IBlastSeqInfoSrc seqinfosrc,
CRef< TBlastHSPStream hsps,
CConstRef< objects::CPssmWithParameters >  pssm = null 
)

Create a BlastSeqSrc re-using an already created BlastSeqSrc.

Note
We don't own the BlastSeqSrc

Definition at line 60 of file traceback_stage.cpp.

References BlastSeqSrcGetName(), and NULL.

◆ CBlastTracebackSearch() [3/3]

CBlastTracebackSearch::CBlastTracebackSearch ( CRef< IQueryFactory query_factory,
CRef< SInternalData internal_data,
CRef< CBlastOptions opts,
CRef< IBlastSeqInfoSrc seqinfosrc,
TSearchMessages search_msgs 
)

◆ CBlastVersion()

CBlastVersion::CBlastVersion ( )
inline

Definition at line 55 of file version.hpp.

◆ CBlastxOptionsHandle() [1/2]

CBlastxOptionsHandle::CBlastxOptionsHandle ( const CBlastxOptionsHandle rhs)
private

Disallow copy constructor.

◆ CBlastxOptionsHandle() [2/2]

CBlastxOptionsHandle::CBlastxOptionsHandle ( EAPILocality  locality = CBlastOptions::eLocal)

Creates object with default options set.

Definition at line 47 of file blastx_options.cpp.

References eBlastx.

◆ CCddInputData()

CCddInputData::CCddInputData ( const Uint1 query,
unsigned int  query_length,
CConstRef< objects::CSeq_align_set >  seqaligns,
const PSIBlastOptions opts,
const string dbname,
const string matrix_name = "BLOSUM62",
int  gap_existence = 0,
int  gap_extension = 0,
PSIDiagnosticsRequest diags = NULL,
const string query_title = "" 
)

Constructor.

Parameters
queryQuery sequence in ncbistdaa encoding [in]
query_lengthQuery sequence length [in]
seqalignsList of pair-wise alignments of query to CDs. PSSM will be computed based on those alignments [in]
optsCD-related PSSM engine options [in]
dbnameName of CDD database used for searching matches to query. The alignments in seqaligns come from searching this database [in]
matrix_nameName of the scoring system [in]
gap_existenceGap opening cost, if zero default from IPssmInput_Base will be used [in]
gap_extensionGap extension cost, if zero default from IPssmInput_Base will be used [in]
diagsOptions for pssm engine diagnostics [in]

Definition at line 71 of file cdd_pssm_input.cpp.

References CConstRef< C, Locker >::Empty(), CCddInputData::m_QueryData, NCBI_THROW, and query.

◆ CContextTranslator()

CContextTranslator::CContextTranslator ( const CSplitQueryBlk sqb,
vector< CRef< IQueryFactory > > *  query_chunk_factories = NULL,
const CBlastOptions options = NULL 
)

Constructor.

Parameters
sqbSplit query block structure [in]
query_chunk_factoriesquery factories corresponding to each of the chunks needed to report unit testing data (optional) [in]
optionsBLAST options, also needed to report unit test data (optional) [in]

Definition at line 212 of file split_query_aux_priv.cpp.

References ctx, BlastQueryInfo::first_context, CContextTranslator::GetAbsoluteContext(), CSplitQueryBlk::GetNumChunks(), CSplitQueryBlk::GetQueryContexts(), ILocalQueryData::GetQueryInfo(), CContextTranslator::GetStartingChunk(), i, CContextTranslator::m_AbsoluteContexts, CContextTranslator::m_ContextsPerChunk, CContextTranslator::m_StartingChunks, IQueryFactory::MakeLocalQueryData(), and NULL.

◆ CDeltaBlast() [1/3]

CDeltaBlast::CDeltaBlast ( const CDeltaBlast rhs)
protected

Prohibit copy constructor.

◆ CDeltaBlast() [2/3]

CDeltaBlast::CDeltaBlast ( CRef< IQueryFactory query_factory,
CRef< CLocalDbAdapter blastdb,
CRef< CLocalDbAdapter domaindb,
CConstRef< CDeltaBlastOptionsHandle options 
)

Constructor to compare a single sequence against a database of protein sequences, and use RPS-BLAST to search CDD.

Parameters
query_factoryProtein query sequence to search [in]
blastdbAdapter to the BLAST database to search [in]
domaindbAdapter to the BLAST conserved domain database for making Pssm [in]
optionsDELTA-BLAST options [in]

Definition at line 55 of file deltablast.cpp.

◆ CDeltaBlast() [3/3]

CDeltaBlast::CDeltaBlast ( CRef< IQueryFactory query_factory,
CRef< CLocalDbAdapter blastdb,
CRef< CLocalDbAdapter domaindb,
CConstRef< CDeltaBlastOptionsHandle options,
CRef< CBlastRPSOptionsHandle rps_options 
)

Constructor to compare a single sequence against a database of protein sequences, and use RPS-BLAST to search CDD.

Parameters
query_factoryProtein query sequence to search [in]
blastdbAdapter to the BLAST database to search [in]
domaindbAdapter to the BLAST conserved domain database for making Pssm [in]
optionsDELTA-BLAST options [in]
rps_optionsRPSBLAST options to be used in CDD search [in]

Definition at line 68 of file deltablast.cpp.

References CDeltaBlast::x_Validate().

◆ CDeltaBlastOptionsHandle() [1/2]

CDeltaBlastOptionsHandle::CDeltaBlastOptionsHandle ( const CDeltaBlastOptionsHandle rhs)
private

Disallow copy constructor.

◆ CDeltaBlastOptionsHandle() [2/2]

CDeltaBlastOptionsHandle::CDeltaBlastOptionsHandle ( EAPILocality  locality = CBlastOptions::eLocal)

Creates object with default options set.

Definition at line 46 of file deltablast_options.cpp.

References eDeltaBlast, and CBlastOptions::eRemote.

◆ CDiscNucleotideOptionsHandle() [1/2]

CDiscNucleotideOptionsHandle::CDiscNucleotideOptionsHandle ( const CDiscNucleotideOptionsHandle rhs)
private

Disallow copy constructor.

◆ CDiscNucleotideOptionsHandle() [2/2]

CDiscNucleotideOptionsHandle::CDiscNucleotideOptionsHandle ( EAPILocality  locality = CBlastOptions::eLocal)

Creates object with default options set.

Definition at line 47 of file disc_nucl_options.cpp.

References eDiscMegablast.

◆ CEffectiveSearchSpaceCalculator()

CEffectiveSearchSpaceCalculator::CEffectiveSearchSpaceCalculator ( CRef< IQueryFactory query_factory,
const CBlastOptions options,
Int4  db_num_seqs,
Int8  db_num_bases,
BlastScoreBlk sbp = NULL 
)

Constructor.

Parameters
query_factorysource for query sequence(s) [in]
optionsBLAST options [in]
db_num_seqsnumber of sequences in the database/subjects to search [in]
db_num_basesnumber of bases/residues in the database/subjects to search [in]
sbpBlastScoreBlk to be used. If NULL another instance will be created [in]

Definition at line 83 of file effsearchspace_calc.cpp.

References _ASSERT, BLAST_CalcEffLengths(), BlastEffectiveLengthsParametersNew(), BlastScoreBlkFree(), CSetupFactory::CreateScoreBlock(), CBlastOptions::CreateSnapshot(), ILocalQueryData::GetQueryInfo(), TSearchMessages::HasMessages(), CEffectiveSearchSpaceCalculator::m_Program, CEffectiveSearchSpaceCalculator::m_QueryFactory, CEffectiveSearchSpaceCalculator::m_QueryInfo, IQueryFactory::MakeLocalQueryData(), NCBI_THROW, and NULL.

◆ CEffectiveSearchSpacesMemento()

CEffectiveSearchSpacesMemento::CEffectiveSearchSpacesMemento ( CBlastOptions options)
inline

◆ CExportStrategy() [1/5]

CExportStrategy::CExportStrategy ( const CExportStrategy )
private

◆ CExportStrategy() [2/5]

CExportStrategy::CExportStrategy ( CRef< CBlastOptionsHandle opts_handle,
const string client_id = kEmptyStr 
)

Construct search strategy with :-.

Parameters
opts_handleBlast options handle (Note: only eRemote or eBoth mode are supported)

Definition at line 303 of file search_strategy.cpp.

References CExportStrategy::x_Process_BlastOptions().

◆ CExportStrategy() [3/5]

CExportStrategy::CExportStrategy ( CRef< CPssmWithParameters pssm,
CRef< CBlastOptionsHandle opts_handle,
CRef< CSearchDatabase db,
const string client_id = kEmptyStr,
unsigned int  psi_num_iterations = 0 
)

Construct search strategy with :-.

Parameters
pssmSearch matrix for a PSSM search.
opts_handleBlast options handle. (Note: only eRemote or eBoth mode are supported)
dbDatabase used for this search.

Definition at line 337 of file search_strategy.cpp.

References CExportStrategy::x_AddPsiNumOfIterationsToFormatOptions(), CExportStrategy::x_Process_BlastOptions(), CExportStrategy::x_Process_Pssm(), and CExportStrategy::x_Process_SearchDb().

◆ CExportStrategy() [4/5]

CExportStrategy::CExportStrategy ( CRef< IQueryFactory query,
CRef< CBlastOptionsHandle opts_handle,
CRef< CSearchDatabase db,
const string client_id = kEmptyStr,
unsigned int  psi_num_iterations = 0 
)

Construct search strategy with :-.

Parameters
queriesQueries corresponding to Seq-loc-list or Bioseq-set.
opts_handleBlast options handle. (Note: only eRemote or eBoth mode are supported)
dbDatabase used for this search.

Definition at line 310 of file search_strategy.cpp.

References query, CExportStrategy::x_AddPsiNumOfIterationsToFormatOptions(), CExportStrategy::x_Process_BlastOptions(), CExportStrategy::x_Process_Query(), and CExportStrategy::x_Process_SearchDb().

◆ CExportStrategy() [5/5]

CExportStrategy::CExportStrategy ( CRef< IQueryFactory query,
CRef< CBlastOptionsHandle opts_handle,
CRef< IQueryFactory subject,
const string client_id = kEmptyStr 
)

Construct search strategy with :-.

Parameters
queriesQueries corresponding to Seq-loc-list or Bioseq-set.
opts_handleBlast options handle. (Note: only eRemote or eBoth mode are supported)
subjectsSubject corresponding to Seq-loc-list or Bioseq-set.

Definition at line 325 of file search_strategy.cpp.

References query, subject, CExportStrategy::x_Process_BlastOptions(), CExportStrategy::x_Process_Query(), and CExportStrategy::x_Process_Subject().

◆ CFilteringMemento()

CFilteringMemento::CFilteringMemento ( CBlastOptionsMemento opts_memento)
inline

Parametrized constructor.

Parameters
opts_mementosnapshopt of the BLAST options [in]

Definition at line 57 of file effsearchspace_calc.cpp.

References eEmpty, QuerySetUpOptions::filter_string, QuerySetUpOptions::filtering_options, CBlastOptionsMemento::m_QueryOpts, NULL, and SBlastFilterOptionsNew().

◆ CFrameFinder()

CFrameFinder::CFrameFinder ( ETranslationFrame  frame)
inline

ctor

Parameters
framethe translation frame [in]

Definition at line 142 of file blast_aux.hpp.

◆ CheckDone()

bool CRemoteBlast::CheckDone ( void  )

Check whether the search has completed.

This checks the status of the search. Please delay at least 10 seconds between subsequent calls. If this function returns true, it will already have gotten the results as part of its processing. With the common technique of polling with CheckDone before calling GetAlignments (or other results access operations), the first CheckDone call after results are available will perform the CPU, network, and memory intensive processing, and the GetAlignments() (for example) call will simply return a pointer to part of this data.

Returns
true If search is not still running.

Definition at line 354 of file remote_blast.cpp.

References CRemoteBlast::eDone, CRemoteBlast::eFailed, CRemoteBlast::eStart, CRemoteBlast::eWait, CRemoteBlast::m_use_disk_cache, CRemoteBlast::Submit(), CRemoteBlast::x_CheckResults(), CRemoteBlast::x_CheckResultsDC(), CRemoteBlast::x_GetState(), and CRemoteBlast::x_IsUnknownRID().

Referenced by BOOST_AUTO_TEST_CASE(), and CRemoteBlast::CheckStatus().

◆ CheckInternalData()

int CBlastPrelimSearch::CheckInternalData ( )

Checks that internal data is valid.

Used to know whether or not run should proceed or just print statistics for user. This would most often be called if the problems in constructor are not bad enough to throw but there is no need to scan subject sequences.

Definition at line 322 of file prelim_stage.cpp.

References BlastScoreBlkCheck(), CBlastPrelimSearch::m_InternalData, and SInternalData::m_ScoreBlk.

Referenced by CLocalBlast::Run(), and CMagicBlast::x_Run().

◆ CheckOid() [1/3]

virtual int CIndexedDb_Old::CheckOid ( Int4  oid,
Int4  
)
inlinevirtual

Check whether any results were reported for a given subject sequence.

Note
Overrides CIndexedDb::CheckOid()
Parameters
oidThe subject sequence id.
Returns
0 — if no seeds were found for oid; 1 — if seeds were found for oid;

Implements CIndexedDb.

Definition at line 261 of file blast_dbindex.cpp.

References eHasResults, eNoResults, i, CIndexedDb_Old::LocateIndex(), results, CIndexedDb_Old::results_, and CIndexedDb_Old::seqmap_.

◆ CheckOid() [2/3]

int CIndexedDb_New::CheckOid ( Int4  oid,
Int4 last_vol_id 
)
virtual

Check whether any results were reported for a given subject sequence.

Note
Overrides CIndexedDb::CheckOid().
Parameters
oidThe subject sequence id.
last_vol_idThe volume id checked just before oid
Returns
0 — if oid was handled by indexed search but no seeds found; 1 — if oid was handled by indexed search and seeds were found; 2 — if oid was not handled by indexed search

Implements CIndexedDb.

Definition at line 860 of file blast_dbindex.cpp.

References eHasResults, eNoResults, eNotIndexed, CIndexedDb_New::FindVolume(), LAST_VOL_IDX_NULL, CIndexedDb_New::results_holder_, CIndexedDb_New::UpdateIndex(), and CIndexedDb_New::volumes_.

◆ CheckOid() [3/3]

virtual int CIndexedDb::CheckOid ( Int4  oid,
Int4 last_vol_id 
)
pure virtual

Check whether any results were reported for a given subject sequence.

Parameters
oidThe subject sequence id
last_vol_idThe volume id checked just before oid
Returns
0 — if oid was handled by indexed search but no seeds found; 1 — if oid was handled by indexed search and seeds were found; 2 — if oid was not handled by indexed search

Implemented in CIndexedDb_New, and CIndexedDb_Old.

Referenced by s_MB_IdbCheckOid().

◆ CheckStatus()

CRemoteBlast::ESearchStatus CRemoteBlast::CheckStatus ( )

◆ CHit() [1/2]

CCddInputData::CHit::CHit ( const CHit hit)

Copy constructor.

Parameters
hitHit [in]

Definition at line 382 of file cdd_pssm_input.cpp.

References ITERATE, and CCddInputData::CHit::m_SegmentList.

◆ CHit() [2/2]

CCddInputData::CHit::CHit ( const objects::CDense_seg &  denseg,
double  evalue 
)

Constructor.

Parameters
densegAlignment as Dense_seg [in]
evalueE-value [in]

◆ CHitSegment() [1/2]

CCddInputData::CHitSegment::CHitSegment ( const CHitSegment seg)
inline

Copy constructor.

MSA data is not copied.

Parameters
segHit segment [in]

Definition at line 216 of file cdd_pssm_input.hpp.

◆ CHitSegment() [2/2]

CCddInputData::CHitSegment::CHitSegment ( TRange  q,
TRange  s 
)
inline

Constructor.

Parameters
qSegment range on query [in]
sSegment range on subject [i]

Definition at line 211 of file cdd_pssm_input.hpp.

◆ CIgAnnotation()

CIgAnnotation::CIgAnnotation ( )
inline

◆ CIgAnnotationInfo()

CIgAnnotationInfo::CIgAnnotationInfo ( CConstRef< CIgBlastOptions > &  ig_options)

◆ CIgBlast() [1/3]

CIgBlast::CIgBlast ( const CIgBlast rhs)
private

Prohibit copy constructor.

◆ CIgBlast() [2/3]

CIgBlast::CIgBlast ( CRef< CBlastQueryVector query_factory,
CRef< CLocalDbAdapter blastdb,
CRef< CBlastOptionsHandle options,
CConstRef< CIgBlastOptions ig_options,
CRef< CScope scope 
)
inline

Local Igblast search API.

Parameters
query_factoryConcatenated query sequences [in]
blastdbAdapter to the BLAST database to search [in]
optionsBlast search options [in]
ig_optionsAdditional Ig-BLAST specific options [in]

Definition at line 244 of file igblast.hpp.

References CIgBlast::m_RID, and NcbiEmptyString.

◆ CIgBlast() [3/3]

CIgBlast::CIgBlast ( CRef< CBlastQueryVector query_factory,
CRef< CSearchDatabase blastdb,
CRef< IQueryFactory subjects,
CRef< CBlastOptionsHandle options,
CConstRef< CIgBlastOptions ig_options,
string  entrez_query,
CRef< CScope scope 
)
inline

Remote Igblast search API.

Parameters
query_factoryConcatenated query sequences [in]
blastdbRemote BLAST database to search [in]
subjectsSubject sequences to search [in]
optionsBlast search options [in]
ig_optionsAdditional Ig-BLAST specific options [in]

Definition at line 264 of file igblast.hpp.

References CIgBlast::m_RID, and NcbiEmptyString.

◆ CIgBlastResults()

CIgBlastResults::CIgBlastResults ( CConstRef< objects::CSeq_id >  query,
CRef< objects::CSeq_align_set >  align,
const TQueryMessages errs,
CRef< CBlastAncillaryData ancillary_data 
)
inline

Constructor.

Parameters
queryList of query identifiers [in]
alignalignments for a single query sequence [in]
errserror messages for this query sequence [in]
ancillary_dataMiscellaneous output from the blast engine [in]
query_masksMask locations for this query [in]
ridRID (if applicable, else empty string) [in]

Definition at line 225 of file igblast.hpp.

◆ CIgBlastVersion()

CIgBlastVersion::CIgBlastVersion ( )
inline

Definition at line 56 of file igblast.hpp.

◆ CImportStrategy() [1/2]

CImportStrategy::CImportStrategy ( const CImportStrategy rhs)
private

Prohibit copy constructor.

◆ CImportStrategy() [2/2]

CImportStrategy::CImportStrategy ( CRef< objects::CBlast4_request >  request,
bool  ignore_unsupported_options = false 
)

Constructor, imports the CBlast4_request.

Definition at line 62 of file search_strategy.cpp.

References NCBI_THROW.

◆ CImportStrategyData()

CImportStrategyData::CImportStrategyData ( )
inline

◆ CIndexedDb_New()

CIndexedDb_New::CIndexedDb_New ( const string indexname,
bool partial 
)
explicit

Object constructor.

If all database indices were resolved successfully, then 'false' is returned in partial; otherwise 'true' is returned.

Parameters
indexnameMegaBLAST database name (can be a space separated list of databases)
partial[O] returns 'true' if not all database indices were resolved

Definition at line 753 of file blast_dbindex.cpp.

References CIndexedDb_New::AddIndexInfo(), CIndexedDb_New::EnumerateDbVolumes(), i, IDX_TRACE, ITERATE, NCBI_THROW, CIndexedDb_New::ParseDBNames(), CIndexedDb_New::results_holder_, CIndexedDb_New::TraceNames(), CIndexedDb_New::TraceVolumes(), and CIndexedDb_New::volumes_.

◆ CIndexedDb_Old()

CIndexedDb_Old::CIndexedDb_Old ( const string indexname)
explicit

Object constructor.

Parameters
indexnameA string that is a comma separated list of index file prefix, number of threads, first and last chunks of the index.

Definition at line 944 of file blast_dbindex.cpp.

References ERR_POST, Error(), i, CIndexedDb_Old::index_names_, msg(), NCBI_THROW, SeqDB_CompareVolume(), SeqDB_ResolveDbPath(), and ct::sort().

◆ clear() [1/2]

void CSearchResultSet::clear ( )
inline

Clears the contents of this object.

Definition at line 446 of file blast_results.hpp.

References CSearchResultSet::m_NumQueries, and CSearchResultSet::m_Results.

Referenced by s_CombineSearchSets().

◆ clear() [2/2]

void CMagicBlastResultSet::clear ( )
inline

Clear all results.

Definition at line 283 of file magicblast.hpp.

References CMagicBlastResultSet::m_Results.

◆ ClearDbIndexCallbacks()

void ClearDbIndexCallbacks ( void  )

◆ ClearDiskCacheError()

void CRemoteBlast::ClearDiskCacheError ( void  )
inline

Definition at line 478 of file remote_blast.hpp.

References CRemoteBlast::m_disk_cache_error_flag.

◆ ClearFilterOptions() [1/2]

void CBlastOptions::ClearFilterOptions ( )

◆ ClearFilterOptions() [2/2]

void CBlastOptionsHandle::ClearFilterOptions ( )
inline

Clears the filtering options.

Definition at line 190 of file blast_options_handle.hpp.

References CBlastOptions::ClearFilterOptions(), and CBlastOptionsHandle::m_Opts.

Referenced by CBlastOptionsFactory::CreateTask().

◆ CLocalBlast() [1/3]

CLocalBlast::CLocalBlast ( CRef< IQueryFactory query_factory,
CRef< CBlastOptionsHandle opts_handle,
BlastSeqSrc seqsrc,
CRef< IBlastSeqInfoSrc seqInfoSrc 
)

Constructor with database description.

Parameters
query_factoryquery sequence(s) [in]
opts_handleBLAST options handle [in]
seqsrcBlastSeqSrc object to search [in]
seqInfoSrcuser-specified IBlastSeqInfoSrc [in]

Definition at line 129 of file local_blast.cpp.

◆ CLocalBlast() [2/3]

CLocalBlast::CLocalBlast ( CRef< IQueryFactory query_factory,
CRef< CBlastOptionsHandle opts_handle,
const CSearchDatabase dbinfo 
)

Constructor with database description.

Parameters
query_factoryquery sequence(s) [in]
opts_handleBLAST options handle [in]
dbinfodescription of BLAST database to search [in]

Definition at line 108 of file local_blast.cpp.

◆ CLocalBlast() [3/3]

CLocalBlast::CLocalBlast ( CRef< IQueryFactory query_factory,
CRef< CBlastOptionsHandle opts_handle,
CRef< CLocalDbAdapter db 
)

Constructor with subject adapter (.

See also
CLocalDbAdapter)
Parameters
query_factoryquery sequence(s) [in]
opts_handleBLAST options handle [in]
dbsubject adapter [in]

Definition at line 118 of file local_blast.cpp.

◆ CLocalDbAdapter() [1/4]

CLocalDbAdapter::CLocalDbAdapter ( BlastSeqSrc seqSrc,
CRef< IBlastSeqInfoSrc seqInfoSrc 
)

Constructor taking custom BlastSeqSrc and IBlastSeqInfoSrc objects.

Parameters
seqSrcCustom BlastSeqSrc implementation provided by the user
seqInfoSrcCustom IBlastSeqInfoSrc implementation provided by the user

Definition at line 86 of file local_db_adapter.cpp.

◆ CLocalDbAdapter() [2/4]

CLocalDbAdapter::CLocalDbAdapter ( const CLocalDbAdapter )
private

Prohibit copy-constructor.

◆ CLocalDbAdapter() [3/4]

CLocalDbAdapter::CLocalDbAdapter ( const CSearchDatabase dbinfo)

Constructor.

Parameters
dbinfoDescription of BLAST database

Definition at line 54 of file local_db_adapter.cpp.

◆ CLocalDbAdapter() [4/4]

CLocalDbAdapter::CLocalDbAdapter ( CRef< IQueryFactory subject_sequences,
CConstRef< CBlastOptionsHandle opts_handle,
bool  dbscan_mode = false 
)

Constructor.

Parameters
subject_sequencesSet of sequences which should be used as subjects
opts_handleOptions to be used (needed to create the ILocalQueryData)
dbscan_modeDatabase search mode (as opposed to pairwise)

Definition at line 60 of file local_db_adapter.cpp.

References _ASSERT, CRef< C, Locker >::Empty(), CConstRef< C, Locker >::Empty(), ePSIBlast, CPsiBlastValidate::eQFT_Subject, CBlastOptionsHandle::GetOptions(), CBlastOptions::GetProgram(), CObjMgr_QueryFactory::GetTSeqLocVector(), CLocalDbAdapter::m_SubjectFactory, CLocalDbAdapter::m_Subjects, NCBI_THROW, NULL, and CPsiBlastValidate::QueryFactory().

◆ clone()

SSeqDB_SeqSrc_Data* SSeqDB_SeqSrc_Data::clone ( )
inline

Make a copy of this object, sharing the same SeqDB object.

Definition at line 71 of file seqsrc_seqdb.cpp.

References SSeqDB_SeqSrc_Data::mask_algo_id, SSeqDB_SeqSrc_Data::mask_type, SSeqDB_SeqSrc_Data::seqdb, and SSeqDB_SeqSrc_Data::SSeqDB_SeqSrc_Data().

◆ Clone()

CRef< CBlastOptions > CBlastOptions::Clone ( ) const

◆ CLookupTableOptions() [1/2]

CLookupTableOptions::CLookupTableOptions ( )
inline

Definition at line 314 of file blast_aux.hpp.

◆ CLookupTableOptions() [2/2]

CLookupTableOptions::CLookupTableOptions ( LookupTableOptions p)
inline

Definition at line 314 of file blast_aux.hpp.

◆ CLookupTableWrap() [1/2]

CLookupTableWrap::CLookupTableWrap ( )
inline

Definition at line 315 of file blast_aux.hpp.

◆ CLookupTableWrap() [2/2]

CLookupTableWrap::CLookupTableWrap ( LookupTableWrap p)
inline

Definition at line 315 of file blast_aux.hpp.

◆ Close()

void CBlastHSPListQueueData::Close ( )

Close the queue for writing.

◆ CMagicBlast() [1/2]

CMagicBlast::CMagicBlast ( const CMagicBlast rhs)
protected

Prohibit copy constructor.

◆ CMagicBlast() [2/2]

CMagicBlast::CMagicBlast ( CRef< IQueryFactory query_factory,
CRef< CLocalDbAdapter blastdb,
CRef< CMagicBlastOptionsHandle options 
)

Constructor to map short reads as queries to a genome as BLAST database.

Parameters
query_factoryShort reads sequence to map [in]
blastdbAdapter to the BLAST database [in]
optionsMAGIC-BLAST options [in]

Definition at line 54 of file magicblast.cpp.

References env, CMagicBlast::m_BtopSpliceSignals, and CMagicBlast::x_Validate().

◆ CMagicBlastOptionsHandle() [1/3]

CMagicBlastOptionsHandle::CMagicBlastOptionsHandle ( const CMagicBlastOptionsHandle rhs)
private

Disallow copy constructor.

◆ CMagicBlastOptionsHandle() [2/3]

CMagicBlastOptionsHandle::CMagicBlastOptionsHandle ( CRef< CBlastOptions opt)

Create Options Handle from Existing CBlastOptions Object.

Definition at line 55 of file magicblast_options.cpp.

◆ CMagicBlastOptionsHandle() [3/3]

CMagicBlastOptionsHandle::CMagicBlastOptionsHandle ( EAPILocality  locality = CBlastOptions::eLocal)

Creates object with default options set.

Definition at line 48 of file magicblast_options.cpp.

◆ CMagicBlastResults() [1/2]

CMagicBlastResults::CMagicBlastResults ( CConstRef< CSeq_id query_id,
CConstRef< CSeq_id mate_id,
CRef< CSeq_align_set aligns,
const TMaskedQueryRegions query_mask = NULL,
const TMaskedQueryRegions mate_mask = NULL,
int  query_length = 0,
int  mate_length = 0 
)

Constructor for a pair.

Definition at line 555 of file magicblast.cpp.

References CMagicBlastResults::x_SetInfo().

◆ CMagicBlastResults() [2/2]

CMagicBlastResults::CMagicBlastResults ( CConstRef< CSeq_id query_id,
CRef< CSeq_align_set aligns,
const TMaskedQueryRegions query_mask = NULL,
int  query_length = 0 
)

Constructor for a single read.

Definition at line 571 of file magicblast.cpp.

References CMagicBlastResults::x_SetInfo().

◆ CMagicBlastResultSet() [1/2]

CMagicBlastResultSet::CMagicBlastResultSet ( const CMagicBlastResultSet )
private

◆ CMagicBlastResultSet() [2/2]

CMagicBlastResultSet::CMagicBlastResultSet ( void  )
inline

Create an empty results set.

Definition at line 257 of file magicblast.hpp.

◆ CMultiSeqInfo()

CMultiSeqInfo::CMultiSeqInfo ( TSeqLocVector seq_vector,
EBlastProgramType  program,
bool  dbscan_mode 
)

◆ CObjMgr_LocalQueryData() [1/2]

CObjMgr_LocalQueryData::CObjMgr_LocalQueryData ( CBlastQueryVector queries,
const CBlastOptions options 
)

Ctor that takes a CBlastQueryVector (preferred over TSeqLocVector).

Parameters
queriesqueries as a CBlastQueryVector [in]
optionsBlast options [in]

Definition at line 198 of file objmgr_query_data.cpp.

References CObjMgr_LocalQueryData::m_QuerySource, and CRef< C, Locker >::Reset().

◆ CObjMgr_LocalQueryData() [2/2]

CObjMgr_LocalQueryData::CObjMgr_LocalQueryData ( TSeqLocVector queries,
const CBlastOptions options 
)

Ctor that takes a vector of SSeqLocs.

Parameters
queriesqueries as a vector of SSeqLoc [in]
optionsBlast options [in]

Definition at line 191 of file objmgr_query_data.cpp.

References CObjMgr_LocalQueryData::m_QuerySource, and CRef< C, Locker >::Reset().

◆ CObjMgr_QueryFactory() [1/2]

CObjMgr_QueryFactory::CObjMgr_QueryFactory ( CBlastQueryVector queries)

ctor that takes a CBlastQueryVector (preferred)

Parameters
queriesfor search [in]

Definition at line 375 of file objmgr_query_data.cpp.

References CBlastQueryVector::Empty(), and NCBI_THROW.

◆ CObjMgr_QueryFactory() [2/2]

CObjMgr_QueryFactory::CObjMgr_QueryFactory ( TSeqLocVector queries)

ctor that takes a vector of SSeqLoc

Parameters
queriesvector of SSeqLoc [in]

Definition at line 330 of file objmgr_query_data.cpp.

References ITERATE, CObjMgr_QueryFactory::m_SSeqLocVector, NCBI_THROW, NON_CONST_ITERATE, CSeq_loc::SetInt(), and CSeq_loc::SetPacked_int().

◆ CObjMgr_RemoteQueryData() [1/2]

CObjMgr_RemoteQueryData::CObjMgr_RemoteQueryData ( CBlastQueryVector queries)

Construct query data from a CBlastQueryVector.

Parameters
queriesQueries expressed as a CBlastQueryVector.

Definition at line 290 of file objmgr_query_data.cpp.

◆ CObjMgr_RemoteQueryData() [2/2]

CObjMgr_RemoteQueryData::CObjMgr_RemoteQueryData ( const TSeqLocVector queries)

Construct query data from a TSeqLocVector.

Parameters
queriesQueries expressed as a TSeqLocVector.

Definition at line 286 of file objmgr_query_data.cpp.

◆ CObjMgrFree_LocalQueryData()

CObjMgrFree_LocalQueryData::CObjMgrFree_LocalQueryData ( CConstRef< CBioseq_set bioseq_set,
const CBlastOptions options 
)

◆ CObjMgrFree_QueryFactory() [1/2]

CObjMgrFree_QueryFactory::CObjMgrFree_QueryFactory ( CConstRef< objects::CBioseq >  bioseq)

Parametrized constructor taking a single Bioseq.

Parameters
bioseqBioseq from which to obtain sequence data [in]

Definition at line 249 of file objmgrfree_query_data.cpp.

◆ CObjMgrFree_QueryFactory() [2/2]

CObjMgrFree_QueryFactory::CObjMgrFree_QueryFactory ( CConstRef< objects::CBioseq_set >  bioseq_set)

Parametrized constructor taking a Bioseq-set.

Parameters
bioseq_setBioseq-set from which to obtain sequence data [in]

Definition at line 254 of file objmgrfree_query_data.cpp.

◆ CObjMgrFree_RemoteQueryData()

CObjMgrFree_RemoteQueryData::CObjMgrFree_RemoteQueryData ( CConstRef< CBioseq_set bioseq_set)

Construct query data from a CBioseq_set.

Parameters
queriesQueries expressed as a CBioseq_set.

Definition at line 197 of file objmgrfree_query_data.cpp.

◆ Combine() [1/2]

void TQueryMessages::Combine ( const TQueryMessages other)

Combine other messages with these.

Parameters
otherThe second list of messages.

Definition at line 978 of file blast_aux.cpp.

References _ASSERT, copy(), and TQueryMessages::m_IdString.

Referenced by CIgBlast::s_AppendResults(), and s_CombineSearchSets().

◆ Combine() [2/2]

void TSearchMessages::Combine ( const TSearchMessages other_msgs)

Combine another set of search messages with this one.

Another set of messages is combined with these; each element of the other set is combined with the element of this set having the same index. The size of both sets must match.

Parameters
other_msgsOther messages to add to these.

Definition at line 1028 of file blast_aux.cpp.

References TSearchMessages::Combine(), ctll::empty(), i, and TSearchMessages::RemoveDuplicates().

Referenced by TSearchMessages::Combine(), CLocalBlast::Run(), and CMagicBlast::x_Run().

◆ CompressNcbi2na()

SBlastSequence CompressNcbi2na ( const SBlastSequence source)

Compresses the sequence data passed in to the function from 1 base per byte to 4 bases per byte.

Parameters
sourceinput sequence data in ncbi2na format, with ambiguities randomized [in]
Returns
compressed version of the input
Exceptions
CBlastExceptionin case of memory allocation failure

Definition at line 1154 of file blast_setup_cxx.cpp.

References _ASSERT, a, abort(), b, CalculateSeqBufferLength(), COMPRESSION_RATIO, SBlastSequence::data, eBlastEncodingNcbi2na, eNa_strand_plus, eNoSentinels, AutoPtr< X, Del >::get(), i, SBlastSequence::length, NCBI2NA_MASK, and rapidjson::source.

Referenced by GetSequenceCompressedNucleotide().

◆ ComputeBlastHSPResults()

BlastHSPResults * CBlastPrelimSearch::ComputeBlastHSPResults ( BlastHSPStream stream,
Uint4  max_num_hsps = 0,
bool rm_hsps = NULL,
vector< bool > *  rm_hsps_info = NULL 
) const

◆ ComputeProgram()

EProgram CBlastOptionsBuilder::ComputeProgram ( const string program,
const string service 
)
static

Compute the EProgram value to use for this search.

The blast4 protocol uses a notion of program and service to represent the type of search to do. This method computes the EProgram value corresponding to these strings. Sometimes this result should be modified based on the value of other options, specifically the existence of the PHI pattern indicates PHI blast and certain megablast template options that can indicate discontiguous megablast.

See also
AdjustProgram.
Parameters
programThe program string used by blast4.
serviceThe service string used by blast4.
Returns
The EProgram value corresponding to these strings.

Definition at line 64 of file blast_options_builder.cpp.

References msg(), NCBI_THROW, ProgramNameToEnum(), and NStr::ToLower().

Referenced by CBlastOptionsBuilder::GetSearchOptions().

◆ Convert2Matrix()

template<class T >
void Convert2Matrix ( const list< T > &  source,
CNcbiMatrix< T > &  dest,
bool  by_row,
SIZE_TYPE  num_rows,
SIZE_TYPE  num_columns 
)

Convert a list of values into a CNcbiMatrix.

Parameters
sourcesource of data [in]
destdestination of data [out]
by_rowis the matrix data stored by row? [in]
num_rowsnumber of rows [in]
num_colsnumber of columns [in]

Definition at line 219 of file psiblast_aux_priv.cpp.

References _ASSERT, r(), and rapidjson::source.

Referenced by CScorematPssmConverter::GetFreqRatios(), CScorematPssmConverter::GetResidueFrequencies(), CScorematPssmConverter::GetScores(), and CScorematPssmConverter::GetWeightedResidueFrequencies().

◆ ConvertToRemoteMasks()

CBlast4_get_search_results_reply::TMasks CRemoteBlast::ConvertToRemoteMasks ( const TSeqLocInfoVector masking_locations,
EBlastProgramType  program,
vector< string > *  warnings = NULL 
)
static

Convert a TSeqLocInfoVector to a list< CRef<CBlast4_mask> > objects.

Parameters
masking_locationsMasks to convert [in]
programCORE BLAST program type [in]
warningsoptional argument where warnings will be returned [in|out]

Definition at line 1096 of file remote_blast.cpp.

References Blast_QueryIsTranslated(), CRef< C, Locker >::Empty(), FrameNumber2NetworkFrame(), ITERATE, CRef< C, Locker >::Reset(), and s_CreateBlastMask().

Referenced by BOOST_AUTO_TEST_CASE(), s_BuildArchiveAll(), CExportStrategy::x_Process_Query(), and CRemoteBlast::x_QueryMaskingLocationsToNetwork().

◆ CPHIBlastNuclOptionsHandle() [1/2]

CPHIBlastNuclOptionsHandle::CPHIBlastNuclOptionsHandle ( const CPHIBlastNuclOptionsHandle rhs)
private

Disallow copy constructor.

◆ CPHIBlastNuclOptionsHandle() [2/2]

CPHIBlastNuclOptionsHandle::CPHIBlastNuclOptionsHandle ( EAPILocality  locality = CBlastOptions::eLocal)

Creates object with default options set.

Definition at line 46 of file phiblast_nucl_options.cpp.

References ePHIBlastn.

◆ CPHIBlastProtOptionsHandle() [1/2]

CPHIBlastProtOptionsHandle::CPHIBlastProtOptionsHandle ( const CPHIBlastProtOptionsHandle rhs)
private

Disallow copy constructor.

◆ CPHIBlastProtOptionsHandle() [2/2]

CPHIBlastProtOptionsHandle::CPHIBlastProtOptionsHandle ( EAPILocality  locality = CBlastOptions::eLocal)

Creates object with default options set.

Definition at line 46 of file phiblast_prot_options.cpp.

References ePHIBlastp.

◆ CPrelimSearchRunner() [1/2]

CPrelimSearchRunner::CPrelimSearchRunner ( const CPrelimSearchRunner rhs)
private

Prohibit copy constructor.

◆ CPrelimSearchRunner() [2/2]

CPrelimSearchRunner::CPrelimSearchRunner ( SInternalData internal_data,
const CBlastOptionsMemento opts_memento 
)
inline

Definition at line 57 of file prelim_search_runner.hpp.

◆ CPrelimSearchThread()

CPrelimSearchThread::CPrelimSearchThread ( SInternalData internal_data,
const CBlastOptionsMemento opts_memento 
)
inline

◆ CPsiBl2Seq() [1/4]

CPsiBl2Seq::CPsiBl2Seq ( const CPsiBl2Seq rhs)
private

Prohibit copy constructor.

◆ CPsiBl2Seq() [2/4]

CPsiBl2Seq::CPsiBl2Seq ( CRef< IQueryFactory query,
CRef< IQueryFactory subject,
CConstRef< CBlastProteinOptionsHandle options 
)

Constructor to compare protein sequences in an object manager-free manner.

Parameters
queryProtein query sequence to search (only 1 is allowed!) [in]
subjectProtein sequence(s) to search [in]
optionsProtein options [in]

Definition at line 65 of file psibl2seq.cpp.

References CConstRef< C, Locker >::GetPointer(), CPsiBl2Seq::m_Impl, CPsiBl2Seq::m_Subject, query, subject, and CPsiBl2Seq::x_InitSubject().

◆ CPsiBl2Seq() [3/4]

CPsiBl2Seq::CPsiBl2Seq ( CRef< objects::CPssmWithParameters >  pssm,
CRef< CLocalDbAdapter subject,
CConstRef< CPSIBlastOptionsHandle options 
)

Constructor to compare a PSSM against protein sequences.

Parameters
pssmPSSM to use as query. This must contain the query sequence which represents the master sequence for the PSSM. PSSM data might be provided as scores or as frequency ratios, in which case the PSSM engine will be invoked to convert them to scores (and save them as a effect). If both the scores and frequency ratios are provided, the scores are given priority and are used in the search. [in|out]
subjectSubject sequence(s) to search [in]
optionsPSI-BLAST options [in]

Definition at line 57 of file psibl2seq.cpp.

References CPsiBl2Seq::m_Impl, CPsiBl2Seq::m_Subject, and subject.

◆ CPsiBl2Seq() [4/4]

CPsiBl2Seq::CPsiBl2Seq ( CRef< objects::CPssmWithParameters >  pssm,
CRef< IQueryFactory subject,
CConstRef< CPSIBlastOptionsHandle options 
)

Constructor to compare a PSSM against protein sequences.

Parameters
pssmPSSM to use as query. This must contain the query sequence which represents the master sequence for the PSSM. PSSM data might be provided as scores or as frequency ratios, in which case the PSSM engine will be invoked to convert them to scores (and save them as a effect). If both the scores and frequency ratios are provided, the scores are given priority and are used in the search. [in|out]
subjectSubject sequence(s) to search [in]
optionsPSI-BLAST options [in]

Definition at line 49 of file psibl2seq.cpp.

References subject.

◆ CPsiBlast() [1/3]

CPsiBlast::CPsiBlast ( const CPsiBlast rhs)
private

Prohibit copy constructor.

◆ CPsiBlast() [2/3]

CPsiBlast::CPsiBlast ( CRef< IQueryFactory query_factory,
CRef< CLocalDbAdapter blastdb,
CConstRef< CPSIBlastOptionsHandle options 
)

Constructor to compare a single sequence against a database of protein sequences.

Parameters
query_factoryProtein query sequence to search (only 1 is allowed!) [in]
blastdbAdapter to the BLAST database to search [in]
optionsPSI-BLAST options [in]

Definition at line 58 of file psiblast.cpp.

◆ CPsiBlast() [3/3]

CPsiBlast::CPsiBlast ( CRef< objects::CPssmWithParameters >  pssm,
CRef< CLocalDbAdapter blastdb,
CConstRef< CPSIBlastOptionsHandle options 
)

Constructor to compare a PSSM against a database of protein sequences.

Parameters
pssmPSSM to use as query. This must contain the query sequence which represents the master sequence for the PSSM. PSSM data might be provided as scores or as frequency ratios, in which case the PSSM engine will be invoked to convert them to scores (and save them as a effect). If both the scores and frequency ratios are provided, the scores are given priority and are used in the search. [in|out]
blastdbAdapter to the BLAST database to search [in]
optionsPSI-BLAST options [in]

Definition at line 67 of file psiblast.cpp.

References CPsiBlast::m_Impl, and CPsiBlast::m_Subject.

◆ CPsiBlastImpl() [1/3]

CPsiBlastImpl::CPsiBlastImpl ( const CPsiBlastImpl rhs)
private

Prohibit copy constructor.

◆ CPsiBlastImpl() [2/3]

CPsiBlastImpl::CPsiBlastImpl ( CRef< IQueryFactory query,
CRef< CLocalDbAdapter subject,
CConstRef< CBlastProteinOptionsHandle options 
)

Constructor to handle the first iteration of PSI-BLAST when the query is a protein sequence or when the performing an object manager free BLAST 2 Sequences search.

Parameters
queryProtein query sequence to search (only 1 is allowed!) [in]
subjectProtein sequence to search [in]
optionsProtein options [in]

Definition at line 70 of file psiblast_impl.cpp.

References CPsiBlastImpl::x_Validate().

◆ CPsiBlastImpl() [3/3]

CPsiBlastImpl::CPsiBlastImpl ( CRef< objects::CPssmWithParameters >  pssm,
CRef< CLocalDbAdapter subject,
CConstRef< CPSIBlastOptionsHandle options 
)

Constructor for restarting PSI-BLAST iterations with a previously generated PSSM.

Parameters
pssmsame comment as in CPsiBl2Seq or CPsiBlast applies
subjectSubject sequence(s) to search [in]
optionsPSI-BLAST options [in]

Definition at line 59 of file psiblast_impl.cpp.

◆ CPsiBlastInputClustalW() [1/2]

CPsiBlastInputClustalW::CPsiBlastInputClustalW ( CNcbiIstream input_file,
const PSIBlastOptions opts,
const char *  matrix_name = NULL,
const PSIDiagnosticsRequest diags = NULL,
const unsigned char *  query = NULL,
unsigned int  query_length = 0,
int  gap_existence = 0,
int  gap_opening = 0,
unsigned int  msa_master_idx = 0 
)

Construct a concrete strategy, used to configure the CPssmEngine object.

Parameters
input_fileInput file containing the multiple sequence alignment. [in]
optsoptions to be used in the PSSM engine
matrix_namename of the substitution matrix to use to build PSSM If not provided, the default implementation of IPssmInputData::GetMatrixName() will be returned
diagsdiagnostics data requests for the PSSM engine
queryquery sequence for the alignment in ncbistdaa encoding.
query_lengthlength of the sequence above.
gap_existencecost to open a gap, if zero default from IPssmInputData used.
gap_extensioncost to open a gap, if zero default from IPssmInputData used.
msa_master_idx0-based index of the multiple sequence alignment This is an alternative way to specify the query sequence to use (i.e.: don't use query and query_length if this is provided) [in]

Definition at line 68 of file msa_pssm_input.cpp.

References _ASSERT, input_file, NULL, PSIDiagnosticsRequestNew(), query, and string.

◆ CPsiBlastInputClustalW() [2/2]

CPsiBlastInputClustalW::CPsiBlastInputClustalW ( const CPsiBlastInputClustalW )
private

prohibit copy constructor

◆ CPsiBlastInputData() [1/2]

CPsiBlastInputData::CPsiBlastInputData ( const CPsiBlastInputData )
private

prohibit copy constructor

◆ CPsiBlastInputData() [2/2]

CPsiBlastInputData::CPsiBlastInputData ( const unsigned char *  query,
unsigned int  query_length,
CConstRef< objects::CSeq_align_set >  sset,
CRef< objects::CScope >  scope,
const PSIBlastOptions opts,
const char *  matrix_name = NULL,
int  gap_existence = 0,
int  gap_opening = 0,
const PSIDiagnosticsRequest diags = NULL,
const string query_title = "" 
)

Construct a concrete strategy, used to configure the CPssmEngine object.

Parameters
queryquery sequence for the alignment in ncbistdaa encoding.
query_lengthlength of the sequence above.
ssetpairwise alignment produced by BLAST where query was the query sequence.
scopeobject manager scope from which to retrieve sequence data [in]
optsoptions to be used in the PSSM engine
matrix_namename of the substitution matrix to use to build PSSM If not provided, the default implementation of IPssmInputData::GetMatrixName() will be returned
gap_existencecost to open a gap, if zero default from IPssmInputData used.
gap_extensioncost to open a gap, if zero default from IPssmInputData used.
diagsdiagnostics data requests for the PSSM engine

Definition at line 77 of file psi_pssm_input.cpp.

References CPsiBlastInputData::m_DiagnosticsRequest, CPsiBlastInputData::m_MatrixName, CPsiBlastInputData::m_Msa, CPsiBlastInputData::m_MsaDimensions, CPsiBlastInputData::m_Opts, CPsiBlastInputData::m_Query, CPsiBlastInputData::m_QueryTitle, CPsiBlastInputData::m_Scope, CPsiBlastInputData::m_SeqAlignSet, NCBI_THROW, NULL, PSIMsaDimensions::num_seqs, query, PSIMsaDimensions::query_length, CRef< C, Locker >::Reset(), CConstRef< C, Locker >::Reset(), and string.

◆ CPsiBlastInputFreqRatios()

CPsiBlastInputFreqRatios::CPsiBlastInputFreqRatios ( const unsigned char *  query,
unsigned int  query_length,
const CNcbiMatrix< double > &  freq_ratios,
const char *  matrix_name = NULL,
int  gap_existence = 0,
int  gap_extension = 0,
double  impala_scale_factor = 0 
)
inline

Constructor.

Parameters
querypointer to query sequence data [in]
query_lengthlength of the query sequence data [in]
freq_ratiosmatrix of frequency ratios [in]
matrix_namename of underlying scoring matrix used [in]
gap_existencecost to open a gap, if zero default from IPssmInputData used.
gap_extensioncost to open a gap, if zero default from IPssmInputData used.

Definition at line 78 of file psi_pssm_input.hpp.

◆ CPsiBlastIterationState() [1/2]

CPsiBlastIterationState::CPsiBlastIterationState ( const CPsiBlastIterationState rhs)
private

Prohibit copy constructor.

◆ CPsiBlastIterationState() [2/2]

CPsiBlastIterationState::CPsiBlastIterationState ( unsigned int  num_iterations = 1)

Constructor.

Parameters
num_iterationsNumber of iterations to perform. Use 0 to indicate that iterations must take place until convergence or the number of iterations desired [in]

Definition at line 50 of file psiblast_iteration.cpp.

◆ CPSIBlastOptions() [1/2]

CPSIBlastOptions::CPSIBlastOptions ( )
inline

Definition at line 330 of file blast_aux.hpp.

◆ CPSIBlastOptions() [2/2]

CPSIBlastOptions::CPSIBlastOptions ( PSIBlastOptions p)
inline

Definition at line 330 of file blast_aux.hpp.

◆ CPSIBlastOptionsHandle() [1/3]

CPSIBlastOptionsHandle::CPSIBlastOptionsHandle ( const CPSIBlastOptionsHandle rhs)
private

Disallow copy constructor.

◆ CPSIBlastOptionsHandle() [2/3]

CPSIBlastOptionsHandle::CPSIBlastOptionsHandle ( CRef< CBlastOptions opt)
inline

Definition at line 60 of file psiblast_options.hpp.

◆ CPSIBlastOptionsHandle() [3/3]

CPSIBlastOptionsHandle::CPSIBlastOptionsHandle ( EAPILocality  locality = CBlastOptions::eLocal)

Creates object with default options set.

Definition at line 46 of file psiblast_options.cpp.

References ePSIBlast, and CBlastOptions::eRemote.

◆ CPSIDiagnosticsRequest() [1/2]

CPSIDiagnosticsRequest::CPSIDiagnosticsRequest ( )
inline

Definition at line 347 of file blast_aux.hpp.

◆ CPSIDiagnosticsRequest() [2/2]

CPSIDiagnosticsRequest::CPSIDiagnosticsRequest ( PSIDiagnosticsRequest p)
inline

Definition at line 347 of file blast_aux.hpp.

◆ CPSIDiagnosticsResponse() [1/2]

CPSIDiagnosticsResponse::CPSIDiagnosticsResponse ( )
inline

Definition at line 348 of file blast_aux.hpp.

◆ CPSIDiagnosticsResponse() [2/2]

CPSIDiagnosticsResponse::CPSIDiagnosticsResponse ( PSIDiagnosticsResponse p)
inline

Definition at line 348 of file blast_aux.hpp.

◆ CPSIMatrix() [1/2]

CPSIMatrix::CPSIMatrix ( )
inline

Definition at line 346 of file blast_aux.hpp.

◆ CPSIMatrix() [2/2]

CPSIMatrix::CPSIMatrix ( PSIMatrix p)
inline

Definition at line 346 of file blast_aux.hpp.

◆ CPSIMsa() [1/2]

CPSIMsa::CPSIMsa ( )
inline

Definition at line 345 of file blast_aux.hpp.

◆ CPSIMsa() [2/2]

CPSIMsa::CPSIMsa ( PSIMsa p)
inline

Definition at line 345 of file blast_aux.hpp.

◆ CPssmEngine() [1/5]

CPssmEngine::CPssmEngine ( )
inlineprivate

Default constructor available for derived test classes.

Definition at line 240 of file pssm_engine.hpp.

◆ CPssmEngine() [2/5]

CPssmEngine::CPssmEngine ( const CPssmEngine rhs)
private

Prohibit copy constructor.

◆ CPssmEngine() [3/5]

CPssmEngine::CPssmEngine ( IPssmInputCdd input)

Constructor to configure the PSSM engine with a PSSM input data strategy object for CDD-based PSSM computation.

Definition at line 204 of file pssm_engine.cpp.

References input(), and CPssmEngine::x_InitializeScoreBlock().

◆ CPssmEngine() [4/5]

CPssmEngine::CPssmEngine ( IPssmInputData input)

Constructor to configure the PSSM engine with a PSSM input data strategy object Checks that no data returned by the IPssmInputData interface is NULL.

Exceptions
CPssmEngineExceptionif validation fails. Does not test the GetData() method as this is only populated after Process() is called.

Definition at line 188 of file pssm_engine.cpp.

References input(), s_CheckAgainstNullData(), CPssmEngine::x_GetGapExistence(), CPssmEngine::x_GetGapExtension(), CPssmEngine::x_GetMatrixName(), CPssmEngine::x_GetQuery(), CPssmEngine::x_GetQueryLength(), and CPssmEngine::x_InitializeScoreBlock().

◆ CPssmEngine() [5/5]

CPssmEngine::CPssmEngine ( IPssmInputFreqRatios input)

Constructor to perform the last 2 stages of the PSSM creation algorithm Checks that no data returned by the IPssmInputFreqRatios interface is NULL.

Exceptions
CPssmEngineExceptionif validation fails

Definition at line 196 of file pssm_engine.cpp.

References input(), s_CheckAgainstNullData(), CPssmEngine::x_GetGapExistence(), CPssmEngine::x_GetGapExtension(), CPssmEngine::x_GetMatrixName(), CPssmEngine::x_GetQuery(), CPssmEngine::x_GetQueryLength(), and CPssmEngine::x_InitializeScoreBlock().

◆ CQueryDataPerChunk()

CQueryDataPerChunk::CQueryDataPerChunk ( const CSplitQueryBlk sqb,
EBlastProgramType  program,
CRef< ILocalQueryData local_query_data 
)

◆ CQueryFactoryInfo() [1/2]

CQueryFactoryInfo::CQueryFactoryInfo ( const TSeqLocVector subject_seqs,
EBlastProgramType  program 
)

◆ CQueryFactoryInfo() [2/2]

CQueryFactoryInfo::CQueryFactoryInfo ( CRef< IQueryFactory qf,
EBlastProgramType  program 
)

◆ CQuerySetUpOptions() [1/2]

CQuerySetUpOptions::CQuerySetUpOptions ( )
inline

Definition at line 312 of file blast_aux.hpp.

◆ CQuerySetUpOptions() [2/2]

CQuerySetUpOptions::CQuerySetUpOptions ( QuerySetUpOptions p)
inline

Definition at line 312 of file blast_aux.hpp.

◆ CQuerySplitter() [1/2]

CQuerySplitter::CQuerySplitter ( const CQuerySplitter rhs)
private

Prohibit copy constructor.

◆ CQuerySplitter() [2/2]

CQuerySplitter::CQuerySplitter ( CRef< IQueryFactory query_factory,
const CBlastOptions options 
)

Parametrized constructor.

Parameters
query_factoryObject containing query sequence(s) [in]
optionsBLAST options for the search [in]

Definition at line 50 of file split_query_cxx.cpp.

References SplitQuery_CalculateNumChunks(), and SplitQuery_GetChunkSize().

◆ Create()

CBlastOptionsHandle * CBlastOptionsFactory::Create ( EProgram  program,
EAPILocality  locality = CBlastOptions::eLocal 
)
static

Creates an options handle object configured with default options for the requested program, throws an exception if an unsupported program is requested.

Parameters
programBLAST program [in]
localityLocal processing (default) or remote processing.
Returns
requested options handle with default values set
Exceptions
CBlastExceptionin case of an unhandled program type

Definition at line 110 of file blast_options_handle.cpp.

References abort(), eBlastn, eBlastNotSet, eBlastp, eBlastx, eDeltaBlast, eDiscMegablast, eKBlastp, eMapper, eMegablast, ePHIBlastn, ePHIBlastp, ePSIBlast, ePSITblastn, eRPSBlast, eRPSTblastn, eTblastn, eTblastx, eVecScreen, NCBI_THROW, NULL, CBlastNucleotideOptionsHandle::SetTraditionalBlastnDefaults(), CBlastNucleotideOptionsHandle::SetTraditionalMegablastDefaults(), and CBlastNucleotideOptionsHandle::SetVecScreenDefaults().

Referenced by BOOST_AUTO_TEST_CASE(), CBl2Seq::CBl2Seq(), CBlastOptionsFactory::CreateTask(), CIgBlastArgs::ExtractAlgorithmOptions(), CScoreBuilder::GetBlastScoreProtToNucl(), CLocalSearchFactory::GetOptions(), CRemoteSearchFactory::GetOptions(), CBlastOptionsBuilder::GetSearchOptions(), RpsTestFixture::NuclSearch(), CSplitQueryTestFixture::QuerySplitter_BlastnMultiQueryMultiChunk(), CSplitQueryTestFixture::QuerySplitter_BlastnSingleQueryMultiChunk(), CSplitQueryTestFixture::QuerySplitter_BlastxMultiQueryMultiChunk(), CSplitQueryTestFixture::QuerySplitter_BlastxSingleQueryMultiChunk(), CSeedTopApp::Run(), CVecScreenApp::Run(), CSeedTop::Run(), CBlastDemoApplication::Run(), setupQueryInfoForOffsetTranslation(), CBLASTParams::ToArgVecBlastOptions(), CBLASTParams::ToBlastOptions(), UniversalOptiosHandleFixture::UniversalOptiosHandleFixture(), CDeltaBlast::x_FindDomainHits(), CMultiAligner::x_FindRPSHits(), CSequenceDataTester::x_Init(), CSplitQueryTestFixture::x_PrepareBlastQueryStructures(), CSplignApp::x_SetupBlastOptions(), and CSplitQueryTestFixture::x_TestCContextTranslator().

◆ CreateBlastSeqSrc() [1/2]

BlastSeqSrc * CSetupFactory::CreateBlastSeqSrc ( const CSearchDatabase db)
static

Create a BlastSeqSrc from a CSearchDatabase (uses CSeqDB)

Parameters
dbdescription of BLAST database to search [in]

Definition at line 406 of file setup_factory.cpp.

References CSearchDatabase::GetFilteringAlgorithm(), CSearchDatabase::GetMaskType(), and CSearchDatabase::GetSeqDb().

Referenced by CBlastPrelimSearch::CBlastPrelimSearch(), and CLocalDbAdapter::MakeSeqSrc().

◆ CreateBlastSeqSrc() [2/2]

BlastSeqSrc * CSetupFactory::CreateBlastSeqSrc ( CSeqDB db,
int  filt_algo = -1,
ESubjectMaskingType  mask_type = eNoSubjMasking 
)
static

Create a BlastSeqSrc from an existing CSeqDB object.

Parameters
dbExisting CSeqDB object for the searched BLAST database [in]

Definition at line 414 of file setup_factory.cpp.

References BlastSeqSrcFree(), BlastSeqSrcGetInitError(), msg(), NCBI_THROW, SeqDbBlastSeqSrcInit(), and sfree.

◆ CreateDiagnosticsStructure()

BlastDiagnostics * CSetupFactory::CreateDiagnosticsStructure ( )
static

Create and initialize the BlastDiagnostics structure for single-threaded applications.

Definition at line 274 of file setup_factory.cpp.

References Blast_DiagnosticsInit().

Referenced by BlastSetupPreliminarySearchEx(), CBlastPrelimSearch::SetNumberOfThreads(), and CBlastTracebackSearch::x_Init().

◆ CreateDiagnosticsStructureMT()

BlastDiagnostics * CSetupFactory::CreateDiagnosticsStructureMT ( )
static

Create and initialize the BlastDiagnostics structure for multi-threaded applications.

Definition at line 280 of file setup_factory.cpp.

References Blast_CMT_LOCKInit(), and Blast_DiagnosticsInitMT().

Referenced by BlastSetupPreliminarySearchEx(), and CBlastPrelimSearch::SetNumberOfThreads().

◆ CreateEmptySeq_align_set()

CRef< CSeq_align_set > CreateEmptySeq_align_set ( void  )

Constructs an empty Seq-align-set containing an empty discontinuous seq-align, and appends it to a previously constructed Seq-align-set.

Parameters
sasPointer to a Seq-align-set, to which new object should be appended (if not NULL).
Returns
Resulting Seq-align-set.

Definition at line 1507 of file blast_seqalign.cpp.

References _ASSERT, CSeq_align_set_Base::Get(), and CSeq_align_set_Base::Set().

Referenced by BlastHitList2SeqAlign_OMF(), CBl2Seq::CSearchResultSet2TSeqAlignVector(), s_BLAST_OneSubjectResults2CSeqAlign(), and CMagicBlast::x_CreateSeqAlignSet().

◆ CreateHspPipe()

BlastHSPPipe * CSetupFactory::CreateHspPipe ( const CBlastOptionsMemento opts_memento,
BlastQueryInfo query_info 
)
static

◆ CreateHspStream()

BlastHSPStream * CSetupFactory::CreateHspStream ( const CBlastOptionsMemento opts_memento,
size_t  number_of_queries,
BlastHSPWriter writer 
)
static

Create and initialize the BlastHSPStream structure.

Parameters
opts_mementoMemento options object [in]
number_of_queriesnumber of queries involved in the search [in]
writerwriter to be used within this stream [in]

Definition at line 286 of file setup_factory.cpp.

References _ASSERT, BlastHSPStreamNew(), CBlastOptionsMemento::m_ExtnOpts, CBlastOptionsMemento::m_ProgramType, and TRUE.

Referenced by BlastSetupPreliminarySearchEx().

◆ CreateHspWriter()

BlastHSPWriter * CSetupFactory::CreateHspWriter ( const CBlastOptionsMemento opts_memento,
BLAST_SequenceBlk query,
BlastQueryInfo query_info 
)
static

◆ CreateLookupTable()

LookupTableWrap * CSetupFactory::CreateLookupTable ( CRef< ILocalQueryData query_data,
const CBlastOptionsMemento opts_memento,
BlastScoreBlk score_blk,
CRef< CBlastSeqLocWrap lookup_segments,
const CBlastRPSInfo rps_info = NULL,
BlastSeqSrc seqsrc = NULL,
size_t  num_threads = 1 
)
static

Initialize the lookup table.

Note that for the case of PSI-BLAST the PSSM must be initialized in the BlastScoreBlk for it to be recognized properly by the lookup table code. Caller owns the return value.

Parameters
query_datasource of query sequence data [in]
opts_mementoMemento options object [in]
score_blkBlastScoreBlk structure, as obtained in CreateScoreBlock [in]
lookup_segmentsquery segments to be searched because they were not filtered, needed for the lookup table creation (otherwise pass NULL) [in|out]
rps_infoRPS-BLAST data structures as obtained from CreateRpsStructures [in]
seqsrcBlastSeqSrc structure, only needed when performing megablast indexed-database searches [in]
num_threadsNumber of threads to use. Multithreaded implementation is only avaliable for Magic-BLAST lookup tables. [in]

Definition at line 200 of file setup_factory.cpp.

References Blast_Message2TSearchMessages(), Blast_ProgramIsPhiBlast(), Blast_SetPHIPatternInfo(), CBlast_Message::Get(), GetDbIndexSetQueryInfoFn(), CBlastSeqLocWrap::getLocs(), ILocalQueryData::GetQueryInfo(), ILocalQueryData::GetSequenceBlk(), TSearchMessages::HasMessages(), NStr::IntToString(), LookupTableWrapInit_MT(), LookupTableWrap::lut, CBlastOptionsMemento::m_LutOpts, CBlastOptionsMemento::m_ProgramType, CBlastOptionsMemento::m_QueryOpts, msg(), NCBI_THROW, and TSearchMessages::ToString().

Referenced by BlastSetupPreliminarySearchEx(), and CBlastTracebackSearch::x_Init().

◆ CreateRpsStructures()

CRef< CBlastRPSInfo > CSetupFactory::CreateRpsStructures ( const string rps_dbname,
CRef< CBlastOptions options 
)
static

Initializes RPS-BLAST data structures.

Parameters
rps_dbnameName of the RPS-BLAST database [in]
optionsBLAST options (matrix name and gap costs will be modified with data read from the RPS-BLAST auxiliary file) [in|out]

Definition at line 73 of file setup_factory.cpp.

References eNoCompositionBasedStats, CBlastRPSInfo::fRpsBlast, CBlastRPSInfo::fRpsBlastWithCBS, CBlastOptions::GetCompositionBasedStats(), CBlastRPSInfo::GetGapExtensionCost(), CBlastRPSInfo::GetGapOpeningCost(), CBlastRPSInfo::GetMatrixName(), CBlastOptions::SetGapExtensionCost(), CBlastOptions::SetGapOpeningCost(), and CBlastOptions::SetMatrixName().

Referenced by BlastSetupPreliminarySearchEx(), and CBlastTracebackSearch::x_Init().

◆ CreateScoreBlock()

BlastScoreBlk * CSetupFactory::CreateScoreBlock ( const CBlastOptionsMemento opts_memento,
CRef< ILocalQueryData query_data,
BlastSeqLoc **  lookup_segments,
TSearchMessages search_messages,
TSeqLocInfoVector masked_query_regions = NULL,
const CBlastRPSInfo rps_info = NULL 
)
static

Initializes the BlastScoreBlk.

Caller owns the return value.

Parameters
opts_mementoMemento options object [in]
query_datasource of query sequence data [in]
lookup_segmentsquery segments to be searched because they were not filtered, needed for the lookup table creation (otherwise pass NULL). If this is passed to this function it should also be passed to CreateLookupTable [in|out]
search_messagesError/warning messages [in|out]
masked_query_regionsRegions of the query which were masked including those masked outside the CORE. If non-NULL they will be populated and caller assumes ownership of the object [in|out]
rps_infoRPS-BLAST data structures as obtained from CreateRpsStructures [in]

Definition at line 122 of file setup_factory.cpp.

References _ASSERT, TSearchMessages::AddMessageAllQueries(), Blast_GetSeqLocInfoVector(), BLAST_MainSetUp(), Blast_Message2TSearchMessages(), Blast_ProgramIsRpsBlast(), BlastFindMatrixPath(), BlastScoreBlkFree(), BlastSeqLocFree(), BlastExtensionOptions::compositionBasedStats, eBlastSevError, eBlastSevWarning, CBlast_Message::Get(), ILocalQueryData::GetQueryInfo(), CBlastRPSInfo::GetScalingFactor(), ILocalQueryData::GetSequenceBlk(), TSearchMessages::HasMessages(), NStr::IntToString(), CBlastOptionsMemento::m_ExtnOpts, CBlastOptionsMemento::m_ProgramType, CBlastOptionsMemento::m_QueryOpts, CBlastOptionsMemento::m_ScoringOpts, BlastScoringOptions::matrix, msg(), NCBI_THROW, s_LocalQueryData2Packed_seqint(), Blast_Message::severity, strcasecmp, and TSearchMessages::ToString().

Referenced by BlastSetupPreliminarySearchEx(), BOOST_AUTO_TEST_CASE(), CEffectiveSearchSpaceCalculator::CEffectiveSearchSpaceCalculator(), CBlastPrelimSearch::Run(), and CBlastTracebackSearch::x_Init().

◆ CreateSnapshot()

const CBlastOptionsMemento * CBlastOptions::CreateSnapshot ( ) const

◆ CreateTask()

CBlastOptionsHandle * CBlastOptionsFactory::CreateTask ( string  task,
EAPILocality  locality = CBlastOptions::eLocal 
)
static

Creates an options handle object configured with default options for the requested task, throws an exception if an unsupported task is requested.

Parameters
taskBLAST task [in]
localityLocal processing (default) or remote processing.
Returns
requested options handle with default values set
Exceptions
CBlastExceptionin case of an unhandled program type
See also
GetDocumentation

Definition at line 337 of file blast_options_handle.cpp.

References _ASSERT, abort(), BLAST_WORD_THRESHOLD_BLASTP_FAST, CBlastOptionsHandle::ClearFilterOptions(), NStr::CompareNocase(), CBlastOptionsFactory::Create(), eBlastn, eBlastp, eBlastx, eCompressedAaLookupTable, eDeltaBlast, eDiscMegablast, eKBlastp, eMapper, eMegablast, ePHIBlastp, ePSIBlast, ePSITblastn, eRPSBlast, eRPSTblastn, eTblastn, eTblastx, NULL, CBlastProteinOptionsHandle::SetChaining(), CBlastOptionsHandle::SetEvalueThreshold(), CBlastProteinOptionsHandle::SetGapExtensionCost(), CBlastProteinOptionsHandle::SetGapOpeningCost(), CMagicBlastOptionsHandle::SetGenomeToGenomeDefaults(), CBlastOptions::SetLookupTableType(), CBlastNucleotideOptionsHandle::SetMatchReward(), CBlastProteinOptionsHandle::SetMatrixName(), CBlastNucleotideOptionsHandle::SetMismatchPenalty(), CBlastOptionsHandle::SetOptions(), CMagicBlastOptionsHandle::SetRNAToGenomeDefaults(), CMagicBlastOptionsHandle::SetRNAToRNADefaults(), CBlastNucleotideOptionsHandle::SetVecScreenDefaults(), CBlastNucleotideOptionsHandle::SetWordSize(), CBlastProteinOptionsHandle::SetWordSize(), CBlastProteinOptionsHandle::SetWordThreshold(), ThrowIfInvalidTask(), and NStr::ToLower().

Referenced by BOOST_AUTO_TEST_CASE(), CVectorScreen::Run(), CBlastnVdbAppArgs::x_CreateOptionsHandle(), CBlastAppArgs::x_CreateOptionsHandleWithTask(), and CVecscreenRun::x_RunBlast().

◆ CreateWholeSeqLocFromIds()

CConstRef<objects::CSeq_loc> CreateWholeSeqLocFromIds ( const list< CRef< objects::CSeq_id > >  seqids)

Create a single CSeq_loc of type whole from the first id in the list.

Parameters
seqidsidentifiers for the Seq-loc [in]

Definition at line 58 of file blast_aux_priv.cpp.

References _ASSERT, and CSeq_loc::SetWhole().

Referenced by CBioseqSeqInfoSrc::GetSeqLoc(), and CSeqDbSeqInfoSrc::GetSeqLoc().

◆ CReference() [1/2]

CReference::CReference ( void  )
inlineprivate

Prohibit constructing this class.

Definition at line 84 of file Reference.hpp.

◆ CReference() [2/2]

CReference::CReference ( const CReference rhs)
private

Prohibit copy constructor.

◆ CRemoteBlast() [1/7]

CRemoteBlast::CRemoteBlast ( CBlastOptionsHandle any_opts)

Create a search using any kind of options handle.

Definition at line 1262 of file remote_blast.cpp.

References CRemoteBlast::x_Init(), and CRemoteBlast::x_InitDiskCache().

◆ CRemoteBlast() [2/7]

CRemoteBlast::CRemoteBlast ( CNcbiIstream f)

Uses the file to populate results.

The file may be text or binary ASN.1 or XML. type is automatically detected.

Parameters
fistream to archive file

Definition at line 1250 of file remote_blast.cpp.

References f, CRemoteBlast::x_Init(), and CRemoteBlast::x_InitDiskCache().

◆ CRemoteBlast() [3/7]

CRemoteBlast::CRemoteBlast ( const CRemoteBlast )
private

Prohibit copy construction.

◆ CRemoteBlast() [4/7]

CRemoteBlast::CRemoteBlast ( const string RID)

Use the specified RID to get results for an existing search.

Definition at line 1256 of file remote_blast.cpp.

References CRemoteBlast::x_Init(), and CRemoteBlast::x_InitDiskCache().

◆ CRemoteBlast() [5/7]

CRemoteBlast::CRemoteBlast ( CRef< IQueryFactory queries,
CRef< CBlastOptionsHandle opts_handle,
const CSearchDatabase db 
)

Create a sequence search and set options, queries, and database.

Parameters
queriesQueries corresponding to Seq-loc-list or Bioseq-set.
opts_handleBlast options handle.
dbDatabase used for this search.

Definition at line 1268 of file remote_blast.cpp.

References CRemoteBlast::x_Init(), CRemoteBlast::x_InitDiskCache(), and CRemoteBlast::x_InitQueries().

◆ CRemoteBlast() [6/7]

CRemoteBlast::CRemoteBlast ( CRef< IQueryFactory queries,
CRef< CBlastOptionsHandle opts_handle,
CRef< IQueryFactory subjects 
)

Create a search and set options, queries, and subject sequences.

Parameters
queriesQueries corresponding to Seq-loc-list or Bioseq-set.
opts_handleBlast options handle.
subjectsSubject corresponding to Seq-loc-list or Bioseq-set.

Definition at line 1297 of file remote_blast.cpp.

References CRemoteBlast::SetSubjectSequences(), CRemoteBlast::x_Init(), CRemoteBlast::x_InitDiskCache(), and CRemoteBlast::x_InitQueries().

◆ CRemoteBlast() [7/7]

CRemoteBlast::CRemoteBlast ( CRef< objects::CPssmWithParameters >  pssm,
CRef< CBlastOptionsHandle opts_handle,
const CSearchDatabase db 
)

Create a PSSM search and set options, queries, and database.

Parameters
pssmSearch matrix for a PSSM search.
opts_handleBlast options handle.
dbDatabase used for this search.

Definition at line 1379 of file remote_blast.cpp.

References CRef< C, Locker >::Empty(), NCBI_THROW, CRemoteBlast::SetQueries(), and CRemoteBlast::x_Init().

◆ CRpsAuxFile()

CRpsAuxFile::CRpsAuxFile ( const string filename_no_extn)

Parametrized constructor.

Parameters
filename_no_extnname of the file without extension

Definition at line 180 of file rps_aux.cpp.

References CRpsAuxFile::kExtension, CRpsAuxFile::m_Data, NCBI_THROW, and CRpsAuxFile::x_ReadFromFile().

◆ CRpsFreqRatiosFile()

CRpsFreqRatiosFile::CRpsFreqRatiosFile ( const string filename_no_extn)

Parametrized constructor.

Parameters
filename_no_extnname of the file without extension

Definition at line 486 of file rps_aux.cpp.

References CRpsFreqRatiosFile::kExtension, CRpsFreqRatiosFile::m_Data, CRpsMmappedFile::m_MmappedFile, BlastRPSFreqRatiosHeader::magic_number, NCBI_THROW, NULL, RPS_MAGIC_NUM, and RPS_MAGIC_NUM_28.

◆ CRpsFreqsFile()

CRpsFreqsFile::CRpsFreqsFile ( const string filename_no_extn)

Parametrized constructor.

Parameters
filename_no_extnname of the file without extension

Definition at line 386 of file rps_aux.cpp.

References CRpsFreqsFile::kExtension, CRpsFreqsFile::m_Data, CRpsMmappedFile::m_MmappedFile, BlastRPSProfileHeader::magic_number, NCBI_THROW, NULL, RPS_MAGIC_NUM, and RPS_MAGIC_NUM_28.

◆ CRpsLookupTblFile()

CRpsLookupTblFile::CRpsLookupTblFile ( const string filename_no_extn)

Parametrized constructor.

Parameters
filename_no_extnname of the file without extension

Definition at line 291 of file rps_aux.cpp.

References CRpsLookupTblFile::kExtension, CRpsLookupTblFile::m_Data, CRpsMmappedFile::m_MmappedFile, BlastRPSLookupFileHeader::magic_number, NCBI_THROW, NULL, RPS_MAGIC_NUM, and RPS_MAGIC_NUM_28.

◆ CRpsMmappedFile()

CRpsMmappedFile::CRpsMmappedFile ( const string filename)

Parametrized constructor.

Parameters
filenamename of the file to mmap

Definition at line 255 of file rps_aux.cpp.

References CRpsMmappedFile::m_MmappedFile, and NCBI_RETHROW.

◆ CRpsObsrFile()

CRpsObsrFile::CRpsObsrFile ( const string filename_no_extn)

Parametrized constructor.

Parameters
filename_no_extnname of the file without extension

Definition at line 436 of file rps_aux.cpp.

References CRpsObsrFile::kExtension, CRpsObsrFile::m_Data, CRpsMmappedFile::m_MmappedFile, BlastRPSProfileHeader::magic_number, NCBI_THROW, NULL, RPS_MAGIC_NUM, and RPS_MAGIC_NUM_28.

◆ CRpsPssmFile()

CRpsPssmFile::CRpsPssmFile ( const string filename_no_extn)

Parametrized constructor.

Parameters
filename_no_extnname of the file without extension

Definition at line 338 of file rps_aux.cpp.

References CRpsPssmFile::kExtension, CRpsPssmFile::m_Data, CRpsMmappedFile::m_MmappedFile, BlastRPSProfileHeader::magic_number, NCBI_THROW, NULL, RPS_MAGIC_NUM, and RPS_MAGIC_NUM_28.

◆ CRPSTBlastnOptionsHandle() [1/2]

CRPSTBlastnOptionsHandle::CRPSTBlastnOptionsHandle ( const CRPSTBlastnOptionsHandle rhs)
private

Disallow copy constructor.

◆ CRPSTBlastnOptionsHandle() [2/2]

CRPSTBlastnOptionsHandle::CRPSTBlastnOptionsHandle ( EAPILocality  locality = CBlastOptions::eLocal)

Creates object with default options set.

Definition at line 46 of file rpstblastn_options.cpp.

References eRPSTblastn.

◆ CSBlastProgress() [1/2]

CSBlastProgress::CSBlastProgress ( )
inline

Definition at line 357 of file blast_aux.hpp.

◆ CSBlastProgress() [2/2]

CSBlastProgress::CSBlastProgress ( SBlastProgress p)
inline

Definition at line 357 of file blast_aux.hpp.

◆ CSearchDatabase() [1/2]

CSearchDatabase::CSearchDatabase ( const string dbname,
EMoleculeType  mol_type 
)

Simple constructor.

Parameters
dbnamedatabase name [in]
mol_typemolecule type [in]

Definition at line 49 of file uniform_search.cpp.

◆ CSearchDatabase() [2/2]

CSearchDatabase::CSearchDatabase ( const string dbname,
EMoleculeType  mol_type,
const string entrez_query 
)

Constructor with allows an entrez query to be specified.

Parameters
dbnamedatabase name [in]
mol_typemolecule type [in]
entrez_queryentrez query string [in]

Definition at line 55 of file uniform_search.cpp.

◆ CSearchResults() [1/2]

CSearchResults::CSearchResults ( CConstRef< objects::CSeq_id >  query,
CRef< objects::CSeq_align_set >  align,
const TQueryMessages errs,
CRef< CBlastAncillaryData ancillary_data,
const TMaskedQueryRegions query_masks = NULL,
const string rid = kEmptyStr,
const SPHIQueryInfo phi_query_info = NULL 
)

Constructor.

Parameters
queryList of query identifiers [in]
alignalignments for a single query sequence [in]
errserror messages for this query sequence [in]
ancillary_dataMiscellaneous output from the blast engine [in]
query_masksMask locations for this query [in]
ridRID (if applicable, else empty string) [in]

Definition at line 204 of file blast_results.cpp.

References CSearchResults::m_PhiQueryInfo, CSearchResults::SetMaskedQueryRegions(), and SPHIQueryInfoCopy().

◆ CSearchResults() [2/2]

CSearchResults::CSearchResults ( const CSearchResults rhs)
private

Prohibit copy constructor.

◆ CSearchResultSet() [1/3]

CSearchResultSet::CSearchResultSet ( EResultType  res_type = eDatabaseSearch)

Simplest constructor.

Definition at line 481 of file blast_results.cpp.

◆ CSearchResultSet() [2/3]

CSearchResultSet::CSearchResultSet ( TQueryIdVector  ids,
TSeqAlignVector  aligns,
TSearchMessages  msg_vec,
TAncillaryVector  ancillary_data = TAncillaryVector(),
const TSeqLocInfoVector masks = NULL,
EResultType  res_type = eDatabaseSearch,
const SPHIQueryInfo phi_query_info = NULL 
)

Parametrized constructor.

Parameters
idsvector of all queries' ids [in]
alignsvector of all queries' alignments [in]
msg_vecvector of all queries' messages [in]
ancillary_datavector of per-query search ancillary data [in]
masksMask locations for this query [in]
res_typeresult type stored in this object [in]
Note
this constructor assumes that the ids, msg_vec, and ancillary_data vectors are of the SAME size as the aligns vector. The masks vector can be of the same size as aligns or have as many elements as there were queries in the search and they will be adjusted as necessary.

Definition at line 485 of file blast_results.cpp.

References CSearchResultSet::x_Init().

◆ CSearchResultSet() [3/3]

CSearchResultSet::CSearchResultSet ( TSeqAlignVector  aligns,
TSearchMessages  msg_vec,
EResultType  res_type = eDatabaseSearch 
)

Parametrized constructor.

Parameters
alignsvector of all queries' alignments [in]
msg_vecvector of all queries' messages [in]
res_typeresult type stored in this object [in]

Definition at line 501 of file blast_results.cpp.

References i, NULL, s_ExtractSeqId(), and CSearchResultSet::x_Init().

◆ CSearchResultSet2TSeqAlignVector()

TSeqAlignVector CBl2Seq::CSearchResultSet2TSeqAlignVector ( CRef< CSearchResultSet res)
static

Converts m_Results data member to a TSeqAlignVector.

Definition at line 153 of file bl2seq.cpp.

References CreateEmptySeq_align_set(), CRef< C, Locker >::Empty(), CSearchResultSet::GetNumResults(), ITERATE, r(), and CRef< C, Locker >::Reset().

Referenced by CBl2Seq::Run().

◆ CSeedTop()

CSeedTop::CSeedTop ( const string pattern)

Definition at line 54 of file seedtop.cpp.

◆ CSeqDbSeqInfoSrc() [1/2]

CSeqDbSeqInfoSrc::CSeqDbSeqInfoSrc ( const string dbname,
bool  is_protein 
)

Constructor: includes initializing the CSeqDB object.

Parameters
dbnameName of the BLAST database [in]
is_proteinIs this a protein or nucleotide database? [in]

Definition at line 49 of file seqinfosrc_seqdb.cpp.

References dbname(), CSeqDB::eNucleotide, and CSeqDB::eProtein.

◆ CSeqDbSeqInfoSrc() [2/2]

CSeqDbSeqInfoSrc::CSeqDbSeqInfoSrc ( ncbi::CSeqDB *  seqdb)

Constructor from an already existing CSeqDB object.

Parameters
seqdbPointer to the CSeqDB object to use.

Definition at line 57 of file seqinfosrc_seqdb.cpp.

References CSeqDbSeqInfoSrc::m_iSeqDb, CRef< C, Locker >::Reset(), and CSeqDbSeqInfoSrc::SetFilteringAlgorithmId().

◆ CSeqDbSrcNewArgs()

CSeqDbSrcNewArgs::CSeqDbSrcNewArgs ( const string db,
bool  is_prot,
Uint4  first_oid = 0,
Uint4  final_oid = 0,
Int4  mask_algo_id = -1,
ESubjectMaskingType  mask_type = eNoSubjMasking 
)
inline

Constructor.

Definition at line 572 of file seqsrc_seqdb.cpp.

◆ CSeqLoc2BlastSeqLoc()

BlastSeqLoc * CSeqLoc2BlastSeqLoc ( const objects::CSeq_loc *  slp)

Converts a CSeq_loc into a BlastSeqLoc structure used in NewBlast.

Parameters
slpCSeq_loc to convert [in]
Returns
Linked list of BlastSeqLoc structures

Definition at line 539 of file blast_aux.cpp.

References _ASSERT, BlastSeqLocNew(), CSeq_loc_Base::e_not_set, ITERATE, NCBI_THROW, NULL, and CBlastSeqLoc::Release().

Referenced by s_FillMaskLocFromBlastResults().

◆ CSeqVecSeqInfoSrc()

CSeqVecSeqInfoSrc::CSeqVecSeqInfoSrc ( const TSeqLocVector seqv)

Constructor from a vector of sequence locations.

Definition at line 48 of file seqinfosrc_seqvec.cpp.

References NCBI_THROW.

◆ CSplitQueryBlk() [1/2]

CSplitQueryBlk::CSplitQueryBlk ( const CSplitQueryBlk rhs)
private

Do not allow copy-construction.

◆ CSplitQueryBlk() [2/2]

CSplitQueryBlk::CSplitQueryBlk ( Uint4  num_chunks,
bool  gapped_merge = true 
)

Constructor for wrapper class for SSplitQueryBlk.

Parameters
num_chunksnumber of chunks

Definition at line 47 of file split_query_blk.cpp.

References NCBI_THROW, and SplitQueryBlkNew().

◆ CStructWrapper() [1/2]

template<class TData >
CStructWrapper< TData >::CStructWrapper ( CStructWrapper< TData > &  x)
private

Prohibit copy constructor.

◆ CStructWrapper() [2/2]

template<class TData >
CStructWrapper< TData >::CStructWrapper ( TData *  obj,
TDelete dfun 
)
inline

Constructor.

Parameters
objobject to wrap [in]
dfundeallocation function for object above [in]

Definition at line 105 of file setup_factory.hpp.

◆ CTBlastnOptionsHandle() [1/3]

CTBlastnOptionsHandle::CTBlastnOptionsHandle ( const CTBlastnOptionsHandle rhs)
private

Disallow copy constructor.

◆ CTBlastnOptionsHandle() [2/3]

CTBlastnOptionsHandle::CTBlastnOptionsHandle ( CRef< CBlastOptions opt)
inline

Definition at line 59 of file tblastn_options.hpp.

◆ CTBlastnOptionsHandle() [3/3]

CTBlastnOptionsHandle::CTBlastnOptionsHandle ( EAPILocality  locality = CBlastOptions::eLocal)

Creates object with default options set.

Definition at line 46 of file tblastn_options.cpp.

References eTblastn.

◆ CTBlastxOptionsHandle() [1/2]

CTBlastxOptionsHandle::CTBlastxOptionsHandle ( const CTBlastxOptionsHandle rhs)
private

Disallow copy constructor.

◆ CTBlastxOptionsHandle() [2/2]

CTBlastxOptionsHandle::CTBlastxOptionsHandle ( EAPILocality  locality)

Creates object with default options set.

Definition at line 47 of file tblastx_options.cpp.

References eTblastx.

◆ CThreadable()

CThreadable::CThreadable ( void  )
inline

Default ctor.

Definition at line 169 of file setup_factory.hpp.

◆ DbIndexInit()

std::string DbIndexInit ( const string indexname,
bool  old_style,
bool partial,
const int  word_size 
)

◆ DebugDump() [1/33]

void CBLAST_SequenceBlk::DebugDump ( CDebugDumpContext  ddc,
unsigned int  depth 
) const
virtual

◆ DebugDump() [2/33]

void CBlastQueryInfo::DebugDump ( CDebugDumpContext  ddc,
unsigned int  depth 
) const
virtual

◆ DebugDump() [3/33]

void CQuerySetUpOptions::DebugDump ( CDebugDumpContext  ddc,
unsigned int  depth 
) const
virtual

◆ DebugDump() [4/33]

void CLookupTableOptions::DebugDump ( CDebugDumpContext  ddc,
unsigned int  depth 
) const
virtual

◆ DebugDump() [5/33]

void CLookupTableWrap::DebugDump ( CDebugDumpContext  ddc,
unsigned int  depth 
) const
virtual

Define method for dumping debug information.

Reimplemented from CObject.

Definition at line 168 of file blast_aux.cpp.

References CLookupTableWrap::m_Ptr, and CDebugDumpContext::SetFrame().

◆ DebugDump() [6/33]

void CBlastInitialWordOptions::DebugDump ( CDebugDumpContext  ddc,
unsigned int  depth 
) const
virtual

◆ DebugDump() [7/33]

void CBlastInitialWordParameters::DebugDump ( CDebugDumpContext  ddc,
unsigned int  depth 
) const
virtual

Define method for dumping debug information.

Reimplemented from CObject.

Definition at line 186 of file blast_aux.cpp.

References CBlastInitialWordParameters::m_Ptr, and CDebugDumpContext::SetFrame().

◆ DebugDump() [8/33]

void CBlast_ExtendWord::DebugDump ( CDebugDumpContext  ddc,
unsigned int  depth 
) const
virtual

Define method for dumping debug information.

Reimplemented from CObject.

Definition at line 194 of file blast_aux.cpp.

References CBlast_ExtendWord::m_Ptr, and CDebugDumpContext::SetFrame().

◆ DebugDump() [9/33]

void CBlastExtensionOptions::DebugDump ( CDebugDumpContext  ddc,
unsigned int  depth 
) const
virtual

◆ DebugDump() [10/33]

void CBlastExtensionParameters::DebugDump ( CDebugDumpContext  ddc,
unsigned int  depth 
) const
virtual

◆ DebugDump() [11/33]

void CBlastHitSavingOptions::DebugDump ( CDebugDumpContext  ddc,
unsigned int  depth 
) const
virtual

◆ DebugDump() [12/33]

void CBlastHitSavingParameters::DebugDump ( CDebugDumpContext  ddc,
unsigned int  depth 
) const
virtual

Define method for dumping debug information.

Reimplemented from CObject.

Definition at line 263 of file blast_aux.cpp.

References CBlastHitSavingParameters::m_Ptr, and CDebugDumpContext::SetFrame().

◆ DebugDump() [13/33]

void CPSIBlastOptions::DebugDump ( CDebugDumpContext  ddc,
unsigned int  depth 
) const
virtual

◆ DebugDump() [14/33]

void CBlastDatabaseOptions::DebugDump ( CDebugDumpContext  ddc,
unsigned int  depth 
) const
virtual

Define method for dumping debug information.

Reimplemented from CObject.

Definition at line 376 of file blast_aux.cpp.

References CBlastDatabaseOptions::m_Ptr, and CDebugDumpContext::SetFrame().

Referenced by CBlastOptionsLocal::DebugDump().

◆ DebugDump() [15/33]

void CBlastScoreBlk::DebugDump ( CDebugDumpContext  ddc,
unsigned int  depth 
) const
virtual

◆ DebugDump() [16/33]

void CBlastScoringOptions::DebugDump ( CDebugDumpContext  ddc,
unsigned int  depth 
) const
virtual

◆ DebugDump() [17/33]

void CBlastScoringParameters::DebugDump ( CDebugDumpContext  ddc,
unsigned int  depth 
) const
virtual

◆ DebugDump() [18/33]

void CBlastEffectiveLengthsOptions::DebugDump ( CDebugDumpContext  ddc,
unsigned int  depth 
) const
virtual

◆ DebugDump() [19/33]

void CBlastEffectiveLengthsParameters::DebugDump ( CDebugDumpContext  ddc,
unsigned int  depth 
) const
virtual

◆ DebugDump() [20/33]

void CBlastGapAlignStruct::DebugDump ( CDebugDumpContext  ddc,
unsigned int  depth 
) const
virtual

Define method for dumping debug information.

Reimplemented from CObject.

Definition at line 285 of file blast_aux.cpp.

References CBlastGapAlignStruct::m_Ptr, and CDebugDumpContext::SetFrame().

◆ DebugDump() [21/33]

void CBlastHSPResults::DebugDump ( CDebugDumpContext  ddc,
unsigned int  depth 
) const
virtual

Define method for dumping debug information.

Reimplemented from CObject.

Definition at line 483 of file blast_aux.cpp.

References CDebugDumpContext::Log(), CBlastHSPResults::m_Ptr, BlastHSPResults::num_queries, and CDebugDumpContext::SetFrame().

◆ DebugDump() [22/33]

void CPSIMsa::DebugDump ( CDebugDumpContext  ddc,
unsigned int  depth 
) const
virtual

Define method for dumping debug information.

Reimplemented from CObject.

Definition at line 385 of file blast_aux.cpp.

References PSIMsa::dimensions, CDebugDumpContext::Log(), CPSIMsa::m_Ptr, PSIMsaDimensions::num_seqs, PSIMsaDimensions::query_length, and CDebugDumpContext::SetFrame().

◆ DebugDump() [23/33]

void CPSIMatrix::DebugDump ( CDebugDumpContext  ddc,
unsigned int  depth 
) const
virtual

Define method for dumping debug information.

Reimplemented from CObject.

Definition at line 398 of file blast_aux.cpp.

References PSIMatrix::h, PSIMatrix::kappa, PSIMatrix::lambda, CDebugDumpContext::Log(), CPSIMatrix::m_Ptr, PSIMatrix::ncols, PSIMatrix::nrows, and CDebugDumpContext::SetFrame().

◆ DebugDump() [24/33]

void CPSIDiagnosticsRequest::DebugDump ( CDebugDumpContext  ddc,
unsigned int  depth 
) const
virtual

◆ DebugDump() [25/33]

void CPSIDiagnosticsResponse::DebugDump ( CDebugDumpContext  ddc,
unsigned int  depth 
) const
virtual

Define method for dumping debug information.

Reimplemented from CObject.

Definition at line 429 of file blast_aux.cpp.

References PSIDiagnosticsResponse::alphabet_size, CDebugDumpContext::Log(), CPSIDiagnosticsResponse::m_Ptr, and CDebugDumpContext::SetFrame().

◆ DebugDump() [26/33]

void CBlastSeqSrc::DebugDump ( CDebugDumpContext  ddc,
unsigned int  depth 
) const
virtual

Define method for dumping debug information.

Reimplemented from CObject.

Definition at line 440 of file blast_aux.cpp.

References CBlastSeqSrc::m_Ptr, and CDebugDumpContext::SetFrame().

◆ DebugDump() [27/33]

void CBlastSeqSrcIterator::DebugDump ( CDebugDumpContext  ddc,
unsigned int  depth 
) const
virtual

◆ DebugDump() [28/33]

void CBlast_Message::DebugDump ( CDebugDumpContext  ddc,
unsigned int  depth 
) const
virtual

Define method for dumping debug information.

Reimplemented from CObject.

Definition at line 471 of file blast_aux.cpp.

References CDebugDumpContext::Log(), CBlast_Message::m_Ptr, Blast_Message::message, CDebugDumpContext::SetFrame(), and Blast_Message::severity.

◆ DebugDump() [29/33]

void CBlastMaskLoc::DebugDump ( CDebugDumpContext  ddc,
unsigned int  depth 
) const
virtual

Define method for dumping debug information.

Reimplemented from CObject.

Definition at line 495 of file blast_aux.cpp.

References CDebugDumpContext::Log(), CBlastMaskLoc::m_Ptr, BlastSeqLoc::next, BlastMaskLoc::seqloc_array, CDebugDumpContext::SetFrame(), and BlastMaskLoc::total_size.

◆ DebugDump() [30/33]

void CBlastSeqLoc::DebugDump ( CDebugDumpContext  ddc,
unsigned int  depth 
) const
virtual

Define method for dumping debug information.

Reimplemented from CObject.

Definition at line 513 of file blast_aux.cpp.

References CDebugDumpContext::Log(), CBlastSeqLoc::m_Ptr, CDebugDumpContext::SetFrame(), and tmp.

◆ DebugDump() [31/33]

void CSBlastProgress::DebugDump ( CDebugDumpContext  ddc,
unsigned int  depth 
) const
virtual

Define method for dumping debug information.

Reimplemented from CObject.

Definition at line 526 of file blast_aux.cpp.

References CDebugDumpContext::Log(), CSBlastProgress::m_Ptr, CDebugDumpContext::SetFrame(), SBlastProgress::stage, and SBlastProgress::user_data.

◆ DebugDump() [32/33]

void CBlastOptions::DebugDump ( CDebugDumpContext  ddc,
unsigned int  depth 
) const
virtual

Allows to dump a snapshot of the object.

Reimplemented from CObject.

Definition at line 2534 of file blast_options_cxx.cpp.

References CBlastOptionsLocal::DebugDump(), depth, and CBlastOptions::m_Local.

◆ DebugDump() [33/33]

void CBlastOptionsLocal::DebugDump ( CDebugDumpContext  ddc,
unsigned int  depth 
) const
virtual

◆ DECLARE_CLASS_STATIC_FAST_MUTEX()

CAutomaticGenCodeSingleton::DECLARE_CLASS_STATIC_FAST_MUTEX ( sm_Mutex  )
private

Reference counter for this object so that the genetic code singleton is.

◆ DEFINE_CLASS_STATIC_FAST_MUTEX()

DEFINE_CLASS_STATIC_FAST_MUTEX ( CAutomaticGenCodeSingleton::sm_Mutex  )

◆ DEFINE_STATIC_MUTEX()

DEFINE_STATIC_MUTEX ( InitMutex  )

◆ Delete()

static void Deleter< BlastHSPStream >::Delete ( BlastHSPStream p)
inlinestatic

Definition at line 73 of file blast_aux.hpp.

References BlastHSPStreamFree().

◆ DisableDiskCacheUse()

void CRemoteBlast::DisableDiskCacheUse ( )
inline

Definition at line 473 of file remote_blast.hpp.

References CRemoteBlast::m_use_disk_cache.

◆ do_copy()

void CBlastAncillaryData::do_copy ( const CBlastAncillaryData other)
private

◆ DoneDefaults() [1/2]

void CBlastOptionsHandle::DoneDefaults ( )
inline

Returns true if this object needs default values set.

Definition at line 176 of file blast_options_handle.hpp.

References CBlastOptions::DoneDefaults(), and CBlastOptionsHandle::m_Opts.

◆ DoneDefaults() [2/2]

void CBlastOptions::DoneDefaults ( ) const

◆ DoNotSaveMessages()

void CBlastAppDiagHandler::DoNotSaveMessages ( void  )

◆ DoPreSearch() [1/3]

virtual void CIndexedDb_Old::DoPreSearch ( BLAST_SequenceBlk queries,
LookupTableOptions lut_options,
BlastInitialWordOptions word_options 
)
inlinevirtual

Wrapper around PreSearch().

Runs PreSearch() and then frees locs_wrap_.

Note
Overrides CIndexedDb::DoPreSearch().

Implements CIndexedDb.

Definition at line 299 of file blast_dbindex.cpp.

References CBlastSeqLocWrap::getLocs(), CIndexedDb::locs_wrap_, CIndexedDb_Old::PreSearch(), and CRef< C, Locker >::Release().

◆ DoPreSearch() [2/3]

void CIndexedDb_New::DoPreSearch ( BLAST_SequenceBlk queries,
LookupTableOptions lut_options,
BlastInitialWordOptions word_options 
)
virtual

Run preliminary indexed search functionality.

Note
Overrides CIndexedDb::DoPreSearch().
Parameters
queriesQueries descriptor.
locsUnmasked intervals of queries.
lut_optionsLookup table parameters, like target word size.
word_optionsContains window size of two-hits based search.

Implements CIndexedDb.

Definition at line 891 of file blast_dbindex.cpp.

References IDX_TRACE, CIndexedDb_New::queries_, CIndexedDb_New::sopt_, CDbIndex::SSearchOptions::two_hits, BlastInitialWordOptions::window_size, LookupTableOptions::word_size, and CDbIndex::SSearchOptions::word_size.

◆ DoPreSearch() [3/3]

virtual void CIndexedDb::DoPreSearch ( BLAST_SequenceBlk queries,
LookupTableOptions lut_options,
BlastInitialWordOptions word_options 
)
pure virtual

Run preliminary indexed search functionality.

Parameters
queriesQueries descriptor.
locsUnmasked intervals of queries.
lut_optionsLookup table parameters, like target word size.
word_optionsContains window size of two-hits based search.

Implemented in CIndexedDb_New, and CIndexedDb_Old.

Referenced by IndexedDbRunSearch().

◆ Empty() [1/2]

bool CBlastQueryFilteredFrames::Empty ( void  )

Returns true if this object contains any masking information.

Definition at line 1649 of file blast_setup_cxx.cpp.

References set< Key, Compare >::empty(), and CBlastQueryFilteredFrames::ListFrames().

Referenced by BOOST_AUTO_TEST_CASE().

◆ empty() [1/2]

bool CSearchResultSet::empty ( ) const
inline

Returns whether this container is empty or not.

Definition at line 427 of file blast_results.hpp.

References CSearchResultSet::size().

Referenced by CBl2Seq::GetFilteredSubjectRegions().

◆ empty() [2/2]

bool CMagicBlastResultSet::empty ( ) const
inline

Is the container empty.

Definition at line 267 of file magicblast.hpp.

References CMagicBlastResultSet::size().

◆ Empty() [2/2]

bool IBlastQuerySource::Empty ( void  ) const
inline

Returns true if the container is empty, else false.

Definition at line 114 of file blast_setup.hpp.

References IBlastQuerySource::Size().

Referenced by SafeSetupQueries(), SafeSetupQueryInfo(), SetupQueries_OMF(), and SetupSubjects_OMF().

◆ EnableDiskCacheUse()

void CRemoteBlast::EnableDiskCacheUse ( )
inline

Controls disk cache usage for results retrieval.

Definition at line 472 of file remote_blast.hpp.

References CRemoteBlast::m_use_disk_cache.

◆ end() [1/4]

iterator CSearchResultSet::end ( )
inline

Returns iterator to end of container, provided to facilitate STL-style iteration.

Definition at line 443 of file blast_results.hpp.

References CSearchResultSet::m_Results.

◆ end() [2/4]

iterator CMagicBlastResultSet::end ( )
inline

Returns iterator to the end of the container.

Definition at line 280 of file magicblast.hpp.

References CMagicBlastResultSet::m_Results.

◆ end() [3/4]

const_iterator CSearchResultSet::end ( ) const
inline

Returns const_iterator to end of container, provided to facilitate STL-style iteration.

Definition at line 435 of file blast_results.hpp.

References CSearchResultSet::m_Results.

Referenced by s_AddNewResultSet().

◆ end() [4/4]

const_iterator CMagicBlastResultSet::end ( ) const
inline

Returns const iterator to the end of the container.

Definition at line 274 of file magicblast.hpp.

References CMagicBlastResultSet::m_Results.

◆ EndSearchIndication() [1/3]

void CIndexedDb_New::EndSearchIndication ( Int4  last_vol_id)
virtual

Function used by threads to indicate that they are done with iterating over the database sequences.

Parameters
last_vol_idthe last accessed volime index

Implements CIndexedDb.

Definition at line 877 of file blast_dbindex.cpp.

References i, IDX_TRACE, LAST_VOL_IDX_INIT, CIndexedDb_New::mtx_, CIndexedDb_New::results_holder_, and CIndexedDb_New::volumes_.

◆ EndSearchIndication() [2/3]

virtual void CIndexedDb::EndSearchIndication ( Int4  last_vol_id)
pure virtual

Function used by threads to indicate that they are done with iterating over the database sequences.

Parameters
last_vol_idthe last accessed volime index

Implemented in CIndexedDb_Old, and CIndexedDb_New.

Referenced by s_MB_IdxEndSearchIndication().

◆ EndSearchIndication() [3/3]

virtual void CIndexedDb_Old::EndSearchIndication ( Int4  )
inlinevirtual

Not used.

Implements CIndexedDb.

Definition at line 270 of file blast_dbindex.cpp.

◆ EnumerateDbVolumes()

void CIndexedDb_New::EnumerateDbVolumes ( const TStrVec db_names,
TStrVec db_vols 
)
staticprivate

Generate a list of leaf database volumes from a list of database names.

Parameters
db_namesBLAST database names
db_vols[out] resulting list of leaf database volume names

Definition at line 646 of file blast_dbindex.cpp.

References CSeqDB::eNucleotide, and CSeqDB::FindVolumePaths().

Referenced by CIndexedDb_New::CIndexedDb_New().

◆ EProgramToEBlastProgramType()

EBlastProgramType EProgramToEBlastProgramType ( EProgram  p)

◆ EProgramToTaskName()

string EProgramToTaskName ( EProgram  p)

◆ ExportSearchStrategy_ASN1()

void CExportStrategy::ExportSearchStrategy_ASN1 ( CNcbiOstream out)

Definition at line 366 of file search_strategy.cpp.

References CExportStrategy::GetSearchStrategy(), MSerial_AsnText, and out().

◆ ExtractBlast4Request()

CRef<objects::CBlast4_request> ExtractBlast4Request ( CNcbiIstream in)

Extract a Blast4-request (a.k.a.

: a search strategy) from an input stream. This function supports reading binary and text ASN.1 as well as XML. A Blast4-get-search-strategy-reply will be attempted to read first (output of BLAST SOAP server), then a Blast4-request (output of BLAST C++ command line binaries).

Parameters
instream to read the data from [in]
Exceptions
CExceptionif input cannot be recognized

Definition at line 2258 of file remote_blast.cpp.

References _ASSERT, CFormatGuess::eBinaryASN, eSerial_Xml, CFormatGuess::eTextASN, CFormatGuess::eXml, in(), MSerial_AsnBinary, MSerial_AsnText, NCBI_THROW, CObjectIStream::Open(), and CRef< C, Locker >::Reset().

Referenced by BOOST_AUTO_TEST_CASE(), and s_ImportSearchStrategy().

◆ ExtractScopes()

vector< CRef< CScope > > CObjMgr_QueryFactory::ExtractScopes ( )

Retrieve the CScope objects associated with the query sequences associated with this object.

In the case when CSeq_loc or TSeqLocs are provided, a newly constructed CScope object will be returned per query

Note
This method is intended to be used for query splitting only

Definition at line 384 of file objmgr_query_data.cpp.

References abort(), CBlastQueryVector::GetScope(), i, CObjMgr_QueryFactory::m_QueryVector, CObjMgr_QueryFactory::m_SSeqLocVector, NON_CONST_ITERATE, CRef< C, Locker >::NotEmpty(), and CBlastQueryVector::Size().

Referenced by CBlastKmerSearch::Run(), and CQuerySplitter::x_ExtractCScopesAndMasks().

◆ ExtractUserSpecifiedMasks()

TSeqLocInfoVector CObjMgr_QueryFactory::ExtractUserSpecifiedMasks ( )

◆ FetchData()

void CImportStrategy::FetchData ( )
private

◆ FillData() [1/2]

void CCddInputData::CHit::FillData ( const CSeqDB seqdb,
const CBlastRPSInfo profile_data 
)

Allocate and populate arrays of data for PSSM computation.

Parameters
seqdbObject accessing CDD [in]
profile_dataObject accssing data in CDD [in]

Definition at line 417 of file cdd_pssm_input.cpp.

References NON_CONST_ITERATE, and CSeqDB::SeqidToOid().

◆ FillData() [2/2]

void CCddInputData::CHitSegment::FillData ( int  db_oid,
const CBlastRPSInfo profile_data 
)

Allocate and populate arrays for MSA data (weighted residue counts and effective observations used for PSSM computation)

Parameters
db_oidSubject index in CDD database [in]
profile_dataObject accessing data int CDD [in]

Definition at line 753 of file cdd_pssm_input.cpp.

References PSICdMsaCellData::iobsr, CCddInputData::m_MsaData, NULL, and PSICdMsaCellData::wfreqs.

◆ FindBlastDbPath()

string FindBlastDbPath ( const char *  dbname,
bool  is_prot 
)

Returns the path (including a trailing path separator) to the location where the BLAST database can be found.

Parameters
dbnameDatabase to search for
is_prottrue if this is a protein matrix

Definition at line 1403 of file blast_setup_cxx.cpp.

References BlastDbFileExists(), database, dbname(), eFollowLinks, CNcbiEnvironment::Get(), IRegistry::Get(), CNcbiApplicationAPI::GetConfig(), CNcbiApplicationAPI::GetEnvironment(), CDirEntry::GetPathSeparator(), IRegistry::HasEntry(), CNcbiApplication::Instance(), CDirEntry::MakePath(), CDirEntry::NormalizePath(), and registry.

◆ FindGeneticCode()

TAutoUint1ArrayPtr FindGeneticCode ( int  genetic_code)

Retrieves the requested genetic code in Ncbistdaa format.

Parameters
genetic_codenumeric identifier for genetic code requested [in]
Returns
NULL if genetic_code is invalid or in case of memory allocation failure, otherwise genetic code string.
Note
the returned string has length GENCODE_STRLEN

Definition at line 588 of file blast_aux.cpp.

References _ASSERT, CSeqportUtil::Convert(), CSeq_data_Base::e_Ncbieaa, CSeq_data_Base::e_Ncbistdaa, CAliasBase< TPrim >::Get(), CGen_code_table::GetNcbieaa(), CSeq_data_Base::GetNcbistdaa(), i, CSeq_data_Base::IsNcbistdaa(), kEmptyStr, max(), and NULL.

Referenced by CAutomaticGenCodeSingleton::AddGeneticCode(), BOOST_AUTO_TEST_CASE(), CAutomaticGenCodeSingleton::CAutomaticGenCodeSingleton(), SetupQueries_OMF(), and SetupSubjects_OMF().

◆ FindVolume()

TVolList::const_iterator CIndexedDb_New::FindVolume ( SIZE_TYPE  oid) const
inlineprivate

Find a volume containing the given subject ordinal id.

Definition at line 460 of file blast_dbindex.cpp.

References ASSERT, r(), and CIndexedDb_New::volumes_.

Referenced by CIndexedDb_New::CheckOid(), CIndexedDb_New::GetResults(), and CIndexedDb_New::UpdateIndex().

◆ FirstAligned()

bool CMagicBlastResults::FirstAligned ( void  ) const
inline

Is the query aligned.

Definition at line 201 of file magicblast.hpp.

References CMagicBlastResults::fUnaligned, and CMagicBlastResults::m_FirstInfo.

◆ FlattenBioseqSet()

void FlattenBioseqSet ( const CBioseq_set bss,
list< CRef< CBioseq > > &  seqs 
)

◆ FlushSequenceData()

void ILocalQueryData::FlushSequenceData ( )

Frees the cached sequence data structure (as this is usually the larger data structure).

This is to be used in the context of query splitting, when the sequence data is only needed to set up global data structures, but not in the actual search.

Definition at line 148 of file query_data.cpp.

References ILocalQueryData::m_SeqBlk, and CBLAST_SequenceBlk::Reset().

Referenced by BlastSetupPreliminarySearchEx(), and CBlastPrelimSearch::Run().

◆ FrameNumber2NetworkFrame()

EBlast4_frame_type FrameNumber2NetworkFrame ( int  frame,
EBlastProgramType  program 
)

Converts the return value of CSeqLocInfo::GetFrame into the Blast4-frame-type field.

Note that for non-translated queries, this value should be set to notset (value = 0).

Parameters
frameframe as specified by CSeqLocInfo::ETranslationFrame
programCORE BLAST program type

Definition at line 1966 of file remote_blast.cpp.

References _ASSERT, _TROUBLE, abort(), Blast_QueryIsNucleotide(), Blast_QueryIsTranslated(), eBlast4_frame_type_minus1, eBlast4_frame_type_minus2, eBlast4_frame_type_minus3, eBlast4_frame_type_notset, eBlast4_frame_type_plus1, eBlast4_frame_type_plus2, and eBlast4_frame_type_plus3.

Referenced by CRemoteBlast::ConvertToRemoteMasks().

◆ Get() [1/32]

template<typename T >
T CBlastOptionsBuilder::SOptional< T >::Get ( )
inline

◆ Get() [2/32]

BLAST_SequenceBlk* CBLAST_SequenceBlk::Get ( ) const
inline

◆ Get() [3/32]

BlastQueryInfo* CBlastQueryInfo::Get ( ) const
inline

◆ Get() [4/32]

QuerySetUpOptions* CQuerySetUpOptions::Get ( ) const
inline

◆ Get() [5/32]

LookupTableOptions* CLookupTableOptions::Get ( ) const
inline

◆ Get() [6/32]

LookupTableWrap* CLookupTableWrap::Get ( ) const
inline

Definition at line 315 of file blast_aux.hpp.

◆ Get() [7/32]

BlastInitialWordOptions* CBlastInitialWordOptions::Get ( ) const
inline

◆ Get() [8/32]

BlastInitialWordParameters* CBlastInitialWordParameters::Get ( ) const
inline

Definition at line 320 of file blast_aux.hpp.

◆ Get() [9/32]

Blast_ExtendWord* CBlast_ExtendWord::Get ( ) const
inline

Definition at line 322 of file blast_aux.hpp.

◆ Get() [10/32]

BlastExtensionOptions* CBlastExtensionOptions::Get ( ) const
inline

◆ Get() [11/32]

BlastExtensionParameters* CBlastExtensionParameters::Get ( ) const
inline

Definition at line 324 of file blast_aux.hpp.

◆ Get() [12/32]

BlastHitSavingOptions* CBlastHitSavingOptions::Get ( ) const
inline

◆ Get() [13/32]

BlastHitSavingParameters* CBlastHitSavingParameters::Get ( ) const
inline

Definition at line 328 of file blast_aux.hpp.

◆ Get() [14/32]

PSIBlastOptions* CPSIBlastOptions::Get ( ) const
inline

◆ Get() [15/32]

BlastDatabaseOptions* CBlastDatabaseOptions::Get ( ) const
inline

◆ Get() [16/32]

BlastScoreBlk* CBlastScoreBlk::Get ( ) const
inline

◆ Get() [17/32]

BlastScoringOptions* CBlastScoringOptions::Get ( ) const
inline

◆ Get() [18/32]

BlastScoringParameters* CBlastScoringParameters::Get ( ) const
inline

Definition at line 335 of file blast_aux.hpp.

◆ Get() [19/32]

BlastEffectiveLengthsOptions* CBlastEffectiveLengthsOptions::Get ( ) const
inline

◆ Get() [20/32]

BlastEffectiveLengthsParameters* CBlastEffectiveLengthsParameters::Get ( ) const
inline

Definition at line 340 of file blast_aux.hpp.

◆ Get() [21/32]

BlastGapAlignStruct* CBlastGapAlignStruct::Get ( ) const
inline

Definition at line 342 of file blast_aux.hpp.

◆ Get() [22/32]

BlastHSPResults* CBlastHSPResults::Get ( ) const
inline

Definition at line 343 of file blast_aux.hpp.

◆ Get() [23/32]

PSIMsa* CPSIMsa::Get ( ) const
inline

Definition at line 345 of file blast_aux.hpp.

◆ Get() [24/32]

PSIMatrix* CPSIMatrix::Get ( ) const
inline

Definition at line 346 of file blast_aux.hpp.

◆ Get() [25/32]

PSIDiagnosticsRequest* CPSIDiagnosticsRequest::Get ( ) const
inline

Definition at line 347 of file blast_aux.hpp.

◆ Get() [26/32]

PSIDiagnosticsResponse* CPSIDiagnosticsResponse::Get ( ) const
inline

Definition at line 348 of file blast_aux.hpp.

◆ Get() [27/32]

BlastSeqSrc* CBlastSeqSrc::Get ( ) const
inline

◆ Get() [28/32]

BlastSeqSrcIterator* CBlastSeqSrcIterator::Get ( ) const
inline

Definition at line 351 of file blast_aux.hpp.

◆ Get() [29/32]

Blast_Message* CBlast_Message::Get ( ) const
inline

◆ Get() [30/32]

BlastMaskLoc* CBlastMaskLoc::Get ( ) const
inline

Definition at line 354 of file blast_aux.hpp.

◆ Get() [31/32]

BlastSeqLoc* CBlastSeqLoc::Get ( ) const
inline

Definition at line 355 of file blast_aux.hpp.

◆ Get() [32/32]

SBlastProgress* CSBlastProgress::Get ( ) const
inline

◆ GetAbsoluteContext()

int CContextTranslator::GetAbsoluteContext ( size_t  chunk_num,
Int4  context_in_chunk 
) const

Get the context number in the absolute (i.e.

: unsplit) query

Parameters
chunk_numChunk number where the context is found in the split query [in]
context_in_chunkContext in the split query [in]
Returns
the appropriate context, or if the context is invalid kInvalidContext

Definition at line 242 of file split_query_aux_priv.cpp.

References _ASSERT, CContextTranslator::m_ContextsPerChunk, and ncbi::grid::netcache::search::fields::size.

Referenced by CContextTranslator::CContextTranslator(), CContextTranslator::GetStartingChunk(), CQuerySplitter::x_ComputeContextOffsets_NonTranslatedQueries(), CQuerySplitter::x_ComputeContextOffsets_TranslatedQueries(), and CSplitQueryTestFixture::x_TestCContextTranslator().

◆ GetAlgoOptions()

objects::CBlast4_parameters * CImportStrategy::GetAlgoOptions ( )

Options specific to blast searches (e.g, threshold, expect value).

Returns
the algorithm options or NULL if unavailable

Definition at line 231 of file search_strategy.cpp.

References CBlast4_queue_search_request_Base::CanGetAlgorithm_options(), CImportStrategy::m_Request, NULL, and CBlast4_queue_search_request_Base::SetAlgorithm_options().

Referenced by BOOST_AUTO_TEST_CASE().

◆ GetAlignments()

CRef< objects::CSeq_align_set > CRemoteBlast::GetAlignments ( void  )

Get the seqalign set from the results.

This method returns the alignment data as a seq align set. If this search contains multiple queries, this method will return all data as a single set. Most users will probably prefer to call GetSeqAlignSets() in this case.

Returns
Reference to a seqalign set.

Definition at line 392 of file remote_blast.cpp.

References CRemoteBlast::x_GetGSRR().

Referenced by BOOST_AUTO_TEST_CASE(), and CRemoteBlast::GetSeqAlignSets().

◆ GetAncillaryData()

CRef<CBlastAncillaryData> CSearchResults::GetAncillaryData ( ) const
inline

Accessor for the query's search ancillary.

Definition at line 212 of file blast_results.hpp.

References CSearchResults::m_AncillaryData.

Referenced by CBlastFormat::PrintPhiResult(), CIgBlast::x_ConvertResultType(), and CPsiBlastApp::x_RunLocalPsiBlastIterations().

◆ GetAncillaryResults()

void CBl2Seq::GetAncillaryResults ( CSearchResultSet::TAncillaryVector retval) const
inline

Get the ancillary results for a BLAST search (to be used with the Run() method)

Parameters
retvalthe return value of this method [in|out]

Definition at line 311 of file bl2seq.hpp.

References CBl2Seq::m_AncillaryData.

Referenced by BOOST_AUTO_TEST_CASE().

◆ GetAvgLength() [1/2]

Uint4 CMultiSeqInfo::GetAvgLength ( )
inline

Returns average length.

Definition at line 91 of file seqsrc_multiseq.cpp.

References CMultiSeqInfo::m_iAvgLength.

◆ GetAvgLength() [2/2]

Uint4 CQueryFactoryInfo::GetAvgLength ( )
inline

Returns average length.

Definition at line 174 of file seqsrc_query_factory.cpp.

References CQueryFactoryInfo::m_AvgLength.

◆ GetBestHitOverhang() [1/2]

double CBlastOptions::GetBestHitOverhang ( ) const

◆ GetBestHitOverhang() [2/2]

double CBlastOptionsLocal::GetBestHitOverhang ( ) const
inline

◆ GetBestHitScoreEdge() [1/2]

double CBlastOptions::GetBestHitScoreEdge ( ) const

◆ GetBestHitScoreEdge() [2/2]

double CBlastOptionsLocal::GetBestHitScoreEdge ( ) const
inline

◆ GetBioseqSet() [1/3]

CRef< CBioseq_set > CObjMgr_RemoteQueryData::GetBioseqSet ( )
virtual

◆ GetBioseqSet() [2/3]

CRef< CBioseq_set > CObjMgrFree_RemoteQueryData::GetBioseqSet ( )
virtual

◆ GetBioseqSet() [3/3]

virtual CRef<objects::CBioseq_set> IRemoteQueryData::GetBioseqSet ( )
pure virtual

◆ GetBlast4AlgoOpts() [1/2]

CBlastOptions::TBlast4Opts * CBlastOptions::GetBlast4AlgoOpts ( )

◆ GetBlast4AlgoOpts() [2/2]

TBlast4Opts* CBlastOptionsRemote::GetBlast4AlgoOpts ( )
inline

Definition at line 89 of file blast_options_cxx.cpp.

References CBlastOptionsRemote::m_ReqOpts.

Referenced by CBlastOptions::GetBlast4AlgoOpts().

◆ GetBlastDbLoaderName()

string CBlastScopeSourceWrapper::GetBlastDbLoaderName ( ) const
inline

Definition at line 127 of file blast_input_unit_test_aux.hpp.

References CBlastScopeSourceWrapper::m_ScopeSrc.

Referenced by BOOST_AUTO_TEST_CASE().

◆ GetBlastSequence() [1/3]

SBlastSequence CBlastQuerySourceOM::GetBlastSequence ( int  i,
EBlastEncoding  encoding,
objects::ENa_strand  strand,
ESentinelType  sentinel,
string warnings = 0 
) const
virtual

Return the sequence data for a sequence.

Parameters
iindex of the sequence in the sequence container [in]
encodingdesired encoding [in]
strandstrand to fetch [in]
sentinelspecifies to use or not to use sentinel bytes around sequence data. Note that this is ignored for proteins, as in the CORE of BLAST, proteins always have sentinel bytes [in]
warningsif not NULL, warnings will be returned in this string [in|out]
Returns
SBlastSequence structure containing sequence data requested

Definition at line 308 of file blast_objmgr_tools.cpp.

References CBlastQueryVector::GetQuerySeqLoc(), CBlastQueryVector::GetScope(), GetSequence(), i, CBlastQuerySourceOM::m_QueryVector, CBlastQuerySourceOM::m_TSeqLocVector, and CRef< C, Locker >::NotEmpty().

◆ GetBlastSequence() [2/3]

virtual SBlastSequence IBlastQuerySource::GetBlastSequence ( int  index,
EBlastEncoding  encoding,
objects::ENa_strand  strand,
ESentinelType  sentinel,
std::string warnings = 0 
) const
pure virtual

Return the sequence data for a sequence.

Parameters
indexindex of the sequence in the sequence container [in]
encodingdesired encoding [in]
strandstrand to fetch [in]
sentinelspecifies to use or not to use sentinel bytes around sequence data. Note that this is ignored for proteins, as in the CORE of BLAST, proteins always have sentinel bytes [in]
warningsif not NULL, warnings will be returned in this string [in|out]
Returns
SBlastSequence structure containing sequence data requested

Referenced by SetupQueries_OMF(), and SetupSubjects_OMF().

◆ GetBlastSequence() [3/3]

SBlastSequence CBlastQuerySourceBioseqSet::GetBlastSequence ( int  index,
EBlastEncoding  encoding,
objects::ENa_strand  strand,
ESentinelType  sentinel,
string warnings = 0 
) const
virtual

Return the sequence data for a sequence.

Parameters
indexindex of the sequence in the sequence container [in]
encodingdesired encoding [in]
strandstrand to fetch [in]
sentinelspecifies to use or not to use sentinel bytes around sequence data [in]
warningsif not NULL, warnings will be returned in this string [in|out]
Returns
SBlastSequence structure containing sequence data requested

Definition at line 311 of file bioseq_extract_data_priv.cpp.

References GetSequence_OMF(), CBlastQuerySourceBioseqSet::m_Bioseqs, and NCBI_THROW.

Referenced by PsiBlastComputePssmFromAlignment().

◆ GetCandidateSeqs()

int CBlastpKmerOptionsHandle::GetCandidateSeqs ( ) const
inline

Gets the max number of candidate matches to process with BLAST.

Definition at line 82 of file blastp_kmer_options.hpp.

Referenced by BOOST_AUTO_TEST_CASE(), CBlastKmerThread::Main(), and CBlastKmerSearch::Run().

◆ GetChaining() [1/2]

bool CBlastOptions::GetChaining ( void  ) const

◆ GetChaining() [2/2]

bool CBlastOptionsLocal::GetChaining ( void  ) const
inline

◆ GetChaning()

bool CBlastProteinOptionsHandle::GetChaning ( ) const
inline

Returns true if chaining is enabled, false otherwise.

Definition at line 131 of file blast_prot_options.hpp.

◆ GetChunkBounds()

TChunkRange CSplitQueryBlk::GetChunkBounds ( size_t  chunk_num) const

Get the boundaries of a chunk in the concatenated query.

Parameters
chunk_numdesired chunk [in]

Definition at line 135 of file split_query_blk.cpp.

References CSplitQueryBlk::m_SplitQueryBlk, COpenRange< Position >::SetOpen(), and SplitQueryBlk_GetChunkBounds().

Referenced by CQuerySplitter::x_ComputeQueryIndicesForChunks(), and CSplitQueryTestFixture::x_ValidateChunkBounds().

◆ GetChunkOverlapSize()

size_t CSplitQueryBlk::GetChunkOverlapSize ( ) const

Gets the size (# of bases/residues) of overlap between query chunks.

Definition at line 210 of file split_query_blk.cpp.

References ERR_POST, CSplitQueryBlk::m_SplitQueryBlk, SplitQueryBlk_GetChunkOverlapSize(), and Warning().

◆ GetChunkSize()

size_t CQuerySplitter::GetChunkSize ( void  ) const
inline

◆ GetClientId()

string CRemoteBlast::GetClientId ( ) const
inline

Retrieves the client ID used by this object to send requests.

Definition at line 461 of file remote_blast.hpp.

References CRemoteBlast::m_ClientId.

Referenced by BOOST_AUTO_TEST_CASE().

◆ GetComplexityAdjMode() [1/3]

bool CBlastOptions::GetComplexityAdjMode ( ) const

Returns true if cross_match-like complexity adjusted.

Definition at line 2117 of file blast_options_cxx.cpp.

References CBlastOptionsLocal::GetComplexityAdjMode(), CBlastOptions::m_Local, and CBlastOptions::x_Throwx().

Referenced by CBlastOptionsHandle::GetComplexityAdjMode().

◆ GetComplexityAdjMode() [2/3]

bool CBlastOptionsHandle::GetComplexityAdjMode ( ) const
inline

Returns Complexity Adjustment Mode -RMH-.

Definition at line 294 of file blast_options_handle.hpp.

References CBlastOptions::GetComplexityAdjMode(), and CBlastOptionsHandle::m_Opts.

◆ GetComplexityAdjMode() [3/3]

bool CBlastOptionsLocal::GetComplexityAdjMode ( ) const
inline

Returns true if cross_match-like complexity adjusted.

Definition at line 1608 of file blast_options_local_priv.hpp.

References BlastScoringOptions::complexity_adjusted_scoring, CBlastOptionsLocal::m_ScoringOpts, and true.

Referenced by CBlastOptions::GetComplexityAdjMode().

◆ GetCompositionBasedStats() [1/5]

ECompoAdjustModes CBlastAdvancedProteinOptionsHandle::GetCompositionBasedStats ( void  ) const
inline

Returns this mode, which mostly specifies whether composition of db sequence is taken into account when calculating expect values.

Definition at line 70 of file blast_advprot_options.hpp.

Referenced by BOOST_FIXTURE_TEST_CASE(), CDeltaBlastTestFixture::CDeltaBlastTestFixture(), and CPsiBlastTestFixture::CPsiBlastTestFixture().

◆ GetCompositionBasedStats() [2/5]

ECompoAdjustModes CBlastOptions::GetCompositionBasedStats ( void  ) const

◆ GetCompositionBasedStats() [3/5]

ECompoAdjustModes CBlastxOptionsHandle::GetCompositionBasedStats ( void  ) const
inline

Returns this mode, which mostly specifies whether composition of db sequence is taken into account when calculating expect values.

Definition at line 104 of file blastx_options.hpp.

◆ GetCompositionBasedStats() [4/5]

ECompoAdjustModes CBlastOptionsLocal::GetCompositionBasedStats ( void  ) const
inline

◆ GetCompositionBasedStats() [5/5]

bool CBlastRPSOptionsHandle::GetCompositionBasedStats ( void  ) const
inline

Get composition based statistics mode.

Returns
True if composition based statistics mode is enabled, false otherwise

Definition at line 105 of file blast_rps_options.hpp.

References eNoCompositionBasedStats.

◆ GetCompressedPlusStrand() [1/3]

SBlastSequence CBlastSeqVectorFromCSeq_data::GetCompressedPlusStrand ( )
virtual

◆ GetCompressedPlusStrand() [2/3]

virtual SBlastSequence CBlastSeqVectorOM::GetCompressedPlusStrand ( )
inlinevirtual

◆ GetCompressedPlusStrand() [3/3]

virtual SBlastSequence IBlastSeqVector::GetCompressedPlusStrand ( )
pure virtual

Returns the compressed nucleotide data for the plus strand, still occupying one base per byte.

Implemented in CBlastSeqVectorOM, and CBlastSeqVectorFromCSeq_data.

Referenced by GetSequenceCompressedNucleotide().

◆ GetContextInChunk()

int CContextTranslator::GetContextInChunk ( size_t  chunk_num,
int  absolute_context 
) const

Get the context number in the split query chunk.

This function is basically doing the reverse lookup that GetAbsoluteContext does

Parameters
chunk_numChunk number to search for this context [in]
absolute_contextcontext number in the absolute (i.e.: unsplit) query [in]
Returns
the appropriate context if found, else kInvalidContext
See also
GetAbsoluteContext

Definition at line 251 of file split_query_aux_priv.cpp.

References _ASSERT, kInvalidContext, and CContextTranslator::m_ContextsPerChunk.

Referenced by CContextTranslator::GetStartingChunk(), and s_GetAbsoluteContextLength().

◆ GetContextOffsets()

vector< size_t > CSplitQueryBlk::GetContextOffsets ( size_t  chunk_num) const

Get the context offsets (corrections) of the queries contained in a given chunk.

Parameters
chunk_numdesired chunk [in]

Definition at line 117 of file split_query_blk.cpp.

References i, CSplitQueryBlk::m_SplitQueryBlk, NULL, sfree, SplitQueryBlk_GetContextOffsetsForChunk(), and UINT4_MAX.

Referenced by operator<<(), CQuerySplitter::x_ComputeContextOffsets_TranslatedQueries(), CSplitQueryTestFixture::x_TestCContextTranslator(), and CSplitQueryTestFixture::x_ValidateContextOffsetsPerChunkAssignment().

◆ GetCreatedBy() [1/2]

string CRemoteBlast::GetCreatedBy ( )

Get the created-by string associated with this search.

The created by string for this search will be returned.

Returns
The value of the created-by string.

Definition at line 1909 of file remote_blast.cpp.

References CRemoteBlast::m_CreatedBy, and CRemoteBlast::x_GetRequestInfo().

Referenced by BOOST_AUTO_TEST_CASE().

◆ GetCreatedBy() [2/2]

string CImportStrategy::GetCreatedBy ( ) const

Returns ident field from a Blast4-request.

Definition at line 165 of file search_strategy.cpp.

References CImportStrategy::m_Request.

◆ GetCStruct()

SSplitQueryBlk * CSplitQueryBlk::GetCStruct ( ) const

Returns the C structure managed by objects of this class.

Note
the caller of this method does NOT own the returned structure

Definition at line 194 of file split_query_blk.cpp.

References CSplitQueryBlk::m_SplitQueryBlk.

Referenced by BOOST_AUTO_TEST_CASE(), and CBlastPrelimSearch::Run().

◆ GetCullingLimit() [1/3]

int CBlastOptions::GetCullingLimit ( ) const

◆ GetCullingLimit() [2/3]

int CBlastOptionsHandle::GetCullingLimit ( ) const
inline

Returns Culling limit.

Definition at line 282 of file blast_options_handle.hpp.

References CBlastOptions::GetCullingLimit(), and CBlastOptionsHandle::m_Opts.

Referenced by BOOST_FIXTURE_TEST_CASE().

◆ GetCullingLimit() [3/3]

int CBlastOptionsLocal::GetCullingLimit ( ) const
inline

◆ GetCutoffScore() [1/4]

int CBlastOptions::GetCutoffScore ( ) const

◆ GetCutoffScore() [2/4]

int CBlastOptionsHandle::GetCutoffScore ( ) const
inline

Returns CutoffScore.

Definition at line 252 of file blast_options_handle.hpp.

References CBlastOptions::GetCutoffScore(), and CBlastOptionsHandle::m_Opts.

Referenced by BOOST_FIXTURE_TEST_CASE().

◆ GetCutoffScore() [3/4]

int CMagicBlastOptionsHandle::GetCutoffScore ( ) const
inline

Return a single alignment cutoff score.

Definition at line 174 of file magicblast_options.hpp.

◆ GetCutoffScore() [4/4]

int CBlastOptionsLocal::GetCutoffScore ( ) const
inline

◆ GetCutoffScoreCoeffs() [1/3]

vector<double> CMagicBlastOptionsHandle::GetCutoffScoreCoeffs ( )
inline

Get coefficients for alignment cutoff score as a linear function of query length: x[0] + x[1] * length.

Definition at line 182 of file magicblast_options.hpp.

◆ GetCutoffScoreCoeffs() [2/3]

vector< double > CBlastOptions::GetCutoffScoreCoeffs ( ) const

◆ GetCutoffScoreCoeffs() [3/3]

vector< double > CBlastOptionsLocal::GetCutoffScoreCoeffs ( ) const
inline

◆ GetData() [1/7]

PSIMsa* CPsiBlastInputClustalW::GetData ( void  )
inlinevirtual

Obtain the multiple sequence alignment structure.

Implements IPssmInputData.

Definition at line 96 of file msa_pssm_input.hpp.

Referenced by BOOST_AUTO_TEST_CASE().

◆ GetData() [2/7]

const CNcbiMatrix<double>& CPsiBlastInputFreqRatios::GetData ( void  )
inlinevirtual

Obtain a matrix of frequency ratios with this->GetQueryLength() columns and BLASTAA_SIZE rows.

Implements IPssmInputFreqRatios.

Definition at line 132 of file psi_pssm_input.hpp.

◆ GetData() [3/7]

PSIMsa * CPsiBlastInputData::GetData ( void  )
inlinevirtual

Obtain the multiple sequence alignment structure.

Implements IPssmInputData.

Definition at line 195 of file psi_pssm_input.cpp.

References CPsiBlastInputData::m_Msa.

◆ GetData() [4/7]

virtual PSIMsa* IPssmInputData::GetData ( )
pure virtual

Obtain the multiple sequence alignment structure.

Implemented in SU_PSSMInput, CNullPssmInput, CPssmInputFlankingGaps, CdPssmInput, CPsiBlastInputData, and CPsiBlastInputClustalW.

Referenced by s_Validate(), and CPssmEngine::x_CreatePssmFromMsa().

◆ GetData() [5/7]

virtual const CNcbiMatrix<double>& IPssmInputFreqRatios::GetData ( )
pure virtual

Obtain a matrix of frequency ratios with this->GetQueryLength() columns and BLASTAA_SIZE rows.

Implemented in CPsiBlastInputFreqRatios.

Referenced by s_CheckAgainstNullData(), s_Validate(), and CPssmEngine::x_CreatePssmFromFreqRatios().

◆ GetData() [6/7]

PSICdMsa* CCddInputData::GetData ( void  )
inlinevirtual

Get data for PSSM computation.

Returns
Data for PSSM computation

Implements IPssmInputCdd.

Definition at line 160 of file cdd_pssm_input.hpp.

References CCddInputData::m_CddData.

◆ GetData() [7/7]

virtual PSICdMsa* IPssmInputCdd::GetData ( void  )
pure virtual

Get CD data for PSSM computation.

Implemented in CPssmInputWithNoCDs, and CCddInputData.

Referenced by s_Validate(), and CPssmEngine::x_CreatePssmFromCDD().

◆ GetDatabaseInfo() [1/2]

vector< CRef< objects::CBlast4_database_info > > CBlastServices::GetDatabaseInfo ( const string dbname,
bool  is_protein,
bool found_all,
vector< string > *  missing_names = NULL 
)

Retrieve detailed information for databases listed in the string.

If more than one database is supplied, it they should be separated by spaces (e.g., "nt wgs est").

Parameters
dbnamestring listing the database(s)
is_proteinis a protein for true, otherwise dna
found_alltrue if all databases were found.
missing_namespointer to an array with missing database(s)
Returns
Detailed information for the requested BLAST databases or an empty vector if no databases were found.

Definition at line 474 of file blast_services.cpp.

References CBlast4Client_Base::Ask(), dbname(), Get(), CBlastServices::GetDatabaseInfoLegacy(), NCBI_THROW, CRef< C, Locker >::Reset(), CBlast4_request_Base::SetBody(), CBlast4_request_body_Base::SetGet_databases_ex(), NStr::Split(), and NStr::TruncateSpaces().

◆ GetDatabaseInfo() [2/2]

CRef< objects::CBlast4_database_info > CBlastServices::GetDatabaseInfo ( CRef< objects::CBlast4_database >  blastdb)

Retrieve detailed information for one BLAST database If information about multiple databases is needed, use the other GetDatabaseInfo method.

Parameters
blastdbobject describing the database for which to get detailed information
Returns
Detailed information for the requested BLAST database or an empty object is the requested database wasn't found

Definition at line 422 of file blast_services.cpp.

References CRef< C, Locker >::Empty(), CBlastServices::m_AvailableDatabases, NCBI_THROW, CBlastServices::x_FindDbInfoFromAvailableDatabases(), and CBlastServices::x_GetAvailableDatabases().

Referenced by BOOST_AUTO_TEST_CASE(), CAlignFormatUtil::GetBlastDbInfo(), CBlastServices::GetDatabaseInfoLegacy(), and CBlastServices::IsValidBlastDb().

◆ GetDatabaseInfoLegacy()

vector< CRef< objects::CBlast4_database_info > > CBlastServices::GetDatabaseInfoLegacy ( const string dbname,
bool  is_protein,
bool found_all,
vector< string > *  missing_names = NULL 
)

◆ GetDatabaseName() [1/2]

string CLocalDbAdapter::GetDatabaseName ( ) const
inline

Returns the database name if appropriate, else kEmptyStr for subject sequences.

Definition at line 121 of file local_db_adapter.hpp.

References CLocalDbAdapter::m_DbName.

Referenced by CIgBlastnApp::CIgFormatter::Main(), CDeltaBlast::Run(), CDeltaBlastApp::Run(), CIgBlastnApp::Run(), CIgBlastpApp::Run(), CBlastKmerSearch::Run(), and CIgBlast::x_AnnotateDomain().

◆ GetDatabaseName() [2/2]

string CSearchDatabase::GetDatabaseName ( ) const

◆ GetDatabases()

CRef< CBlast4_database > CRemoteBlast::GetDatabases ( )

Get the database used by the search.

An object is returned, describing the name and type of database used as the subject of this search.

Returns
An object describing the searched database(s).

Definition at line 1837 of file remote_blast.cpp.

References CRef< C, Locker >::Empty(), CRemoteBlast::m_Dbs, and CRemoteBlast::x_GetRequestInfo().

Referenced by BOOST_AUTO_TEST_CASE(), CBlastFormatterApp::PrintFormattedOutput(), and CBlastFormatterVdbApp::PrintFormattedOutput().

◆ GetDbFilteringAlgorithmId() [1/2]

int CBlastOptionsBuilder::GetDbFilteringAlgorithmId ( )

Get the database filtering algorithm ID.

Definition at line 742 of file blast_options_builder.cpp.

References CBlastOptionsBuilder::SOptional< T >::Get(), and CBlastOptionsBuilder::m_DbFilteringAlgorithmId.

Referenced by CRemoteBlast::GetSearchOptions(), and s_ImportDatabase().

◆ GetDbFilteringAlgorithmId() [2/2]

Int4 CRemoteBlast::GetDbFilteringAlgorithmId ( ) const
inline

Returns the filtering algorithm ID used in the database.

Definition at line 446 of file remote_blast.hpp.

References CRemoteBlast::m_DbFilteringAlgorithmId.

Referenced by BOOST_AUTO_TEST_CASE(), and CBlastFormatterApp::PrintFormattedOutput().

◆ GetDbFilteringAlgorithmKey() [1/2]

string CBlastOptionsBuilder::GetDbFilteringAlgorithmKey ( )

Get the database filtering algorithm key.

Definition at line 752 of file blast_options_builder.cpp.

References CBlastOptionsBuilder::SOptional< T >::Get(), and CBlastOptionsBuilder::m_DbFilteringAlgorithmKey.

Referenced by CRemoteBlast::GetSearchOptions(), and s_ImportDatabase().

◆ GetDbFilteringAlgorithmKey() [2/2]

string CRemoteBlast::GetDbFilteringAlgorithmKey ( ) const
inline

Returns the filtering algorithm key used in the database.

Definition at line 451 of file remote_blast.hpp.

References CRemoteBlast::m_DbFilteringAlgorithmKey.

Referenced by BOOST_AUTO_TEST_CASE().

◆ GetDBFilteringID()

int CImportStrategy::GetDBFilteringID ( )

The DB filter ID.

Definition at line 180 of file search_strategy.cpp.

References CImportStrategy::FetchData(), and CImportStrategy::m_Data.

Referenced by BOOST_AUTO_TEST_CASE().

◆ GetDBFilteringKey()

string CImportStrategy::GetDBFilteringKey ( )

The DB filter key.

Definition at line 189 of file search_strategy.cpp.

References CImportStrategy::FetchData(), and CImportStrategy::m_Data.

Referenced by BOOST_AUTO_TEST_CASE().

◆ GetDbGeneticCode() [1/5]

int CBlastOptions::GetDbGeneticCode ( ) const

◆ GetDbGeneticCode() [2/5]

int CRPSTBlastnOptionsHandle::GetDbGeneticCode ( ) const
inline

Returns DbGeneticCode.

Definition at line 63 of file rpstblastn_options.hpp.

◆ GetDbGeneticCode() [3/5]

int CTBlastnOptionsHandle::GetDbGeneticCode ( ) const
inline

Returns DbGeneticCode.

Definition at line 84 of file tblastn_options.hpp.

◆ GetDbGeneticCode() [4/5]

int CTBlastxOptionsHandle::GetDbGeneticCode ( ) const
inline

Returns DbGeneticCode.

Definition at line 77 of file tblastx_options.hpp.

◆ GetDbGeneticCode() [5/5]

int CBlastOptionsLocal::GetDbGeneticCode ( void  ) const
inline

◆ GetDbIndexRunSearchFn()

DbIndexRunSearchFnType GetDbIndexRunSearchFn ( )

Return the appropriate callback to run indexed seed search.

Returns
No-op function if indexing is not being used; otherwise - the appropriate callback.

Definition at line 1199 of file blast_dbindex.cpp.

References RunSearchFn.

Referenced by CBlastPrelimSearch::Run().

◆ GetDbIndexSetNumThreadsFn()

DbIndexSetNumThreadsFnType GetDbIndexSetNumThreadsFn ( )

Return the appropriate callback to set the number of threads in the index structure.

Returns
No-op function if indexing is not used; otherwise - the appropriate callback.

Definition at line 1195 of file blast_dbindex.cpp.

References SetNumThreadsFn.

Referenced by CBlastPrelimSearch::x_LaunchMultiThreadedSearch().

◆ GetDbIndexSetQueryInfoFn()

DbIndexSetQueryInfoFnType GetDbIndexSetQueryInfoFn ( )

Return the appropriate callback to set query information in the index.

Returns
No-op function if indexing is not being used; otherwise - the appropriate callback.

Definition at line 1198 of file blast_dbindex.cpp.

References SetQueryInfoFn.

Referenced by CSetupFactory::CreateLookupTable().

◆ GetDbIndexSetUsingThreadsFn()

DbIndexSetUsingThreadsFnType GetDbIndexSetUsingThreadsFn ( )

Return the appropriate callback to set the concurrency state in the index structure.

Returns
No-op function if indexing is not used; otherwise - the appropriate callback.

Definition at line 1192 of file blast_dbindex.cpp.

References SetUsingThreadsFn.

Referenced by CBlastPrelimSearch::Run().

◆ GetDbLength() [1/3]

Int8 CBlastOptions::GetDbLength ( ) const

◆ GetDbLength() [2/3]

Int8 CBlastOptionsHandle::GetDbLength ( ) const
inline

◆ GetDbLength() [3/3]

Int8 CBlastOptionsLocal::GetDbLength ( void  ) const
inline

◆ GetDbName()

const string CSeqDbSrcNewArgs::GetDbName ( void  ) const
inline

Getter functions for the private fields.

Definition at line 582 of file seqsrc_seqdb.cpp.

Referenced by s_SeqDbSrcNew().

◆ GetDbOpts() [1/2]

BlastDatabaseOptions * CBlastOptions::GetDbOpts ( ) const
private

Returns BlastDatabaseOptions for eLocal objects, NULL for eRemote.

Definition at line 2682 of file blast_options_cxx.cpp.

References CBlastOptionsLocal::GetDbOpts(), and CBlastOptions::m_Local.

Referenced by CTracebackTestFixture::x_ComputeTracebak().

◆ GetDbOpts() [2/2]

BlastDatabaseOptions* CBlastOptionsLocal::GetDbOpts ( ) const
inlineprivate

◆ GetDbSeqNum() [1/3]

unsigned int CBlastOptions::GetDbSeqNum ( ) const

◆ GetDbSeqNum() [2/3]

unsigned int CBlastOptionsHandle::GetDbSeqNum ( ) const
inline

Returns DbSeqNum.

Definition at line 312 of file blast_options_handle.hpp.

References CBlastOptions::GetDbSeqNum(), and CBlastOptionsHandle::m_Opts.

Referenced by BOOST_FIXTURE_TEST_CASE().

◆ GetDbSeqNum() [3/3]

unsigned int CBlastOptionsLocal::GetDbSeqNum ( ) const
inline

◆ GetDbType()

char CSeqDbSrcNewArgs::GetDbType ( ) const
inline

Returns database type: protein or nucleotide.

Definition at line 584 of file seqsrc_seqdb.cpp.

Referenced by s_SeqDbSrcNew().

◆ GetDefaultsMode() [1/2]

bool CBlastOptionsRemote::GetDefaultsMode ( )
inline

◆ GetDefaultsMode() [2/2]

bool CBlastOptions::GetDefaultsMode ( ) const

◆ GetDiagnostics() [1/2]

BlastDiagnostics * CLocalBlast::GetDiagnostics ( )

Get the diagnostics structure (deep copy, needs to be deleted by caller)

Definition at line 308 of file local_blast.cpp.

References Blast_DiagnosticsCopy(), SInternalData::m_Diagnostics, CLocalBlast::m_InternalData, and NULL.

◆ GetDiagnostics() [2/2]

BlastDiagnostics * CBl2Seq::GetDiagnostics ( ) const
inline

Retrieves the diagnostics information returned from the engine.

Definition at line 290 of file bl2seq.hpp.

References CBl2Seq::mi_pDiagnostics.

Referenced by testBlastHitCounts(), and testRawCutoffs().

◆ GetDiagnosticsRequest() [1/5]

const PSIDiagnosticsRequest* CPsiBlastInputClustalW::GetDiagnosticsRequest ( void  )
inlinevirtual

Obtain the diagnostics data that is requested from the PSSM engine.

Reimplemented from IPssmInputData.

Definition at line 125 of file msa_pssm_input.hpp.

◆ GetDiagnosticsRequest() [2/5]

const PSIDiagnosticsRequest * CPsiBlastInputData::GetDiagnosticsRequest ( void  )
inlinevirtual

Obtain the diagnostics data that is requested from the PSSM engine.

Reimplemented from IPssmInputData.

Definition at line 229 of file psi_pssm_input.cpp.

References CPsiBlastInputData::m_DiagnosticsRequest.

◆ GetDiagnosticsRequest() [3/5]

virtual const PSIDiagnosticsRequest* IPssmInputData::GetDiagnosticsRequest ( void  )
inlinevirtual

Obtain the diagnostics data that is requested from the PSSM engine Its results will be populated in the PssmWithParameters ASN.1 object.

Reimplemented in SU_PSSMInput, CNullPssmInput, CPssmInputFlankingGaps, CdPssmInput, CPsiBlastInputData, and CPsiBlastInputClustalW.

Definition at line 123 of file pssm_input.hpp.

References NULL.

Referenced by CPssmEngine::x_CreatePssmFromMsa().

◆ GetDiagnosticsRequest() [4/5]

virtual const PSIDiagnosticsRequest* IPssmInputCdd::GetDiagnosticsRequest ( void  )
inlinevirtual

Get diagnostics options.

Reimplemented in CCddInputData.

Definition at line 85 of file cdd_pssm_input.hpp.

References NULL.

Referenced by CPssmEngine::x_CreatePssmFromCDD().

◆ GetDiagnosticsRequest() [5/5]

const PSIDiagnosticsRequest* CCddInputData::GetDiagnosticsRequest ( void  )
inlinevirtual

Get options for PSSM engine diagnostics.

Returns
PSSM engine diagnostics request

Reimplemented from IPssmInputCdd.

Definition at line 154 of file cdd_pssm_input.hpp.

References CCddInputData::m_DiagnosticsRequest.

◆ GetDiskCacheErrorMessahe()

string CRemoteBlast::GetDiskCacheErrorMessahe ( void  )
inline

Definition at line 479 of file remote_blast.hpp.

References CRemoteBlast::m_disk_cache_error_msg.

◆ GetDJChainType()

const string CIgAnnotationInfo::GetDJChainType ( const string  sid)
inline

◆ GetDocumentation()

string CBlastOptionsFactory::GetDocumentation ( const string task_name)
static

Return the documentation for the provided task.

Parameters
task_nameTask name for which to provide documentation [in]

Definition at line 259 of file blast_options_handle.cpp.

References NStr::StartsWith(), and NStr::ToLower().

Referenced by BOOST_AUTO_TEST_CASE().

◆ GetDomainChainType()

const string CIgAnnotationInfo::GetDomainChainType ( const string  sid)
inline

◆ GetDomainInclusionThreshold() [1/3]

double CBlastOptionsLocal::GetDomainInclusionThreshold ( void  ) const
inline

◆ GetDomainInclusionThreshold() [2/3]

double CBlastOptions::GetDomainInclusionThreshold ( void  ) const

◆ GetDomainInclusionThreshold() [3/3]

double CDeltaBlastOptionsHandle::GetDomainInclusionThreshold ( void  ) const
inline

Get e-value threshold for including domains in Pssm calculation.

Returns
E-value cutoff for domains

Definition at line 65 of file deltablast_options.hpp.

Referenced by CDeltaBlast::Run(), and CDeltaBlast::x_FindDomainHits().

◆ GetDomainInfo()

bool CIgAnnotationInfo::GetDomainInfo ( const string  sid,
int domain_info 
)
inline

◆ GetDomainResults()

CRef<CSearchResultSet> CDeltaBlast::GetDomainResults ( )
inline

Get results of conserved domain search (intermediate results)

Returns
Conserved domain search results

Definition at line 112 of file deltablast.hpp.

References CDeltaBlast::m_DomainResults.

Referenced by BOOST_AUTO_TEST_CASE().

◆ GetDustFiltering() [1/3]

bool CBlastNucleotideOptionsHandle::GetDustFiltering ( ) const
inline

Is dust filtering enabled?

Definition at line 103 of file blast_nucl_options.hpp.

Referenced by Blast_FindDustFilterLoc(), BOOST_AUTO_TEST_CASE(), and BOOST_FIXTURE_TEST_CASE().

◆ GetDustFiltering() [2/3]

bool CBlastOptions::GetDustFiltering ( ) const

◆ GetDustFiltering() [3/3]

bool CBlastOptionsLocal::GetDustFiltering ( ) const
inline

◆ GetDustFilteringLevel() [1/3]

int CBlastNucleotideOptionsHandle::GetDustFilteringLevel ( ) const
inline

Get level parameter for dust.

Definition at line 109 of file blast_nucl_options.hpp.

Referenced by Blast_FindDustFilterLoc(), BOOST_AUTO_TEST_CASE(), and BOOST_FIXTURE_TEST_CASE().

◆ GetDustFilteringLevel() [2/3]

int CBlastOptions::GetDustFilteringLevel ( ) const

◆ GetDustFilteringLevel() [3/3]

int CBlastOptionsLocal::GetDustFilteringLevel ( ) const
inline

◆ GetDustFilteringLinker() [1/3]

int CBlastNucleotideOptionsHandle::GetDustFilteringLinker ( ) const
inline

Get linker parameter for dust.

Definition at line 121 of file blast_nucl_options.hpp.

Referenced by Blast_FindDustFilterLoc(), BOOST_AUTO_TEST_CASE(), and BOOST_FIXTURE_TEST_CASE().

◆ GetDustFilteringLinker() [2/3]

int CBlastOptions::GetDustFilteringLinker ( ) const

◆ GetDustFilteringLinker() [3/3]

int CBlastOptionsLocal::GetDustFilteringLinker ( ) const
inline

◆ GetDustFilteringWindow() [1/3]

int CBlastNucleotideOptionsHandle::GetDustFilteringWindow ( ) const
inline

Get window parameter for dust.

Definition at line 115 of file blast_nucl_options.hpp.

Referenced by Blast_FindDustFilterLoc(), BOOST_AUTO_TEST_CASE(), and BOOST_FIXTURE_TEST_CASE().

◆ GetDustFilteringWindow() [2/3]

int CBlastOptions::GetDustFilteringWindow ( ) const

◆ GetDustFilteringWindow() [3/3]

int CBlastOptionsLocal::GetDustFilteringWindow ( ) const
inline

◆ GetEffectiveSearchSpace() [1/3]

Int8 CBlastOptions::GetEffectiveSearchSpace ( ) const

◆ GetEffectiveSearchSpace() [2/3]

Int8 CBlastOptionsHandle::GetEffectiveSearchSpace ( ) const
inline

Returns EffectiveSearchSpace.

Definition at line 318 of file blast_options_handle.hpp.

References CBlastOptions::GetEffectiveSearchSpace(), and CBlastOptionsHandle::m_Opts.

Referenced by BOOST_AUTO_TEST_CASE(), and BOOST_FIXTURE_TEST_CASE().

◆ GetEffectiveSearchSpace() [3/3]

Int8 CBlastOptionsLocal::GetEffectiveSearchSpace ( ) const
inline

◆ GetEffLenOpts() [1/2]

BlastEffectiveLengthsOptions * CBlastOptions::GetEffLenOpts ( ) const
private

◆ GetEffLenOpts() [2/2]

BlastEffectiveLengthsOptions* CBlastOptionsLocal::GetEffLenOpts ( ) const
inlineprivate

◆ GetEffSearchSpace()

Int8 CEffectiveSearchSpaceCalculator::GetEffSearchSpace ( size_t  query_index = 0) const

Retrieve the effective search space calculated for a given query.

Parameters
query_indexindex of the query sequence of interest

Definition at line 133 of file effsearchspace_calc.cpp.

References _ASSERT, BlastQueryInfoGetEffSearchSpace(), CEffectiveSearchSpaceCalculator::m_Program, and CEffectiveSearchSpaceCalculator::m_QueryInfo.

Referenced by BOOST_AUTO_TEST_CASE().

◆ GetEffSearchSpaceForContext()

Int8 CEffectiveSearchSpaceCalculator::GetEffSearchSpaceForContext ( size_t  ctx_index) const

Retrieve the effective search space calculated for a given query context.

This is needed because translated searches might have slightly different search spaces for each of its contexts.

Parameters
ctx_indexindex of the query sequence of interest

Definition at line 140 of file effsearchspace_calc.cpp.

References _ASSERT, BlastQueryInfo::contexts, BlastContextInfo::eff_searchsp, and CEffectiveSearchSpaceCalculator::m_QueryInfo.

Referenced by SplitQuery_SetEffectiveSearchSpace().

◆ GetEntrezQuery()

string CBlastOptionsBuilder::GetEntrezQuery ( )

◆ GetEntrezQueryLimitation()

string CSearchDatabase::GetEntrezQueryLimitation ( ) const

◆ GetErrCodeString() [1/6]

virtual const char* CSearchException::GetErrCodeString ( void  ) const
inlineoverridevirtual

Get a message describing the situation leading to the throw.

Reimplemented from CException.

Definition at line 93 of file uniform_search.hpp.

References CException::GetErrCodeString().

◆ GetErrCodeString() [2/6]

virtual const char* CBlastServicesException::GetErrCodeString ( void  ) const
inlineoverridevirtual

Get a message describing the situation leading to the throw.

Reimplemented from CException.

Definition at line 85 of file blast_services.hpp.

References CException::GetErrCodeString().

◆ GetErrCodeString() [3/6]

virtual const char* CBlastSystemException::GetErrCodeString ( void  ) const
inlineoverridevirtual

Translate from the error code value to its string representation.

Reimplemented from CException.

Definition at line 57 of file blast_exception.hpp.

References CException::GetErrCodeString().

◆ GetErrCodeString() [4/6]

virtual const char* CBlastException::GetErrCodeString ( void  ) const
inlineoverridevirtual

◆ GetErrCodeString() [5/6]

virtual const char* CPssmEngineException::GetErrCodeString ( void  ) const
inlineoverridevirtual

Translate from the error code value to its string representation.

Reimplemented from CBlastException.

Definition at line 72 of file pssm_engine.hpp.

References CException::GetErrCodeString().

◆ GetErrCodeString() [6/6]

virtual const char* CRemoteBlastException::GetErrCodeString ( void  ) const
inlineoverridevirtual

Translate from the error code value to its string representation.

Reimplemented from CBlastException.

Definition at line 74 of file remote_blast.hpp.

References CRemoteBlastException::eIncompleteConfig, CRemoteBlastException::eServiceNotAvailable, CException::GetErrCode(), and CException::GetErrCodeString().

◆ GetErrors() [1/2]

TQueryMessages CSearchResults::GetErrors ( int  min_severity = eBlastSevError) const

Accessor for the error/warning messsages for this query.

Parameters
min_severityminimum severity to report errors [in]

Definition at line 244 of file blast_results.cpp.

References ITERATE, and CSearchResults::m_Errors.

Referenced by CBlastAligner::GenerateAlignments(), CRemoteBlastAligner::GenerateAlignments(), CIgBlast::s_AppendResults(), and CIgBlast::x_ConvertResultType().

◆ GetErrors() [2/2]

string CRemoteBlast::GetErrors ( void  )

This returns a string containing any errors that were produced by the search.

A successful search should return an empty string here.

Returns
An empty string or a newline seperated list of errors.

Definition at line 1208 of file remote_blast.cpp.

References i, CRemoteBlast::m_Errs, and string.

Referenced by BOOST_AUTO_TEST_CASE(), CRemoteBlast::CheckStatus(), CRemoteBlast::GetSearchStrategy(), CBlastFormatterApp::Run(), CBlastFormatterVdbApp::Run(), and CRemoteBlast::x_IsUnknownRID().

◆ GetErrorStrings()

string CSearchResults::GetErrorStrings ( ) const

Retrieve a string with the query identifier followed by the errors produced, returns a empty string if HasErrors() returns false.

Definition at line 258 of file blast_results.cpp.

References eBlastSevError, TQueryMessages::GetQueryId(), ITERATE, CSearchResults::m_Errors, and string.

Referenced by CBlastAligner::GenerateAlignments(), and CRemoteBlastAligner::GenerateAlignments().

◆ GetErrorVector()

const vector< string > & CRemoteBlast::GetErrorVector ( )

This returns any errors encountered as a vector of strings.

See also
CRemoteBlast::GetErrors
Returns
Reference to a vector of errors.

Definition at line 1245 of file remote_blast.cpp.

References CRemoteBlast::m_Errs.

Referenced by CRemoteBlast::GetResultSet(), and s_BuildResultsRemote().

◆ GetEvalueThreshold() [1/3]

double CBlastOptions::GetEvalueThreshold ( ) const

◆ GetEvalueThreshold() [2/3]

double CBlastOptionsHandle::GetEvalueThreshold ( ) const
inline

Returns EvalueThreshold.

Definition at line 247 of file blast_options_handle.hpp.

References CBlastOptions::GetEvalueThreshold(), and CBlastOptionsHandle::m_Opts.

Referenced by BOOST_AUTO_TEST_CASE(), and BOOST_FIXTURE_TEST_CASE().

◆ GetEvalueThreshold() [3/3]

double CBlastOptionsLocal::GetEvalueThreshold ( void  ) const
inline

◆ GetExtnOpts() [1/2]

BlastExtensionOptions * CBlastOptions::GetExtnOpts ( ) const
private

◆ GetExtnOpts() [2/2]

BlastExtensionOptions* CBlastOptionsLocal::GetExtnOpts ( ) const
inlineprivate

◆ GetFilteredQueryRegions() [1/3]

TSeqLocInfoVector CBl2Seq::GetFilteredQueryRegions ( ) const

Retrieves regions filtered on the query/queries.

Definition at line 216 of file bl2seq.cpp.

References CSearchResultSet::GetFilteredQueryRegions(), and CBl2Seq::m_Results.

◆ GetFilteredQueryRegions() [2/3]

TSeqLocInfoVector CSearchResultSet::GetFilteredQueryRegions ( ) const

Retrieves the filtered query regions.

Definition at line 517 of file blast_results.cpp.

References CSearchResultSet::m_QueryMasks.

Referenced by CBl2Seq::GetFilteredQueryRegions().

◆ GetFilteredQueryRegions() [3/3]

TSeqLocInfoVector CBlastPrelimSearch::GetFilteredQueryRegions ( ) const
inline

Retrieve the filtered/masked query regions.

Definition at line 186 of file prelim_stage.hpp.

References CBlastPrelimSearch::m_MasksForAllQueries.

Referenced by CLocalBlast::Run().

◆ GetFilteredRedundantGis()

void GetFilteredRedundantGis ( const IBlastSeqInfoSrc sisrc,
int  oid,
vector< TGi > &  gis 
)

Get GIs for a sequence in a redundant database.

This function returns a list of GIs corresponding to the specified OID. This allows a GI list to be built for those GIs found by a search and included in the associated database; the returned GIs will be filtered by any OID and GI list filtering that is applied to the database (if any).

Parameters
sisrcSource of sequence information. [in]
oidOID for which to retrieve GIs. [in]
gisGIs found for the specified oid. [out]

Definition at line 91 of file blast_seqinfosrc_aux.cpp.

References IBlastSeqInfoSrc::GetId(), IBlastSeqInfoSrc::HasGiList(), ITERATE, and ct::sort().

◆ GetFilteredRedundantSeqids()

void GetFilteredRedundantSeqids ( const IBlastSeqInfoSrc sisrc,
int  oid,
vector< string > &  seqids,
bool  use_gis = true 
)

Get Seqids for a sequence in a redundant database.

This function returns a list of GIs or Seqids corresponding to the specified OID. This allows a GI list to be built for those GIs found by a search and included in the associated database; the returned GIs will be filtered by any OID and GI list filtering that is applied to the database (if any).

Parameters
sisrcSource of sequence information. [in]
oidOID for which to retrieve GIs. [in]
seqidsSeqIds found for the specified oid. [out]
use_gisReturn only GIs seqids vector [in]

Definition at line 113 of file blast_seqinfosrc_aux.cpp.

References IBlastSeqInfoSrc::GetId(), IBlastSeqInfoSrc::HasGiList(), CTextseq_id_Base::IsSetAccession(), and ITERATE.

Referenced by BlastHitList2SeqAlign_OMF(), BLASTPrelminSearchHitListToStdSeg(), and s_BLAST_OneSubjectResults2CSeqAlign().

◆ GetFilteredSubjectRegions()

void CBl2Seq::GetFilteredSubjectRegions ( vector< TSeqLocInfoVector > &  retval) const

Retrieves regions filtered on the subject sequence(s)

Parameters
retvalthe return value of this method [in|out]

Definition at line 222 of file bl2seq.cpp.

References CSearchResultSet::empty(), CRef< C, Locker >::Empty(), ITERATE, and CBl2Seq::m_Results.

◆ GetFilteringAlgorithm() [1/2]

int CLocalDbAdapter::GetFilteringAlgorithm ( )
inline

◆ GetFilteringAlgorithm() [2/2]

int CSearchDatabase::GetFilteringAlgorithm ( ) const

◆ GetFilteringAlgorithmKey() [1/2]

string CLocalDbAdapter::GetFilteringAlgorithmKey ( )

Retrieve the database filtering id from key.

Returns
kEmptyStr if not none was found, otherwise the filtering algorithm key

Definition at line 196 of file local_db_adapter.cpp.

References CRef< C, Locker >::Empty(), CSearchDatabase::GetFilteringAlgorithmKey(), kEmptyStr, and CLocalDbAdapter::m_DbInfo.

◆ GetFilteringAlgorithmKey() [2/2]

string CSearchDatabase::GetFilteringAlgorithmKey ( ) const

◆ GetFilterString() [1/3]

char * CBlastOptions::GetFilterString ( ) const

Return the filtering string used.

Returns
copy of the filtering options string, caller must free() the return value
Deprecated:
Do not use this method, instead use the various methods to retrieve filtering options
See also
GetMaskAtHash, GetDustFiltering, GetDustFilteringLevel, GetDustFilteringWindow, GetDustFilteringWindow, GetSegFiltering, GetSegFilteringWindow, GetSegFilteringLocut, GetSegFilteringHicut GetRepeatFiltering, GetRepeatFilteringDB

Definition at line 1034 of file blast_options_cxx.cpp.

References CBlastOptionsLocal::GetFilterString(), CBlastOptions::m_Local, and CBlastOptions::x_Throwx().

Referenced by BOOST_AUTO_TEST_CASE(), and CBlastOptionsHandle::GetFilterString().

◆ GetFilterString() [2/3]

char * CBlastOptionsHandle::GetFilterString ( ) const

Returns FilterString.

Definition at line 98 of file blast_options_handle.cpp.

References CBlastOptions::GetFilterString(), and CBlastOptionsHandle::m_Opts.

Referenced by BOOST_AUTO_TEST_CASE().

◆ GetFilterString() [3/3]

char * CBlastOptionsLocal::GetFilterString ( void  ) const
inline

◆ GetFinalDbSeq()

int CBlastOptionsBuilder::GetFinalDbSeq ( )

Get the OID range end point.

Definition at line 722 of file blast_options_builder.cpp.

References CBlastOptionsBuilder::SOptional< T >::Get(), and CBlastOptionsBuilder::m_FinalDbSeq.

Referenced by CRemoteBlast::GetSearchOptions().

◆ GetFinalOid()

Uint4 CSeqDbSrcNewArgs::GetFinalOid ( ) const
inline

Returns last database ordinal id covered by this BlastSeqSrc.

Definition at line 588 of file seqsrc_seqdb.cpp.

Referenced by s_SeqDbSrcNew().

◆ GetFirstDbSeq()

int CBlastOptionsBuilder::GetFirstDbSeq ( )

Get the OID range start point.

Definition at line 712 of file blast_options_builder.cpp.

References CBlastOptionsBuilder::SOptional< T >::Get(), and CBlastOptionsBuilder::m_FirstDbSeq.

Referenced by CRemoteBlast::GetSearchOptions().

◆ GetFirstId()

const CSeq_id& CMagicBlastResults::GetFirstId ( void  ) const
inline

Get sequence id of the first segment of a paired read.

Definition at line 195 of file magicblast.hpp.

References CMagicBlastResults::GetQueryId().

◆ GetFirstInfo()

TResultsInfo CMagicBlastResults::GetFirstInfo ( void  ) const
inline

Get alignment flags for the query.

Definition at line 186 of file magicblast.hpp.

References CMagicBlastResults::m_FirstInfo.

◆ GetFirstOid()

Uint4 CSeqDbSrcNewArgs::GetFirstOid ( ) const
inline

Returns first database ordinal id covered by this BlastSeqSrc.

Definition at line 586 of file seqsrc_seqdb.cpp.

Referenced by s_SeqDbSrcNew().

◆ GetFlatResults()

CRef< CSeq_align_set > CMagicBlastResultSet::GetFlatResults ( bool  no_discordant = false)

Get all results as a single Seq-align-set object.

Parameters
no_discordantReport only paires aligned concordantly [in]

Definition at line 732 of file magicblast.cpp.

References result, and CSeq_align_set_Base::Set().

◆ GetForceIndex() [1/2]

bool CBlastOptions::GetForceIndex ( ) const

◆ GetForceIndex() [2/2]

bool CBlastOptionsLocal::GetForceIndex ( ) const
inline

◆ GetFrameOffset()

int CIgAnnotationInfo::GetFrameOffset ( const string  sid)
inline

◆ GetFrameShiftPenalty() [1/4]

int CBlastOptions::GetFrameShiftPenalty ( ) const

◆ GetFrameShiftPenalty() [2/4]

int CBlastxOptionsHandle::GetFrameShiftPenalty ( ) const
inline

Returns FrameShiftPenalty.

Definition at line 88 of file blastx_options.hpp.

◆ GetFrameShiftPenalty() [3/4]

int CTBlastnOptionsHandle::GetFrameShiftPenalty ( ) const
inline

Returns FrameShiftPenalty.

Definition at line 71 of file tblastn_options.hpp.

◆ GetFrameShiftPenalty() [4/4]

int CBlastOptionsLocal::GetFrameShiftPenalty ( ) const
inline

◆ GetFreqRatios()

CNcbiMatrix< double > * CScorematPssmConverter::GetFreqRatios ( const objects::CPssmWithParameters &  pssm)
static

Returns matrix of BLASTAA_SIZE by query size (dimensions are opposite of what is stored in the BlastScoreBlk) containing frequency ratios.

Parameters
pssmPSSM to extract data from [in]
Exceptions
std::runtime_errorif frequency ratios are not available

Definition at line 264 of file psiblast_aux_priv.cpp.

References _ASSERT, BLASTAA_SIZE, Convert2Matrix(), CPssm_Base::GetByRow(), CPssmIntermediateData_Base::GetFreqRatios(), CPssm_Base::GetIntermediateData(), CPssm_Base::GetNumColumns(), and CPssm_Base::GetNumRows().

Referenced by PsiBlastComputePssmScores(), PsiBlastSetupScoreBlock(), CMakeProfileDBApp::x_RPSUpdateStatistics(), and CMakeProfileDBApp::x_UpdateFreqRatios().

◆ GetFwr4EndOffset()

int CIgAnnotationInfo::GetFwr4EndOffset ( const string sid)
inline

◆ GetGapExistence() [1/5]

int CPsiBlastInputClustalW::GetGapExistence ( void  )
inlinevirtual

Obtain the gap existence value to use when building the PSSM.

Reimplemented from IPssmInput_Base.

Definition at line 111 of file msa_pssm_input.hpp.

References IPssmInput_Base::GetGapExistence().

◆ GetGapExistence() [2/5]

int CPsiBlastInputFreqRatios::GetGapExistence ( void  )
inlinevirtual

Obtain the gap existence value to use when building the PSSM.

Reimplemented from IPssmInput_Base.

Definition at line 110 of file psi_pssm_input.hpp.

References IPssmInput_Base::GetGapExistence().

◆ GetGapExistence() [3/5]

int CPsiBlastInputData::GetGapExistence ( void  )
inlinevirtual

Obtain the gap existence value to use when building the PSSM.

Reimplemented from IPssmInput_Base.

Definition at line 209 of file psi_pssm_input.hpp.

References IPssmInput_Base::GetGapExistence(), and CPsiBlastInputData::m_GapExistence.

◆ GetGapExistence() [4/5]

virtual int IPssmInput_Base::GetGapExistence ( void  )
inlinevirtual

◆ GetGapExistence() [5/5]

int CCddInputData::GetGapExistence ( void  )
inlinevirtual

Get gap existence to use when building PSSM.

Returns
Gap existence

Reimplemented from IPssmInput_Base.

Definition at line 189 of file cdd_pssm_input.hpp.

References IPssmInput_Base::GetGapExistence(), and CCddInputData::m_GapExistence.

◆ GetGapExtension() [1/5]

int CPsiBlastInputClustalW::GetGapExtension ( void  )
inlinevirtual

Obtain the gap extension value to use when building the PSSM.

Reimplemented from IPssmInput_Base.

Definition at line 118 of file msa_pssm_input.hpp.

References IPssmInput_Base::GetGapExtension().

◆ GetGapExtension() [2/5]

int CPsiBlastInputFreqRatios::GetGapExtension ( void  )
inlinevirtual

Obtain the gap extension value to use when building the PSSM.

Reimplemented from IPssmInput_Base.

Definition at line 117 of file psi_pssm_input.hpp.

References IPssmInput_Base::GetGapExtension().

◆ GetGapExtension() [3/5]

int CPsiBlastInputData::GetGapExtension ( void  )
inlinevirtual

Obtain the gap extension value to use when building the PSSM.

Reimplemented from IPssmInput_Base.

Definition at line 216 of file psi_pssm_input.hpp.

References IPssmInput_Base::GetGapExtension(), and CPsiBlastInputData::m_GapExtension.

◆ GetGapExtension() [4/5]

virtual int IPssmInput_Base::GetGapExtension ( void  )
inlinevirtual

◆ GetGapExtension() [5/5]

int CCddInputData::GetGapExtension ( void  )
inlinevirtual

Get gap extension to use when building PSSM.

Returns
Gap extension

Reimplemented from IPssmInput_Base.

Definition at line 195 of file cdd_pssm_input.hpp.

References IPssmInput_Base::GetGapExtension(), and CCddInputData::m_GapExtension.

◆ GetGapExtensionCost() [1/7]

int CBlastNucleotideOptionsHandle::GetGapExtensionCost ( ) const
inline

Returns GapExtensionCost.

Definition at line 207 of file blast_nucl_options.hpp.

Referenced by BOOST_FIXTURE_TEST_CASE().

◆ GetGapExtensionCost() [2/7]

int CBlastOptions::GetGapExtensionCost ( ) const

◆ GetGapExtensionCost() [3/7]

int CBlastProteinOptionsHandle::GetGapExtensionCost ( ) const
inline

Returns GapExtensionCost.

Definition at line 124 of file blast_prot_options.hpp.

Referenced by BOOST_AUTO_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), PsiBlastComputePssmFromAlignment(), and CDeltaBlast::Run().

◆ GetGapExtensionCost() [4/7]

int CBlastRPSOptionsHandle::GetGapExtensionCost ( ) const
inline

Returns GapExtensionCost.

Definition at line 118 of file blast_rps_options.hpp.

◆ GetGapExtensionCost() [5/7]

int CMagicBlastOptionsHandle::GetGapExtensionCost ( ) const
inline

Return gap extension cost.

Definition at line 167 of file magicblast_options.hpp.

◆ GetGapExtensionCost() [6/7]

int CBlastRPSInfo::GetGapExtensionCost ( ) const

Returns the gap extension cost associated with the scoring matrix above.

Definition at line 639 of file rps_aux.cpp.

References CBlastRPSInfo::m_RpsInfo.

Referenced by CSetupFactory::CreateRpsStructures().

◆ GetGapExtensionCost() [7/7]

int CBlastOptionsLocal::GetGapExtensionCost ( void  ) const
inline

◆ GetGapExtnAlgorithm() [1/3]

EBlastPrelimGapExt CBlastNucleotideOptionsHandle::GetGapExtnAlgorithm ( ) const
inline

Returns GapExtnAlgorithm.

Definition at line 168 of file blast_nucl_options.hpp.

Referenced by BOOST_FIXTURE_TEST_CASE().

◆ GetGapExtnAlgorithm() [2/3]

EBlastPrelimGapExt CBlastOptions::GetGapExtnAlgorithm ( ) const

◆ GetGapExtnAlgorithm() [3/3]

EBlastPrelimGapExt CBlastOptionsLocal::GetGapExtnAlgorithm ( ) const
inline

◆ GetGaplessColumnWeights()

void CScorematPssmConverter::GetGaplessColumnWeights ( const objects::CPssmWithParameters &  pssm,
vector< double > &  retval 
)
static

Returns the relative gapless PSSM column weights to pseudocounts for the provided PSSM.

Parameters
pssmPSSM to extract data from [in]
retvalvector containing the gapless column weights or an empty vector if this data is not available [in|out]

Definition at line 355 of file psiblast_aux_priv.cpp.

References copy(), ctll::empty(), CPssmIntermediateData_Base::GetGaplessColumnWeights(), and CPssm_Base::GetIntermediateData().

◆ GetGapOpeningCost() [1/7]

int CBlastNucleotideOptionsHandle::GetGapOpeningCost ( ) const
inline

Returns GapOpeningCost.

Definition at line 201 of file blast_nucl_options.hpp.

Referenced by BOOST_FIXTURE_TEST_CASE().

◆ GetGapOpeningCost() [2/7]

int CBlastOptions::GetGapOpeningCost ( ) const

◆ GetGapOpeningCost() [3/7]

int CBlastProteinOptionsHandle::GetGapOpeningCost ( ) const
inline

◆ GetGapOpeningCost() [4/7]

int CBlastRPSOptionsHandle::GetGapOpeningCost ( ) const
inline

Returns GapOpeningCost.

Definition at line 116 of file blast_rps_options.hpp.

◆ GetGapOpeningCost() [5/7]

int CMagicBlastOptionsHandle::GetGapOpeningCost ( ) const
inline

Return gap opening cost.

Definition at line 160 of file magicblast_options.hpp.

◆ GetGapOpeningCost() [6/7]

int CBlastRPSInfo::GetGapOpeningCost ( ) const

Returns the gap opening cost associated with the scoring matrix above.

Definition at line 633 of file rps_aux.cpp.

References CBlastRPSInfo::m_RpsInfo.

Referenced by CSetupFactory::CreateRpsStructures().

◆ GetGapOpeningCost() [7/7]

int CBlastOptionsLocal::GetGapOpeningCost ( void  ) const
inline

◆ GetGappedKarlinBlk()

const Blast_KarlinBlk* CBlastAncillaryData::GetGappedKarlinBlk ( ) const
inline

Retrieve gapped Karlin parameters.

Definition at line 102 of file blast_results.hpp.

Referenced by s_BuildArchiveAll().

◆ GetGappedMode() [1/3]

bool CBlastOptions::GetGappedMode ( ) const

◆ GetGappedMode() [2/3]

bool CBlastOptionsHandle::GetGappedMode ( ) const
inline

Returns GappedMode.

Definition at line 276 of file blast_options_handle.hpp.

References CBlastOptions::GetGappedMode(), and CBlastOptionsHandle::m_Opts.

Referenced by BOOST_AUTO_TEST_CASE(), and BOOST_FIXTURE_TEST_CASE().

◆ GetGappedMode() [3/3]

bool CBlastOptionsLocal::GetGappedMode ( void  ) const
inline

Returns true if gapped BLAST is set, false otherwise.

Definition at line 1544 of file blast_options_local_priv.hpp.

References BlastScoringOptions::gapped_calculation, CBlastOptionsLocal::m_ScoringOpts, and true.

Referenced by CBlastOptions::GetGappedMode().

◆ GetGapTracebackAlgorithm() [1/3]

EBlastTbackExt CBlastNucleotideOptionsHandle::GetGapTracebackAlgorithm ( ) const
inline

Returns GapTracebackAlgorithm.

Definition at line 175 of file blast_nucl_options.hpp.

Referenced by BOOST_FIXTURE_TEST_CASE().

◆ GetGapTracebackAlgorithm() [2/3]

EBlastTbackExt CBlastOptions::GetGapTracebackAlgorithm ( ) const

◆ GetGapTracebackAlgorithm() [3/3]

EBlastTbackExt CBlastOptionsLocal::GetGapTracebackAlgorithm ( ) const
inline

◆ GetGapTrigger() [1/3]

double CBlastOptions::GetGapTrigger ( ) const

◆ GetGapTrigger() [2/3]

double CBlastOptionsHandle::GetGapTrigger ( ) const
inline

Returns GapTrigger.

Definition at line 210 of file blast_options_handle.hpp.

References CBlastOptions::GetGapTrigger(), and CBlastOptionsHandle::m_Opts.

Referenced by BOOST_FIXTURE_TEST_CASE().

◆ GetGapTrigger() [3/3]

double CBlastOptionsLocal::GetGapTrigger ( ) const
inline

◆ GetGapXDropoff() [1/4]

double CBlastOptions::GetGapXDropoff ( ) const

◆ GetGapXDropoff() [2/4]

double CBlastOptionsHandle::GetGapXDropoff ( ) const
inline

Returns GapXDropoff.

Definition at line 204 of file blast_options_handle.hpp.

References CBlastOptions::GetGapXDropoff(), and CBlastOptionsHandle::m_Opts.

Referenced by BOOST_FIXTURE_TEST_CASE().

◆ GetGapXDropoff() [3/4]

int CMagicBlastOptionsHandle::GetGapXDropoff ( ) const
inline

Return x-dropoff parameter for gapped alignment.

Definition at line 144 of file magicblast_options.hpp.

◆ GetGapXDropoff() [4/4]

double CBlastOptionsLocal::GetGapXDropoff ( ) const
inline

◆ GetGapXDropoffFinal() [1/3]

double CBlastOptions::GetGapXDropoffFinal ( ) const

◆ GetGapXDropoffFinal() [2/3]

double CBlastOptionsHandle::GetGapXDropoffFinal ( ) const
inline

Returns GapXDropoffFinal.

Definition at line 216 of file blast_options_handle.hpp.

References CBlastOptions::GetGapXDropoffFinal(), and CBlastOptionsHandle::m_Opts.

Referenced by BOOST_FIXTURE_TEST_CASE().

◆ GetGapXDropoffFinal() [3/3]

double CBlastOptionsLocal::GetGapXDropoffFinal ( ) const
inline

◆ GetGeneticCodeId() [1/3]

Uint4 CBlastQuerySourceBioseqSet::GetGeneticCodeId ( int  index) const
virtual

Retrieve the genetic code associated with a sequence.

Parameters
indexindex of the sequence in the sequence container [in]

Implements IBlastQuerySource.

Definition at line 294 of file bioseq_extract_data_priv.cpp.

References Get(), ITERATE, CBlastQuerySourceBioseqSet::m_Bioseqs, CBlastQuerySourceBioseqSet::m_IsProt, and max().

◆ GetGeneticCodeId() [2/3]

Uint4 CBlastQuerySourceOM::GetGeneticCodeId ( int  index) const
virtual

Retrieve the genetic code associated with a sequence.

Parameters
indexindex of the sequence in the sequence container [in]

Implements IBlastQuerySource.

Definition at line 298 of file blast_objmgr_tools.cpp.

References CBlastQueryVector::GetBlastSearchQuery(), i, CBlastQuerySourceOM::m_QueryVector, CBlastQuerySourceOM::m_TSeqLocVector, and CRef< C, Locker >::NotEmpty().

◆ GetGeneticCodeId() [3/3]

virtual Uint4 IBlastQuerySource::GetGeneticCodeId ( int  index) const
pure virtual

Retrieve the genetic code associated with a sequence.

Parameters
indexindex of the sequence in the sequence container [in]

Implemented in CBlastQuerySourceOM, and CBlastQuerySourceBioseqSet.

Referenced by SetupQueries_OMF(), and SetupSubjects_OMF().

◆ GetGiList() [1/2]

list< TGi > CBlastOptionsBuilder::GetGiList ( )

Get the GI list.

Definition at line 732 of file blast_options_builder.cpp.

References CBlastOptionsBuilder::m_GiList.

Referenced by CRemoteBlast::GetSearchOptions(), and s_ImportDatabase().

◆ GetGiList() [2/2]

const CRef< CSeqDBGiList > & CSearchDatabase::GetGiList ( ) const

◆ GetGiListLimitation()

const CSearchDatabase::TGiList CSearchDatabase::GetGiListLimitation ( ) const

◆ GetGumbelBlk()

const Blast_GumbelBlk* CBlastAncillaryData::GetGumbelBlk ( ) const
inline

Retrieve gumbel parameters.

Definition at line 92 of file blast_results.hpp.

◆ GetHitlistSize() [1/3]

int CBlastOptions::GetHitlistSize ( ) const

◆ GetHitlistSize() [2/3]

int CBlastOptionsHandle::GetHitlistSize ( ) const
inline

Returns HitlistSize.

Definition at line 225 of file blast_options_handle.hpp.

References CBlastOptions::GetHitlistSize(), and CBlastOptionsHandle::m_Opts.

Referenced by BOOST_AUTO_TEST_CASE(), and BOOST_FIXTURE_TEST_CASE().

◆ GetHitlistSize() [3/3]

int CBlastOptionsLocal::GetHitlistSize ( ) const
inline

◆ GetHitSaveOpts() [1/2]

BlastHitSavingOptions * CBlastOptions::GetHitSaveOpts ( ) const
private

◆ GetHitSaveOpts() [2/2]

BlastHitSavingOptions* CBlastOptionsLocal::GetHitSaveOpts ( ) const
inlineprivate

◆ GetHTMLFreeString()

string CReference::GetHTMLFreeString ( EPublication  pub)
static

Reference for requested publication without umlaut.

Definition at line 118 of file version.cpp.

References CReference::GetString(), and offset.

◆ GetId() [1/4]

list< CRef< CSeq_id > > CSeqVecSeqInfoSrc::GetId ( Uint4  index) const
virtual

Retrieve a sequence identifier given its index in the vector.

Parameters
indexthe ordinal number to retrieve [in]

Implements IBlastSeqInfoSrc.

Definition at line 61 of file seqinfosrc_seqvec.cpp.

References GetId(), CSeqVecSeqInfoSrc::m_SeqVec, NCBI_THROW, and CRef< C, Locker >::Reset().

Referenced by BOOST_AUTO_TEST_CASE().

◆ GetId() [2/4]

list< CRef< CSeq_id > > CBioseqSeqInfoSrc::GetId ( Uint4  index) const
virtual

Retrieve a sequence identifier given its index in the vector.

Parameters
indexthe ordinal number to retrieve [in]

Implements IBlastSeqInfoSrc.

Definition at line 63 of file seqinfosrc_bioseq.cpp.

References _ASSERT, CSeq_loc::GetId(), CBlastQuerySourceBioseqSet::GetSeqLoc(), CBioseqSeqInfoSrc::m_DataSource, CRef< C, Locker >::NotEmpty(), and CConstRef< C, Locker >::NotEmpty().

Referenced by CBioseqSeqInfoSrc::GetSeqLoc().

◆ GetId() [3/4]

virtual list< CRef<objects::CSeq_id> > IBlastSeqInfoSrc::GetId ( Uint4  index) const
pure virtual

Method to retrieve a sequence identifier given its ordinal number.

Parameters
indexthe ordinal number to retrieve [in]

Implemented in CSeqDbSeqInfoSrc, CBioseqSeqInfoSrc, and CSeqVecSeqInfoSrc.

Referenced by GetFilteredRedundantGis(), and GetFilteredRedundantSeqids().

◆ GetId() [4/4]

list< CRef< CSeq_id > > CSeqDbSeqInfoSrc::GetId ( Uint4  oid) const
virtual

Retrieve a sequence identifier given its ordinal number.

Parameters
indexthe ordinal number to retrieve [in]

Implements IBlastSeqInfoSrc.

Definition at line 67 of file seqinfosrc_seqdb.cpp.

References CSeqDB::GetSeqIDs(), and CSeqDbSeqInfoSrc::m_iSeqDb.

Referenced by BOOST_AUTO_TEST_CASE(), CSeqDbSeqInfoSrc::GetMasks(), and CSeqDbSeqInfoSrc::GetSeqLoc().

◆ GetIgAnnotation()

const CRef<CIgAnnotation>& CIgBlastResults::GetIgAnnotation ( ) const
inline

Definition at line 206 of file igblast.hpp.

References CIgBlastResults::m_Annotation.

◆ GetIgnoreMsaMaster() [1/2]

bool CBlastOptions::GetIgnoreMsaMaster ( ) const

◆ GetIgnoreMsaMaster() [2/2]

bool CBlastOptionsLocal::GetIgnoreMsaMaster ( ) const
inline

◆ GetImpalaScaleFactor() [1/2]

double CPsiBlastInputFreqRatios::GetImpalaScaleFactor ( )
inlinevirtual

Obtain the IMPALA Scale Factor value to use when building the PSSM.

Reimplemented from IPssmInputFreqRatios.

Definition at line 124 of file psi_pssm_input.hpp.

References IPssmInputFreqRatios::GetImpalaScaleFactor().

◆ GetImpalaScaleFactor() [2/2]

virtual double IPssmInputFreqRatios::GetImpalaScaleFactor ( )
inlinevirtual

◆ GetInclusionThreshold() [1/3]

double CBlastOptions::GetInclusionThreshold ( ) const

◆ GetInclusionThreshold() [2/3]

double CPSIBlastOptionsHandle::GetInclusionThreshold ( ) const
inline

Returns InclusionThreshold.

Definition at line 66 of file psiblast_options.hpp.

Referenced by BOOST_AUTO_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), and PsiBlastComputePssmFromAlignment().

◆ GetInclusionThreshold() [3/3]

double CBlastOptionsLocal::GetInclusionThreshold ( ) const
inline

◆ GetIndexName() [1/2]

const string CBlastOptions::GetIndexName ( ) const

◆ GetIndexName() [2/2]

const string CBlastOptionsLocal::GetIndexName ( void  ) const
inline

◆ GetInformationContent()

void CScorematPssmConverter::GetInformationContent ( const objects::CPssmWithParameters &  pssm,
vector< double > &  retval 
)
static

Returns the information content per position of the PSSM.

Parameters
pssmPSSM to extract data from [in]
retvalvector containing the information content or an empty vector if this data is not available [in|out]

Definition at line 337 of file psiblast_aux_priv.cpp.

References copy(), ctll::empty(), CPssmIntermediateData_Base::GetInformationContent(), and CPssm_Base::GetIntermediateData().

◆ GetInitWordOpts() [1/2]

BlastInitialWordOptions * CBlastOptions::GetInitWordOpts ( ) const
private

Returns BlastInitialWordOptions for eLocal objects, NULL for eRemote.

Definition at line 2658 of file blast_options_cxx.cpp.

References CBlastOptionsLocal::GetInitWordOpts(), and CBlastOptions::m_Local.

◆ GetInitWordOpts() [2/2]

BlastInitialWordOptions* CBlastOptionsLocal::GetInitWordOpts ( ) const
inlineprivate

◆ GetIntervalSizes()

void CScorematPssmConverter::GetIntervalSizes ( const objects::CPssmWithParameters &  pssm,
vector< int > &  retval 
)
static

Length of the aligned regions per position of the query sequence.

Parameters
pssmPSSM to extract data from [in]
retvalvector containing the interval sizes or an empty vector if this data is not available [in|out]

Definition at line 390 of file psiblast_aux_priv.cpp.

References copy(), ctll::empty(), CPssm_Base::GetIntermediateData(), and CPssmIntermediateData_Base::GetIntervalSizes().

◆ GetIsOldStyleMBIndex() [1/2]

bool CBlastOptions::GetIsOldStyleMBIndex ( ) const

◆ GetIsOldStyleMBIndex() [2/2]

bool CBlastOptionsLocal::GetIsOldStyleMBIndex ( ) const
inline

◆ GetIsProtein() [1/2]

bool CMultiSeqInfo::GetIsProtein ( void  )
inline

Answers whether sequences in this object are protein or nucleotide.

Definition at line 109 of file seqsrc_multiseq.cpp.

References CMultiSeqInfo::m_ibIsProt.

◆ GetIsProtein() [2/2]

bool CQueryFactoryInfo::GetIsProtein ( void  )
inline

Answers whether sequences in this object are protein or nucleotide.

Definition at line 186 of file seqsrc_query_factory.cpp.

References CQueryFactoryInfo::m_IsProt.

◆ GetIterationNumber()

unsigned int CPsiBlastIterationState::GetIterationNumber ( ) const

◆ GetJDomain()

int CIgAnnotationInfo::GetJDomain ( const string sid)
inline

◆ GetKABlocks()

list< CRef< objects::CBlast4_ka_block > > CRemoteBlast::GetKABlocks ( void  )

Get the Karlin/Altschul parameter blocks produced by the search.

Returns
List of references to KA blocks.

Definition at line 561 of file remote_blast.cpp.

References CRemoteBlast::x_GetGSRR().

Referenced by CRemoteBlast::GetResultSet().

◆ GetLastChunk() [1/2]

int CQueryDataPerChunk::GetLastChunk ( int  global_query_index)

get the last chunk where query identified with global_query_index is found

Parameters
global_query_indexindex of the query in the context of the full,non-split query [in]
Returns
chunk number where query is last found

Definition at line 371 of file split_query_aux_priv.cpp.

References i, CQueryDataPerChunk::kUninitialized, CQueryDataPerChunk::m_LastChunkForQueryCache, and CQueryDataPerChunk::m_QueryIndicesPerChunk.

Referenced by CQueryDataPerChunk::GetLastChunk(), and CQuerySplitter::x_ComputeContextOffsets_TranslatedQueries().

◆ GetLastChunk() [2/2]

int CQueryDataPerChunk::GetLastChunk ( size_t  chunk_num,
int  context_in_chunk 
)

get the last chunk where query identified with global_query_index is found

Parameters
chunk_numchunk number where query is found [in]
context_in_chunkwhich context within this chunk contains query [in]
Returns
chunk number where query is last found

Definition at line 362 of file split_query_aux_priv.cpp.

References _ASSERT, CQueryDataPerChunk::GetLastChunk(), CQueryDataPerChunk::m_QueryIndicesPerChunk, ncbi::grid::netcache::search::fields::size, and CQueryDataPerChunk::x_ContextInChunkToQueryIndex().

◆ GetLastId()

const CSeq_id& CMagicBlastResults::GetLastId ( void  ) const
inline

Get sequence id of the last sequence of a paired read.

Definition at line 198 of file magicblast.hpp.

References CMagicBlastResults::m_MateId.

◆ GetLastInfo()

TResultsInfo CMagicBlastResults::GetLastInfo ( void  ) const
inline

Get alignment flags for the mate.

Definition at line 189 of file magicblast.hpp.

References CMagicBlastResults::m_LastInfo.

◆ GetLength() [1/9]

TSeqPos CBlastQuerySourceOM::GetLength ( int  i) const
virtual

◆ GetLength() [2/9]

TSeqPos CBlastQuerySourceBioseqSet::GetLength ( int  index) const
virtual

Return the length of a sequence.

Parameters
indexindex of the sequence in the sequence container [in]

Implements IBlastQuerySource.

Definition at line 332 of file bioseq_extract_data_priv.cpp.

References NStr::IntToString(), CBlastQuerySourceBioseqSet::m_Bioseqs, and NCBI_THROW.

Referenced by CBioseqSeqInfoSrc::GetLength().

◆ GetLength() [3/9]

virtual TSeqPos IBlastQuerySource::GetLength ( int  index) const
pure virtual

Return the length of a sequence.

Parameters
indexindex of the sequence in the sequence container [in]

Implemented in CBlastQuerySourceBioseqSet, and CBlastQuerySourceOM.

Referenced by CObjMgr_LocalQueryData::GetSeqLength(), CObjMgrFree_LocalQueryData::GetSeqLength(), SetupQueries_OMF(), SetupQueryInfo_OMF(), and SetupSubjects_OMF().

◆ GetLength() [4/9]

Uint4 CSeqVecSeqInfoSrc::GetLength ( Uint4  index) const
virtual

Retrieve sequence length given its index in the vector.

Parameters
indexthe ordinal number to retrieve [in]

Implements IBlastSeqInfoSrc.

Definition at line 88 of file seqinfosrc_seqvec.cpp.

References GetLength(), CSeqVecSeqInfoSrc::m_SeqVec, and NCBI_THROW.

Referenced by BOOST_AUTO_TEST_CASE().

◆ GetLength() [5/9]

Uint4 CBioseqSeqInfoSrc::GetLength ( Uint4  index) const
virtual

Retrieve sequence length given its index in the vector.

Parameters
indexthe ordinal number to retrieve [in]

Implements IBlastSeqInfoSrc.

Definition at line 79 of file seqinfosrc_bioseq.cpp.

References CBlastQuerySourceBioseqSet::GetLength(), and CBioseqSeqInfoSrc::m_DataSource.

◆ GetLength() [6/9]

virtual Uint4 IBlastSeqInfoSrc::GetLength ( Uint4  index) const
pure virtual

Method to retrieve a sequence length given its ordinal number.

Parameters
indexthe ordinal number to retrieve [in]

Implemented in CSeqDbSeqInfoSrc, CBioseqSeqInfoSrc, and CSeqVecSeqInfoSrc.

◆ GetLength() [7/9]

Uint4 CSeqDbSeqInfoSrc::GetLength ( Uint4  oid) const
virtual

Retrieve sequence length given its ordinal number.

Parameters
indexthe ordinal number to retrieve [in]

Implements IBlastSeqInfoSrc.

Definition at line 77 of file seqinfosrc_seqdb.cpp.

References CSeqDB::GetSeqLength(), and CSeqDbSeqInfoSrc::m_iSeqDb.

Referenced by BOOST_AUTO_TEST_CASE().

◆ GetLength() [8/9]

int CCddInputData::CHitSegment::GetLength ( void  ) const
inline

Get length of the hit segment in residues.

Returns
Segment length

Definition at line 248 of file cdd_pssm_input.hpp.

References COpenRange< Position >::GetLength(), and CCddInputData::CHitSegment::m_QueryRange.

◆ GetLength() [9/9]

int CCddInputData::CHit::GetLength ( void  ) const

Get hit length in residues, counts number of matching residues, gaps are not counted.

Returns
Length

Definition at line 402 of file cdd_pssm_input.cpp.

References ITERATE, and result.

◆ GetLengthAdjustment()

Int8 CBlastAncillaryData::GetLengthAdjustment ( ) const
inline

Retrieve the length adjustment for boundary conditions.

Definition at line 122 of file blast_results.hpp.

Referenced by s_BuildArchiveAll().

◆ GetLocality()

CBlastOptions::EAPILocality CBlastOptions::GetLocality ( void  ) const

◆ GetLongestIntronLength() [1/5]

int CBlastOptions::GetLongestIntronLength ( void  ) const

for linking HSPs with uneven gaps

Definition at line 2055 of file blast_options_cxx.cpp.

References CBlastOptionsLocal::GetLongestIntronLength(), CBlastOptions::m_Local, and CBlastOptions::x_Throwx().

◆ GetLongestIntronLength() [2/5]

int CBlastxOptionsHandle::GetLongestIntronLength ( void  ) const
inline

Returns LongestIntronLength.

Definition at line 94 of file blastx_options.hpp.

◆ GetLongestIntronLength() [3/5]

int CTBlastnOptionsHandle::GetLongestIntronLength ( void  ) const
inline

Returns LongestIntronLength.

Definition at line 77 of file tblastn_options.hpp.

◆ GetLongestIntronLength() [4/5]

int CBlastOptionsLocal::GetLongestIntronLength ( void  ) const
inline

◆ GetLongestIntronLength() [5/5]

int CMagicBlastOptionsHandle::GetLongestIntronLength ( void  ) const
inline

Get max intron length.

Returns
Max intron length

Definition at line 215 of file magicblast_options.hpp.

◆ GetLookupDbFilter() [1/3]

bool CMagicBlastOptionsHandle::GetLookupDbFilter ( void  ) const
inline

Return db filtering option for the lookup table.

The filtering removes from lookup table words that are frequent in the database.

Returns
If true, words that are frequent in the dabase will be removed

Definition at line 79 of file magicblast_options.hpp.

◆ GetLookupDbFilter() [2/3]

bool CBlastOptions::GetLookupDbFilter ( void  ) const

◆ GetLookupDbFilter() [3/3]

bool CBlastOptionsLocal::GetLookupDbFilter ( void  ) const
inline

◆ GetLookupTableStride() [1/3]

Uint4 CBlastOptions::GetLookupTableStride ( ) const

◆ GetLookupTableStride() [2/3]

int CMagicBlastOptionsHandle::GetLookupTableStride ( ) const
inline

Return number of words skipped betweem collected ones when creating a lookup table.

Definition at line 99 of file magicblast_options.hpp.

◆ GetLookupTableStride() [3/3]

Uint4 CBlastOptionsLocal::GetLookupTableStride ( ) const
inline

Skip words after each collected one while creating a lookup table (currently only for megablast)

Definition at line 622 of file blast_options_local_priv.hpp.

References CBlastOptionsLocal::m_LutOpts, and LookupTableOptions::stride.

Referenced by CBlastOptions::GetLookupTableStride().

◆ GetLookupTableType() [1/3]

ELookupTableType CBlastNucleotideOptionsHandle::GetLookupTableType ( ) const
inline

Returns LookupTableType.

Definition at line 74 of file blast_nucl_options.hpp.

Referenced by BOOST_FIXTURE_TEST_CASE().

◆ GetLookupTableType() [2/3]

ELookupTableType CBlastOptions::GetLookupTableType ( ) const

◆ GetLookupTableType() [3/3]

ELookupTableType CBlastOptionsLocal::GetLookupTableType ( ) const
inline

◆ GetLowestEvalue()

double GetLowestEvalue ( const objects::CDense_seg::TScores &  scores,
double *  bit_score = NULL 
)

Returns the lowest score from the list of scores in CDense_seg::TScores.

Parameters
scoreslist of scores [in]
bit_scoreIf not NULL, returns the bit score corresponding to the lowest evalue found [in|out]

Definition at line 529 of file psiblast_aux_priv.cpp.

References BLAST_EXPECT_VALUE, i, ITERATE, s_GetBitScore(), s_GetEvalue(), and tmp.

Referenced by CPsiBlastAlignmentProcessor::operator()(), and CPsiBlastInputData::x_ExtractAlignmentData().

◆ GetLowScorePerc() [1/3]

double CBlastOptions::GetLowScorePerc ( ) const

Sets a low score to drop ungapped alignments if hit list is full.

Definition at line 2138 of file blast_options_cxx.cpp.

References CBlastOptionsLocal::GetLowScorePerc(), CBlastOptions::m_Local, and CBlastOptions::x_Throwx().

Referenced by CBlastOptionsHandle::GetLowScorePerc().

◆ GetLowScorePerc() [2/3]

double CBlastOptionsHandle::GetLowScorePerc ( ) const
inline

Returns low score percentage for ungapped alignments.

Definition at line 300 of file blast_options_handle.hpp.

References CBlastOptions::GetLowScorePerc(), and CBlastOptionsHandle::m_Opts.

◆ GetLowScorePerc() [3/3]

double CBlastOptionsLocal::GetLowScorePerc ( ) const
inline

Sets low score percentages.

Definition at line 1570 of file blast_options_local_priv.hpp.

References BlastHitSavingOptions::low_score_perc, and CBlastOptionsLocal::m_HitSaveOpts.

Referenced by CBlastOptions::GetLowScorePerc().

◆ GetLutOpts() [1/2]

LookupTableOptions * CBlastOptions::GetLutOpts ( ) const
private

Returns LookupTableOptions for eLocal objects, NULL for eRemote.

Definition at line 2652 of file blast_options_cxx.cpp.

References CBlastOptionsLocal::GetLutOpts(), and CBlastOptions::m_Local.

◆ GetLutOpts() [2/2]

LookupTableOptions* CBlastOptionsLocal::GetLutOpts ( ) const
inlineprivate

◆ GetMask() [1/3]

CConstRef< CSeq_loc > CBlastQuerySourceOM::GetMask ( int  i)
virtual

Return the filtered (masked) regions for a sequence.

Parameters
iindex of the sequence in the sequence container [in]

Implements IBlastQuerySource.

Definition at line 264 of file blast_objmgr_tools.cpp.

References CBlastQueryVector::GetMaskedRegions(), i, CBlastQuerySourceOM::m_QueryVector, CBlastQuerySourceOM::m_TSeqLocVector, MaskedQueryRegionsToPackedSeqLoc(), CRef< C, Locker >::NotEmpty(), and CBlastQuerySourceOM::x_CalculateMasks().

◆ GetMask() [2/3]

CConstRef< objects::CSeq_loc > CBlastQuerySourceBioseqSet::GetMask ( int  index)
virtual

Return the filtered (masked) regions for a sequence.

Parameters
indexindex of the sequence in the sequence container [in]

Implements IBlastQuerySource.

Definition at line 266 of file bioseq_extract_data_priv.cpp.

◆ GetMask() [3/3]

virtual CConstRef<objects::CSeq_loc> IBlastQuerySource::GetMask ( int  index)
pure virtual

Return the filtered (masked) regions for a sequence.

Parameters
indexindex of the sequence in the sequence container [in]

Implemented in CBlastQuerySourceBioseqSet, and CBlastQuerySourceOM.

Referenced by SetupSubjects_OMF().

◆ GetMaskAlgoId()

Int4 CSeqDbSrcNewArgs::GetMaskAlgoId ( ) const
inline

Returns the default filtering algorithm to use with sequence data extracted from this BlastSeqSrc.

Definition at line 591 of file seqsrc_seqdb.cpp.

Referenced by s_SeqDbSrcNew().

◆ GetMaskAtHash() [1/3]

bool CBlastOptions::GetMaskAtHash ( ) const

◆ GetMaskAtHash() [2/3]

bool CBlastOptionsHandle::GetMaskAtHash ( ) const
inline

Returns whether masking should only be done for lookup table creation.

Definition at line 198 of file blast_options_handle.hpp.

References CBlastOptions::GetMaskAtHash(), and CBlastOptionsHandle::m_Opts.

Referenced by BOOST_AUTO_TEST_CASE(), and BOOST_FIXTURE_TEST_CASE().

◆ GetMaskAtHash() [3/3]

bool CBlastOptionsLocal::GetMaskAtHash ( ) const
inline

◆ GetMaskedQueryRegions()

void CSearchResults::GetMaskedQueryRegions ( TMaskedQueryRegions flt_query_regions) const

Retrieve the query regions which were masked by BLAST.

Parameters
flt_query_regionsthe return value [in|out]

Definition at line 228 of file blast_results.cpp.

References CSearchResults::m_Masks.

◆ GetMaskedRegions() [1/3]

TMaskedQueryRegions CBlastQuerySourceOM::GetMaskedRegions ( int  i)
virtual

Return the filtered (masked) regions for a sequence.

Parameters
iindex of the sequence in the sequence container [in]

Implements IBlastQuerySource.

Definition at line 251 of file blast_objmgr_tools.cpp.

References CBlastQueryVector::GetMaskedRegions(), i, CBlastQuerySourceOM::m_Program, CBlastQuerySourceOM::m_QueryVector, CBlastQuerySourceOM::m_TSeqLocVector, mask, CRef< C, Locker >::NotEmpty(), PackedSeqLocToMaskedQueryRegions(), and CBlastQuerySourceOM::x_CalculateMasks().

◆ GetMaskedRegions() [2/3]

TMaskedQueryRegions CBlastQuerySourceBioseqSet::GetMaskedRegions ( int  index)
virtual

Return the filtered (masked) regions for a sequence.

Parameters
indexindex of the sequence in the sequence container [in]

Implements IBlastQuerySource.

Definition at line 272 of file bioseq_extract_data_priv.cpp.

◆ GetMaskedRegions() [3/3]

virtual TMaskedQueryRegions IBlastQuerySource::GetMaskedRegions ( int  index)
pure virtual

Return the filtered (masked) regions for a sequence.

Parameters
indexindex of the sequence in the sequence container [in]

Implemented in CBlastQuerySourceBioseqSet, and CBlastQuerySourceOM.

Referenced by s_GetRestrictedBlastSeqLocs().

◆ GetMaskLevel() [1/3]

int CBlastOptions::GetMaskLevel ( ) const

Masklevel filtering option -RMH-.

Definition at line 2095 of file blast_options_cxx.cpp.

References CBlastOptionsLocal::GetMaskLevel(), CBlastOptions::m_Local, and CBlastOptions::x_Throwx().

Referenced by CBlastOptionsHandle::GetMaskLevel().

◆ GetMaskLevel() [2/3]

int CBlastOptionsHandle::GetMaskLevel ( ) const
inline

Returns MaskLevel -RMH-.

Definition at line 288 of file blast_options_handle.hpp.

References CBlastOptions::GetMaskLevel(), and CBlastOptionsHandle::m_Opts.

◆ GetMaskLevel() [3/3]

int CBlastOptionsLocal::GetMaskLevel ( ) const
inline

Masklevel filtering option -RMH-.

Definition at line 1557 of file blast_options_local_priv.hpp.

References CBlastOptionsLocal::m_HitSaveOpts, and BlastHitSavingOptions::mask_level.

Referenced by CBlastOptions::GetMaskLevel().

◆ GetMasks() [1/9]

bool CSeqDbSeqInfoSrc::GetMasks ( Uint4  index,
const TSeqRange target_range,
TMaskedSubjRegions retval 
) const
virtual

Retrieves the subject masks for the corresponding index.

Parameters
indexthe ordinal number to retrieve [in]
target_rangerange for which to return masks for. Empty ranges indicate that no masks should be retrieved, whole ranges mean that masks for the whole sequence should be retrieved [in]
retvalthe masks will be returned through this parameter [out]
Returns
true if there were masks returned in retval, otherwise false.

Implements IBlastSeqInfoSrc.

Definition at line 97 of file seqinfosrc_seqdb.cpp.

References COpenRange< TSeqPos >::GetEmpty(), and CSeqDbSeqInfoSrc::m_FilteringAlgoId.

◆ GetMasks() [2/9]

bool CSeqVecSeqInfoSrc::GetMasks ( Uint4  index,
const TSeqRange target_range,
TMaskedSubjRegions retval 
) const
virtual

Retrieves the subject masks for the corresponding index.

Parameters
indexthe ordinal number to retrieve [in]
target_rangerange for which to return masks for. Empty ranges indicate that no masks should be retrieved, whole ranges mean that masks for the whole sequence should be retrieved [in]
retvalthe masks will be returned through this parameter [out]
Returns
true if there were masks returned in retval, otherwise false.

Implements IBlastSeqInfoSrc.

Definition at line 127 of file seqinfosrc_seqvec.cpp.

References COpenRange< TSeqPos >::GetEmpty().

◆ GetMasks() [3/9]

bool CBioseqSeqInfoSrc::GetMasks ( Uint4  index,
const TSeqRange target_range,
TMaskedSubjRegions retval 
) const
virtual

Retrieves the subject masks for the corresponding index.

Parameters
indexthe ordinal number to retrieve [in]
target_rangerange for which to return masks for. Empty ranges indicate that no masks should be retrieved, whole ranges mean that masks for the whole sequence should be retrieved [in]
retvalthe masks will be returned through this parameter [out]
Returns
true if there were masks returned in retval, otherwise false.

Implements IBlastSeqInfoSrc.

Definition at line 94 of file seqinfosrc_bioseq.cpp.

◆ GetMasks() [4/9]

virtual bool IBlastSeqInfoSrc::GetMasks ( Uint4  index,
const TSeqRange target_range,
TMaskedSubjRegions retval 
) const
pure virtual

Retrieves the subject masks for the corresponding index.

Parameters
indexthe ordinal number to retrieve [in]
target_rangerange for which to return masks for. Empty ranges indicate that no masks should be retrieved, whole ranges mean that masks for the whole sequence should be retrieved [in]
retvalthe masks will be returned through this parameter [out]
Returns
true if there were masks returned in retval, otherwise false.

Implemented in CBioseqSeqInfoSrc, CSeqVecSeqInfoSrc, and CSeqDbSeqInfoSrc.

Referenced by BlastHitList2SeqAlign_OMF(), and s_BLAST_OneSubjectResults2CSeqAlign().

◆ GetMasks() [5/9]

bool CSeqDbSeqInfoSrc::GetMasks ( Uint4  index,
const vector< TSeqRange > &  target_ranges,
TMaskedSubjRegions retval 
) const
virtual

Retrieves the subject masks for the corresponding index.

Parameters
indexthe ordinal number to retrieve [in]
target_rangesranges for which to return masks for. Empty ranges indicate that no masks should be retrieved, whole ranges mean that masks for the whole sequence should be retrieved [in]
retvalthe masks will be returned through this parameter [out]
Returns
true if there were masks returned in retval, otherwise false.

Implements IBlastSeqInfoSrc.

Definition at line 109 of file seqinfosrc_seqdb.cpp.

References CSeqLocInfo::eFrameNotSet, ctll::front(), COpenRange< TSeqPos >::GetEmpty(), CSeqDbSeqInfoSrc::GetId(), CSeqDB::GetMaskData(), ITERATE, CSeqDbSeqInfoSrc::m_FilteringAlgoId, CSeqDbSeqInfoSrc::m_iSeqDb, and si.

◆ GetMasks() [6/9]

bool CSeqVecSeqInfoSrc::GetMasks ( Uint4  index,
const vector< TSeqRange > &  target_ranges,
TMaskedSubjRegions retval 
) const
virtual

Retrieves the subject masks for the corresponding index.

Parameters
indexthe ordinal number to retrieve [in]
target_rangesrange for which to return masks for. Empty ranges indicate that no masks should be retrieved, whole ranges mean that masks for the whole sequence should be retrieved [in]
retvalthe masks will be returned through this parameter [out]
Returns
true if there were masks returned in retval, otherwise false.

Implements IBlastSeqInfoSrc.

Definition at line 139 of file seqinfosrc_seqvec.cpp.

References CSeqLocInfo::eFrameNotSet, ITERATE, CSeqVecSeqInfoSrc::m_SeqVec, mask, NCBI_THROW, and s_SeqIntervalToSeqLocInfo().

◆ GetMasks() [7/9]

bool CBioseqSeqInfoSrc::GetMasks ( Uint4  index,
const vector< TSeqRange > &  target_ranges,
TMaskedSubjRegions retval 
) const
virtual

Retrieves the subject masks for the corresponding index.

Parameters
indexthe ordinal number to retrieve [in]
target_rangesrange for which to return masks for. Empty ranges indicate that no masks should be retrieved, whole ranges mean that masks for the whole sequence should be retrieved [in]
retvalthe masks will be returned through this parameter [out]
Returns
true if there were masks returned in retval, otherwise false.

Implements IBlastSeqInfoSrc.

Definition at line 101 of file seqinfosrc_bioseq.cpp.

◆ GetMasks() [8/9]

virtual bool IBlastSeqInfoSrc::GetMasks ( Uint4  index,
const vector< TSeqRange > &  target_ranges,
TMaskedSubjRegions retval 
) const
pure virtual

Retrieves the subject masks for the corresponding index.

Parameters
indexthe ordinal number to retrieve [in]
target_rangesranges for which to return masks for. Empty ranges indicate that no masks should be retrieved, whole ranges mean that masks for the whole sequence should be retrieved [in]
retvalthe masks will be returned through this parameter [out]
Returns
true if there were masks returned in retval, otherwise false.

Implemented in CBioseqSeqInfoSrc, CSeqVecSeqInfoSrc, and CSeqDbSeqInfoSrc.

◆ GetMasks() [9/9]

TSeqLocInfoVector CRemoteBlast::GetMasks ( void  )

◆ GetMaskType() [1/2]

ESubjectMaskingType CSearchDatabase::GetMaskType ( ) const

◆ GetMaskType() [2/2]

ESubjectMaskingType CSeqDbSrcNewArgs::GetMaskType ( ) const
inline

Definition at line 592 of file seqsrc_seqdb.cpp.

Referenced by s_SeqDbSrcNew().

◆ GetMatchReward() [1/3]

int CBlastNucleotideOptionsHandle::GetMatchReward ( ) const
inline

Returns MatchReward.

Definition at line 183 of file blast_nucl_options.hpp.

Referenced by BOOST_AUTO_TEST_CASE(), and BOOST_FIXTURE_TEST_CASE().

◆ GetMatchReward() [2/3]

int CBlastOptions::GetMatchReward ( ) const

◆ GetMatchReward() [3/3]

int CBlastOptionsLocal::GetMatchReward ( void  ) const
inline

◆ GetMatrixName() [1/10]

const char* CPsiBlastInputClustalW::GetMatrixName ( void  )
inlinevirtual

Obtain the name of the underlying matrix to use when building the PSSM.

Reimplemented from IPssmInput_Base.

Definition at line 104 of file msa_pssm_input.hpp.

References IPssmInput_Base::GetMatrixName().

Referenced by BOOST_AUTO_TEST_CASE().

◆ GetMatrixName() [2/10]

const char* CPsiBlastInputFreqRatios::GetMatrixName ( void  )
inlinevirtual

Obtain the name of the underlying matrix to use when building the PSSM.

Reimplemented from IPssmInput_Base.

Definition at line 104 of file psi_pssm_input.hpp.

References IPssmInput_Base::GetMatrixName().

◆ GetMatrixName() [3/10]

const char * CPsiBlastInputData::GetMatrixName ( void  )
inlinevirtual

Obtain the name of the underlying matrix to use when building the PSSM.

Reimplemented from IPssmInput_Base.

Definition at line 219 of file psi_pssm_input.cpp.

References IPssmInput_Base::GetMatrixName(), and CPsiBlastInputData::m_MatrixName.

◆ GetMatrixName() [4/10]

virtual const char* IPssmInput_Base::GetMatrixName ( void  )
inlinevirtual

◆ GetMatrixName() [5/10]

const char* CBlastNucleotideOptionsHandle::GetMatrixName ( void  ) const
inline

Returns MatrixName.

Definition at line 195 of file blast_nucl_options.hpp.

Referenced by BOOST_FIXTURE_TEST_CASE().

◆ GetMatrixName() [6/10]

const char * CBlastOptions::GetMatrixName ( void  ) const

◆ GetMatrixName() [7/10]

const char* CBlastProteinOptionsHandle::GetMatrixName ( void  ) const
inline

◆ GetMatrixName() [8/10]

const char * CBlastRPSInfo::GetMatrixName ( void  ) const

Returns the name of the scoring matrix used to build the RPS-BLAST database.

Definition at line 627 of file rps_aux.cpp.

References CBlastRPSInfo::m_RpsInfo.

Referenced by CSetupFactory::CreateRpsStructures().

◆ GetMatrixName() [9/10]

const char * CBlastOptionsLocal::GetMatrixName ( void  ) const
inline

◆ GetMatrixName() [10/10]

const char* CCddInputData::GetMatrixName ( void  )
inlinevirtual

Get scoring matrix name.

Returns
Scoring matrix name

Reimplemented from IPssmInput_Base.

Definition at line 149 of file cdd_pssm_input.hpp.

References CCddInputData::m_MatrixName.

◆ GetMaxDbWordCount() [1/3]

Uint1 CBlastOptions::GetMaxDbWordCount ( void  ) const

Get maximum word count for lookup table word masking by database frequency.

Definition at line 963 of file blast_options_cxx.cpp.

References CBlastOptionsLocal::GetMaxDbWordCount(), CBlastOptions::m_Local, and CBlastOptions::x_Throwx().

◆ GetMaxDbWordCount() [2/3]

Uint1 CMagicBlastOptionsHandle::GetMaxDbWordCount ( void  ) const
inline

Get maximum word count for lookup table word masking by database frequency.

Definition at line 91 of file magicblast_options.hpp.

◆ GetMaxDbWordCount() [3/3]

Uint1 CBlastOptionsLocal::GetMaxDbWordCount ( void  ) const
inline

◆ GetMaxEditDistance() [1/3]

int CBlastOptions::GetMaxEditDistance ( ) const

◆ GetMaxEditDistance() [2/3]

int CMagicBlastOptionsHandle::GetMaxEditDistance ( ) const
inline

Definition at line 191 of file magicblast_options.hpp.

◆ GetMaxEditDistance() [3/3]

int CBlastOptionsLocal::GetMaxEditDistance ( ) const
inline

◆ GetMaxFractionAmbiguous()

double CMagicBlastOptionsHandle::GetMaxFractionAmbiguous ( ) const
inline

Get maximum fraction of ambiguous bases for query quality filtering.

Definition at line 118 of file magicblast_options.hpp.

◆ GetMaxHspsPerSubject() [1/3]

int CBlastOptions::GetMaxHspsPerSubject ( ) const

◆ GetMaxHspsPerSubject() [2/3]

int CBlastOptionsHandle::GetMaxHspsPerSubject ( ) const
inline

Returns MaxHspsPerSubjectQueryPair.

Definition at line 239 of file blast_options_handle.hpp.

References CBlastOptions::GetMaxHspsPerSubject(), and CBlastOptionsHandle::m_Opts.

Referenced by BOOST_AUTO_TEST_CASE().

◆ GetMaxHspsPerSubject() [3/3]

int CBlastOptionsLocal::GetMaxHspsPerSubject ( ) const
inline

◆ GetMaxLength() [1/2]

Uint4 CMultiSeqInfo::GetMaxLength ( )
inline

Setter and getter functions for the private fields.

Returns maximal length of a set of sequences.

Definition at line 79 of file seqsrc_multiseq.cpp.

References CMultiSeqInfo::m_iMaxLength.

◆ GetMaxLength() [2/2]

Uint4 CQueryFactoryInfo::GetMaxLength ( )
inline

Setter and getter functions for the private fields.

Returns maximal length of a set of sequences.

Definition at line 162 of file seqsrc_query_factory.cpp.

References CQueryFactoryInfo::m_MaxLength.

◆ GetMaxMismatches() [1/2]

int CBlastOptions::GetMaxMismatches ( ) const

◆ GetMaxMismatches() [2/2]

int CBlastOptionsLocal::GetMaxMismatches ( ) const
inline

◆ GetMaxNumHspPerSequence() [1/3]

int CBlastOptions::GetMaxNumHspPerSequence ( ) const

◆ GetMaxNumHspPerSequence() [2/3]

int CBlastOptionsHandle::GetMaxNumHspPerSequence ( ) const
inline

Returns MaxNumHspPerSequence.

Definition at line 231 of file blast_options_handle.hpp.

References CBlastOptions::GetMaxNumHspPerSequence(), and CBlastOptionsHandle::m_Opts.

Referenced by BOOST_FIXTURE_TEST_CASE().

◆ GetMaxNumHspPerSequence() [3/3]

int CBlastOptionsLocal::GetMaxNumHspPerSequence ( ) const
inline

◆ GetMBIndexLoaded() [1/2]

bool CBlastOptions::GetMBIndexLoaded ( ) const

◆ GetMBIndexLoaded() [2/2]

bool CBlastOptionsLocal::GetMBIndexLoaded ( ) const
inline

◆ GetMBTemplateLength() [1/2]

unsigned char CBlastOptions::GetMBTemplateLength ( ) const

Megablast only lookup table options.

Definition at line 982 of file blast_options_cxx.cpp.

References CBlastOptionsLocal::GetMBTemplateLength(), CBlastOptions::m_Local, and CBlastOptions::x_Throwx().

Referenced by CSetupFactory::InitializeMegablastDbIndex().

◆ GetMBTemplateLength() [2/2]

unsigned char CBlastOptionsLocal::GetMBTemplateLength ( ) const
inline

Megablast only lookup table options.

Definition at line 634 of file blast_options_local_priv.hpp.

References CBlastOptionsLocal::m_LutOpts, and LookupTableOptions::mb_template_length.

Referenced by CBlastOptions::GetMBTemplateLength().

◆ GetMBTemplateType() [1/2]

unsigned char CBlastOptions::GetMBTemplateType ( ) const

◆ GetMBTemplateType() [2/2]

unsigned char CBlastOptionsLocal::GetMBTemplateType ( ) const
inline

◆ GetMessages() [1/3]

void CBl2Seq::GetMessages ( TSearchMessages messages) const
inline

Returns error messages/warnings.

Definition at line 296 of file bl2seq.hpp.

References CBl2Seq::m_Messages.

Referenced by BOOST_AUTO_TEST_CASE().

◆ GetMessages() [2/3]

void ILocalQueryData::GetMessages ( TSearchMessages messages) const

Retrieve all error/warning messages.

Definition at line 142 of file query_data.cpp.

References ILocalQueryData::m_Messages.

Referenced by BlastSetupPreliminarySearchEx(), and CBlastTracebackSearch::x_Init().

◆ GetMessages() [3/3]

list<CRef<objects::CBlast4_error> >& CBlastAppDiagHandler::GetMessages ( void  )
inline

◆ GetMinDiagSeparation() [1/3]

int CBlastOptions::GetMinDiagSeparation ( ) const

◆ GetMinDiagSeparation() [2/3]

int CBlastOptionsHandle::GetMinDiagSeparation ( ) const
inline

Returns MinDiagSeparation.

Definition at line 270 of file blast_options_handle.hpp.

References CBlastOptions::GetMinDiagSeparation(), and CBlastOptionsHandle::m_Opts.

◆ GetMinDiagSeparation() [3/3]

int CBlastOptionsLocal::GetMinDiagSeparation ( ) const
inline

◆ GetMinDimerEntropy()

int CMagicBlastOptionsHandle::GetMinDimerEntropy ( ) const
inline

Get mininum dimer entropy for query quality filtering.

Definition at line 126 of file magicblast_options.hpp.

◆ GetMinHits()

int CBlastpKmerOptionsHandle::GetMinHits ( ) const
inline

Returns the number of hits to initiate calculation of Jaccard distance.

Definition at line 73 of file blastp_kmer_options.hpp.

Referenced by BOOST_AUTO_TEST_CASE(), CBlastKmerThread::Main(), and CBlastKmerSearch::Run().

◆ GetMinLength()

Uint4 CQueryFactoryInfo::GetMinLength ( )
inline

Returns minimal length of a set of sequences.

Definition at line 168 of file seqsrc_query_factory.cpp.

References CQueryFactoryInfo::m_MinLength.

◆ GetMismatchPenalty() [1/4]

int CBlastNucleotideOptionsHandle::GetMismatchPenalty ( ) const
inline

Returns MismatchPenalty.

Definition at line 189 of file blast_nucl_options.hpp.

Referenced by BOOST_AUTO_TEST_CASE(), and BOOST_FIXTURE_TEST_CASE().

◆ GetMismatchPenalty() [2/4]

int CBlastOptions::GetMismatchPenalty ( ) const

◆ GetMismatchPenalty() [3/4]

int CMagicBlastOptionsHandle::GetMismatchPenalty ( ) const
inline

Returns mismatch penalty.

Definition at line 153 of file magicblast_options.hpp.

◆ GetMismatchPenalty() [4/4]

int CBlastOptionsLocal::GetMismatchPenalty ( void  ) const
inline

◆ GetMismatchWindow() [1/2]

int CBlastOptions::GetMismatchWindow ( ) const

◆ GetMismatchWindow() [2/2]

int CBlastOptionsLocal::GetMismatchWindow ( ) const
inline

◆ GetMoleculeType()

CSearchDatabase::EMoleculeType CSearchDatabase::GetMoleculeType ( ) const

Accessor for the molecule type.

Definition at line 82 of file uniform_search.cpp.

References CSearchDatabase::m_MolType.

Referenced by CSearchDatabase::IsProtein().

◆ GetNegativeGiList() [1/2]

list< TGi > CBlastOptionsBuilder::GetNegativeGiList ( )

Get the negative GI list.

Definition at line 773 of file blast_options_builder.cpp.

References CBlastOptionsBuilder::m_NegativeGiList.

Referenced by CRemoteBlast::GetSearchOptions(), and s_ImportDatabase().

◆ GetNegativeGiList() [2/2]

const CRef< CSeqDBGiList > & CSearchDatabase::GetNegativeGiList ( ) const

◆ GetNegativeGiListLimitation()

const CSearchDatabase::TGiList CSearchDatabase::GetNegativeGiListLimitation ( ) const

◆ GetNegativeTaxidList() [1/3]

list< TTaxId > CBlastOptionsBuilder::GetNegativeTaxidList ( )

◆ GetNegativeTaxidList() [2/3]

set<TTaxId>& CRemoteBlast::GetNegativeTaxidList ( )
inline

◆ GetNegativeTaxidList() [3/3]

set< int > CImportStrategy::GetNegativeTaxidList ( )

◆ GetNextUnusedOID()

SIZE_TYPE CIndexedDb_New::GetNextUnusedOID ( void  ) const
private

Auxiliary function thet returns the oid value that is one more than the largest oid used so far.

Definition at line 654 of file blast_dbindex.cpp.

References CIndexedDb_New::SVolumeDescriptor::n_oids, CIndexedDb_New::SVolumeDescriptor::start_oid, and CIndexedDb_New::volumes_.

Referenced by CIndexedDb_New::AddIndexInfo().

◆ GetNumAlignedSequences()

unsigned int CPsiBlastInputData::GetNumAlignedSequences ( ) const
private

Returns the number of sequences that make up the multiple sequence alignment.

Exceptions
CBlastExceptionif this number hasn't been calculated yet (need to invoke Process() first!)

Definition at line 187 of file psi_pssm_input.cpp.

References _ASSERT, CPsiBlastInputData::m_MsaDimensions, and PSIMsaDimensions::num_seqs.

Referenced by CPsiBlastInputData::x_ExtractAlignmentData().

◆ GetNumberOfChunks()

Uint4 CQuerySplitter::GetNumberOfChunks ( ) const
inline

◆ GetNumberOfContexts()

unsigned int GetNumberOfContexts ( EBlastProgramType  p)

◆ GetNumberOfThreads()

size_t CThreadable::GetNumberOfThreads ( void  ) const
inline

◆ GetNumChunks()

size_t CSplitQueryBlk::GetNumChunks ( ) const

◆ GetNumExtensions()

Int4 CLocalBlast::GetNumExtensions ( )

Retrieve the number of extensions performed during the search.

Definition at line 296 of file local_blast.cpp.

References BlastUngappedStats::good_init_extends, SInternalData::m_Diagnostics, CLocalBlast::m_InternalData, and BlastDiagnostics::ungapped_stat.

Referenced by CBlastnNode::Main(), s_RunLocalVDBSearch(), and CBlastnApp::x_RunMTBySplitDB().

◆ GetNumFrames()

size_t CBlastQueryFilteredFrames::GetNumFrames ( ) const
inline

◆ GetNumMatchingSeqs()

void CScorematPssmConverter::GetNumMatchingSeqs ( const objects::CPssmWithParameters &  pssm,
vector< int > &  retval 
)
static

Gets the number of matching sequences per position of the PSSM.

Parameters
pssmPSSM to extract data from [in]
retvalvector containing the number of matching sequences or an empty vector if this data is not available [in|out]

Definition at line 408 of file psiblast_aux_priv.cpp.

References copy(), ctll::empty(), CPssm_Base::GetIntermediateData(), and CPssmIntermediateData_Base::GetNumMatchingSeqs().

◆ GetNumQueries() [1/4]

size_t CObjMgr_LocalQueryData::GetNumQueries ( void  )
virtual

◆ GetNumQueries() [2/4]

size_t CObjMgrFree_LocalQueryData::GetNumQueries ( void  )
virtual

◆ GetNumQueries() [3/4]

size_type CSearchResultSet::GetNumQueries ( ) const
inline

Return the number of unique query ID's represented by this object.

Definition at line 410 of file blast_results.hpp.

References CSearchResultSet::m_NumQueries.

Referenced by BOOST_AUTO_TEST_CASE().

◆ GetNumQueries() [4/4]

virtual size_t ILocalQueryData::GetNumQueries ( )
pure virtual

◆ GetNumQueriesForChunk()

size_t CSplitQueryBlk::GetNumQueriesForChunk ( size_t  chunk_num) const

Get the number of queries in a given chunk.

Parameters
chunk_numdesired chunk [in]

Definition at line 66 of file split_query_blk.cpp.

References CSplitQueryBlk::m_SplitQueryBlk, and SplitQueryBlk_GetNumQueriesForChunk().

Referenced by BOOST_AUTO_TEST_CASE(), and CSplitQueryTestFixture::x_ValidateLocalQueryData().

◆ GetNumResults()

size_type CSearchResultSet::GetNumResults ( ) const
inline

Return the number of results contained by this object.

Note
this returns the number of queries for results of type eDatabaseSearch and (number of queries * number of subjects) for results of type eSequenceComparison

Definition at line 404 of file blast_results.hpp.

References CSearchResultSet::m_Results.

Referenced by BOOST_AUTO_TEST_CASE(), CBl2Seq::CSearchResultSet2TSeqAlignVector(), CSimpleB2SWrapper::DoBlast2Seqs(), CSearchResultSet::GetResults(), CdBlaster::processBlastHits(), CdBlaster::psiBlast(), CSearchResultSet::size(), and CTracebackSearchTestFixture::x_Traceback().

◆ GetNumSeqs() [1/2]

Uint4 CMultiSeqInfo::GetNumSeqs ( void  )
inline

Returns number of sequences.

Definition at line 115 of file seqsrc_multiseq.cpp.

References CMultiSeqInfo::m_ivSeqBlkVec.

◆ GetNumSeqs() [2/2]

Uint4 CQueryFactoryInfo::GetNumSeqs ( void  )
inline

Returns number of sequences.

Definition at line 192 of file seqsrc_query_factory.cpp.

References CQueryFactoryInfo::m_NumSeqs.

Referenced by CQueryFactoryInfo::GetSeqBlk().

◆ GetOffDiagonalRange() [1/3]

int CBlastOptions::GetOffDiagonalRange ( ) const

◆ GetOffDiagonalRange() [2/3]

int CBlastOptionsHandle::GetOffDiagonalRange ( ) const
inline

◆ GetOffDiagonalRange() [3/3]

int CBlastOptionsLocal::GetOffDiagonalRange ( ) const
inline

◆ GetOptions() [1/9]

const PSIBlastOptions* CPsiBlastInputClustalW::GetOptions ( void  )
inlinevirtual

Obtain the options for the PSSM engine.

Implements IPssmInputData.

Definition at line 99 of file msa_pssm_input.hpp.

◆ GetOptions() [2/9]

const PSIBlastOptions * CPsiBlastInputData::GetOptions ( void  )
inlinevirtual

Obtain the options for the PSSM engine.

Implements IPssmInputData.

Definition at line 213 of file psi_pssm_input.cpp.

References CPsiBlastInputData::m_Opts.

◆ GetOptions() [3/9]

const CBlastOptions& CBlastOptionsHandle::GetOptions ( void  ) const
inline

Return the object which this object is a handle for.

This method is intended to be used when one wants to INSPECT the values of options which are not exposed by the classes derived from CBlastOptionsHandle.

Definition at line 160 of file blast_options_handle.hpp.

References CBlastOptionsHandle::m_Opts.

Referenced by Blast_FindWindowMaskerLoc_Fwd(), BOOST_AUTO_TEST_CASE(), CheckForFreqRatioFile(), CLocalDbAdapter::CLocalDbAdapter(), CPsiBl2SeqTestFixture::CPsiBl2SeqTestFixture(), CPsiBlastTestFixture::CPsiBlastTestFixture(), CVecscreenRun::CFormatter::FormatResults(), CLocalDbAdapter::IsProtein(), CBlastKmerThread::Main(), CBlastnNode::Main(), CBlastpNode::Main(), CBlastxNode::Main(), CRPSBlastNode::Main(), CRPSTBlastnNode::Main(), CTblastnNode::Main(), CMagicBlastThread::Main(), CLocalDbAdapter::MakeSeqInfoSrc(), CLocalDbAdapter::MakeSeqSrc(), CPsiBlastValidate::QueryFactory(), CDeltaBlast::Run(), CLocalVDBBlast::Run(), CPsiBlastImpl::Run(), CBlastnApp::Run(), CBlastpApp::Run(), CBlastxApp::Run(), CDeltaBlastApp::Run(), CPsiBlastApp::Run(), CTblastnApp::Run(), CTblastxApp::Run(), CIgBlastnApp::Run(), CIgBlastpApp::Run(), CMagicBlastApp::Run(), CRMBlastnApp::Run(), CBlastKmerSearch::Run(), CBlastKmerApplication::Run(), CVDBBlastnApp::Run(), CVDBTblastnApp::Run(), CBlastDemoApplication::Run(), CRedoAlignmentTestFixture::runRedoAlignmentCoreUnitTest(), CVDBThread::RunTandemSearches(), CLocalVDBBlast::RunThreadedSearch(), s_CreateRepeatsSearchOptions(), setupQueryInfoForOffsetTranslation(), CLocalVDBBlast::x_AdjustDbSize(), CBLASTSeqToolJob::x_CreateProjectItems(), CPsiBlastImpl::x_CreatePssmScoresFromFrequencyRatios(), CRemoteBlast::x_Init(), CSequenceDataTester::x_Init(), CScoreBuilder::x_Initialize(), CBlastAppArgs::x_IssueWarningsForIgnoredOptions(), CSplitQueryTestFixture::x_PrepareBlastQueryStructures(), CLocalVDBBlast::x_PrepareQuery(), CExportStrategy::x_Process_BlastOptions(), CPsiBlastApp::x_RunLocalPsiBlastIterations(), CBlastnApp::x_RunMTBySplitDB(), CBlastpApp::x_RunMTBySplitDB(), CBlastxApp::x_RunMTBySplitDB(), CRPSBlastApp::x_RunMTBySplitDB(), CRPSTBlastnApp::x_RunMTBySplitDB(), CTblastnApp::x_RunMTBySplitDB(), CBlastnApp::x_RunMTBySplitQuery(), CBlastpApp::x_RunMTBySplitQuery(), CBlastxApp::x_RunMTBySplitQuery(), CRPSBlastApp::x_RunMTBySplitQuery(), CRPSTBlastnApp::x_RunMTBySplitQuery(), CTblastnApp::x_RunMTBySplitQuery(), CIgBlast::x_SetupVSearch(), and CTracebackSearchTestFixture::x_Traceback().

◆ GetOptions() [4/9]

virtual const PSIBlastOptions* IPssmInputData::GetOptions ( )
pure virtual

◆ GetOptions() [5/9]

virtual CRef<CBlastOptionsHandle> ISearchFactory::GetOptions ( EProgram  program)
pure virtual

Create a CBlastOptionsHandle.

This creates a CBlastOptionsHandle for the specified program value. The options can be used to configure a search created by the GetSeqSearch() or GetPssmSearch() methods. The search object and the CBlastOptionsHandle object should be created by the same ISearchFactory subclass.

Parameters
programThe program type for this search.
Returns
An options handle object for this program and factory type.

Implemented in CRemoteSearchFactory, and CLocalSearchFactory.

Referenced by RunMultipleProteinSearch().

◆ GetOptions() [6/9]

CRef< CBlastOptionsHandle > CLocalSearchFactory::GetOptions ( EProgram  program)
virtual

Get an options handle for a search of the specified type.

Implements ISearchFactory.

Definition at line 81 of file local_search.cpp.

References CBlastOptionsFactory::Create().

◆ GetOptions() [7/9]

CRef< CBlastOptionsHandle > CRemoteSearchFactory::GetOptions ( EProgram  program)
virtual

Get an options handle for a search of the specified type.

Implements ISearchFactory.

Definition at line 70 of file remote_search.cpp.

References CBlastOptionsFactory::Create(), and CBlastOptions::eRemote.

◆ GetOptions() [8/9]

const PSIBlastOptions* CCddInputData::GetOptions ( void  )
inlinevirtual

Get CDD-related PSSM engine options.

Returns
CDD-related PSSM engine options

Implements IPssmInputCdd.

Definition at line 165 of file cdd_pssm_input.hpp.

References CCddInputData::m_Opts.

◆ GetOptions() [9/9]

virtual const PSIBlastOptions* IPssmInputCdd::GetOptions ( void  )
pure virtual

Get CDD-related PSI-BLAST options.

Implemented in CPssmInputWithNoCDs, and CCddInputData.

Referenced by s_Validate(), and CPssmEngine::x_CreatePssmFromCDD().

◆ GetOptionsBuilder()

CBlastOptionsBuilder& CImportStrategy::GetOptionsBuilder ( )
inline

Return the BlastOptions builder used in this class.

Definition at line 158 of file search_strategy.hpp.

References _ASSERT, CImportStrategy::FetchData(), CImportStrategy::m_OptionsBuilder, and NULL.

◆ GetOptionsHandle() [1/2]

CRef< blast::CBlastOptionsHandle > CImportStrategy::GetOptionsHandle ( )

Builds and returns the OptionsHandle.

Definition at line 132 of file search_strategy.cpp.

References CImportStrategy::FetchData(), and CImportStrategy::m_Data.

Referenced by BOOST_AUTO_TEST_CASE().

◆ GetOptionsHandle() [2/2]

const CBlastOptionsHandle & CBl2Seq::GetOptionsHandle ( ) const
inline

Retrieve the options handle.

Definition at line 285 of file bl2seq.hpp.

References CBl2Seq::m_OptsHandle.

Referenced by BOOST_AUTO_TEST_CASE(), and CRedoAlignmentTestFixture::runRedoAlignmentCoreUnitTest().

◆ GetOrganismSpecificRepeatsDatabases()

vector< CRef< objects::CBlast4_database_info > > CBlastServices::GetOrganismSpecificRepeatsDatabases ( )

Retrieve organism specific repeats databases.

Definition at line 389 of file blast_services.cpp.

References ITERATE, CBlastServices::m_AvailableDatabases, NPOS, and CBlastServices::x_GetAvailableDatabases().

◆ GetOutOfFrameMode() [1/4]

bool CBlastOptions::GetOutOfFrameMode ( ) const

◆ GetOutOfFrameMode() [2/4]

bool CBlastxOptionsHandle::GetOutOfFrameMode ( ) const
inline

Returns OutOfFrameMode.

Definition at line 82 of file blastx_options.hpp.

◆ GetOutOfFrameMode() [3/4]

bool CTBlastnOptionsHandle::GetOutOfFrameMode ( ) const
inline

Returns OutOfFrameMode.

Definition at line 65 of file tblastn_options.hpp.

◆ GetOutOfFrameMode() [4/4]

bool CBlastOptionsLocal::GetOutOfFrameMode ( ) const
inline

◆ GetPaired() [1/3]

bool CBlastOptions::GetPaired ( ) const

◆ GetPaired() [2/3]

bool CMagicBlastOptionsHandle::GetPaired ( ) const
inline

Are the mapping reads assumed paired.

Returns
True if reads are assumed paired, false otherwise

Definition at line 199 of file magicblast_options.hpp.

Referenced by CMagicBlastThread::Main().

◆ GetPaired() [3/3]

bool CBlastOptionsLocal::GetPaired ( ) const
inline

◆ GetPercentIdentity() [1/3]

double CBlastOptions::GetPercentIdentity ( ) const

◆ GetPercentIdentity() [2/3]

double CBlastOptionsHandle::GetPercentIdentity ( ) const
inline

Returns PercentIdentity.

Definition at line 258 of file blast_options_handle.hpp.

References CBlastOptions::GetPercentIdentity(), and CBlastOptionsHandle::m_Opts.

Referenced by BOOST_AUTO_TEST_CASE(), and BOOST_FIXTURE_TEST_CASE().

◆ GetPercentIdentity() [3/3]

double CBlastOptionsLocal::GetPercentIdentity ( ) const
inline

◆ GetPhiAlignments()

CRef< objects::CBlast4_phi_alignments > CRemoteBlast::GetPhiAlignments ( void  )

Get the results of a PHI-Align request, if PHI pattern was set.

Returns
Reference to PHI alignment set.

Definition at line 471 of file remote_blast.cpp.

References CRemoteBlast::x_GetGSRR().

◆ GetPHIPattern() [1/4]

const char * CBlastOptions::GetPHIPattern ( ) const

◆ GetPHIPattern() [2/4]

const char * CPHIBlastNuclOptionsHandle::GetPHIPattern ( ) const
inline

Retrieves the pattern string option.

Returns
Pattern string satisfying PROSITE rules.

Definition at line 74 of file phiblast_nucl_options.hpp.

References CBlastOptions::GetPHIPattern(), and CBlastOptionsHandle::m_Opts.

◆ GetPHIPattern() [3/4]

const char * CPHIBlastProtOptionsHandle::GetPHIPattern ( ) const
inline

Retrieves the pattern string option.

Returns
Pattern string satisfying PROSITE rules.

Definition at line 75 of file phiblast_prot_options.hpp.

References CBlastOptions::GetPHIPattern(), and CBlastOptionsHandle::m_Opts.

Referenced by BOOST_AUTO_TEST_CASE().

◆ GetPHIPattern() [4/4]

const char * CBlastOptionsLocal::GetPHIPattern ( void  ) const
inline

◆ GetPhiQueryInfo()

const SPHIQueryInfo* CSearchResults::GetPhiQueryInfo ( ) const
inline

Retrieves PHI-BLAST information about pattern on query.

Definition at line 253 of file blast_results.hpp.

References CSearchResults::m_PhiQueryInfo.

Referenced by CBlastFormat::PrintPhiResult().

◆ GetPointer()

template<class TData >
TData* CStructWrapper< TData >::GetPointer ( void  )
inline

The a pointer to the wrapped object.

Definition at line 120 of file setup_factory.hpp.

References CStructWrapper< TData >::m_Data.

◆ GetPreviouslyFoundSeqIds()

CPsiBlastIterationState::TSeqIds CPsiBlastIterationState::GetPreviouslyFoundSeqIds ( ) const

Retrieve the set of Seq-id's found in the previous iteration.

Definition at line 113 of file psiblast_iteration.cpp.

References CPsiBlastIterationState::m_CurrentData.

Referenced by CDeltaBlastApp::DoPsiBlastIterations(), and CPsiBlastApp::x_RunLocalPsiBlastIterations().

◆ GetProgram() [1/4]

string CRemoteBlast::GetProgram ( )

Get the program used for this search.

Returns
The value of the program parameter.

Definition at line 1885 of file remote_blast.cpp.

References CRemoteBlast::m_Program, and CRemoteBlast::x_GetRequestInfo().

Referenced by BOOST_AUTO_TEST_CASE(), and CRemoteBlast::GetSearchOptions().

◆ GetProgram() [2/4]

EProgram CBlastOptions::GetProgram ( ) const

◆ GetProgram() [3/4]

string CImportStrategy::GetProgram ( ) const

Fetches program, one of blastn, blastp, blastx, tblastn, tblastx.

Definition at line 159 of file search_strategy.cpp.

References CImportStrategy::m_Request.

Referenced by BOOST_AUTO_TEST_CASE().

◆ GetProgram() [4/4]

EProgram CBlastOptionsLocal::GetProgram ( void  ) const
inline

Accessors/Mutators for individual options.

Definition at line 536 of file blast_options_local_priv.hpp.

References CBlastOptionsLocal::m_Program.

Referenced by CBlastOptions::GetProgram().

◆ GetProgramOptions()

objects::CBlast4_parameters * CImportStrategy::GetProgramOptions ( )

Options for controlling program execution and database filtering.

Returns
the program options or NULL if unavailable

Definition at line 242 of file search_strategy.cpp.

References CBlast4_queue_search_request_Base::CanGetProgram_options(), CImportStrategy::m_Request, NULL, and CBlast4_queue_search_request_Base::SetProgram_options().

Referenced by BOOST_AUTO_TEST_CASE(), and CImportStrategy::x_GetProgramOptionIntegerList().

◆ GetProgramType() [1/2]

EBlastProgramType CBlastOptions::GetProgramType ( ) const

Returns the CORE BLAST notion of program type.

Definition at line 842 of file blast_options_cxx.cpp.

References CBlastOptionsLocal::GetProgramType(), CBlastOptions::m_Local, and CBlastOptions::x_Throwx().

Referenced by BlastSetupPreliminarySearchEx(), BOOST_AUTO_TEST_CASE(), CBlastTracebackSearch::CBlastTracebackSearch(), CObjMgrFree_LocalQueryData::CObjMgrFree_LocalQueryData(), CVDBThread::CVDBThread(), CBlastDatabaseArgs::ExtractAlgorithmOptions(), CWindowSizeArg::ExtractAlgorithmOptions(), CWordThresholdArg::ExtractAlgorithmOptions(), CPhiBlastArgs::ExtractAlgorithmOptions(), CQueryOptionsArgs::ExtractAlgorithmOptions(), CIgBlastArgs::ExtractAlgorithmOptions(), CSetupFactory::InitializeMegablastDbIndex(), CLocalDbAdapter::IsProtein(), LogBlastOptions(), CLocalDbAdapter::MakeSeqInfoSrc(), CLocalDbAdapter::MakeSeqSrc(), CBlastFormatterApp::PrintFormattedOutput(), CBlastFormatterVdbApp::PrintFormattedOutput(), CSplitQueryTestFixture::QuerySplitter_BlastnMultiQueryMultiChunk(), CSplitQueryTestFixture::QuerySplitter_BlastnSingleQueryMultiChunk(), CSplitQueryTestFixture::QuerySplitter_BlastxMultiQueryMultiChunk(), CSplitQueryTestFixture::QuerySplitter_BlastxSingleQueryMultiChunk(), CBlastDemoApplication::Run(), CRedoAlignmentTestFixture::runRedoAlignmentCoreUnitTest(), SafeSetupQueries(), SafeSetupQueryInfo(), CBlastOptions::SetFilterString(), setupQueryInfoForOffsetTranslation(), setupQueryStructures(), CBlastQuerySourceOM::x_CalculateMasks(), CQuerySplitter::x_ComputeChunkRanges(), CQuerySplitter::x_ComputeContextOffsets_NonTranslatedQueries(), CQuerySplitter::x_ComputeContextOffsets_TranslatedQueries(), CQuerySplitter::x_ComputeContextOffsetsForChunks(), CQuerySplitter::x_ComputeQueryContextsForChunks(), CQuerySplitter::x_ComputeQueryIndicesForChunks(), CTracebackTestFixture::x_ComputeTracebak(), CTracebackSearchTestFixture::x_GetSampleHspStream(), CTracebackSearchTestFixture::x_GetSelfHitHspStream(), CBlastTracebackSearch::x_Init(), CSequenceDataTester::x_IsProtein(), CBlastAppArgs::x_IssueWarningsForIgnoredOptions(), CTracebackTestFixture::x_MakeStream(), CSplitQueryTestFixture::x_PrepareBlastQueryStructures(), CBlastOptionsBuilder::x_ProcessOneOption(), CTracebackTestFixture::x_SetupGapAlign(), and CTracebackTestFixture::x_SetupMain().

◆ GetProgramType() [2/2]

EBlastProgramType CBlastOptionsLocal::GetProgramType ( ) const

◆ GetPseudoCount() [1/3]

int CBlastOptions::GetPseudoCount ( ) const

◆ GetPseudoCount() [2/3]

int CPSIBlastOptionsHandle::GetPseudoCount ( ) const
inline

Returns PseudoCount.

Definition at line 72 of file psiblast_options.hpp.

Referenced by BOOST_AUTO_TEST_CASE(), and PsiBlastComputePssmFromAlignment().

◆ GetPseudoCount() [3/3]

int CBlastOptionsLocal::GetPseudoCount ( ) const
inline

◆ GetPSIBlastOpts() [1/2]

PSIBlastOptions * CBlastOptions::GetPSIBlastOpts ( ) const
private

Returns PSIBlastOptions for eLocal objects, NULL for eRemote.

Definition at line 2676 of file blast_options_cxx.cpp.

References CBlastOptionsLocal::GetPSIBlastOpts(), and CBlastOptions::m_Local.

◆ GetPSIBlastOpts() [2/2]

PSIBlastOptions* CBlastOptionsLocal::GetPSIBlastOpts ( ) const
inlineprivate

◆ GetPsiGappedKarlinBlk()

const Blast_KarlinBlk* CBlastAncillaryData::GetPsiGappedKarlinBlk ( ) const
inline

Retrieve PSI-BLAST gapped Karlin parameters.

Definition at line 112 of file blast_results.hpp.

Referenced by s_BuildArchiveAll(), and CPssmEngine::SetUngappedStatisticalParams().

◆ GetPSIInclusionThreshold()

double CDeltaBlastOptionsHandle::GetPSIInclusionThreshold ( void  ) const
inline

Get e-value threshold for including sequences in Pssm calculation.

Returns
E-value cutoff for sequences

Same as GetInclusionThreshold().It was added for clear distinction between Psi and Delta Blast inclusion thresholds

Definition at line 78 of file deltablast_options.hpp.

◆ GetPsiNumberOfIterations()

unsigned int CRemoteBlast::GetPsiNumberOfIterations ( void  )

◆ GetPsiNumOfIterations()

unsigned int CImportStrategy::GetPsiNumOfIterations ( )

Get number of iteration for psi blast, return 0 if num of iterations not available.

Definition at line 141 of file search_strategy.cpp.

References CImportStrategy::FetchData(), and CImportStrategy::m_Data.

Referenced by BOOST_AUTO_TEST_CASE().

◆ GetPsiUngappedKarlinBlk()

const Blast_KarlinBlk* CBlastAncillaryData::GetPsiUngappedKarlinBlk ( ) const
inline

Retrieve PSI-BLAST ungapped Karlin parameters.

Definition at line 107 of file blast_results.hpp.

Referenced by s_BuildArchiveAll(), and CPssmEngine::SetUngappedStatisticalParams().

◆ GetPssm() [1/4]

CConstRef< objects::CPssmWithParameters > CPsiBlast::GetPssm ( ) const

Accessor for the most recently used PSSM.

Definition at line 89 of file psiblast.cpp.

References CPsiBlastImpl::GetPssm(), and CPsiBlast::m_Impl.

◆ GetPssm() [2/4]

CConstRef< CPssmWithParameters > CPsiBlastImpl::GetPssm ( void  ) const

Accessor for the most recently used PSSM.

Definition at line 190 of file psiblast_impl.cpp.

References CPsiBlastImpl::m_Pssm.

Referenced by CPsiBlast::GetPssm().

◆ GetPssm() [3/4]

CRef< CPssmWithParameters > CDeltaBlast::GetPssm ( int  index = 0)

Accessor for PSSM computd from CDD hits and used in protein search.

Parameters
indexPSSM index corresponding to query
Returns
PSSM

Definition at line 186 of file deltablast.cpp.

References CDeltaBlast::m_Pssm, and NCBI_THROW.

◆ GetPssm() [4/4]

CConstRef< CPssmWithParameters > CDeltaBlast::GetPssm ( int  index = 0) const

Accessor for PSSM computd from CDD hits and used in protein search.

Parameters
indexPSSM index corresponding to query
Returns
PSSM

Definition at line 177 of file deltablast.cpp.

References CDeltaBlast::m_Pssm, and NCBI_THROW.

Referenced by BOOST_AUTO_TEST_CASE().

◆ GetPSSM()

CRef< objects::CPssmWithParameters > CRemoteBlast::GetPSSM ( void  )

Get the PSSM produced by the search.

Returns
Reference to a Score-matrix-parameters object.

Definition at line 587 of file remote_blast.cpp.

References CRemoteBlast::x_GetGSRR().

Referenced by CPsiBlastApp::DoIterations(), CBlastFormatterApp::PrintFormattedOutput(), and CDeltaBlastApp::Run().

◆ GetPssmSearch() [1/3]

CRef< IPssmSearch > CLocalSearchFactory::GetPssmSearch ( )
virtual

Get an object to manage a remote PSSM search.

Implements ISearchFactory.

Definition at line 75 of file local_search.cpp.

◆ GetPssmSearch() [2/3]

CRef< IPssmSearch > CRemoteSearchFactory::GetPssmSearch ( )
virtual

Get an object to manage a remote PSSM search.

Implements ISearchFactory.

Definition at line 64 of file remote_search.cpp.

◆ GetPssmSearch() [3/3]

virtual CRef<IPssmSearch> ISearchFactory::GetPssmSearch ( )
pure virtual

Create a new search object with a pssm-based query.

A search object will be constructed and configured for a search using a PSSM query.

Returns
A search object for a PSSM search.

Implemented in CRemoteSearchFactory, and CLocalSearchFactory.

◆ GetPubmedUrl()

string CReference::GetPubmedUrl ( EPublication  pub)
static

Get Pubmed url for requested publication.

Definition at line 129 of file version.cpp.

References int, and kPubMedUrls.

Referenced by BOOST_AUTO_TEST_CASE(), and s_DoTestReference().

◆ GetQueries() [1/3]

CRef< CBlast4_queries > CRemoteBlast::GetQueries ( )

Get the queries used for this search.

The queries specified for this search will be returned. The returned object will include either a list of seq-locs, a CBioseq, or a PSSM query.

Returns
The queries used for this search.

Definition at line 1921 of file remote_blast.cpp.

References CRef< C, Locker >::Empty(), CRemoteBlast::m_Queries, and CRemoteBlast::x_GetRequestInfo().

Referenced by BOOST_AUTO_TEST_CASE(), CRemoteBlast::GetMasks(), CBlastFormatterApp::x_ExtractQueries(), CBlastFormatterVdbApp::x_ExtractQueries(), and CRemoteBlast::x_ExtractQueryIds().

◆ GetQueries() [2/3]

CRef< objects::CBlast4_queries > CImportStrategy::GetQueries ( )

The queries either as Bioseq, seqloc, or pssm.

Definition at line 215 of file search_strategy.cpp.

References CImportStrategy::m_Request, and CBlast4_queue_search_request_Base::SetQueries().

Referenced by BOOST_AUTO_TEST_CASE().

◆ GetQueries() [3/3]

const TSeqLocVector & CBl2Seq::GetQueries ( ) const
inline

Retrieve a vector of query sequences.

Definition at line 244 of file bl2seq.hpp.

References CBl2Seq::m_tQueries.

Referenced by BOOST_AUTO_TEST_CASE(), and CRedoAlignmentTestFixture::runRedoAlignmentCoreUnitTest().

◆ GetQuery() [1/6]

unsigned char* CPsiBlastInputClustalW::GetQuery ( void  )
inlinevirtual

Get the query sequence used as master for the multiple sequence alignment in ncbistdaa encoding.

Implements IPssmInput_Base.

Definition at line 90 of file msa_pssm_input.hpp.

◆ GetQuery() [2/6]

unsigned char* CPsiBlastInputFreqRatios::GetQuery ( void  )
inlinevirtual

@inheritDoc

Implements IPssmInput_Base.

Definition at line 98 of file psi_pssm_input.hpp.

◆ GetQuery() [3/6]

unsigned char * CPsiBlastInputData::GetQuery ( void  )
inlinevirtual

Get the query sequence used as master for the multiple sequence alignment in ncbistdaa encoding.

Implements IPssmInput_Base.

Definition at line 201 of file psi_pssm_input.cpp.

References CPsiBlastInputData::m_Query.

◆ GetQuery() [4/6]

const SSeqLoc & CBl2Seq::GetQuery ( void  ) const
inline

Retrieve the query sequence.

Definition at line 230 of file bl2seq.hpp.

References CBl2Seq::m_tQueries.

◆ GetQuery() [5/6]

virtual unsigned char* IPssmInput_Base::GetQuery ( )
pure virtual

◆ GetQuery() [6/6]

unsigned char* CCddInputData::GetQuery ( void  )
inlinevirtual

Get query sequence.

Returns
Query sequence

Implements IPssmInput_Base.

Definition at line 139 of file cdd_pssm_input.hpp.

References CCddInputData::m_QueryData.

◆ GetQueryContexts()

vector< int > CSplitQueryBlk::GetQueryContexts ( size_t  chunk_num) const

Get the contexts of the queries contained in a given chunk.

Parameters
chunk_numdesired chunk [in]

Definition at line 97 of file split_query_blk.cpp.

References i, CSplitQueryBlk::m_SplitQueryBlk, NULL, sfree, and SplitQueryBlk_GetQueryContextsForChunk().

Referenced by CContextTranslator::CContextTranslator(), operator<<(), and CSplitQueryTestFixture::x_ValidateQueryContextsPerChunkAssignment().

◆ GetQueryCovHspPerc() [1/3]

double CBlastOptions::GetQueryCovHspPerc ( ) const

◆ GetQueryCovHspPerc() [2/3]

double CBlastOptionsHandle::GetQueryCovHspPerc ( ) const
inline

Returns QueryCovHspPerc.

Definition at line 264 of file blast_options_handle.hpp.

References CBlastOptions::GetQueryCovHspPerc(), and CBlastOptionsHandle::m_Opts.

Referenced by BOOST_AUTO_TEST_CASE().

◆ GetQueryCovHspPerc() [3/3]

double CBlastOptionsLocal::GetQueryCovHspPerc ( ) const
inline

◆ GetQueryEncoding()

EBlastEncoding GetQueryEncoding ( EBlastProgramType  program)

Returns the encoding for the sequence data used in BLAST for the query.

Parameters
programprogram type [in]
Exceptions
CBlastExceptionin case of unsupported program

Definition at line 1090 of file blast_setup_cxx.cpp.

References abort(), eBlastEncodingError, eBlastEncodingNcbi4na, eBlastEncodingNucleotide, eBlastEncodingProtein, eBlastTypeBlastn, eBlastTypeBlastp, eBlastTypeBlastx, eBlastTypeMapping, eBlastTypePhiBlastn, eBlastTypePhiBlastp, eBlastTypePsiBlast, eBlastTypePsiTblastn, eBlastTypeRpsBlast, eBlastTypeRpsTblastn, eBlastTypeTblastn, and eBlastTypeTblastx.

Referenced by SetupQueries_OMF().

◆ GetQueryFactoryForChunk()

CRef< IQueryFactory > CQuerySplitter::GetQueryFactoryForChunk ( Uint4  chunk_num)

◆ GetQueryForPssm() [1/4]

CRef<objects::CBioseq> CPsiBlastInputClustalW::GetQueryForPssm ( void  )
inlinevirtual

@inheritDoc

Reimplemented from IPssmInput_Base.

Definition at line 130 of file msa_pssm_input.hpp.

◆ GetQueryForPssm() [2/4]

CRef<objects::CBioseq> CPsiBlastInputData::GetQueryForPssm ( void  )
inlinevirtual

@inheritDoc

Reimplemented from IPssmInput_Base.

Definition at line 226 of file psi_pssm_input.hpp.

References CPsiBlastInputData::m_QueryBioseq.

◆ GetQueryForPssm() [3/4]

virtual CRef<objects::CBioseq> IPssmInput_Base::GetQueryForPssm ( void  )
inlinevirtual

Get a CBioseq object for attachment into the CPssmWithParameters that CPssmEngine produces (only attached if it's not NULL).

This is required for any PSSM which is intended to be used as a starting point for a PSI-BLAST iteration

Reimplemented in CCddInputData, CPsiBlastInputData, and CPsiBlastInputClustalW.

Definition at line 88 of file pssm_input.hpp.

References NULL.

Referenced by CPssmEngine::x_CreatePssmFromCDD(), CPssmEngine::x_CreatePssmFromFreqRatios(), and CPssmEngine::x_CreatePssmFromMsa().

◆ GetQueryForPssm() [4/4]

CRef<objects::CBioseq> CCddInputData::GetQueryForPssm ( void  )
inlinevirtual

Get query as Bioseq.

Returns
Query as bioseq

Reimplemented from IPssmInput_Base.

Definition at line 184 of file cdd_pssm_input.hpp.

References CCddInputData::m_QueryBioseq.

◆ GetQueryGeneticCode() [1/4]

int CBlastOptions::GetQueryGeneticCode ( ) const

◆ GetQueryGeneticCode() [2/4]

int CBlastxOptionsHandle::GetQueryGeneticCode ( ) const
inline

Returns QueryGeneticCode.

Definition at line 74 of file blastx_options.hpp.

◆ GetQueryGeneticCode() [3/4]

int CTBlastxOptionsHandle::GetQueryGeneticCode ( ) const
inline

Returns QueryGeneticCode.

Definition at line 87 of file tblastx_options.hpp.

◆ GetQueryGeneticCode() [4/4]

int CBlastOptionsLocal::GetQueryGeneticCode ( void  ) const
inline

◆ GetQueryId() [1/2]

string TQueryMessages::GetQueryId ( void  ) const

Get the query id as a string.

Returns
The query id.

Definition at line 972 of file blast_aux.cpp.

References TQueryMessages::m_IdString.

Referenced by CBlastKmerResults::GetErrors(), CSearchResults::GetErrorStrings(), and CSearchResults::GetWarningStrings().

◆ GetQueryId() [2/2]

const CSeq_id& CMagicBlastResults::GetQueryId ( void  ) const
inline

Get query sequence id.

Definition at line 192 of file magicblast.hpp.

References CMagicBlastResults::m_QueryId.

Referenced by CMagicBlastResults::GetFirstId().

◆ GetQueryIndices()

vector< size_t > CSplitQueryBlk::GetQueryIndices ( size_t  chunk_num) const

Get the indices of the queries contained in a given chunk.

Parameters
chunk_numdesired chunk [in]

Definition at line 79 of file split_query_blk.cpp.

References i, CSplitQueryBlk::m_SplitQueryBlk, NULL, sfree, SplitQueryBlk_GetQueryIndicesForChunk(), and UINT4_MAX.

Referenced by CQueryDataPerChunk::CQueryDataPerChunk(), operator<<(), CQuerySplitter::x_ComputeQueryContextsForChunks(), and CSplitQueryTestFixture::x_ValidateQueriesPerChunkAssignment().

◆ GetQueryInfo() [1/4]

BlastQueryInfo * CObjMgr_LocalQueryData::GetQueryInfo ( )
virtual

◆ GetQueryInfo() [2/4]

BlastQueryInfo * CObjMgrFree_LocalQueryData::GetQueryInfo ( )
virtual

◆ GetQueryInfo() [3/4]

BlastQueryInfo * CEffectiveSearchSpaceCalculator::GetQueryInfo ( ) const

Retrieve the BlastQueryInfo structure that stores the effective search spaces for all queries.

This function is intended only for internal use by Blast routines.

Definition at line 146 of file effsearchspace_calc.cpp.

References CEffectiveSearchSpaceCalculator::m_QueryInfo.

◆ GetQueryInfo() [4/4]

virtual BlastQueryInfo* ILocalQueryData::GetQueryInfo ( )
pure virtual

◆ GetQueryLength() [1/7]

unsigned int CPsiBlastInputClustalW::GetQueryLength ( void  )
inlinevirtual

◆ GetQueryLength() [2/7]

unsigned int CPsiBlastInputFreqRatios::GetQueryLength ( void  )
inlinevirtual

Get the query's length.

Implements IPssmInput_Base.

Definition at line 101 of file psi_pssm_input.hpp.

◆ GetQueryLength() [3/7]

unsigned int CPsiBlastInputData::GetQueryLength ( void  )
inlinevirtual

◆ GetQueryLength() [4/7]

virtual unsigned int IPssmInput_Base::GetQueryLength ( )
pure virtual

◆ GetQueryLength() [5/7]

size_t CQueryDataPerChunk::GetQueryLength ( int  global_query_index) const

Get the length of the query.

Parameters
global_query_indexindex of the query in the context of the full,non-split query [in]
Returns
length of query

Definition at line 338 of file split_query_aux_priv.cpp.

References _ASSERT, and CQueryDataPerChunk::m_QueryLengths.

◆ GetQueryLength() [6/7]

size_t CQueryDataPerChunk::GetQueryLength ( size_t  chunk_num,
int  context_in_chunk 
) const

Get the length of the query.

Parameters
chunk_numchunk number where query is found [in]
context_in_chunkwhich context within this chunk contains query [in]
Returns
length of query

Definition at line 345 of file split_query_aux_priv.cpp.

References _ASSERT, CQueryDataPerChunk::m_QueryIndicesPerChunk, ncbi::grid::netcache::search::fields::size, and CQueryDataPerChunk::x_ContextInChunkToQueryIndex().

Referenced by CQuerySplitter::x_ComputeContextOffsets_TranslatedQueries().

◆ GetQueryLength() [7/7]

unsigned int CCddInputData::GetQueryLength ( void  )
inlinevirtual

Get query length.

Returns
Query length

Implements IPssmInput_Base.

Definition at line 144 of file cdd_pssm_input.hpp.

References CCddInputData::m_QueryData.

Referenced by CCddInputData::x_ExtractQueryForPssm().

◆ GetQueryMasks() [1/2]

CBlastOptionsBuilder::TMaskList CBlastOptionsBuilder::GetQueryMasks ( void  )

Get the query masks.

Definition at line 784 of file blast_options_builder.cpp.

References CBlastOptionsBuilder::SOptional< T >::Get(), and CBlastOptionsBuilder::m_QueryMasks.

◆ GetQueryMasks() [2/2]

const TSeqLocInfoVector& CBlastPrelimSearch::GetQueryMasks ( void  ) const
inline

Return query masks.

Definition at line 133 of file prelim_stage.hpp.

Referenced by CMagicBlast::x_BuildResultSet().

◆ GetQueryMessages()

void ILocalQueryData::GetQueryMessages ( size_t  index,
TQueryMessages qmsgs 
)

Retrieve error/warning messages for a specific query.

Definition at line 135 of file query_data.cpp.

References ILocalQueryData::m_Messages, and ILocalQueryData::x_ValidateIndex().

Referenced by CLocalBlast::Run(), CMagicBlast::x_Run(), and CSequenceDataTester::x_TestSingleSequence_Local().

◆ GetQueryOpts() [1/2]

QuerySetUpOptions * CBlastOptions::GetQueryOpts ( ) const
private

Returns QuerySetUpOptions for eLocal objects, NULL for eRemote.

Definition at line 2646 of file blast_options_cxx.cpp.

References CBlastOptionsLocal::GetQueryOpts(), and CBlastOptions::m_Local.

Referenced by CTracebackTestFixture::x_SetupMain().

◆ GetQueryOpts() [2/2]

QuerySetUpOptions* CBlastOptionsLocal::GetQueryOpts ( ) const
inlineprivate

◆ GetQueryRange()

TSeqRange CImportStrategy::GetQueryRange ( )

The start and stop on the query (if applicable)

Definition at line 171 of file search_strategy.cpp.

References CImportStrategy::FetchData(), and CImportStrategy::m_Data.

◆ GetReadMaxFractionAmbiguous() [1/2]

double CBlastOptions::GetReadMaxFractionAmbiguous ( void  ) const

Get maximum fraction of ambiguous bases for next-generation read quality filtering.

Definition at line 1411 of file blast_options_cxx.cpp.

References CBlastOptionsLocal::GetReadMaxFractionAmbiguous(), CBlastOptions::m_Local, and CBlastOptions::x_Throwx().

◆ GetReadMaxFractionAmbiguous() [2/2]

double CBlastOptionsLocal::GetReadMaxFractionAmbiguous ( void  ) const
inline

◆ GetReadMinDimerEntropy() [1/2]

int CBlastOptions::GetReadMinDimerEntropy ( void  ) const

Get minimum dimer entropy for next-generation read quality filtering.

Definition at line 1431 of file blast_options_cxx.cpp.

References CBlastOptionsLocal::GetReadMinDimerEntropy(), CBlastOptions::m_Local, and CBlastOptions::x_Throwx().

◆ GetReadMinDimerEntropy() [2/2]

int CBlastOptionsLocal::GetReadMinDimerEntropy ( void  ) const
inline

◆ GetReadQualityFiltering() [1/3]

bool CBlastOptions::GetReadQualityFiltering ( void  ) const

Returns true if next-generation read quality filtering is turned on.

Definition at line 1391 of file blast_options_cxx.cpp.

References CBlastOptionsLocal::GetReadQualityFiltering(), CBlastOptions::m_Local, and CBlastOptions::x_Throwx().

◆ GetReadQualityFiltering() [2/3]

bool CMagicBlastOptionsHandle::GetReadQualityFiltering ( void  ) const
inline

Return true if query quality filtering is on.

Definition at line 110 of file magicblast_options.hpp.

◆ GetReadQualityFiltering() [3/3]

bool CBlastOptionsLocal::GetReadQualityFiltering ( void  ) const
inline

◆ GetRef()

template<typename T >
T& CBlastOptionsBuilder::SOptional< T >::GetRef ( )
inline

Get the reference to the stored value.

Definition at line 231 of file blast_options_builder.hpp.

Referenced by CBlastOptionsBuilder::x_ProcessOneOption().

◆ GetRepeatFiltering() [1/3]

bool CBlastNucleotideOptionsHandle::GetRepeatFiltering ( ) const
inline

Is repeat filtering enabled?

Definition at line 127 of file blast_nucl_options.hpp.

Referenced by Blast_FindRepeatFilterLoc(), BOOST_AUTO_TEST_CASE(), and BOOST_FIXTURE_TEST_CASE().

◆ GetRepeatFiltering() [2/3]

bool CBlastOptions::GetRepeatFiltering ( ) const

Returns true if repeat filtering is on.

Definition at line 1305 of file blast_options_cxx.cpp.

References CBlastOptionsLocal::GetRepeatFiltering(), CBlastOptions::m_Local, and CBlastOptions::x_Throwx().

Referenced by CBlastQuerySourceOM::x_CalculateMasks().

◆ GetRepeatFiltering() [3/3]

bool CBlastOptionsLocal::GetRepeatFiltering ( ) const
inline

◆ GetRepeatFilteringDB() [1/3]

const char* CBlastNucleotideOptionsHandle::GetRepeatFilteringDB ( ) const
inline

Get the repeat filtering database.

Definition at line 133 of file blast_nucl_options.hpp.

Referenced by Blast_FindRepeatFilterLoc(), BOOST_AUTO_TEST_CASE(), and BOOST_FIXTURE_TEST_CASE().

◆ GetRepeatFilteringDB() [2/3]

const char * CBlastOptions::GetRepeatFilteringDB ( ) const

Returns the name of the repeat filtering database to use.

Definition at line 1324 of file blast_options_cxx.cpp.

References CBlastOptionsLocal::GetRepeatFilteringDB(), CBlastOptions::m_Local, and CBlastOptions::x_Throwx().

Referenced by CBlastQuerySourceOM::x_CalculateMasks().

◆ GetRepeatFilteringDB() [3/3]

const char * CBlastOptionsLocal::GetRepeatFilteringDB ( ) const
inline

◆ GetResidueFrequencies()

CNcbiMatrix< int > * CScorematPssmConverter::GetResidueFrequencies ( const objects::CPssmWithParameters &  pssm)
static

Returns matrix of BLASTAA_SIZE by query size (dimensions are opposite of what is stored in the BlastScoreBlk) containing the residue frequencies per position of the PSSM.

Parameters
pssmPSSM to extract data from [in]
Returns
NULL if residue frequencies are not available

Definition at line 287 of file psiblast_aux_priv.cpp.

References _ASSERT, BLASTAA_SIZE, Convert2Matrix(), CPssm_Base::GetByRow(), CPssm_Base::GetIntermediateData(), CPssm_Base::GetNumColumns(), CPssm_Base::GetNumRows(), CPssmIntermediateData_Base::GetResFreqsPerPos(), and NULL.

◆ GetRestrictedQueryRange()

TSeqRange CBlastOptionsBuilder::GetRestrictedQueryRange ( )
inline

Return the range that was used to restrict the query sequence(s) (returns TSeqRange::GetEmpty() if not applicable)

Definition at line 159 of file blast_options_builder.hpp.

◆ GetResults() [1/5]

unsigned long CIndexedDb_Old::GetResults ( CDbIndex::TSeqNum  oid,
CDbIndex::TSeqNum  chunk,
BlastInitHitList init_hitlist 
) const
virtual

Return results corresponding to a given subject sequence and chunk.

Note
Overrides CIndexedDb::GetResults().
Parameters
oid[I] The subject sequence id.
chunk[I] The chunk number.
init_hitlist[I/O] The results are returned here.
Returns
Word size used for search.

Implements CIndexedDb.

Definition at line 1069 of file blast_dbindex.cpp.

References BlastInitHitListMove(), BlastInitHitListReset(), i, CIndexedDb_Old::LocateIndex(), results, CIndexedDb_Old::results_, and CIndexedDb_Old::seqmap_.

◆ GetResults() [2/5]

unsigned long CIndexedDb_New::GetResults ( CDbIndex::TSeqNum  oid,
CDbIndex::TSeqNum  chunk,
BlastInitHitList init_hitlist 
) const
virtual

Return results corresponding to a given subject sequence and chunk.

Note
Overrides CIndexedDb::GetResults().
Parameters
oid[I] The subject sequence id.
chunk[I] The chunk number.
init_hitlist[I/O] The results are returned here.
Returns
Word size used for search.

Implements CIndexedDb.

Definition at line 903 of file blast_dbindex.cpp.

References ASSERT, BlastInitHitListMove(), BlastInitHitListReset(), CIndexedDb_New::FindVolume(), CDbIndex::CSearchResults::GetResults(), CDbIndex::CSearchResults::GetWordSize(), CIndexedDb_New::results_holder_, and CIndexedDb_New::volumes_.

◆ GetResults() [3/5]

virtual unsigned long CIndexedDb::GetResults ( CDbIndex::TSeqNum  oid,
CDbIndex::TSeqNum  chunk,
BlastInitHitList init_hitlist 
) const
pure virtual

Return results corresponding to a given subject sequence and chunk.

Parameters
oid[I] The subject sequence id.
chunk[I] The chunk number.
init_hitlist[I/O] The results are returned here.
Returns
Word size used for search.

Implemented in CIndexedDb_New, and CIndexedDb_Old.

Referenced by s_MB_IdbGetResults().

◆ GetResults() [4/5]

CSearchResults & CSearchResultSet::GetResults ( size_type  qi,
size_type  si 
)

Retrieve results for a query-subject pair contained by this object.

Parameters
qiquery sequence index [in]
sisubject sequence index [in]
Note
it only works for results of type eSequenceComparison

Definition at line 401 of file blast_results.cpp.

References eSequenceComparison, CSearchResultSet::GetNumResults(), CSearchResultSet::m_NumQueries, CSearchResultSet::m_Results, CSearchResultSet::m_ResultType, NCBI_THROW, and si.

Referenced by BOOST_AUTO_TEST_CASE(), CSearchResultSet::GetResults(), and CMultiAligner::x_AlignClusterQueries().

◆ GetResults() [5/5]

const CSearchResults & CSearchResultSet::GetResults ( size_type  qi,
size_type  si 
) const

Retrieve results for a query-subject pair.

Parameters
qiquery sequence index [in]
sisubject sequence index [in]
Note
it only works for results of type eSequenceComparison

Definition at line 410 of file blast_results.cpp.

References CSearchResultSet::GetResults(), and si.

◆ GetResultSet()

CRef< CSearchResultSet > CRemoteBlast::GetResultSet ( )

Submit the search (if necessary) and return the results.

Submit the search and return the results.

Returns
Search results.

Definition at line 2120 of file remote_blast.cpp.

References E, eBlastSevError, eBlastSevWarning, CRemoteBlast::eDebug, NStr::fConvErr_NoThrow, NStr::Find(), CRemoteBlast::GetErrorVector(), CRemoteBlast::GetKABlocks(), CRemoteBlast::GetMasks(), CException::GetMsg(), CRemoteBlast::GetRID(), CRemoteBlast::GetSearchStats(), CRemoteBlast::GetSeqAlignSets(), CRemoteBlast::GetWarningVector(), ITERATE, kBlastMessageNoContext, kEmptyStr, kNoRIDSpecified(), CRemoteBlast::m_CBOH, CRemoteBlast::m_ReadFile, CRemoteBlast::m_Service, CRemoteBlast::m_Task, CRemoteBlast::m_Verbose, NcbiCout, NON_CONST_ITERATE, NPOS, NStr::ReplaceInPlace(), CRef< C, Locker >::Reset(), CBlastAncillaryData::SetLengthAdjustment(), CSearchResultSet::SetRID(), NStr::StringToInt8(), CRemoteBlast::SubmitSync(), TSearchMessages::ToString(), W, and CRemoteBlast::x_ExtractQueryIds().

Referenced by BOOST_AUTO_TEST_CASE(), CPsiBlastApp::DoIterations(), CRemoteBlastAligner::GenerateAlignments(), CBlastnNode::Main(), CBlastpNode::Main(), CBlastxNode::Main(), CRPSBlastNode::Main(), CRPSTBlastnNode::Main(), CTblastnNode::Main(), CBlastFormatterApp::PrintFormattedOutput(), CBlastFormatterVdbApp::PrintFormattedOutput(), CIgBlast::Run(), CDeltaBlastApp::Run(), CTblastxApp::Run(), CRMBlastnApp::Run(), CBlastnApp::x_RunMTBySplitDB(), CBlastpApp::x_RunMTBySplitDB(), CBlastxApp::x_RunMTBySplitDB(), CRPSBlastApp::x_RunMTBySplitDB(), CRPSTBlastnApp::x_RunMTBySplitDB(), and CTblastnApp::x_RunMTBySplitDB().

◆ GetResultType()

EResultType CSearchResultSet::GetResultType ( ) const
inline

Get the type of results contained in this object.

Definition at line 456 of file blast_results.hpp.

References CSearchResultSet::m_ResultType.

Referenced by BOOST_AUTO_TEST_CASE().

◆ GetRid()

string CIgBlast::GetRid ( )
inline

Definition at line 293 of file igblast.hpp.

References CIgBlast::m_RID.

◆ GetRID() [1/2]

string CSearchResults::GetRID ( void  ) const
inline

Returns the RID for these results (if applicable), otherwise returns an empty string.

Definition at line 190 of file blast_results.hpp.

References CSearchResults::m_RID.

Referenced by CBlastFormat::PrintPhiResult().

◆ GetRID() [2/2]

const string & CRemoteBlast::GetRID ( void  )

Gets the request id (RID) associated with the search.

If the search was not successfully submitted, this will be empty.

Definition at line 1624 of file remote_blast.cpp.

References CRemoteBlast::m_RID.

Referenced by BOOST_AUTO_TEST_CASE(), CRemoteBlast::GetResultSet(), and CIgBlast::Run().

◆ GetScalingFactor()

double CBlastRPSInfo::GetScalingFactor ( ) const

Returns the scaling factor used to build RPS-BLAST database.

Definition at line 621 of file rps_aux.cpp.

References CBlastRPSInfo::m_RpsInfo.

Referenced by CSetupFactory::CreateScoreBlock().

◆ GetScores()

CNcbiMatrix< int > * CScorematPssmConverter::GetScores ( const objects::CPssmWithParameters &  pssm)
static

Returns matrix of BLASTAA_SIZE by query size (dimensions are opposite of what is stored in the BlastScoreBlk) containing scores.

Parameters
pssmPSSM to extract data from [in]
Exceptions
std::runtime_errorif scores are not available

Definition at line 240 of file psiblast_aux_priv.cpp.

References _ASSERT, BLAST_SCORE_MIN, BLASTAA_SIZE, Convert2Matrix(), CPssm_Base::GetByRow(), CPssm_Base::GetFinalData(), CPssm_Base::GetNumColumns(), CPssm_Base::GetNumRows(), and CPssmFinalData_Base::GetScores().

Referenced by BOOST_AUTO_TEST_CASE(), and PsiBlastSetupScoreBlock().

◆ GetScoringOpts() [1/2]

BlastScoringOptions * CBlastOptions::GetScoringOpts ( ) const
private

◆ GetScoringOpts() [2/2]

BlastScoringOptions* CBlastOptionsLocal::GetScoringOpts ( ) const
inlineprivate

◆ GetSearchDatabase()

CRef<CSearchDatabase> CLocalDbAdapter::GetSearchDatabase ( )
inline

◆ GetSearchMessages() [1/4]

TSearchMessages CLocalBlast::GetSearchMessages ( void  ) const
inline

Retrieve any error/warning messages that occurred during the search.

Definition at line 155 of file local_blast.hpp.

References CLocalBlast::m_Messages.

Referenced by CBl2Seq::RunEx().

◆ GetSearchMessages() [2/4]

TSearchMessages CBlastPrelimSearch::GetSearchMessages ( void  ) const
inline

Retrieve any error/warning messages that occurred during the search.

Definition at line 180 of file prelim_stage.hpp.

References CBlastPrelimSearch::m_Messages.

Referenced by CLocalBlast::Run(), CPsiBlastImpl::Run(), and CMagicBlast::x_Run().

◆ GetSearchMessages() [3/4]

TSearchMessages CBlastTracebackSearch::GetSearchMessages ( void  ) const
inline

Retrieve any error/warning messages that occurred during the search.

Definition at line 139 of file traceback_stage.hpp.

References CBlastTracebackSearch::m_Messages.

Referenced by CLocalBlast::Run().

◆ GetSearchMessages() [4/4]

TSearchMessages CMagicBlast::GetSearchMessages ( void  ) const
inline

Definition at line 81 of file magicblast.hpp.

References CMagicBlast::m_Messages.

◆ GetSearchOptions() [1/2]

CRef< CBlastOptionsHandle > CRemoteBlast::GetSearchOptions ( )

Get the search options used for this search.

This returns the CBlastOptionsHandle for this search. If this object was constructed with an RID, a CBlastOptionsHandle will be constructed from the search options stored on the remote server. In this case the returned CBlastOptionsHandle will have a concrete type that corresponds to the program+service, and a locality of "eLocal".

Definition at line 2018 of file remote_blast.cpp.

References set< Key, Compare >::clear(), CRef< C, Locker >::Empty(), CBlastOptions::eRemote, CBlastOptionsBuilder::GetDbFilteringAlgorithmId(), CBlastOptionsBuilder::GetDbFilteringAlgorithmKey(), CBlastOptionsBuilder::GetEntrezQuery(), CBlastOptionsBuilder::GetFinalDbSeq(), CBlastOptionsBuilder::GetFirstDbSeq(), CBlastOptionsBuilder::GetGiList(), CBlastOptionsBuilder::GetNegativeGiList(), CBlastOptionsBuilder::GetNegativeTaxidList(), CRemoteBlast::GetProgram(), CBlastOptionsBuilder::GetSearchOptions(), CRemoteBlast::GetService(), CBlastOptionsBuilder::GetTaxidList(), CBlastOptionsBuilder::HasDbFilteringAlgorithmId(), CBlastOptionsBuilder::HasDbFilteringAlgorithmKey(), CBlastOptionsBuilder::HaveEntrezQuery(), CBlastOptionsBuilder::HaveFinalDbSeq(), CBlastOptionsBuilder::HaveFirstDbSeq(), CBlastOptionsBuilder::HaveGiList(), CBlastOptionsBuilder::HaveNegativeGiList(), CBlastOptionsBuilder::HaveNegativeTaxidList(), CBlastOptionsBuilder::HaveTaxidList(), set< Key, Compare >::insert(), kEmptyStr, CRemoteBlast::m_AlgoOpts, CRemoteBlast::m_CBOH, CRemoteBlast::m_DbFilteringAlgorithmId, CRemoteBlast::m_DbFilteringAlgorithmKey, CRemoteBlast::m_EntrezQuery, CRemoteBlast::m_FinalDbSeq, CRemoteBlast::m_FirstDbSeq, CRemoteBlast::m_FormatOpts, CRemoteBlast::m_GiList, CRemoteBlast::m_NegativeGiList, CRemoteBlast::m_NegativeTaxidList, CRemoteBlast::m_ProgramOpts, CRemoteBlast::m_Task, and CRemoteBlast::m_TaxidList.

Referenced by BOOST_AUTO_TEST_CASE(), CBlastFormatterApp::PrintFormattedOutput(), CBlastFormatterVdbApp::PrintFormattedOutput(), and CRemoteBlast::x_GetRequestInfoFromFile().

◆ GetSearchOptions() [2/2]

CRef< CBlastOptionsHandle > CBlastOptionsBuilder::GetSearchOptions ( const objects::CBlast4_parameters *  aopts,
const objects::CBlast4_parameters *  popts,
const objects::CBlast4_parameters *  fopts,
string task_name = NULL 
)

◆ GetSearchSpace()

Int8 CBlastAncillaryData::GetSearchSpace ( ) const
inline

Retrieve the search space for this query sequence.

If the results correspond to a blastx search, the search space will refer to protein letters

Definition at line 118 of file blast_results.hpp.

Referenced by s_BuildArchiveAll().

◆ GetSearchStats()

list< string > CRemoteBlast::GetSearchStats ( void  )

Get the search statistics block as a list of strings.

Search statistics describe the data flow during each step of a BLAST search. They are subject to change, and are not formally defined, but can sometimes provide insight when investigating software problems.

Returns
List of strings, each contains one line of search stats block.

Definition at line 574 of file remote_blast.cpp.

References CRemoteBlast::x_GetGSRR().

Referenced by CRemoteBlast::GetResultSet().

◆ GetSearchStrategy() [1/2]

CRef< objects::CBlast4_request > CRemoteBlast::GetSearchStrategy ( void  )

◆ GetSearchStrategy() [2/2]

CRef< objects::CBlast4_request > CExportStrategy::GetSearchStrategy ( void  )

◆ GetSegFiltering() [1/4]

bool CBlastOptions::GetSegFiltering ( ) const

◆ GetSegFiltering() [2/4]

bool CBlastProteinOptionsHandle::GetSegFiltering ( ) const
inline

Is SEG filtering enabled?

Definition at line 86 of file blast_prot_options.hpp.

Referenced by BOOST_FIXTURE_TEST_CASE().

◆ GetSegFiltering() [3/4]

bool CBlastRPSOptionsHandle::GetSegFiltering ( ) const
inline

Is SEG filtering enabled?

Definition at line 79 of file blast_rps_options.hpp.

◆ GetSegFiltering() [4/4]

bool CBlastOptionsLocal::GetSegFiltering ( ) const
inline

◆ GetSegFilteringHicut() [1/4]

double CBlastOptions::GetSegFilteringHicut ( ) const

◆ GetSegFilteringHicut() [2/4]

double CBlastProteinOptionsHandle::GetSegFilteringHicut ( ) const
inline

Get hicut parameter for seg.

Definition at line 104 of file blast_prot_options.hpp.

Referenced by BOOST_FIXTURE_TEST_CASE().

◆ GetSegFilteringHicut() [3/4]

double CBlastRPSOptionsHandle::GetSegFilteringHicut ( ) const
inline

Get hicut parameter for seg.

Definition at line 97 of file blast_rps_options.hpp.

◆ GetSegFilteringHicut() [4/4]

double CBlastOptionsLocal::GetSegFilteringHicut ( ) const
inline

◆ GetSegFilteringLocut() [1/4]

double CBlastOptions::GetSegFilteringLocut ( ) const

◆ GetSegFilteringLocut() [2/4]

double CBlastProteinOptionsHandle::GetSegFilteringLocut ( ) const
inline

Get locut parameter for seg.

Definition at line 98 of file blast_prot_options.hpp.

Referenced by BOOST_FIXTURE_TEST_CASE().

◆ GetSegFilteringLocut() [3/4]

double CBlastRPSOptionsHandle::GetSegFilteringLocut ( ) const
inline

Get locut parameter for seg.

Definition at line 91 of file blast_rps_options.hpp.

◆ GetSegFilteringLocut() [4/4]

double CBlastOptionsLocal::GetSegFilteringLocut ( ) const
inline

◆ GetSegFilteringWindow() [1/4]

int CBlastOptions::GetSegFilteringWindow ( ) const

◆ GetSegFilteringWindow() [2/4]

int CBlastProteinOptionsHandle::GetSegFilteringWindow ( ) const
inline

Get window parameter for seg.

Definition at line 92 of file blast_prot_options.hpp.

Referenced by BOOST_FIXTURE_TEST_CASE().

◆ GetSegFilteringWindow() [3/4]

int CBlastRPSOptionsHandle::GetSegFilteringWindow ( ) const
inline

Get window parameter for seg.

Definition at line 85 of file blast_rps_options.hpp.

◆ GetSegFilteringWindow() [4/4]

int CBlastOptionsLocal::GetSegFilteringWindow ( ) const
inline

◆ GetSegmentInfo() [1/3]

int CBlastQuerySourceBioseqSet::GetSegmentInfo ( int  index) const
virtual

◆ GetSegmentInfo() [2/3]

virtual int CBlastQuerySourceOM::GetSegmentInfo ( int  index) const
inlinevirtual

Get segment information (for mapping paired short reads)

Implements IBlastQuerySource.

Definition at line 159 of file blast_objmgr_priv.hpp.

References NCBI_THROW.

◆ GetSegmentInfo() [3/3]

virtual int IBlastQuerySource::GetSegmentInfo ( int  index) const
pure virtual

Get segment information (for mapping paired short reads)

Implemented in CBlastQuerySourceOM, and CBlastQuerySourceBioseqSet.

Referenced by SetupQueryInfo_OMF().

◆ GetSegments() [1/2]

vector<CHitSegment*>& CCddInputData::CHit::GetSegments ( void  )
inline

Get hit segments.

Returns
Reference to hit segments

Definition at line 344 of file cdd_pssm_input.hpp.

References CCddInputData::CHit::m_SegmentList.

Referenced by CCddInputData::CHit::IntersectWith(), and CCddInputData::CHit::Subtract().

◆ GetSegments() [2/2]

const vector<CHitSegment*>& CCddInputData::CHit::GetSegments ( void  ) const
inline

Get hit segments.

Returns
Reference to hit segments

Definition at line 348 of file cdd_pssm_input.hpp.

References CCddInputData::CHit::m_SegmentList.

◆ GetSentinelByte()

Uint1 GetSentinelByte ( EBlastEncoding  encoding)

Convenience function to centralize the knowledge of which sentinel bytes we use for supported encodings.

Note that only eBlastEncodingProtein, eBlastEncodingNucleotide, and eBlastEncodingNcbi4na support sentinel bytes, any other values for encoding will cause an exception to be thrown.

Parameters
encodingEncoding for which a sentinel byte is needed [in]
Returns
sentinel byte
Exceptions
CBlastExceptionin case of unsupported encoding

Definition at line 1249 of file blast_setup_cxx.cpp.

References eBlastEncodingNcbi4na, eBlastEncodingNucleotide, eBlastEncodingProtein, kNuclSentinel, kProtSentinel, and NCBI_THROW.

Referenced by CompressedAalookupTestFixture::GetSeqBlk(), AalookupTestFixture::GetSeqBlk(), GetSequenceNucleotideBothStrands(), GetSequenceProtein(), GetSequenceSingleNucleotideStrand(), InitializeBlastScoreBlk(), and CPssmEngine::x_GuardProteinQuery().

◆ GetSeq_loc() [1/3]

CConstRef< CSeq_loc > CObjMgr_LocalQueryData::GetSeq_loc ( size_t  index)
virtual

Get the Seq_loc for the sequence indicated by index.

Implements ILocalQueryData.

Definition at line 243 of file objmgr_query_data.cpp.

References IBlastQuerySource::GetSeqLoc(), and CObjMgr_LocalQueryData::m_QuerySource.

◆ GetSeq_loc() [2/3]

CConstRef< CSeq_loc > CObjMgrFree_LocalQueryData::GetSeq_loc ( size_t  index)
virtual

Get the Seq_loc for the sequence indicated by index.

Implements ILocalQueryData.

Definition at line 143 of file objmgrfree_query_data.cpp.

References IBlastQuerySource::GetSeqLoc(), and CObjMgrFree_LocalQueryData::m_QuerySource.

◆ GetSeq_loc() [3/3]

virtual CConstRef<objects::CSeq_loc> ILocalQueryData::GetSeq_loc ( size_t  index)
pure virtual

◆ GetSeqAlign() [1/2]

CConstRef<objects::CSeq_align_set> CSearchResults::GetSeqAlign ( void  ) const
inline

◆ GetSeqAlign() [2/2]

CConstRef<CSeq_align_set> CMagicBlastResults::GetSeqAlign ( void  ) const
inline

Get alignments.

Definition at line 174 of file magicblast.hpp.

References CMagicBlastResults::m_Aligns.

◆ GetSeqAlignSets()

TSeqAlignVector CRemoteBlast::GetSeqAlignSets ( )

Get the seqalign vector from the results.

This method returns the alignment data from the search as a TSeqAlignVector, which is a vector of CSeq_align_set objects. For multiple query searches, this method will normally return each alignment as a seperate element of the TSeqAlignVector. Note that in some cases, the TSeqAlignVector will not have an entry for some queries. If the vector contains fewer alignments than there were queries, it may be necessary for the calling code to match queries to alignments by comparing Seq_ids. This normally happens only if the same query is specified multiple times, or if one of the searches does not find any matches.

Returns
A seqalign vector.

Definition at line 405 of file remote_blast.cpp.

References CSeq_id::Compare(), CSeq_id::e_YES, CConstRef< C, Locker >::Empty(), CSeq_align_set_Base::Get(), CRemoteBlast::GetAlignments(), ITERATE, CRef< C, Locker >::NotEmpty(), CRef< C, Locker >::Reset(), CSeq_align_set_Base::Set(), and CRemoteBlast::x_ExtractQueryIds().

Referenced by BOOST_AUTO_TEST_CASE(), CRemoteBlast::GetResultSet(), s_BuildResultsRemote(), and x_CountHits().

◆ GetSeqBlk() [1/2]

BLAST_SequenceBlk * CMultiSeqInfo::GetSeqBlk ( int  index)
inline

Returns sequence block structure for one of the sequences.

Parameters
indexWhich sequence to retrieve sequence block for? [in]
Returns
The sequence block.

Definition at line 123 of file seqsrc_multiseq.cpp.

References _ASSERT, and CMultiSeqInfo::m_ivSeqBlkVec.

◆ GetSeqBlk() [2/2]

BLAST_SequenceBlk * CQueryFactoryInfo::GetSeqBlk ( Uint4  index)
inline

Returns sequence block structure for one of the sequences.

Parameters
indexWhich sequence to retrieve sequence block for? [in]
Returns
The sequence block.

Definition at line 200 of file seqsrc_query_factory.cpp.

References CQueryFactoryInfo::GetNumSeqs(), and CQueryFactoryInfo::m_SeqBlkVector.

◆ GetSeqDb()

CRef< CSeqDB > CSearchDatabase::GetSeqDb ( ) const

◆ GetSeqId() [1/4]

CConstRef< CSeq_id > CSearchResults::GetSeqId ( ) const

Accessor for the query's sequence identifier.

Definition at line 329 of file blast_results.cpp.

References CSearchResults::m_QueryId.

Referenced by CBlastFormat::PrintPhiResult(), and CIgBlast::x_ConvertResultType().

◆ GetSeqId() [2/4]

const CSeq_id * CBlastQuerySourceBioseqSet::GetSeqId ( int  index) const
virtual

Return the sequence identifier associated with a sequence.

Parameters
indexindex of the sequence in the sequence container [in]

Implements IBlastQuerySource.

Definition at line 288 of file bioseq_extract_data_priv.cpp.

References CBlastQuerySourceBioseqSet::m_Bioseqs.

◆ GetSeqId() [3/4]

const CSeq_id * CBlastQuerySourceOM::GetSeqId ( int  index) const
virtual

Return the sequence identifier associated with a sequence.

Parameters
indexindex of the sequence in the sequence container [in]

Implements IBlastQuerySource.

Definition at line 286 of file blast_objmgr_tools.cpp.

References GetId(), CBlastQueryVector::GetQuerySeqLoc(), CBlastQueryVector::GetScope(), i, CBlastQuerySourceOM::m_QueryVector, CBlastQuerySourceOM::m_TSeqLocVector, and CRef< C, Locker >::NotEmpty().

Referenced by CBlastQuerySourceOM::GetLength().

◆ GetSeqId() [4/4]

virtual const objects::CSeq_id* IBlastQuerySource::GetSeqId ( int  index) const
pure virtual

Return the sequence identifier associated with a sequence.

Parameters
indexindex of the sequence in the sequence container [in]

Implemented in CBlastQuerySourceOM, and CBlastQuerySourceBioseqSet.

Referenced by SetupQueries_OMF(), and SetupSubjects_OMF().

◆ GetSeqIds()

void CPsiBlastIterationState::GetSeqIds ( CConstRef< objects::CSeq_align_set >  seqalign,
CConstRef< CPSIBlastOptionsHandle opts,
TSeqIds retval 
)
static

Extract the sequence ids from the sequence alignment which identify those sequences that will be used for PSSM construction.

Parameters
seqalignSequence alignment [in]
optsoptions containing details for algorithm to select sequences from seqalign [in]
retvalList of sequence identifiers for those sequences from the seqalign which will participate in PSSM construction [out]

Definition at line 135 of file psiblast_iteration.cpp.

References set< Key, Compare >::clear(), and proc.

Referenced by BOOST_AUTO_TEST_CASE(), CDeltaBlastApp::DoPsiBlastIterations(), and CPsiBlastApp::x_RunLocalPsiBlastIterations().

◆ GetSeqLength() [1/3]

size_t CObjMgr_LocalQueryData::GetSeqLength ( size_t  index)
virtual

Get the length of the sequence indicated by index.

Implements ILocalQueryData.

Definition at line 249 of file objmgr_query_data.cpp.

References IBlastQuerySource::GetLength(), and CObjMgr_LocalQueryData::m_QuerySource.

◆ GetSeqLength() [2/3]

size_t CObjMgrFree_LocalQueryData::GetSeqLength ( size_t  index)
virtual

Get the length of the sequence indicated by index.

Implements ILocalQueryData.

Definition at line 149 of file objmgrfree_query_data.cpp.

References IBlastQuerySource::GetLength(), and CObjMgrFree_LocalQueryData::m_QuerySource.

◆ GetSeqLength() [3/3]

virtual size_t ILocalQueryData::GetSeqLength ( size_t  index)
pure virtual

◆ GetSeqLoc() [1/7]

CConstRef< CSeq_loc > CBlastQuerySourceOM::GetSeqLoc ( int  i) const
virtual

Return the CSeq_loc associated with a sequence.

Parameters
iindex of the sequence in the sequence container [in]

Implements IBlastQuerySource.

Definition at line 276 of file blast_objmgr_tools.cpp.

References CBlastQueryVector::GetQuerySeqLoc(), i, CBlastQuerySourceOM::m_QueryVector, CBlastQuerySourceOM::m_TSeqLocVector, and CRef< C, Locker >::NotEmpty().

Referenced by CBlastQuerySourceOM::GetTitle().

◆ GetSeqLoc() [2/7]

CConstRef< objects::CSeq_loc > CBlastQuerySourceBioseqSet::GetSeqLoc ( int  index) const
virtual

Return the CSeq_loc associated with a sequence.

Parameters
indexindex of the sequence in the sequence container [in]

Implements IBlastQuerySource.

Definition at line 278 of file bioseq_extract_data_priv.cpp.

References CBlastQuerySourceBioseqSet::m_Bioseqs.

Referenced by CBioseqSeqInfoSrc::GetId(), and s_ConstBioseqSetToSeqLocs().

◆ GetSeqLoc() [3/7]

virtual CConstRef<objects::CSeq_loc> IBlastQuerySource::GetSeqLoc ( int  index) const
pure virtual

Return the CSeq_loc associated with a sequence.

Parameters
indexindex of the sequence in the sequence container [in]

Implemented in CBlastQuerySourceBioseqSet, and CBlastQuerySourceOM.

Referenced by CObjMgr_LocalQueryData::GetSeq_loc(), CObjMgrFree_LocalQueryData::GetSeq_loc(), s_GetRestrictedBlastSeqLocs(), s_RestrictSeqLocs_Multiframe(), and SetupSubjects_OMF().

◆ GetSeqLoc() [4/7]

CConstRef< CSeq_loc > CSeqVecSeqInfoSrc::GetSeqLoc ( Uint4  index) const
virtual

Method to retrieve the sequence location given its ordinal number.

Parameters
indexthe ordinal number to retrieve [in]

Implements IBlastSeqInfoSrc.

Definition at line 79 of file seqinfosrc_seqvec.cpp.

References CSeqVecSeqInfoSrc::m_SeqVec, and NCBI_THROW.

◆ GetSeqLoc() [5/7]

CConstRef< CSeq_loc > CBioseqSeqInfoSrc::GetSeqLoc ( Uint4  index) const
virtual

Retrieve a sequence identifier given its index in the vector.

Parameters
indexthe ordinal number to retrieve [in]

Implements IBlastSeqInfoSrc.

Definition at line 74 of file seqinfosrc_bioseq.cpp.

References CreateWholeSeqLocFromIds(), and CBioseqSeqInfoSrc::GetId().

◆ GetSeqLoc() [6/7]

virtual CConstRef<objects::CSeq_loc> IBlastSeqInfoSrc::GetSeqLoc ( Uint4  index) const
pure virtual

Method to retrieve the sequence location given its ordinal number.

Parameters
indexthe ordinal number to retrieve [in]

Implemented in CSeqDbSeqInfoSrc, CBioseqSeqInfoSrc, and CSeqVecSeqInfoSrc.

Referenced by BlastHitList2SeqAlign_OMF(), and s_BLAST_OneSubjectResults2CSeqAlign().

◆ GetSeqLoc() [7/7]

CConstRef< CSeq_loc > CSeqDbSeqInfoSrc::GetSeqLoc ( Uint4  oid) const
virtual

Method to retrieve the sequence location given its ordinal number.

Parameters
indexthe ordinal number to retrieve [in]

Implements IBlastSeqInfoSrc.

Definition at line 72 of file seqinfosrc_seqdb.cpp.

References CreateWholeSeqLocFromIds(), and CSeqDbSeqInfoSrc::GetId().

◆ GetSeqLocs() [1/3]

IRemoteQueryData::TSeqLocs CObjMgr_RemoteQueryData::GetSeqLocs ( )
virtual

◆ GetSeqLocs() [2/3]

IRemoteQueryData::TSeqLocs CObjMgrFree_RemoteQueryData::GetSeqLocs ( )
virtual

◆ GetSeqLocs() [3/3]

virtual TSeqLocs IRemoteQueryData::GetSeqLocs ( )
pure virtual

◆ GetSeqSearch() [1/3]

CRef< ISeqSearch > CLocalSearchFactory::GetSeqSearch ( )
virtual

Get an object to manage a local sequence search.

Supporting elements.

Implements ISearchFactory.

Definition at line 69 of file local_search.cpp.

◆ GetSeqSearch() [2/3]

CRef< ISeqSearch > CRemoteSearchFactory::GetSeqSearch ( )
virtual

Get an object to manage a remote sequence search.

Supporting elements.

Implements ISearchFactory.

Definition at line 58 of file remote_search.cpp.

◆ GetSeqSearch() [3/3]

virtual CRef<ISeqSearch> ISearchFactory::GetSeqSearch ( )
pure virtual

Create a new search object with a sequence-based query.

A search object will be constructed and configured for a search using a query that consists of one or more sequences.

Returns
A search object for a sequence search.

Implemented in CRemoteSearchFactory, and CLocalSearchFactory.

Referenced by RunMultipleProteinSearch().

◆ GetSequence()

SBlastSequence GetSequence ( const objects::CSeq_loc &  sl,
EBlastEncoding  encoding,
objects::CScope *  scope,
objects::ENa_strand  strand = objects::eNa_strand_plus,
ESentinelType  sentinel = eSentinels,
std::string warnings = NULL 
)

Retrieves a sequence using the object manager.

Parameters
slseqloc of the sequence to obtain [in]
encodingencoding for the sequence retrieved. Supported encodings include: eBlastEncodingNcbi2na, eBlastEncodingNcbi4na, eBlastEncodingNucleotide, and eBlastEncodingProtein. [in]
scopeScope from which the sequences are retrieved [in]
strandstrand to retrieve (applies to nucleotide only). N.B.: When requesting the eBlastEncodingNcbi2na, only the plus strand is retrieved, because BLAST only requires one strand on the subject sequences (as in BLAST databases). [in]
sentinelUse eSentinels to guard nucleotide sequence with sentinel bytes (ignored for protein sequences, which always have sentinels) When using eBlastEncodingNcbi2na, this argument should be set to eNoSentinels as a sentinel byte cannot be represented in this encoding. [in]
warningsUsed to emit warnings when fetching sequence (e.g.: replacement of invalid characters). Parameter must be allocated by caller of this function and warnings will be appended. [out]
Exceptions
CBlastException,CSeqVectorException,CException
Returns
pair containing the buffer and its length.

Definition at line 568 of file blast_objmgr_tools.cpp.

References GetSequence_OMF().

Referenced by AascanTestFixture::AascanTestFixture(), BOOST_AUTO_TEST_CASE(), CompressedAascanTestFixture::CompressedAascanTestFixture(), CPssmCddInputTest::CreatePssmInput(), CBlastQuerySourceOM::GetBlastSequence(), CompressedAalookupTestFixture::GetSeqBlk(), AalookupTestFixture::GetSeqBlk(), LinkHspTestFixture::setupLinkHspInputBlastn(), NtlookupTestFixture::SetUpQuery(), TestFixture::SetUpQuery(), NuclWordFinderTextFixture::setupSequences(), TestFixture::SetUpSubject(), CMultiAligner::x_FindPatternHits(), and CRandomlyFailMockBlastSeqSrc::x_PopulateBLAST_SequenceBlk().

◆ GetSequence_OMF()

SBlastSequence GetSequence_OMF ( IBlastSeqVector sv,
EBlastEncoding  encoding,
objects::ENa_strand  strand,
ESentinelType  sentinel,
std::string warnings = 0 
)

◆ GetSequenceBlk() [1/3]

BLAST_SequenceBlk * CObjMgr_LocalQueryData::GetSequenceBlk ( )
virtual

◆ GetSequenceBlk() [2/3]

BLAST_SequenceBlk * CObjMgrFree_LocalQueryData::GetSequenceBlk ( )
virtual

◆ GetSequenceBlk() [3/3]

virtual BLAST_SequenceBlk* ILocalQueryData::GetSequenceBlk ( )
pure virtual

◆ GetSequenceCompressedNucleotide()

static SBlastSequence GetSequenceCompressedNucleotide ( IBlastSeqVector sv)
static

Auxiliary function to retrieve plus strand in compressed (ncbi4na) format.

Parameters
svabstraction to get sequence data [in]
Returns
requested data in compressed format

Definition at line 946 of file blast_setup_cxx.cpp.

References CompressNcbi2na(), CSeq_data_Base::e_Ncbi4na, IBlastSeqVector::GetCompressedPlusStrand(), and IBlastSeqVector::SetCoding().

Referenced by GetSequence_OMF().

◆ GetSequenceLengthAndId() [1/4]

void GetSequenceLengthAndId ( const blast::IBlastSeqInfoSrc *  seqinfo_src,
int  oid,
CRef< CSeq_id > &  seqid,
TSeqPos length 
)

◆ GetSequenceLengthAndId() [2/4]

void GetSequenceLengthAndId ( const blast::IBlastSeqInfoSrc *  seqinfo_src,
int  oid,
int(*)(const CRef< CSeq_id > &)  rank_func,
CRef< CSeq_id > &  seqid,
TSeqPos length 
)

◆ GetSequenceLengthAndId() [3/4]

void GetSequenceLengthAndId ( const IBlastSeqInfoSrc seqinfo_src,
int  oid,
CRef< objects::CSeq_id > &  seqid,
TSeqPos length 
)

Retrieves subject sequence Seq-id and length.

Parameters
seqinfo_srcSource of subject sequences information [in]
oidOrdinal id (index) of the subject sequence [in]
seqidSubject sequence identifier to fill [out]
lengthSubject sequence length [out]

Referenced by BlastHitList2SeqAlign_OMF(), BLASTPrelminSearchHitListToStdSeg(), PrintSAMHeader(), CSeedTop::Run(), s_BLAST_OneSubjectResults2CSeqAlign(), and s_CreateSeqAlign().

◆ GetSequenceLengthAndId() [4/4]

void GetSequenceLengthAndId ( const IBlastSeqInfoSrc seqinfo_src,
int  oid,
int(*)(const CRef< objects::CSeq_id > &)  rank_func,
CRef< objects::CSeq_id > &  seqid,
TSeqPos length 
)

Retrieves subject sequence Seq-id and length, using the provided sequence id ranking function.

Parameters
seqinfo_srcSource of subject sequences information [in]
oidOrdinal id (index) of the subject sequence [in]
rank_funcSequence id ranking function [in]
seqidSubject sequence identifier to fill [out]
lengthSubject sequence length [out]

◆ GetSequenceNucleotideBothStrands()

static SBlastSequence GetSequenceNucleotideBothStrands ( IBlastSeqVector sv,
EBlastEncoding  encoding,
ESentinelType  sentinel 
)
static

Auxiliary function to retrieve both strands of a nucleotide sequence.

Parameters
svabstraction to get sequence data [in]
encodingdesired encoding for the data above [in]
sentineluse or do not use sentinel bytes [in]
Returns
concatenated strands in requested encoding with sentinels as requested

Definition at line 1015 of file blast_setup_cxx.cpp.

References CalculateSeqBufferLength(), eNa_strand_both, eNa_strand_minus, eNa_strand_plus, eNoSentinels, eSentinels, GetSentinelByte(), GetSequenceSingleNucleotideStrand(), NStr::IntToString(), malloc(), minus(), NCBI_THROW, plus(), and IBlastSeqVector::size().

Referenced by GetSequence_OMF().

◆ GetSequenceParts()

void CBlastServices::GetSequenceParts ( const TSeqIntervalVector seqids,
const string database,
char  seqtype,
TSeqIdVector ids,
TSeqDataVector seq_data,
string errors,
string warnings,
bool  verbose = false 
)
static

This retrieves (partial) sequence data from the remote BLAST server.

Parameters
seqidA vector of Seq-ids for which sequence data are requested. [in]
databaseA list of databases from which to get the sequences. [in]
seqtypeThe residue type, 'p' from protein, 'n' for nucleotide. [in]
idsThe sequence IDs for those sequences which the seq data was
seq_dataSequence data in CSeq_data format. [out]
errorsAn error message (if any). [out]
warningsA warning (if any). [out]
verboseProduce verbose output. [in]

Definition at line 616 of file blast_services.cpp.

References CBlast4Client_Base::Ask(), database, CRef< C, Locker >::Empty(), MSerial_AsnText, NCBI_THROW, NcbiCout, s_BuildGetSeqPartsRequest(), and s_GetPartsFromReply().

Referenced by BOOST_AUTO_TEST_CASE(), CRemoteBlastDbAdapter::x_FetchData(), and CRemoteBlastDbAdapter::x_FetchDataByBatch().

◆ GetSequenceProtein()

static SBlastSequence GetSequenceProtein ( IBlastSeqVector sv,
string warnings = 0 
)
static

◆ GetSequences()

void CBlastServices::GetSequences ( TSeqIdVector seqids,
const string database,
char  seqtype,
TBioseqVector bioseqs,
string errors,
string warnings,
bool  verbose = false,
bool  target_only = false 
)
static

Get a set of Bioseqs given an input set of Seq-ids.

This retrieves the Bioseqs corresponding to the given Seq-ids from the blast4 server. Normally this will be much faster than consulting ID1 seperately for each sequence. Sometimes there are multiple sequences for a given Seq-id. In such cases, there are always 'non-ambiguous' ids available. This interface does not currently address this issue, and will simply return the Bioseqs corresponding to one of the sequences. Errors will be returned if the operation cannot be completed (or started). In the case of a sequence that cannot be found, the error will indicate the index of (and Seq-id of) the missing sequence; processing will continue, and the sequences that can be found will be returned along with the error.

Parameters
seqidsA vector of Seq-ids for which Bioseqs are requested.
databaseA list of databases from which to get the sequences.
seqtypeThe residue type, 'p' from protein, 'n' for nucleotide.
bioseqsThe vector used to return the requested Bioseqs.
errorsA null-separated list of errors.
warningsA null-separated list of warnings.
verboseProduce verbose output. [in]
target_onlyFilter the defline to include only the requested id. [in]

Definition at line 571 of file blast_services.cpp.

References database, and s_GetSequences().

Referenced by BOOST_AUTO_TEST_CASE(), and CDUpdater::retrieveAllSequences().

◆ GetSequencesInfo()

void CBlastServices::GetSequencesInfo ( TSeqIdVector seqids,
const string database,
char  seqtype,
TBioseqVector bioseqs,
string errors,
string warnings,
bool  verbose = false,
bool  target_only = false 
)
static

Get a set of Bioseqs without their sequence data given an input set of.

Seq-ids.

Parameters
seqidsA vector of Seq-ids for which Bioseqs are requested.
databaseA list of databases from which to get the sequences.
seqtypeThe residue type, 'p' from protein, 'n' for nucleotide.
bioseqsThe vector used to return the requested Bioseqs.
errorsA null-separated list of errors.
warningsA null-separated list of warnings.
verboseProduce verbose output. [in]
target_onlyFilter the defline to include only the requested id. [in]

Definition at line 557 of file blast_services.cpp.

References database, and s_GetSequences().

Referenced by BOOST_AUTO_TEST_CASE(), CRemoteBlastDbAdapter::SeqidToOid(), and CRemoteBlastDbAdapter::SeqidToOidBatch().

◆ GetSequenceSingleNucleotideStrand()

static SBlastSequence GetSequenceSingleNucleotideStrand ( IBlastSeqVector sv,
EBlastEncoding  encoding,
objects::ENa_strand  strand,
ESentinelType  sentinel 
)
static

Auxiliary function to retrieve a single strand of a nucleotide sequence.

Parameters
svabstraction to get sequence data [in]
encodingdesired encoding for the data above [in]
stranddesired strand [in]
sentineluse or do not use sentinel bytes [in]
Returns
Requested strand in desired encoding with/without sentinels

Definition at line 964 of file blast_setup_cxx.cpp.

References _ASSERT, BLASTNA_SIZE, buffer, CalculateSeqBufferLength(), CSeq_data_Base::e_Ncbi4na, eBlastEncodingNucleotide, eNa_strand_minus, eNa_strand_plus, eSentinels, GetSentinelByte(), IBlastSeqVector::GetStrandData(), i, NStr::IntToString(), malloc(), NCBI4NA_TO_BLASTNA, NCBI_THROW, NULL, AutoPtr< X, Del >::release(), AutoPtr< X, Del >::reset(), IBlastSeqVector::SetCoding(), ncbi::grid::netcache::search::fields::size, and IBlastSeqVector::size().

Referenced by GetSequence_OMF(), and GetSequenceNucleotideBothStrands().

◆ GetService() [1/2]

string CRemoteBlast::GetService ( )

Get the service used for this search.

Returns
The value of the service parameter.

Definition at line 1897 of file remote_blast.cpp.

References CRemoteBlast::m_Service, and CRemoteBlast::x_GetRequestInfo().

Referenced by BOOST_AUTO_TEST_CASE(), and CRemoteBlast::GetSearchOptions().

◆ GetService() [2/2]

string CImportStrategy::GetService ( ) const

Fetches service, such as psiblast, plain, megablast.

Definition at line 209 of file search_strategy.cpp.

References CImportStrategy::m_Request.

Referenced by BOOST_AUTO_TEST_CASE().

◆ GetSigma()

void CScorematPssmConverter::GetSigma ( const objects::CPssmWithParameters &  pssm,
vector< double > &  retval 
)
static

Data used in sequence weights computation.

Parameters
pssmPSSM to extract data from [in]
retvalvector containing the sigma values or an empty vector if this data is not available [in|out]

Definition at line 374 of file psiblast_aux_priv.cpp.

References copy(), CPssm_Base::GetIntermediateData(), and CPssmIntermediateData_Base::GetSigma().

◆ GetSmithWatermanMode() [1/4]

bool CBlastAdvancedProteinOptionsHandle::GetSmithWatermanMode ( ) const
inline

Returns this mode, specifying that smith waterman rather than the normal blast heuristic should be used for final extensions.

into account when calculating expect values.

Definition at line 84 of file blast_advprot_options.hpp.

Referenced by BOOST_FIXTURE_TEST_CASE().

◆ GetSmithWatermanMode() [2/4]

bool CBlastOptions::GetSmithWatermanMode ( ) const

◆ GetSmithWatermanMode() [3/4]

bool CBlastxOptionsHandle::GetSmithWatermanMode ( ) const
inline

Returns this mode, specifying that smith waterman rather than the normal blast heuristic should be used for final extensions.

into account when calculating expect values.

Definition at line 118 of file blastx_options.hpp.

◆ GetSmithWatermanMode() [4/4]

bool CBlastOptionsLocal::GetSmithWatermanMode ( ) const
inline

◆ GetSplice()

bool CBlastOptionsLocal::GetSplice ( ) const
inline

Splice HSPs for each query.

Definition at line 1594 of file blast_options_local_priv.hpp.

References CBlastOptionsLocal::m_HitSaveOpts, and BlastHitSavingOptions::splice.

Referenced by CBlastOptions::GetSpliceAlignments().

◆ GetSpliceAlignments() [1/2]

bool CBlastOptions::GetSpliceAlignments ( ) const

Splice HSPs for each query (for mappring RNA-Seq reads to a genome)

Definition at line 2176 of file blast_options_cxx.cpp.

References CBlastOptionsLocal::GetSplice(), CBlastOptions::m_Local, and CBlastOptions::x_Throwx().

◆ GetSpliceAlignments() [2/2]

bool CMagicBlastOptionsHandle::GetSpliceAlignments ( ) const
inline

Return the splice/unsplice alignments switch value.

Returns
True if alignments are spliced, false otherwise

Definition at line 207 of file magicblast_options.hpp.

Referenced by CMagicBlastThread::Main().

◆ GetStartingChunk()

int CContextTranslator::GetStartingChunk ( size_t  curr_chunk,
Int4  context_in_chunk 
) const

Get the chunk number where context_in_chunk starts (i.e.

: location of its first chunk).

Parameters
curr_chunkChunk where the context_in_chunk is found [in]
context_in_chunkContext in the split query [in]
Returns
the appropriate chunk number or kInvalidContext if the context is not valid in the query chunk (i.e.: strand not searched)

Definition at line 266 of file split_query_aux_priv.cpp.

References CContextTranslator::GetAbsoluteContext(), CContextTranslator::GetContextInChunk(), and kInvalidContext.

Referenced by CContextTranslator::CContextTranslator(), CQuerySplitter::x_ComputeContextOffsets_NonTranslatedQueries(), CQuerySplitter::x_ComputeContextOffsets_TranslatedQueries(), and CSplitQueryTestFixture::x_TestCContextTranslator().

◆ GetStrand() [1/4]

objects::ENa_strand IBlastSeqVector::GetStrand ( void  ) const
inline

Accessor for the strand currently set.

Definition at line 233 of file blast_setup.hpp.

References IBlastSeqVector::m_Strand.

Referenced by CBlastSeqVectorFromCSeq_data::x_SetMinusStrand(), and CBlastSeqVectorFromCSeq_data::x_SetPlusStrand().

◆ GetStrand() [2/4]

ENa_strand CBlastQuerySourceOM::GetStrand ( int  i) const
virtual

Return strand for a sequence.

Parameters
iindex of the sequence in the sequence container [in]

Implements IBlastQuerySource.

Definition at line 239 of file blast_objmgr_tools.cpp.

References CBlastQueryVector::GetQuerySeqLoc(), CBlastQueryVector::GetScope(), GetStrand(), i, CBlastQuerySourceOM::m_QueryVector, CBlastQuerySourceOM::m_TSeqLocVector, and CRef< C, Locker >::NotEmpty().

◆ GetStrand() [3/4]

objects::ENa_strand CBlastQuerySourceBioseqSet::GetStrand ( int  index) const
virtual

Return strand for a sequence.

Parameters
indexof the sequence in the sequence container [in]

Implements IBlastQuerySource.

Definition at line 251 of file bioseq_extract_data_priv.cpp.

References eNa_strand_both, eNa_strand_unknown, and CBlastQuerySourceBioseqSet::m_IsProt.

◆ GetStrand() [4/4]

virtual objects::ENa_strand IBlastQuerySource::GetStrand ( int  index) const
pure virtual

Return strand for a sequence.

Parameters
indexindex of the sequence in the sequence container [in]

Implemented in CBlastQuerySourceBioseqSet, and CBlastQuerySourceOM.

Referenced by s_AdjustFirstContext(), SetupQueries_OMF(), and SetupQueryInfo_OMF().

◆ GetStrandData() [1/2]

virtual void CBlastSeqVectorOM::GetStrandData ( objects::ENa_strand  strand,
unsigned char *  buf 
)
inlinevirtual

@inheritDoc

Reimplemented from IBlastSeqVector.

Definition at line 502 of file blast_objmgr_tools.cpp.

References buf, CBlastSeqVectorOM::m_SeqVector, and CBlastSeqVectorOM::x_FixStrand().

◆ GetStrandData() [2/2]

virtual void IBlastSeqVector::GetStrandData ( objects::ENa_strand  strand,
unsigned char *  buf 
)
inlinevirtual

Retrieve strand data in one chunk.

Parameters
strandstrand to retrieve [in]
bufbuffer in which to return the data, should be allocated by caller with enough capacity to copy the entire sequence data
Note
default implementation still gets it one character at a time

Reimplemented in CBlastSeqVectorOM.

Definition at line 208 of file blast_setup.hpp.

References buf, IsForward(), IBlastSeqVector::operator[](), IBlastSeqVector::size(), IBlastSeqVector::x_SetMinusStrand(), IBlastSeqVector::x_SetPlusStrand(), and IBlastSeqVector::x_Size().

Referenced by GetSequenceSingleNucleotideStrand().

◆ GetStrandOption() [1/5]

objects::ENa_strand CBlastNucleotideOptionsHandle::GetStrandOption ( ) const
inline

Returns StrandOption.

Definition at line 93 of file blast_nucl_options.hpp.

◆ GetStrandOption() [2/5]

objects::ENa_strand CBlastOptions::GetStrandOption ( ) const

◆ GetStrandOption() [3/5]

objects::ENa_strand CBlastxOptionsHandle::GetStrandOption ( ) const
inline

Returns StrandOption.

Definition at line 64 of file blastx_options.hpp.

◆ GetStrandOption() [4/5]

objects::ENa_strand CTBlastxOptionsHandle::GetStrandOption ( ) const
inline

Returns StrandOption.

Definition at line 66 of file tblastx_options.hpp.

◆ GetStrandOption() [5/5]

objects::ENa_strand CBlastOptionsLocal::GetStrandOption ( ) const
inline

◆ GetString()

string CReference::GetString ( EPublication  pub)
static

Reference for requested publication.

Definition at line 112 of file version.cpp.

References int, and kReferences.

Referenced by BlastXML_FormatReport(), BOOST_AUTO_TEST_CASE(), CReference::GetHTMLFreeString(), s_DoTestReference(), and s_FillBlastOutput().

◆ GetSubject() [1/2]

CRef< objects::CBlast4_subject > CImportStrategy::GetSubject ( )

Returns the target sequences.

This is then a choice of a database (for searches over a blast database) or as a list of Bioseqs (for bl2seq type searches).

Definition at line 223 of file search_strategy.cpp.

References CImportStrategy::m_Request, and CBlast4_queue_search_request_Base::SetSubject().

Referenced by BOOST_AUTO_TEST_CASE().

◆ GetSubject() [2/2]

const SSeqLoc & CBl2Seq::GetSubject ( ) const
inline

Retrieve the subject sequence.

Definition at line 258 of file bl2seq.hpp.

References CBl2Seq::m_tSubjects.

◆ GetSubjectBestHit() [1/2]

bool CBlastOptions::GetSubjectBestHit ( ) const

◆ GetSubjectBestHit() [2/2]

bool CBlastOptionsLocal::GetSubjectBestHit ( ) const
inline

◆ GetSubjectEncoding()

EBlastEncoding GetSubjectEncoding ( EBlastProgramType  program)

Returns the encoding for the sequence data used in BLAST2Sequences for the subject.

Parameters
programprogram type [in]
Exceptions
CBlastExceptionin case of unsupported program

Definition at line 1124 of file blast_setup_cxx.cpp.

References abort(), eBlastEncodingError, eBlastEncodingNcbi4na, eBlastEncodingNucleotide, eBlastEncodingProtein, eBlastTypeBlastn, eBlastTypeBlastp, eBlastTypeBlastx, eBlastTypeMapping, eBlastTypePhiBlastp, eBlastTypePsiBlast, eBlastTypePsiTblastn, eBlastTypeTblastn, and eBlastTypeTblastx.

Referenced by SetupSubjects_OMF().

◆ GetSubjectMaskingType() [1/3]

ESubjectMaskingType CBlastOptionsBuilder::GetSubjectMaskingType ( )

◆ GetSubjectMaskingType() [2/3]

ESubjectMaskingType CImportStrategy::GetSubjectMaskingType ( )

Get Subject Masking Type.

Definition at line 200 of file search_strategy.cpp.

References CImportStrategy::FetchData(), and CImportStrategy::m_Data.

Referenced by BOOST_AUTO_TEST_CASE().

◆ GetSubjectMaskingType() [3/3]

ESubjectMaskingType CRemoteBlast::GetSubjectMaskingType ( ) const

Definition at line 1508 of file remote_blast.cpp.

References CRemoteBlast::m_SubjectMaskingType.

◆ GetSubjectMasks()

void CSearchResults::GetSubjectMasks ( TSeqLocInfoVector subj_masks) const

Retrieve the masked locations for the subject sequences in the contained alignment.

Parameters
subj_masksmasked locations [out]

Definition at line 335 of file blast_results.cpp.

References CSearchResults::m_SubjectMasks.

◆ GetSubjects()

const TSeqLocVector & CBl2Seq::GetSubjects ( ) const
inline

Retrieve a vector of subject sequences.

Definition at line 272 of file bl2seq.hpp.

References CBl2Seq::m_tSubjects.

Referenced by BOOST_AUTO_TEST_CASE(), and CRedoAlignmentTestFixture::runRedoAlignmentCoreUnitTest().

◆ GetSubjectSeqLocs()

CBlast4_subject::TSeq_loc_list CRemoteBlast::GetSubjectSeqLocs ( )

◆ GetSubjectSequences()

list< CRef< objects::CBioseq > > CRemoteBlast::GetSubjectSequences ( )

Returns subject sequences if "bl2seq" mode used.

Returns
a list of bioseqs

Definition at line 1861 of file remote_blast.cpp.

References CRemoteBlast::m_SubjectSequences, CRemoteBlast::x_GetRequestInfo(), and CRemoteBlast::x_HasRetrievedSubjects().

Referenced by s_ConvertSubjects2TSeqLocVector().

◆ GetSumOfSequenceLengths()

size_t ILocalQueryData::GetSumOfSequenceLengths ( )

◆ GetSumStatisticsMode() [1/2]

bool CBlastOptions::GetSumStatisticsMode ( ) const

◆ GetSumStatisticsMode() [2/2]

bool CBlastOptionsLocal::GetSumStatisticsMode ( ) const
inline

◆ GetTask() [1/2]

string CImportStrategy::GetTask ( )

Fetches task, such as "megablast", "blastn", etc.

Definition at line 150 of file search_strategy.cpp.

References CImportStrategy::FetchData(), and CImportStrategy::m_Data.

Referenced by BOOST_AUTO_TEST_CASE().

◆ GetTask() [2/2]

string CRemoteBlast::GetTask ( ) const
inline

Returns the task used to create the remote search (if any)

Definition at line 456 of file remote_blast.hpp.

References CRemoteBlast::m_Task.

Referenced by CBlastFormatterApp::PrintFormattedOutput().

◆ GetTasks()

set< string > CBlastOptionsFactory::GetTasks ( ETaskSets  choice = eAll)
static

◆ GetTaxidList() [1/3]

list< TTaxId > CBlastOptionsBuilder::GetTaxidList ( )

◆ GetTaxidList() [2/3]

set<TTaxId>& CRemoteBlast::GetTaxidList ( )
inline

Definition at line 490 of file remote_blast.hpp.

References CRemoteBlast::m_TaxidList.

Referenced by CBlastFormatterApp::PrintFormattedOutput().

◆ GetTaxidList() [3/3]

set< int > CImportStrategy::GetTaxidList ( )

◆ GetTaxIdWithWindowMaskerSupport() [1/2]

objects::CBlast4_get_windowmasked_taxids_reply::Tdata CBlastServices::GetTaxIdWithWindowMaskerSupport ( )

Retrieve a list of NCBI taxonomy IDs for which there exists windowmasker masking data to support an alternative organism specific filtering.

Definition at line 656 of file blast_services.cpp.

References client, CBlastServices::m_Verbose, CBlastServices::m_WindowMaskedTaxIds, MSerial_AsnText, NCBI_THROW, and NcbiCout.

Referenced by BOOST_AUTO_TEST_CASE().

◆ GetTaxIdWithWindowMaskerSupport() [2/2]

void GetTaxIdWithWindowMaskerSupport ( set< int > &  supported_taxids)

This function returns a list of NCBI taxonomy IDs for which there exists windowmasker masking data to support organism specific filtering.

Definition at line 454 of file winmask_filter.cpp.

References set< Key, Compare >::clear(), set< Key, Compare >::empty(), NStr::fConvErr_NoThrow, fFF_File, FindFiles(), CDirEntry::GetPathSeparator(), set< Key, Compare >::insert(), NON_CONST_ITERATE, s_FindPathToWM(), s_OldGetTaxIdWithWindowMaskerSupport(), s_WINDOW_MASKER_STAT_FILE_NAME(), and NStr::StringToInt().

Referenced by BOOST_AUTO_TEST_CASE().

◆ GetTemplateLength()

unsigned char CDiscNucleotideOptionsHandle::GetTemplateLength ( ) const
inline

Returns TemplateLength.

Definition at line 64 of file disc_nucl_options.hpp.

Referenced by BOOST_AUTO_TEST_CASE(), and BOOST_FIXTURE_TEST_CASE().

◆ GetTemplateType()

unsigned char CDiscNucleotideOptionsHandle::GetTemplateType ( ) const
inline

Returns TemplateType.

Definition at line 75 of file disc_nucl_options.hpp.

Referenced by BOOST_FIXTURE_TEST_CASE().

◆ GetThresh()

double CBlastpKmerOptionsHandle::GetThresh ( ) const
inline

Returns threshold for Jaccard distance (range: 0-1)

Definition at line 64 of file blastp_kmer_options.hpp.

Referenced by CBlastKmerThread::Main(), and CBlastKmerSearch::Run().

◆ GetTitle() [1/4]

string CBlastQuerySourceBioseqSet::GetTitle ( int  index) const
virtual

Return the title of a sequence.

Parameters
indexindex of the sequence in the sequence container [in]

Implements IBlastQuerySource.

Definition at line 345 of file bioseq_extract_data_priv.cpp.

References CBioseq_Base::CanGetDescr(), CSeqdesc_Base::e_Molinfo, CSeqdesc_Base::e_Title, NStr::EndsWith(), CSeq_descr_Base::Get(), CBioseq_Base::GetDescr(), ITERATE, kEmptyStr, and CBlastQuerySourceBioseqSet::m_Bioseqs.

◆ GetTitle() [2/4]

string CBlastQuerySourceOM::GetTitle ( int  index) const
virtual

◆ GetTitle() [3/4]

virtual string IBlastQuerySource::GetTitle ( int  index) const
pure virtual

Return the title of a sequence.

Parameters
indexindex of the sequence in the sequence container [in]
Returns
the sequence title or kEmptyStr if not available

Implemented in CBlastQuerySourceOM, and CBlastQuerySourceBioseqSet.

Referenced by SetupQueries_OMF(), and SetupSubjects_OMF().

◆ GetTitle() [4/4]

string CRemoteBlast::GetTitle ( void  )

◆ GetTotLength()

Int8 CMultiSeqInfo::GetTotLength ( )
inline

Returns total length.

Definition at line 103 of file seqsrc_multiseq.cpp.

References CMultiSeqInfo::m_iTotalLength.

◆ GetTSeqLocVector()

TSeqLocVector CObjMgr_QueryFactory::GetTSeqLocVector ( )

◆ GetUngappedKarlinBlk()

const Blast_KarlinBlk* CBlastAncillaryData::GetUngappedKarlinBlk ( ) const
inline

Retrieve ungapped Karlin parameters.

Definition at line 97 of file blast_results.hpp.

Referenced by s_BuildArchiveAll().

◆ GetUnifiedP() [1/2]

int CBlastOptions::GetUnifiedP ( ) const

◆ GetUnifiedP() [2/2]

int CBlastOptionsLocal::GetUnifiedP ( ) const
inline

◆ GetUseIndex() [1/2]

bool CBlastOptions::GetUseIndex ( ) const

◆ GetUseIndex() [2/2]

bool CBlastOptionsLocal::GetUseIndex ( ) const
inline

◆ GetWarnings()

string CRemoteBlast::GetWarnings ( void  )

This returns any warnings encountered.

These do not necessarily indicate an error or even a potential error; some warnings are always returned from certain types of searches. (This is a debugging feature and warnings should probably not be returned to the end-user).

Returns
Empty string or newline seperated list of warnings.

Definition at line 1224 of file remote_blast.cpp.

References i, CRemoteBlast::m_Warn, and string.

Referenced by BOOST_AUTO_TEST_CASE().

◆ GetWarningStrings()

string CSearchResults::GetWarningStrings ( ) const

Retrieve a string with the query identifier followed by the warnings produced, returns a empty string if HasWarnings() returns false.

Definition at line 277 of file blast_results.cpp.

References eBlastSevWarning, TQueryMessages::GetQueryId(), ITERATE, CSearchResults::m_Errors, and string.

Referenced by CBlastAligner::GenerateAlignments().

◆ GetWarningVector()

const vector< string > & CRemoteBlast::GetWarningVector ( )

This returns any warnings encountered as a vector of strings.

See also
CRemoteBlast::GetWarnings
Returns
Reference to a vector of warnings.

Definition at line 1240 of file remote_blast.cpp.

References CRemoteBlast::m_Warn.

Referenced by CRemoteBlast::GetResultSet(), CRemoteSeqSearch::Run(), CRemotePssmSearch::Run(), and s_BuildResultsRemote().

◆ GetWebFormatOptions()

objects::CBlast4_parameters * CImportStrategy::GetWebFormatOptions ( )

Options for controlling formatting (psi blast iteration number also).

Returns
the web formatting options or NULL if unavailable

Definition at line 253 of file search_strategy.cpp.

References CBlast4_queue_search_request_Base::CanGetFormat_options(), CImportStrategy::m_Request, NULL, and CBlast4_queue_search_request_Base::SetFormat_options().

Referenced by BOOST_AUTO_TEST_CASE().

◆ GetWeightedResidueFrequencies()

CNcbiMatrix< double > * CScorematPssmConverter::GetWeightedResidueFrequencies ( const objects::CPssmWithParameters &  pssm)
static

Returns matrix of BLASTAA_SIZE by query size (dimensions are opposite of what is stored in the BlastScoreBlk) containing the weighted residue frequencies per position of the PSSM.

Parameters
pssmPSSM to extract data from [in]
Returns
NULL if weighted residue frequencies are not available

Definition at line 311 of file psiblast_aux_priv.cpp.

References _ASSERT, BLASTAA_SIZE, Convert2Matrix(), ctll::empty(), CPssm_Base::GetByRow(), CPssm_Base::GetIntermediateData(), CPssm_Base::GetNumColumns(), CPssm_Base::GetNumRows(), CPssmIntermediateData_Base::GetWeightedResFreqsPerPos(), NULL, and ncbi::grid::netcache::search::fields::size.

◆ GetWindowMaskerDatabase() [1/3]

const char* CBlastNucleotideOptionsHandle::GetWindowMaskerDatabase ( ) const
inline

Get the window masker database name (or NULL if not set).

Definition at line 146 of file blast_nucl_options.hpp.

Referenced by BOOST_AUTO_TEST_CASE().

◆ GetWindowMaskerDatabase() [2/3]

const char * CBlastOptions::GetWindowMaskerDatabase ( ) const

Return the name of the windowmasker database to use.

Definition at line 1367 of file blast_options_cxx.cpp.

References CBlastOptionsLocal::GetWindowMaskerDatabase(), CBlastOptions::m_Local, and CBlastOptions::x_Throwx().

Referenced by Blast_FindWindowMaskerLoc_Fwd(), and CBlastQuerySourceOM::x_CalculateMasks().

◆ GetWindowMaskerDatabase() [3/3]

const char * CBlastOptionsLocal::GetWindowMaskerDatabase ( ) const
inline

◆ GetWindowMaskerTaxId() [1/3]

int CBlastNucleotideOptionsHandle::GetWindowMaskerTaxId ( ) const
inline

Get the window masker taxid (or 0 if not set).

Definition at line 139 of file blast_nucl_options.hpp.

Referenced by BOOST_AUTO_TEST_CASE().

◆ GetWindowMaskerTaxId() [2/3]

int CBlastOptions::GetWindowMaskerTaxId ( ) const

Returns the tax id used for the windowmasker database to use, if set via SetWindowMaskerTaxId (otherwise, returns 0)

Definition at line 1343 of file blast_options_cxx.cpp.

References CBlastOptionsLocal::GetWindowMaskerTaxId(), CBlastOptions::m_Local, and CBlastOptions::x_Throwx().

Referenced by Blast_FindWindowMaskerLoc_Fwd(), and CBlastQuerySourceOM::x_CalculateMasks().

◆ GetWindowMaskerTaxId() [3/3]

int CBlastOptionsLocal::GetWindowMaskerTaxId ( ) const
inline

◆ GetWindowSize() [1/3]

int CBlastOptions::GetWindowSize ( ) const

◆ GetWindowSize() [2/3]

int CBlastOptionsHandle::GetWindowSize ( ) const
inline

Returns WindowSize.

Definition at line 181 of file blast_options_handle.hpp.

References CBlastOptions::GetWindowSize(), and CBlastOptionsHandle::m_Opts.

Referenced by BOOST_AUTO_TEST_CASE(), and BOOST_FIXTURE_TEST_CASE().

◆ GetWindowSize() [3/3]

int CBlastOptionsLocal::GetWindowSize ( ) const
inline

◆ GetWordSize() [1/6]

int CBlastNucleotideOptionsHandle::GetWordSize ( ) const
inline

Returns WordSize.

Definition at line 83 of file blast_nucl_options.hpp.

Referenced by BOOST_AUTO_TEST_CASE(), and BOOST_FIXTURE_TEST_CASE().

◆ GetWordSize() [2/6]

int CBlastOptions::GetWordSize ( ) const

◆ GetWordSize() [3/6]

int CBlastProteinOptionsHandle::GetWordSize ( ) const
inline

Returns WordSize.

Definition at line 72 of file blast_prot_options.hpp.

Referenced by BOOST_AUTO_TEST_CASE(), and BOOST_FIXTURE_TEST_CASE().

◆ GetWordSize() [4/6]

int CBlastRPSOptionsHandle::GetWordSize ( ) const
inline

Returns WordSize.

Definition at line 67 of file blast_rps_options.hpp.

◆ GetWordSize() [5/6]

int CMagicBlastOptionsHandle::GetWordSize ( ) const
inline

Return word size.

Definition at line 135 of file magicblast_options.hpp.

◆ GetWordSize() [6/6]

int CBlastOptionsLocal::GetWordSize ( ) const
inline

◆ GetWordThreshold() [1/4]

double CBlastOptions::GetWordThreshold ( ) const

◆ GetWordThreshold() [2/4]

double CBlastProteinOptionsHandle::GetWordThreshold ( ) const
inline

Returns WordThreshold.

Definition at line 66 of file blast_prot_options.hpp.

Referenced by BOOST_FIXTURE_TEST_CASE().

◆ GetWordThreshold() [3/4]

double CBlastRPSOptionsHandle::GetWordThreshold ( ) const
inline

Returns WordThreshold.

Definition at line 65 of file blast_rps_options.hpp.

◆ GetWordThreshold() [4/4]

double CBlastOptionsLocal::GetWordThreshold ( ) const
inline

◆ GetXDropoff() [1/5]

double CBlastNucleotideOptionsHandle::GetXDropoff ( ) const
inline

Returns XDropoff.

Definition at line 161 of file blast_nucl_options.hpp.

Referenced by BOOST_FIXTURE_TEST_CASE().

◆ GetXDropoff() [2/5]

double CBlastOptions::GetXDropoff ( ) const

◆ GetXDropoff() [3/5]

double CBlastProteinOptionsHandle::GetXDropoff ( ) const
inline

Returns XDropoff.

Definition at line 79 of file blast_prot_options.hpp.

Referenced by BOOST_FIXTURE_TEST_CASE().

◆ GetXDropoff() [4/5]

double CBlastRPSOptionsHandle::GetXDropoff ( ) const
inline

Returns XDropoff.

Definition at line 72 of file blast_rps_options.hpp.

◆ GetXDropoff() [5/5]

double CBlastOptionsLocal::GetXDropoff ( ) const
inline

◆ HasAlignments()

bool CSearchResults::HasAlignments ( ) const

◆ HasConverged()

bool CPsiBlastIterationState::HasConverged ( )

Determines if the PSI-BLAST search has converged (i.e.

: no more new sequences have been found since the last iteration)

Returns
true if search has converged, otherwise false.

Definition at line 68 of file psiblast_iteration.cpp.

References set< Key, Compare >::empty(), set< Key, Compare >::end(), set< Key, Compare >::find(), ITERATE, CPsiBlastIterationState::m_CurrentData, CPsiBlastIterationState::m_IterationsDone, and CPsiBlastIterationState::m_PreviousData.

Referenced by BOOST_AUTO_TEST_CASE(), CDeltaBlastApp::DoPsiBlastIterations(), and CPsiBlastApp::x_RunLocalPsiBlastIterations().

◆ HasDbFilteringAlgorithmId()

bool CBlastOptionsBuilder::HasDbFilteringAlgorithmId ( )

Check whether a database filtering algorithm ID is specified.

Definition at line 737 of file blast_options_builder.cpp.

References CBlastOptionsBuilder::SOptional< T >::Have(), and CBlastOptionsBuilder::m_DbFilteringAlgorithmId.

Referenced by CRemoteBlast::GetSearchOptions(), and s_ImportDatabase().

◆ HasDbFilteringAlgorithmKey()

bool CBlastOptionsBuilder::HasDbFilteringAlgorithmKey ( )

Check whether a database filtering algorithm key is specified.

Definition at line 747 of file blast_options_builder.cpp.

References CBlastOptionsBuilder::SOptional< T >::Have(), and CBlastOptionsBuilder::m_DbFilteringAlgorithmKey.

Referenced by CRemoteBlast::GetSearchOptions(), and s_ImportDatabase().

◆ HasErrors()

bool CSearchResults::HasErrors ( ) const

Returns true if there are errors among the results for this object.

Definition at line 296 of file blast_results.cpp.

References eBlastSevError, ITERATE, and CSearchResults::m_Errors.

Referenced by CBlastAligner::GenerateAlignments(), and CRemoteBlastAligner::GenerateAlignments().

◆ HasGiList() [1/4]

bool CSeqDbSeqInfoSrc::HasGiList ( ) const
virtual

Returns true if the subject is restricted by a GI list.

Implements IBlastSeqInfoSrc.

Definition at line 87 of file seqinfosrc_seqdb.cpp.

References CSeqDB::GetGiList(), and CSeqDbSeqInfoSrc::m_iSeqDb.

◆ HasGiList() [2/4]

bool CSeqVecSeqInfoSrc::HasGiList ( ) const
virtual

Is the subject restricted by a GI list? (Always returns false).

Implements IBlastSeqInfoSrc.

Definition at line 104 of file seqinfosrc_seqvec.cpp.

◆ HasGiList() [3/4]

bool CBioseqSeqInfoSrc::HasGiList ( ) const
virtual

Is the subject restricted by a GI list? (Always returns false).

Implements IBlastSeqInfoSrc.

Definition at line 89 of file seqinfosrc_bioseq.cpp.

◆ HasGiList() [4/4]

virtual bool IBlastSeqInfoSrc::HasGiList ( ) const
pure virtual

Returns true if the subject is restricted by a GI list.

Implemented in CBioseqSeqInfoSrc, CSeqVecSeqInfoSrc, and CSeqDbSeqInfoSrc.

Referenced by GetFilteredRedundantGis(), and GetFilteredRedundantSeqids().

◆ HasMessages()

bool TSearchMessages::HasMessages ( ) const

◆ HasMoreIterations()

bool CPsiBlastIterationState::HasMoreIterations ( ) const

Determines if more iterations are still needed.

Returns
true if there are more iterations to do, otherwise false.

Definition at line 58 of file psiblast_iteration.cpp.

References CPsiBlastIterationState::m_IterationsDone, and CPsiBlastIterationState::m_TotalNumIterationsToDo.

Referenced by BOOST_AUTO_TEST_CASE().

◆ HasSubjectMaskingType()

bool CBlastOptionsBuilder::HasSubjectMaskingType ( )

Get Subject Maksing Type (soft/hard)

Definition at line 757 of file blast_options_builder.cpp.

References CBlastOptionsBuilder::SOptional< T >::Have(), and CBlastOptionsBuilder::m_SubjectMaskingType.

Referenced by s_ImportDatabase().

◆ HasWarnings()

bool CSearchResults::HasWarnings ( ) const

Returns true if there are warnings among the results for this object.

Definition at line 307 of file blast_results.cpp.

References eBlastSevWarning, ITERATE, and CSearchResults::m_Errors.

Referenced by CBlastAligner::GenerateAlignments(), and CRemoteBlastAligner::GenerateAlignments().

◆ Have()

template<typename T >
bool CBlastOptionsBuilder::SOptional< T >::Have ( )
inline

◆ HaveEntrezQuery()

bool CBlastOptionsBuilder::HaveEntrezQuery ( )

Check whether an Entrez query is specified.

Definition at line 697 of file blast_options_builder.cpp.

References CBlastOptionsBuilder::SOptional< T >::Have(), and CBlastOptionsBuilder::m_EntrezQuery.

Referenced by CRemoteBlast::GetSearchOptions(), and s_ImportDatabase().

◆ HaveFinalDbSeq()

bool CBlastOptionsBuilder::HaveFinalDbSeq ( )

Check whether an OID range end point is specified.

Definition at line 717 of file blast_options_builder.cpp.

References CBlastOptionsBuilder::SOptional< T >::Have(), and CBlastOptionsBuilder::m_FinalDbSeq.

Referenced by CRemoteBlast::GetSearchOptions().

◆ HaveFirstDbSeq()

bool CBlastOptionsBuilder::HaveFirstDbSeq ( )

Check whether an OID range start point is specified.

Definition at line 707 of file blast_options_builder.cpp.

References CBlastOptionsBuilder::SOptional< T >::Have(), and CBlastOptionsBuilder::m_FirstDbSeq.

Referenced by CRemoteBlast::GetSearchOptions().

◆ HaveGiList()

bool CBlastOptionsBuilder::HaveGiList ( )

Check whether a GI list is specified.

Definition at line 727 of file blast_options_builder.cpp.

References CBlastOptionsBuilder::m_GiList.

Referenced by CRemoteBlast::GetSearchOptions(), and s_ImportDatabase().

◆ HaveNegativeGiList()

bool CBlastOptionsBuilder::HaveNegativeGiList ( )

Check whether a negative GI list is specified.

Definition at line 768 of file blast_options_builder.cpp.

References CBlastOptionsBuilder::m_NegativeGiList.

Referenced by CRemoteBlast::GetSearchOptions(), and s_ImportDatabase().

◆ HaveNegativeTaxidList()

bool CBlastOptionsBuilder::HaveNegativeTaxidList ( )

Check whether a negative tax id list is specified.

Definition at line 804 of file blast_options_builder.cpp.

References CBlastOptionsBuilder::SOptional< T >::Have(), and CBlastOptionsBuilder::m_NegativeTaxidList.

Referenced by CRemoteBlast::GetSearchOptions(), and s_ImportDatabase().

◆ HaveQueryMasks()

bool CBlastOptionsBuilder::HaveQueryMasks ( )

Check whether query masks are specified.

Definition at line 778 of file blast_options_builder.cpp.

References CBlastOptionsBuilder::SOptional< T >::Have(), and CBlastOptionsBuilder::m_QueryMasks.

◆ HaveTaxidList()

bool CBlastOptionsBuilder::HaveTaxidList ( )

◆ ILocalQueryData()

ILocalQueryData::ILocalQueryData ( )
inline

Default constructor.

Definition at line 58 of file query_data.hpp.

◆ IndexedDbRunSearch()

static void IndexedDbRunSearch ( BLAST_SequenceBlk queries,
LookupTableOptions lut_options,
BlastInitialWordOptions word_options 
)
static

Run indexed search.

Parameters
queriesquery data
lut_optionslookup table parameters
word_optionsword parameters

Definition at line 577 of file blast_dbindex.cpp.

References CIndexedDb::DoPreSearch(), and CIndexedDb::Index_Set_Instance.

Referenced by SetUpDbIndexCallbacks().

◆ IndexedDbSetNumThreads()

static void IndexedDbSetNumThreads ( size_t  n_threads)
static

Set the number of concurrent search threads in the index structure.

Parameters
n_threadsnumber of concurrent search threads.

Definition at line 604 of file blast_dbindex.cpp.

References ASSERT, CIndexedDb::Index_Set_Instance, and CIndexedDb_New::SetNumThreads().

Referenced by SetUpDbIndexCallbacks().

◆ IndexedDbSetQueryInfo()

static void IndexedDbSetQueryInfo ( LookupTableWrap lt_wrap,
CRef< CBlastSeqLocWrap locs_wrap 
)
static

Set information about unmasked query segments.

Parameters
lt_wraplookup table information to update
locs_wrapset of unmasked query segments

Definition at line 618 of file blast_dbindex.cpp.

References LookupTableWrap::check_index_oid, LookupTableWrap::end_search_indication, CIndexedDb::Index_Set_Instance, LookupTableWrap::read_indexed_db, s_MB_IdbCheckOid(), s_MB_IdbGetResults(), s_MB_IdxEndSearchIndication(), and CIndexedDb::SetQueryInfo().

Referenced by SetUpDbIndexCallbacks().

◆ IndexedDbSetUsingThreads()

static void IndexedDbSetUsingThreads ( bool  multiple_threads)
static

Set state of concurrency in the index structure.

Parameters
multiple_threads'true' if multiple search threads are used; 'false' otherwise

Definition at line 591 of file blast_dbindex.cpp.

References ASSERT, CIndexedDb::Index_Set_Instance, and CIndexedDb_New::SetMultipleThreads().

Referenced by SetUpDbIndexCallbacks().

◆ InitializeMegablastDbIndex()

void CSetupFactory::InitializeMegablastDbIndex ( CRef< CBlastOptions options)
static

◆ IntersectWith() [1/2]

void CCddInputData::CHit::IntersectWith ( const CHit hit,
EApplyTo  app 
)

Intersect hit with another hit and store result.

Parameters
hitHit [in]
appSpecifies whether intersection is to be perfromed on query or subject ranges [in]

Definition at line 598 of file cdd_pssm_input.cpp.

References CCddInputData::CHit::GetSegments(), ITERATE, and ct::sort().

◆ IntersectWith() [2/2]

void CCddInputData::CHit::IntersectWith ( const vector< TRange > &  segments,
EApplyTo  app 
)

Intersect hit segments with list of ranges and store result in hit segments.

Parameters
segmentsList of ranges [in]
appSpecifies whether input ranges are to be intersected with query or subject ranges [in]

Definition at line 509 of file cdd_pssm_input.cpp.

References _ASSERT, CCddInputData::CHitSegment::AdjustRanges(), COpenRange< Position >::Empty(), CRange_Base::GetFrom(), CRange_Base::GetTo(), COpenRange< Position >::IntersectionWith(), CCddInputData::CHitSegment::IsEmpty(), ITERATE, max(), min(), NULL, and ct::sort().

Referenced by CCddInputData::x_RemoveMultipleCdHits().

◆ IsAtLeastOneQueryValid()

bool ILocalQueryData::IsAtLeastOneQueryValid ( )

Determine if at least one query sequence is valid or not.

Definition at line 121 of file query_data.cpp.

References ILocalQueryData::GetNumQueries(), i, and ILocalQueryData::IsValidQuery().

◆ IsBlastDb()

bool CLocalDbAdapter::IsBlastDb ( ) const
inline

◆ IsConcordant()

bool CMagicBlastResults::IsConcordant ( void  ) const
inline

Are an aligned pair concordant?

Definition at line 183 of file magicblast.hpp.

References CMagicBlastResults::m_Concordant.

◆ IsDbScanMode()

bool CLocalDbAdapter::IsDbScanMode ( ) const
inline

Returns true if this is not a database but is database scanning mode.

Definition at line 127 of file local_db_adapter.hpp.

References CLocalDbAdapter::m_DbScanMode.

Referenced by BOOST_AUTO_TEST_CASE(), CLocalBlast::Run(), s_MakeEmptyResults(), and CMagicBlast::x_Run().

◆ IsDbSearch()

bool CRemoteBlast::IsDbSearch ( )

Return values states whether GetDatabases or GetSubjectSequences call should be used.

Returns
true indicates that GetDatabases should be used.

Definition at line 1849 of file remote_blast.cpp.

References CRef< C, Locker >::Empty(), CRemoteBlast::m_Dbs, CRemoteBlast::m_SubjectSeqLocs, CRemoteBlast::m_SubjectSequences, and CRemoteBlast::x_GetRequestInfo().

Referenced by CBlastFormatterApp::PrintFormattedOutput().

◆ IsDiskCacheActive()

bool CRemoteBlast::IsDiskCacheActive ( void  )
inline

Definition at line 474 of file remote_blast.hpp.

References CRemoteBlast::m_use_disk_cache.

◆ IsDiskCacheError()

bool CRemoteBlast::IsDiskCacheError ( void  )
inline

disk cache error handling

Definition at line 477 of file remote_blast.hpp.

References CRemoteBlast::m_disk_cache_error_flag.

◆ IsEmpty() [1/2]

bool CCddInputData::CHitSegment::IsEmpty ( void  ) const

Does the hit segment represent an empty range.

Returns
True if hit segment empty, false otherwise

Definition at line 798 of file cdd_pssm_input.cpp.

Referenced by CCddInputData::CHit::IntersectWith().

◆ IsEmpty() [2/2]

bool CCddInputData::CHit::IsEmpty ( void  ) const

Is hit empty.

Returns
True if the hit is empty, false otherwise

The hit is considered non-empty if it contains at least one non-empty range

Definition at line 493 of file cdd_pssm_input.cpp.

References ITERATE.

Referenced by CCddInputData::CHit::Subtract().

◆ IsErrMsgArchive()

bool CRemoteBlast::IsErrMsgArchive ( void  )

Definition at line 2683 of file remote_blast.cpp.

References CRemoteBlast::m_Archive, and NULL.

Referenced by CRemoteBlast::LoadFromArchive(), and CBlastFormatterApp::Run().

◆ IsFirstOfAPair() [1/3]

bool CBlastQuerySourceBioseqSet::IsFirstOfAPair ( int  index) const
virtual

Is this sequence followed by a mate (for mapping short reads)

Implements IBlastQuerySource.

Definition at line 375 of file bioseq_extract_data_priv.cpp.

References eFirstSegment, and CBlastQuerySourceBioseqSet::GetSegmentInfo().

◆ IsFirstOfAPair() [2/3]

virtual bool CBlastQuerySourceOM::IsFirstOfAPair ( int  index) const
inlinevirtual

Is this sequence followed by a mate (for mapping short reads)

Implements IBlastQuerySource.

Definition at line 154 of file blast_objmgr_priv.hpp.

References NCBI_THROW.

◆ IsFirstOfAPair() [3/3]

virtual bool IBlastQuerySource::IsFirstOfAPair ( int  index) const
pure virtual

Is this sequence followed by a mate (for mapping short reads)

Implemented in CBlastQuerySourceOM, and CBlastQuerySourceBioseqSet.

◆ IsIterativeSearch()

bool CBlastOptions::IsIterativeSearch ( ) const

◆ IsLocalId()

bool IsLocalId ( const objects::CSeq_id *  seqid)

Returns true if the CSeq_id is a local id.

Parameters
seqidSequence identifier to examine [in]
Returns
if seqid is NULL or if it is NOT a local id, it returns false

Definition at line 1094 of file blast_aux.cpp.

References CSeq_id::eAcc_general, and CSeq_id::eAcc_local.

Referenced by BOOST_AUTO_TEST_CASE(), s_HasLocalIDs(), CRemoteBlast::x_InitQueries(), and CExportStrategy::x_Process_Query().

◆ IsMultiThreaded()

bool CThreadable::IsMultiThreaded ( void  ) const
inline

Returns true if more than 1 thread is specified.

Definition at line 380 of file setup_factory.hpp.

References CThreadable::kMinNumThreads, and CThreadable::m_NumThreads.

Referenced by BOOST_AUTO_TEST_CASE(), CBlastPrelimSearch::Run(), and CBlastPrelimSearch::SetNumberOfThreads().

◆ IsPaired()

bool CMagicBlastResults::IsPaired ( void  ) const
inline

Are alignments computed for paired reads.

Definition at line 180 of file magicblast.hpp.

References CMagicBlastResults::m_Paired.

◆ IsProtein() [1/2]

bool CLocalDbAdapter::IsProtein ( ) const

◆ IsProtein() [2/2]

bool CSearchDatabase::IsProtein ( ) const
inline

◆ IsQuerySplit()

bool CQuerySplitter::IsQuerySplit ( ) const
inline

Determines whether the query sequence(s) are split or not.

Definition at line 88 of file split_query.hpp.

References CQuerySplitter::GetNumberOfChunks().

Referenced by BOOST_AUTO_TEST_CASE(), and CBlastPrelimSearch::Run().

◆ IsValidBlastDb()

bool CBlastServices::IsValidBlastDb ( const string dbname,
bool  is_protein 
)

Returns true if the BLAST database specified exists in the NCBI servers.

Parameters
dbnameBLAST database name [in]
is_proteinis this a protein database? [in]

Definition at line 355 of file blast_services.cpp.

References dbname(), CBlastServices::GetDatabaseInfo(), and result.

Referenced by BOOST_AUTO_TEST_CASE(), and CRemoteBlastDbAdapter::CRemoteBlastDbAdapter().

◆ IsValidQuery()

bool ILocalQueryData::IsValidQuery ( size_t  index)

◆ kGapChar()

static const char kGapChar ( '-'  )
static

◆ kNoArchiveFile()

static const string kNoArchiveFile ( "Cannot fetch query info: No archive file."  )
static

◆ kNoRIDSpecified()

static const string kNoRIDSpecified ( "Cannot fetch query info: No RID was specified."  )
static

◆ LastAligned()

bool CMagicBlastResults::LastAligned ( void  ) const
inline

Is the mate aligned.

Definition at line 204 of file magicblast.hpp.

References CMagicBlastResults::fUnaligned, and CMagicBlastResults::m_LastInfo.

◆ ListFrames()

const set< CBlastQueryFilteredFrames::ETranslationFrame > & CBlastQueryFilteredFrames::ListFrames ( )

Returns the list of frame values for which this object contains masking information.

Definition at line 1637 of file blast_setup_cxx.cpp.

References set< Key, Compare >::empty(), set< Key, Compare >::insert(), ITERATE, CBlastQueryFilteredFrames::m_Frames, and CBlastQueryFilteredFrames::m_Seqlocs.

Referenced by BOOST_AUTO_TEST_CASE(), CBlastQueryFilteredFrames::Empty(), and s_RestrictSeqLocs_Multiframe().

◆ LoadFromArchive()

bool CRemoteBlast::LoadFromArchive ( )

◆ LoadSequencesToScope() [1/2]

void LoadSequencesToScope ( CScope::TIds ids,
vector< TSeqRange > &  ranges,
CRef< CScope > &  scope 
)

◆ LoadSequencesToScope() [2/2]

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].

Referenced by BlastFormatter_PreFetchSequenceData().

◆ LocalBlastResults2SeqAlign()

TSeqAlignVector LocalBlastResults2SeqAlign ( BlastHSPResults hsp_results,
ILocalQueryData local_data,
const IBlastSeqInfoSrc seqinfo_src,
EBlastProgramType  program,
bool  gapped,
bool  oof_mode,
vector< TSeqLocInfoVector > &  subj_masks,
EResultType  result_type = eDatabaseSearch 
)

Convert traceback output into Seq-align format.

This converts the traceback stage output into a standard Seq-align. The result_type argument indicates whether the seqalign is for a database search or a sequence comparison (eDatabaseSearch or eSequenceComparison). The seqinfo_src argument is used to translate oids into Seq-ids.

Parameters
hsp_resultsResults of a traceback search. [in]
local_dataThe queries used to perform the search. [in]
seqinfo_srcProvides sequence identifiers and meta-data. [in]
programThe type of search done. [in]
gappedTrue if this was a gapped search. [in]
oof_modeTrue if out-of-frame matches are allowed. [in]
subj_masksIf applicable, it'll be populated with subject masks that intersect the HSPs (each element corresponds to a query) [in|out]
result_typeSpecify how to arrange the results in the return value. [in]

Definition at line 1983 of file blast_seqalign.cpp.

References Blast_ProgramIsPhiBlast(), eSequenceComparison, ILocalQueryData::GetQueryInfo(), BlastQueryInfo::pattern_info, PhiBlastResults2SeqAlign_OMF(), s_BlastResults2SeqAlignDatabaseSearch_OMF(), and s_BlastResults2SeqAlignSequenceCmp_OMF().

Referenced by CBlastTracebackSearch::Run().

◆ LocateIndex()

TSeqMap::size_type CIndexedDb_Old::LocateIndex ( CDbIndex::TSeqNum  oid) const
inlineprivate

Find an index corresponding to the given subject id.

Parameters
oidThe subject sequence id.
Returns
Index of the corresponding index data in this->indices_.

Definition at line 225 of file blast_dbindex.cpp.

References assert, i, and CIndexedDb_Old::seqmap_.

Referenced by CIndexedDb_Old::CheckOid(), and CIndexedDb_Old::GetResults().

◆ Main()

virtual void* CPrelimSearchThread::Main ( void  )
inlineprotectedvirtual

Derived (user-created) class must provide a real thread function.

Implements CThread.

Definition at line 138 of file prelim_search_runner.hpp.

References BLASTERR_DB_MEMORY_MAP, BLASTERR_DB_OPEN_FILES, CSeqDBException::eOpenFileErr, CException::GetErrCode(), CPrelimSearchThread::m_InternalData, and CPrelimSearchThread::m_OptsMemento.

◆ MakeLocalQueryData()

CRef< ILocalQueryData > IQueryFactory::MakeLocalQueryData ( const CBlastOptions opts)

◆ MakeRemoteQueryData()

CRef< IRemoteQueryData > IQueryFactory::MakeRemoteQueryData ( )

◆ MakeSeqInfoSrc()

IBlastSeqInfoSrc * CLocalDbAdapter::MakeSeqInfoSrc ( )

◆ MakeSeqSrc()

BlastSeqSrc * CLocalDbAdapter::MakeSeqSrc ( )

◆ MakeSplicedSeg()

void MakeSplicedSeg ( CSpliced_seg spliced_seg,
CRef< CSeq_id product_id,
CRef< CSeq_id genomic_id,
int  product_length,
const HSPChain chain 
)

◆ Map()

template<class Position >
CRange<Position> Map ( const CRange< Position > &  target,
const CRange< Position > &  range 
)

◆ MaskedQueryRegionsToPackedSeqLoc()

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.

It might be better to convert the calling code to use a CBlastQueryVector.

Definition at line 462 of file blast_aux_priv.cpp.

References TMaskedQueryRegions::ConvertToCPacked_seqint(), CRef< C, Locker >::NotEmpty(), and CRef< C, Locker >::Reset().

Referenced by CBlastQuerySourceOM::GetMask(), and CBlastQueryVector::GetMasks().

◆ MinIndexWordSize() [1/3]

int CIndexedDb_Old::MinIndexWordSize ( )
virtual

Get the minimum acceptable word size to use with indexed search.

Returns
the minimum acceptable word size

Implements CIndexedDb.

Definition at line 1088 of file blast_dbindex.cpp.

References CIndexedDb_Old::index_names_, and s_GetMinimumSupportedWordSizeByIndex().

◆ MinIndexWordSize() [2/3]

int CIndexedDb_New::MinIndexWordSize ( )
privatevirtual

Implements CIndexedDb.

Definition at line 935 of file blast_dbindex.cpp.

References s_GetMinimumSupportedWordSizeByIndex(), and CIndexedDb_New::volumes_.

◆ MinIndexWordSize() [3/3]

virtual int CIndexedDb::MinIndexWordSize ( )
pure virtual

Implemented in CIndexedDb_New, and CIndexedDb_Old.

Referenced by s_CheckMinWordSize().

◆ MultiSeqBlastSeqSrcInit()

BlastSeqSrc* MultiSeqBlastSeqSrcInit ( TSeqLocVector seq_vector,
EBlastProgramType  program,
bool  dbscan_mode = false 
)

Initialize the sequence source structure.

Parameters
seq_vectorVector of sequence locations [in]
programType of BLAST to be performed [in]
dbscanmodeDatabase search mode (not pairwise) [in]

Definition at line 555 of file seqsrc_multiseq.cpp.

References BlastSeqSrcNew(), BlastSeqSrcNewInfo::constructor, BlastSeqSrcNewInfo::ctor_argument, NULL, and s_MultiSeqSrcNew().

Referenced by BOOST_AUTO_TEST_CASE(), CLocalDbAdapter::MakeSeqSrc(), CBlastKmerSearch::Run(), and CRedoAlignmentTestFixture::runRedoAlignmentCoreUnitTest().

◆ NCBI_EXCEPTION_DEFAULT() [1/6]

CBlastException::NCBI_EXCEPTION_DEFAULT ( CBlastException  ,
CException   
)

◆ NCBI_EXCEPTION_DEFAULT() [2/6]

CBlastServicesException::NCBI_EXCEPTION_DEFAULT ( CBlastServicesException  ,
CException   
)

Include standard NCBI exception behavior.

◆ NCBI_EXCEPTION_DEFAULT() [3/6]

CBlastSystemException::NCBI_EXCEPTION_DEFAULT ( CBlastSystemException  ,
CException   
)

◆ NCBI_EXCEPTION_DEFAULT() [4/6]

CPssmEngineException::NCBI_EXCEPTION_DEFAULT ( CPssmEngineException  ,
CBlastException   
)

◆ NCBI_EXCEPTION_DEFAULT() [5/6]

CRemoteBlastException::NCBI_EXCEPTION_DEFAULT ( CRemoteBlastException  ,
CBlastException   
)

◆ NCBI_EXCEPTION_DEFAULT() [6/6]

CSearchException::NCBI_EXCEPTION_DEFAULT ( CSearchException  ,
CException   
)

Include standard NCBI exception behavior.

◆ NeedWait()

bool CBlastHSPListQueueData::NeedWait ( )

Check if wait on semaphore is needed.

◆ NetworkFrame2FrameNumber()

CSeqLocInfo::ETranslationFrame NetworkFrame2FrameNumber ( objects::EBlast4_frame_type  frame,
EBlastProgramType  program 
)

◆ NetworkProgram2BlastProgramType()

EBlastProgramType NetworkProgram2BlastProgramType ( const string program,
const string service 
)

Function to convert from program and service name into the CORE BLAST program type This is based on the values set in the various CBlastOptionsHandle subclasses (look for SetRemoteProgramAndService_Blast3 in include tree)

Note
This function needs to be updated if the program/service name combinations change

Definition at line 1933 of file remote_blast.cpp.

References _ASSERT, abort(), BlastProgram2Number(), eBlastTypePsiBlast, eBlastTypeRpsBlast, eBlastTypeRpsTblastn, and eBlastTypeUndefined.

Referenced by BOOST_AUTO_TEST_CASE(), CRemoteBlast::GetMasks(), CExportStrategy::x_Process_Query(), and CRemoteBlast::x_QueryMaskingLocationsToNetwork().

◆ NewScope()

CRef<CScope> CBlastScopeSourceWrapper::NewScope ( )
inline

◆ NullRunSearch()

static void NullRunSearch ( BLAST_SequenceBlk ,
LookupTableOptions ,
BlastInitialWordOptions  
)
static

No-op callback to run indexed search.

Used when index search is not enabled.

See also
DbIndexRunSearchFnType()

Definition at line 115 of file blast_dbindex.cpp.

Referenced by ClearDbIndexCallbacks().

◆ NullSetNumThreads()

static void NullSetNumThreads ( size_t  )
static

No-op callback for setting the number of threads.

See also
DbIndexSetNumThreadsFnType()

Definition at line 103 of file blast_dbindex.cpp.

Referenced by ClearDbIndexCallbacks().

◆ NullSetQueryInfo()

static void NullSetQueryInfo ( LookupTableWrap ,
CRef< CBlastSeqLocWrap  
)
static

No-op callback for setting query info.

Used when index search is not enabled.

See also
DbIndexSetQueryInfoFnType()

Definition at line 108 of file blast_dbindex.cpp.

Referenced by ClearDbIndexCallbacks().

◆ NullSetUsingThreads()

static void NullSetUsingThreads ( bool  )
static

No-op callback for setting concurrency state.

See also
DbIndexSetUsingThreadsFnType()

Definition at line 98 of file blast_dbindex.cpp.

Referenced by ClearDbIndexCallbacks().

◆ operator Blast_ExtendWord *() [1/2]

CBlast_ExtendWord::operator Blast_ExtendWord * ( )
inline

Definition at line 322 of file blast_aux.hpp.

◆ operator Blast_ExtendWord *() [2/2]

CBlast_ExtendWord::operator Blast_ExtendWord * ( ) const
inline

Definition at line 322 of file blast_aux.hpp.

◆ operator Blast_Message *() [1/2]

CBlast_Message::operator Blast_Message * ( )
inline

Definition at line 352 of file blast_aux.hpp.

◆ operator Blast_Message *() [2/2]

CBlast_Message::operator Blast_Message * ( ) const
inline

Definition at line 352 of file blast_aux.hpp.

◆ operator BLAST_SequenceBlk *() [1/2]

CBLAST_SequenceBlk::operator BLAST_SequenceBlk * ( )
inline

Definition at line 309 of file blast_aux.hpp.

◆ operator BLAST_SequenceBlk *() [2/2]

CBLAST_SequenceBlk::operator BLAST_SequenceBlk * ( ) const
inline

Definition at line 309 of file blast_aux.hpp.

◆ operator BlastDatabaseOptions *() [1/2]

CBlastDatabaseOptions::operator BlastDatabaseOptions * ( )
inline

Definition at line 331 of file blast_aux.hpp.

◆ operator BlastDatabaseOptions *() [2/2]

CBlastDatabaseOptions::operator BlastDatabaseOptions * ( ) const
inline

Definition at line 331 of file blast_aux.hpp.

◆ operator BlastEffectiveLengthsOptions *() [1/2]

CBlastEffectiveLengthsOptions::operator BlastEffectiveLengthsOptions * ( )
inline

Definition at line 338 of file blast_aux.hpp.

◆ operator BlastEffectiveLengthsOptions *() [2/2]

CBlastEffectiveLengthsOptions::operator BlastEffectiveLengthsOptions * ( ) const
inline

Definition at line 338 of file blast_aux.hpp.

◆ operator BlastEffectiveLengthsParameters *() [1/2]

CBlastEffectiveLengthsParameters::operator BlastEffectiveLengthsParameters * ( )
inline

Definition at line 340 of file blast_aux.hpp.

◆ operator BlastEffectiveLengthsParameters *() [2/2]

CBlastEffectiveLengthsParameters::operator BlastEffectiveLengthsParameters * ( ) const
inline

Definition at line 340 of file blast_aux.hpp.

◆ operator BlastExtensionOptions *() [1/2]

CBlastExtensionOptions::operator BlastExtensionOptions * ( )
inline

Definition at line 323 of file blast_aux.hpp.

◆ operator BlastExtensionOptions *() [2/2]

CBlastExtensionOptions::operator BlastExtensionOptions * ( ) const
inline

Definition at line 323 of file blast_aux.hpp.

◆ operator BlastExtensionParameters *() [1/2]

CBlastExtensionParameters::operator BlastExtensionParameters * ( )
inline

Definition at line 324 of file blast_aux.hpp.

◆ operator BlastExtensionParameters *() [2/2]

CBlastExtensionParameters::operator BlastExtensionParameters * ( ) const
inline

Definition at line 324 of file blast_aux.hpp.

◆ operator BlastGapAlignStruct *() [1/2]

CBlastGapAlignStruct::operator BlastGapAlignStruct * ( )
inline

Definition at line 342 of file blast_aux.hpp.

◆ operator BlastGapAlignStruct *() [2/2]

CBlastGapAlignStruct::operator BlastGapAlignStruct * ( ) const
inline

Definition at line 342 of file blast_aux.hpp.

◆ operator BlastHitSavingOptions *() [1/2]

CBlastHitSavingOptions::operator BlastHitSavingOptions * ( )
inline

Definition at line 326 of file blast_aux.hpp.

◆ operator BlastHitSavingOptions *() [2/2]

CBlastHitSavingOptions::operator BlastHitSavingOptions * ( ) const
inline

Definition at line 326 of file blast_aux.hpp.

◆ operator BlastHitSavingParameters *() [1/2]

CBlastHitSavingParameters::operator BlastHitSavingParameters * ( )
inline

Definition at line 328 of file blast_aux.hpp.

◆ operator BlastHitSavingParameters *() [2/2]

CBlastHitSavingParameters::operator BlastHitSavingParameters * ( ) const
inline

Definition at line 328 of file blast_aux.hpp.

◆ operator BlastHSPResults *() [1/2]

CBlastHSPResults::operator BlastHSPResults * ( )
inline

Definition at line 343 of file blast_aux.hpp.

◆ operator BlastHSPResults *() [2/2]

CBlastHSPResults::operator BlastHSPResults * ( ) const
inline

Definition at line 343 of file blast_aux.hpp.

◆ operator BlastInitialWordOptions *() [1/2]

CBlastInitialWordOptions::operator BlastInitialWordOptions * ( )
inline

Definition at line 318 of file blast_aux.hpp.

◆ operator BlastInitialWordOptions *() [2/2]

CBlastInitialWordOptions::operator BlastInitialWordOptions * ( ) const
inline

Definition at line 318 of file blast_aux.hpp.

◆ operator BlastInitialWordParameters *() [1/2]

CBlastInitialWordParameters::operator BlastInitialWordParameters * ( )
inline

Definition at line 320 of file blast_aux.hpp.

◆ operator BlastInitialWordParameters *() [2/2]

CBlastInitialWordParameters::operator BlastInitialWordParameters * ( ) const
inline

Definition at line 320 of file blast_aux.hpp.

◆ operator BlastMaskLoc *() [1/2]

CBlastMaskLoc::operator BlastMaskLoc * ( )
inline

Definition at line 354 of file blast_aux.hpp.

◆ operator BlastMaskLoc *() [2/2]

CBlastMaskLoc::operator BlastMaskLoc * ( ) const
inline

Definition at line 354 of file blast_aux.hpp.

◆ operator BlastQueryInfo *() [1/2]

CBlastQueryInfo::operator BlastQueryInfo * ( )
inline

Definition at line 311 of file blast_aux.hpp.

◆ operator BlastQueryInfo *() [2/2]

CBlastQueryInfo::operator BlastQueryInfo * ( ) const
inline

Definition at line 311 of file blast_aux.hpp.

◆ operator BlastScoreBlk *() [1/2]

CBlastScoreBlk::operator BlastScoreBlk * ( )
inline

Definition at line 333 of file blast_aux.hpp.

◆ operator BlastScoreBlk *() [2/2]

CBlastScoreBlk::operator BlastScoreBlk * ( ) const
inline

Definition at line 333 of file blast_aux.hpp.

◆ operator BlastScoringOptions *() [1/2]

CBlastScoringOptions::operator BlastScoringOptions * ( )
inline

Definition at line 334 of file blast_aux.hpp.

◆ operator BlastScoringOptions *() [2/2]

CBlastScoringOptions::operator BlastScoringOptions * ( ) const
inline

Definition at line 334 of file blast_aux.hpp.

◆ operator BlastScoringParameters *() [1/2]

CBlastScoringParameters::operator BlastScoringParameters * ( )
inline

Definition at line 335 of file blast_aux.hpp.

◆ operator BlastScoringParameters *() [2/2]

CBlastScoringParameters::operator BlastScoringParameters * ( ) const
inline

Definition at line 335 of file blast_aux.hpp.

◆ operator BlastSeqLoc *() [1/2]

CBlastSeqLoc::operator BlastSeqLoc * ( )
inline

Definition at line 355 of file blast_aux.hpp.

◆ operator BlastSeqLoc *() [2/2]

CBlastSeqLoc::operator BlastSeqLoc * ( ) const
inline

Definition at line 355 of file blast_aux.hpp.

◆ operator BlastSeqSrc *() [1/2]

CBlastSeqSrc::operator BlastSeqSrc * ( )
inline

Definition at line 350 of file blast_aux.hpp.

◆ operator BlastSeqSrc *() [2/2]

CBlastSeqSrc::operator BlastSeqSrc * ( ) const
inline

Definition at line 350 of file blast_aux.hpp.

◆ operator BlastSeqSrcIterator *() [1/2]

CBlastSeqSrcIterator::operator BlastSeqSrcIterator * ( )
inline

Definition at line 351 of file blast_aux.hpp.

◆ operator BlastSeqSrcIterator *() [2/2]

CBlastSeqSrcIterator::operator BlastSeqSrcIterator * ( ) const
inline

Definition at line 351 of file blast_aux.hpp.

◆ operator bool()

CPsiBlastIterationState::operator bool ( )

Allow implicit conversion to a boolean value, returning true if there are more iterations to perform or false if iterations are done.

See also
HasConverged, HasMoreIterations

Definition at line 94 of file psiblast_iteration.cpp.

◆ operator double **()

SNcbiMatrix2DoubleMatrix::operator double ** ( )
inline

Retrieves data in the format expected by the C CORE APIs.

Definition at line 330 of file pssm_engine.cpp.

References SNcbiMatrix2DoubleMatrix::m_Data.

◆ operator LookupTableOptions *() [1/2]

CLookupTableOptions::operator LookupTableOptions * ( )
inline

Definition at line 314 of file blast_aux.hpp.

◆ operator LookupTableOptions *() [2/2]

CLookupTableOptions::operator LookupTableOptions * ( ) const
inline

Definition at line 314 of file blast_aux.hpp.

◆ operator LookupTableWrap *() [1/2]

CLookupTableWrap::operator LookupTableWrap * ( )
inline

Definition at line 315 of file blast_aux.hpp.

◆ operator LookupTableWrap *() [2/2]

CLookupTableWrap::operator LookupTableWrap * ( ) const
inline

Definition at line 315 of file blast_aux.hpp.

◆ operator PSIBlastOptions *() [1/2]

CPSIBlastOptions::operator PSIBlastOptions * ( )
inline

Definition at line 330 of file blast_aux.hpp.

◆ operator PSIBlastOptions *() [2/2]

CPSIBlastOptions::operator PSIBlastOptions * ( ) const
inline

Definition at line 330 of file blast_aux.hpp.

◆ operator PSIDiagnosticsRequest *() [1/2]

CPSIDiagnosticsRequest::operator PSIDiagnosticsRequest * ( )
inline

Definition at line 347 of file blast_aux.hpp.

◆ operator PSIDiagnosticsRequest *() [2/2]

CPSIDiagnosticsRequest::operator PSIDiagnosticsRequest * ( ) const
inline

Definition at line 347 of file blast_aux.hpp.

◆ operator PSIDiagnosticsResponse *() [1/2]

CPSIDiagnosticsResponse::operator PSIDiagnosticsResponse * ( )
inline

Definition at line 348 of file blast_aux.hpp.

◆ operator PSIDiagnosticsResponse *() [2/2]

CPSIDiagnosticsResponse::operator PSIDiagnosticsResponse * ( ) const
inline

Definition at line 348 of file blast_aux.hpp.

◆ operator PSIMatrix *() [1/2]

CPSIMatrix::operator PSIMatrix * ( )
inline

Definition at line 346 of file blast_aux.hpp.

◆ operator PSIMatrix *() [2/2]

CPSIMatrix::operator PSIMatrix * ( ) const
inline

Definition at line 346 of file blast_aux.hpp.

◆ operator PSIMsa *() [1/2]

CPSIMsa::operator PSIMsa * ( )
inline

Definition at line 345 of file blast_aux.hpp.

◆ operator PSIMsa *() [2/2]

CPSIMsa::operator PSIMsa * ( ) const
inline

Definition at line 345 of file blast_aux.hpp.

◆ operator QuerySetUpOptions *() [1/2]

CQuerySetUpOptions::operator QuerySetUpOptions * ( )
inline

Definition at line 312 of file blast_aux.hpp.

◆ operator QuerySetUpOptions *() [2/2]

CQuerySetUpOptions::operator QuerySetUpOptions * ( ) const
inline

Definition at line 312 of file blast_aux.hpp.

◆ operator SBlastProgress *() [1/2]

CSBlastProgress::operator SBlastProgress * ( )
inline

Definition at line 357 of file blast_aux.hpp.

◆ operator SBlastProgress *() [2/2]

CSBlastProgress::operator SBlastProgress * ( ) const
inline

Definition at line 357 of file blast_aux.hpp.

◆ operator!=() [1/2]

bool CBlastOptions::operator!= ( const CBlastOptions rhs) const

Definition at line 819 of file blast_options_cxx.cpp.

◆ operator!=() [2/2]

bool CBlastOptionsLocal::operator!= ( const CBlastOptionsLocal rhs) const

Definition at line 561 of file blast_options_local_priv.cpp.

◆ operator&() [1/31]

BLAST_SequenceBlk** CBLAST_SequenceBlk::operator& ( )
inline

Definition at line 309 of file blast_aux.hpp.

◆ operator&() [2/31]

BlastQueryInfo** CBlastQueryInfo::operator& ( )
inline

Definition at line 311 of file blast_aux.hpp.

◆ operator&() [3/31]

QuerySetUpOptions** CQuerySetUpOptions::operator& ( )
inline

Definition at line 312 of file blast_aux.hpp.

◆ operator&() [4/31]

LookupTableOptions** CLookupTableOptions::operator& ( )
inline

Definition at line 314 of file blast_aux.hpp.

◆ operator&() [5/31]

LookupTableWrap** CLookupTableWrap::operator& ( )
inline

Definition at line 315 of file blast_aux.hpp.

◆ operator&() [6/31]

BlastInitialWordOptions** CBlastInitialWordOptions::operator& ( )
inline

Definition at line 318 of file blast_aux.hpp.

◆ operator&() [7/31]

BlastInitialWordParameters** CBlastInitialWordParameters::operator& ( )
inline

Definition at line 320 of file blast_aux.hpp.

◆ operator&() [8/31]

Blast_ExtendWord** CBlast_ExtendWord::operator& ( )
inline

Definition at line 322 of file blast_aux.hpp.

◆ operator&() [9/31]

BlastExtensionOptions** CBlastExtensionOptions::operator& ( )
inline

Definition at line 323 of file blast_aux.hpp.

◆ operator&() [10/31]

BlastExtensionParameters** CBlastExtensionParameters::operator& ( )
inline

Definition at line 324 of file blast_aux.hpp.

◆ operator&() [11/31]

BlastHitSavingOptions** CBlastHitSavingOptions::operator& ( )
inline

Definition at line 326 of file blast_aux.hpp.

◆ operator&() [12/31]

BlastHitSavingParameters** CBlastHitSavingParameters::operator& ( )
inline

Definition at line 328 of file blast_aux.hpp.

◆ operator&() [13/31]

PSIBlastOptions** CPSIBlastOptions::operator& ( )
inline

Definition at line 330 of file blast_aux.hpp.

◆ operator&() [14/31]

BlastDatabaseOptions** CBlastDatabaseOptions::operator& ( )
inline

Definition at line 331 of file blast_aux.hpp.

◆ operator&() [15/31]

BlastScoreBlk** CBlastScoreBlk::operator& ( )
inline

Definition at line 333 of file blast_aux.hpp.

◆ operator&() [16/31]

BlastScoringOptions** CBlastScoringOptions::operator& ( )
inline

Definition at line 334 of file blast_aux.hpp.

◆ operator&() [17/31]

BlastScoringParameters** CBlastScoringParameters::operator& ( )
inline

Definition at line 335 of file blast_aux.hpp.

◆ operator&() [18/31]

BlastEffectiveLengthsOptions** CBlastEffectiveLengthsOptions::operator& ( )
inline

Definition at line 338 of file blast_aux.hpp.

◆ operator&() [19/31]

BlastEffectiveLengthsParameters** CBlastEffectiveLengthsParameters::operator& ( )
inline

Definition at line 340 of file blast_aux.hpp.

◆ operator&() [20/31]

BlastGapAlignStruct** CBlastGapAlignStruct::operator& ( )
inline

Definition at line 342 of file blast_aux.hpp.

◆ operator&() [21/31]

BlastHSPResults** CBlastHSPResults::operator& ( )
inline

Definition at line 343 of file blast_aux.hpp.

◆ operator&() [22/31]

PSIMsa** CPSIMsa::operator& ( )
inline

Definition at line 345 of file blast_aux.hpp.

◆ operator&() [23/31]

PSIMatrix** CPSIMatrix::operator& ( )
inline

Definition at line 346 of file blast_aux.hpp.

◆ operator&() [24/31]

PSIDiagnosticsRequest** CPSIDiagnosticsRequest::operator& ( )
inline

Definition at line 347 of file blast_aux.hpp.

◆ operator&() [25/31]

PSIDiagnosticsResponse** CPSIDiagnosticsResponse::operator& ( )
inline

Definition at line 348 of file blast_aux.hpp.

◆ operator&() [26/31]

BlastSeqSrc** CBlastSeqSrc::operator& ( )
inline

Definition at line 350 of file blast_aux.hpp.

◆ operator&() [27/31]

BlastSeqSrcIterator** CBlastSeqSrcIterator::operator& ( )
inline

Definition at line 351 of file blast_aux.hpp.

◆ operator&() [28/31]

Blast_Message** CBlast_Message::operator& ( )
inline

Definition at line 352 of file blast_aux.hpp.

◆ operator&() [29/31]

BlastMaskLoc** CBlastMaskLoc::operator& ( )
inline

Definition at line 354 of file blast_aux.hpp.

◆ operator&() [30/31]

BlastSeqLoc** CBlastSeqLoc::operator& ( )
inline

Definition at line 355 of file blast_aux.hpp.

◆ operator&() [31/31]

SBlastProgress** CSBlastProgress::operator& ( )
inline

Definition at line 357 of file blast_aux.hpp.

◆ operator()() [1/22]

int CPrelimSearchRunner::operator() ( void  )
inline

◆ operator()() [2/22]

const BlastRPSInfo * CBlastRPSInfo::operator() ( ) const

Accessor for the underlying C structure (managed by this class)

Definition at line 615 of file rps_aux.cpp.

References CBlastRPSInfo::m_RpsInfo.

◆ operator()() [3/22]

const BlastRPSAuxInfo * CBlastRPSAuxInfo::operator() ( void  ) const

Lend the caller the pointer to the data structure this object manages.

Caller MUST NOT deallocate the return value.

Definition at line 127 of file rps_aux.cpp.

References CBlastRPSAuxInfo::m_Data.

◆ operator()() [4/22]

const BlastRPSAuxInfo * CRpsAuxFile::operator() ( void  ) const

Lend the caller the pointer to the data structure this object manages.

Caller MUST NOT deallocate the return value.

Definition at line 232 of file rps_aux.cpp.

References CRpsAuxFile::m_Data.

◆ operator()() [5/22]

const BlastRPSLookupFileHeader * CRpsLookupTblFile::operator() ( void  ) const

Lend the caller the pointer to the data structure this object manages.

Caller MUST NOT deallocate the return value.

Definition at line 306 of file rps_aux.cpp.

References CRpsLookupTblFile::m_Data.

◆ operator()() [6/22]

const BlastRPSProfileHeader * CRpsPssmFile::operator() ( void  ) const

Lend the caller the pointer to the data structure this object manages.

Caller MUST NOT deallocate the return value.

Definition at line 353 of file rps_aux.cpp.

References CRpsPssmFile::m_Data.

◆ operator()() [7/22]

const BlastRPSProfileHeader * CRpsFreqsFile::operator() ( void  ) const

Lend the caller the pointer to the data structure this object manages.

Caller MUST NOT deallocate the return value.

Definition at line 403 of file rps_aux.cpp.

References CRpsFreqsFile::m_Data.

◆ operator()() [8/22]

const BlastRPSProfileHeader * CRpsObsrFile::operator() ( void  ) const

Lend the caller the pointer to the data structure this object manages.

Caller MUST NOT deallocate the return value.

Definition at line 452 of file rps_aux.cpp.

References CRpsObsrFile::m_Data.

◆ operator()() [9/22]

const BlastRPSFreqRatiosHeader * CRpsFreqRatiosFile::operator() ( void  ) const

Lend the caller the pointer to the data structure this object manages.

Caller MUST NOT deallocate the return value.

Definition at line 502 of file rps_aux.cpp.

References CRpsFreqRatiosFile::m_Data.

◆ operator()() [10/22]

result_type CFrameFinder::operator() ( argument_type seqlocinfo) const
inline

Returns true if its argument's frame corresponds to the one used to create this object.

Parameters
seqlocinfothe object to examine [in]

Definition at line 147 of file blast_aux.hpp.

References CRef< C, Locker >::Empty(), CSeqLocInfo::GetFrame(), CFrameFinder::m_Frame, NCBI_THROW, and true.

◆ operator()() [11/22]

bool CCddInputData::compare_hits_by_seqid_eval::operator() ( CHit *const a,
CHit *const b 
)
inline

Definition at line 395 of file cdd_pssm_input.hpp.

References a, and b.

◆ operator()() [12/22]

bool CConstRefCSeqId_LessThan::operator() ( const CConstRef< objects::CSeq_id > &  a,
const CConstRef< objects::CSeq_id > &  b 
) const
inline

Definition at line 188 of file blast_aux.hpp.

References _ASSERT, a, and b.

◆ operator()() [13/22]

bool CCddInputData::compare_hitseg_range::operator() ( const CHitSegment a,
const CHitSegment b 
) const
inline

Definition at line 372 of file cdd_pssm_input.hpp.

References a, and b.

◆ operator()() [14/22]

bool SBlast4ParamFinder::operator() ( const CRef< CBlast4_parameter > &  rhs)
inline

◆ operator()() [15/22]

bool TQueryMessagesLessComparator::operator() ( const CRef< CSearchMessage > &  a,
const CRef< CSearchMessage > &  b 
) const
inline

Operator to determine if *a is less than *b.

Definition at line 75 of file blast_aux_priv.hpp.

References a, and b.

◆ operator()() [16/22]

bool TQueryMessagesEqualComparator::operator() ( const CRef< CSearchMessage > &  a,
const CRef< CSearchMessage > &  b 
) const
inline

Operator to determine if *a is equal to *b.

Definition at line 84 of file blast_aux_priv.hpp.

References a, and b.

◆ operator()() [17/22]

bool seq_align_pairs_first::operator() ( const CRef< CSeq_align > &  a,
const CRef< CSeq_align > &  b 
)
inline

Definition at line 475 of file magicblast.cpp.

References a, and b.

◆ operator()() [18/22]

bool compare_alignments_fwrev_first::operator() ( const CRef< CSeq_align > &  a,
const CRef< CSeq_align > &  b 
)
inline

◆ operator()() [19/22]

bool compare_alignments_revfw_first::operator() ( const CRef< CSeq_align > &  a,
const CRef< CSeq_align > &  b 
)
inline

◆ operator()() [20/22]

void CPsiBlastAlignmentProcessor::operator() ( const objects::CSeq_align_set &  alignments,
double  evalue_inclusion_threshold,
THitIdentifiers output 
)

Extract all the THitId which have evalues below the inclusion threshold.

Parameters
alignmentsalignments corresponding to one query sequence [in]
evalue_inclusion_thresholdAll hits in the above alignment which have evalues below this parameter will be included in the return value [in]
outputReturn value of this method [out]

Definition at line 550 of file psiblast_aux_priv.cpp.

References CSeq_id_Handle::GetHandle(), GetLowestEvalue(), ITERATE, and output.

◆ operator()() [21/22]

bool CCddInputData::compare_range::operator() ( const TRange a,
const TRange b 
) const
inline

Definition at line 382 of file cdd_pssm_input.hpp.

References a, and b.

◆ operator()() [22/22]

bool ScorePositionSort::operator() ( CRef< CSeq_align > &  x,
CRef< CSeq_align > &  y 
)
inline

◆ operator*() [1/2]

template<class TData >
TData& CStructWrapper< TData >::operator* ( )
inline

The a reference to the wrapped object.

Definition at line 126 of file setup_factory.hpp.

References CStructWrapper< TData >::m_Data.

◆ operator*() [2/2]

CSeqDBExpert& SSeqDB_SeqSrc_Data::operator* ( void  )
inline

Convenience to allow datap->method to use SeqDB methods.

Definition at line 84 of file seqsrc_seqdb.cpp.

References _ASSERT, CRef< C, Locker >::Empty(), and SSeqDB_SeqSrc_Data::seqdb.

◆ operator->() [1/64]

BLAST_SequenceBlk* CBLAST_SequenceBlk::operator-> ( )
inline

Definition at line 309 of file blast_aux.hpp.

◆ operator->() [2/64]

BlastQueryInfo* CBlastQueryInfo::operator-> ( )
inline

Definition at line 311 of file blast_aux.hpp.

◆ operator->() [3/64]

QuerySetUpOptions* CQuerySetUpOptions::operator-> ( )
inline

Definition at line 312 of file blast_aux.hpp.

◆ operator->() [4/64]

LookupTableOptions* CLookupTableOptions::operator-> ( )
inline

Definition at line 314 of file blast_aux.hpp.

◆ operator->() [5/64]

LookupTableWrap* CLookupTableWrap::operator-> ( )
inline

Definition at line 315 of file blast_aux.hpp.

◆ operator->() [6/64]

BlastInitialWordOptions* CBlastInitialWordOptions::operator-> ( )
inline

Definition at line 318 of file blast_aux.hpp.

◆ operator->() [7/64]

BlastInitialWordParameters* CBlastInitialWordParameters::operator-> ( )
inline

Definition at line 320 of file blast_aux.hpp.

◆ operator->() [8/64]

Blast_ExtendWord* CBlast_ExtendWord::operator-> ( )
inline

Definition at line 322 of file blast_aux.hpp.

◆ operator->() [9/64]

BlastExtensionOptions* CBlastExtensionOptions::operator-> ( )
inline

Definition at line 323 of file blast_aux.hpp.

◆ operator->() [10/64]

BlastExtensionParameters* CBlastExtensionParameters::operator-> ( )
inline

Definition at line 324 of file blast_aux.hpp.

◆ operator->() [11/64]

BlastHitSavingOptions* CBlastHitSavingOptions::operator-> ( )
inline

Definition at line 326 of file blast_aux.hpp.

◆ operator->() [12/64]

BlastHitSavingParameters* CBlastHitSavingParameters::operator-> ( )
inline

Definition at line 328 of file blast_aux.hpp.

◆ operator->() [13/64]

PSIBlastOptions* CPSIBlastOptions::operator-> ( )
inline

Definition at line 330 of file blast_aux.hpp.

◆ operator->() [14/64]

BlastDatabaseOptions* CBlastDatabaseOptions::operator-> ( )
inline

Definition at line 331 of file blast_aux.hpp.

◆ operator->() [15/64]

BlastScoreBlk* CBlastScoreBlk::operator-> ( )
inline

Definition at line 333 of file blast_aux.hpp.

◆ operator->() [16/64]

BlastScoringOptions* CBlastScoringOptions::operator-> ( )
inline

Definition at line 334 of file blast_aux.hpp.

◆ operator->() [17/64]

BlastScoringParameters* CBlastScoringParameters::operator-> ( )
inline

Definition at line 335 of file blast_aux.hpp.

◆ operator->() [18/64]

BlastEffectiveLengthsOptions* CBlastEffectiveLengthsOptions::operator-> ( )
inline

Definition at line 338 of file blast_aux.hpp.

◆ operator->() [19/64]

BlastEffectiveLengthsParameters* CBlastEffectiveLengthsParameters::operator-> ( )
inline

Definition at line 340 of file blast_aux.hpp.

◆ operator->() [20/64]

BlastGapAlignStruct* CBlastGapAlignStruct::operator-> ( )
inline

Definition at line 342 of file blast_aux.hpp.

◆ operator->() [21/64]

BlastHSPResults* CBlastHSPResults::operator-> ( )
inline

Definition at line 343 of file blast_aux.hpp.

◆ operator->() [22/64]

PSIMsa* CPSIMsa::operator-> ( )
inline

Definition at line 345 of file blast_aux.hpp.

◆ operator->() [23/64]

PSIMatrix* CPSIMatrix::operator-> ( )
inline

Definition at line 346 of file blast_aux.hpp.

◆ operator->() [24/64]

PSIDiagnosticsRequest* CPSIDiagnosticsRequest::operator-> ( )
inline

Definition at line 347 of file blast_aux.hpp.

◆ operator->() [25/64]

PSIDiagnosticsResponse* CPSIDiagnosticsResponse::operator-> ( )
inline

Definition at line 348 of file blast_aux.hpp.

◆ operator->() [26/64]

BlastSeqSrc* CBlastSeqSrc::operator-> ( )
inline

Definition at line 350 of file blast_aux.hpp.

◆ operator->() [27/64]

BlastSeqSrcIterator* CBlastSeqSrcIterator::operator-> ( )
inline

Definition at line 351 of file blast_aux.hpp.

◆ operator->() [28/64]

Blast_Message* CBlast_Message::operator-> ( )
inline

Definition at line 352 of file blast_aux.hpp.

◆ operator->() [29/64]

BlastMaskLoc* CBlastMaskLoc::operator-> ( )
inline

Definition at line 354 of file blast_aux.hpp.

◆ operator->() [30/64]

BlastSeqLoc* CBlastSeqLoc::operator-> ( )
inline

Definition at line 355 of file blast_aux.hpp.

◆ operator->() [31/64]

SBlastProgress* CSBlastProgress::operator-> ( )
inline

Definition at line 357 of file blast_aux.hpp.

◆ operator->() [32/64]

template<class TData >
TData* CStructWrapper< TData >::operator-> ( )
inline

The a pointer to the wrapped object.

Definition at line 132 of file setup_factory.hpp.

References CStructWrapper< TData >::m_Data.

◆ operator->() [33/64]

CSeqDBExpert* SSeqDB_SeqSrc_Data::operator-> ( void  )
inline

Convenience to allow datap->method to use SeqDB methods.

Definition at line 77 of file seqsrc_seqdb.cpp.

References _ASSERT, CRef< C, Locker >::Empty(), and SSeqDB_SeqSrc_Data::seqdb.

◆ operator->() [34/64]

BLAST_SequenceBlk* CBLAST_SequenceBlk::operator-> ( ) const
inline

Definition at line 309 of file blast_aux.hpp.

◆ operator->() [35/64]

BlastQueryInfo* CBlastQueryInfo::operator-> ( ) const
inline

Definition at line 311 of file blast_aux.hpp.

◆ operator->() [36/64]

QuerySetUpOptions* CQuerySetUpOptions::operator-> ( ) const
inline

Definition at line 312 of file blast_aux.hpp.

◆ operator->() [37/64]

LookupTableOptions* CLookupTableOptions::operator-> ( ) const
inline

Definition at line 314 of file blast_aux.hpp.

◆ operator->() [38/64]

LookupTableWrap* CLookupTableWrap::operator-> ( ) const
inline

Definition at line 315 of file blast_aux.hpp.

◆ operator->() [39/64]

BlastInitialWordOptions* CBlastInitialWordOptions::operator-> ( ) const
inline

Definition at line 318 of file blast_aux.hpp.

◆ operator->() [40/64]

BlastInitialWordParameters* CBlastInitialWordParameters::operator-> ( ) const
inline

Definition at line 320 of file blast_aux.hpp.

◆ operator->() [41/64]

Blast_ExtendWord* CBlast_ExtendWord::operator-> ( ) const
inline

Definition at line 322 of file blast_aux.hpp.

◆ operator->() [42/64]

BlastExtensionOptions* CBlastExtensionOptions::operator-> ( ) const
inline

Definition at line 323 of file blast_aux.hpp.

◆ operator->() [43/64]

BlastExtensionParameters* CBlastExtensionParameters::operator-> ( ) const
inline

Definition at line 324 of file blast_aux.hpp.

◆ operator->() [44/64]

BlastHitSavingOptions* CBlastHitSavingOptions::operator-> ( ) const
inline

Definition at line 326 of file blast_aux.hpp.

◆ operator->() [45/64]

BlastHitSavingParameters* CBlastHitSavingParameters::operator-> ( ) const
inline

Definition at line 328 of file blast_aux.hpp.

◆ operator->() [46/64]

PSIBlastOptions* CPSIBlastOptions::operator-> ( ) const
inline

Definition at line 330 of file blast_aux.hpp.

◆ operator->() [47/64]

BlastDatabaseOptions* CBlastDatabaseOptions::operator-> ( ) const
inline

Definition at line 331 of file blast_aux.hpp.

◆ operator->() [48/64]

BlastScoreBlk* CBlastScoreBlk::operator-> ( ) const
inline

Definition at line 333 of file blast_aux.hpp.

◆ operator->() [49/64]

BlastScoringOptions* CBlastScoringOptions::operator-> ( ) const
inline

Definition at line 334 of file blast_aux.hpp.

◆ operator->() [50/64]

BlastScoringParameters* CBlastScoringParameters::operator-> ( ) const
inline

Definition at line 335 of file blast_aux.hpp.

◆ operator->() [51/64]

BlastEffectiveLengthsOptions* CBlastEffectiveLengthsOptions::operator-> ( ) const
inline

Definition at line 338 of file blast_aux.hpp.

◆ operator->() [52/64]

BlastEffectiveLengthsParameters* CBlastEffectiveLengthsParameters::operator-> ( ) const
inline

Definition at line 340 of file blast_aux.hpp.

◆ operator->() [53/64]

BlastGapAlignStruct* CBlastGapAlignStruct::operator-> ( ) const
inline

Definition at line 342 of file blast_aux.hpp.

◆ operator->() [54/64]

BlastHSPResults* CBlastHSPResults::operator-> ( ) const
inline

Definition at line 343 of file blast_aux.hpp.

◆ operator->() [55/64]

PSIMsa* CPSIMsa::operator-> ( ) const
inline

Definition at line 345 of file blast_aux.hpp.

◆ operator->() [56/64]

PSIMatrix* CPSIMatrix::operator-> ( ) const
inline

Definition at line 346 of file blast_aux.hpp.

◆ operator->() [57/64]

PSIDiagnosticsRequest* CPSIDiagnosticsRequest::operator-> ( ) const
inline

Definition at line 347 of file blast_aux.hpp.

◆ operator->() [58/64]

PSIDiagnosticsResponse* CPSIDiagnosticsResponse::operator-> ( ) const
inline

Definition at line 348 of file blast_aux.hpp.

◆ operator->() [59/64]

BlastSeqSrc* CBlastSeqSrc::operator-> ( ) const
inline

Definition at line 350 of file blast_aux.hpp.

◆ operator->() [60/64]

BlastSeqSrcIterator* CBlastSeqSrcIterator::operator-> ( ) const
inline

Definition at line 351 of file blast_aux.hpp.

◆ operator->() [61/64]

Blast_Message* CBlast_Message::operator-> ( ) const
inline

Definition at line 352 of file blast_aux.hpp.

◆ operator->() [62/64]

BlastMaskLoc* CBlastMaskLoc::operator-> ( ) const
inline

Definition at line 354 of file blast_aux.hpp.

◆ operator->() [63/64]

BlastSeqLoc* CBlastSeqLoc::operator-> ( ) const
inline

Definition at line 355 of file blast_aux.hpp.

◆ operator->() [64/64]

SBlastProgress* CSBlastProgress::operator-> ( ) const
inline

Definition at line 357 of file blast_aux.hpp.

◆ operator<<() [1/2]

ostream& operator<< ( ostream &  out,
const CContextTranslator rhs 
)
Parameters
outstream to print this object [in|out]
rhsobject to print [in]

Definition at line 286 of file split_query_aux_priv.cpp.

References i, CContextTranslator::m_AbsoluteContexts, CContextTranslator::m_ContextsPerChunk, CContextTranslator::m_StartingChunks, out(), and s_PrintVector().

◆ operator<<() [2/2]

ostream& operator<< ( ostream &  out,
const CSplitQueryBlk rhs 
)
Parameters
outstream to print this object [in|out]
rhsobject to print [in]

Definition at line 219 of file split_query_blk.cpp.

References CSplitQueryBlk::GetContextOffsets(), CSplitQueryBlk::GetNumChunks(), CSplitQueryBlk::GetQueryContexts(), CSplitQueryBlk::GetQueryIndices(), out(), and s_PrintVector().

◆ operator=() [1/49]

CBlastQueryFilteredFrames& CBlastQueryFilteredFrames::operator= ( CBlastQueryFilteredFrames f)
private

Prevent assignment.

◆ operator=() [2/49]

CBlastTracebackSearch& CBlastTracebackSearch::operator= ( CBlastTracebackSearch )
private

Prohibit assignment operator.

◆ operator=() [3/49]

CAutoNcbiConfigFile& CAutoNcbiConfigFile::operator= ( const CAutoNcbiConfigFile )
privatedelete

◆ operator=() [4/49]

CBl2Seq& CBl2Seq::operator= ( const CBl2Seq rhs)
private

Prohibit assignment operator.

◆ operator=() [5/49]

CBlastAdvancedProteinOptionsHandle& CBlastAdvancedProteinOptionsHandle::operator= ( const CBlastAdvancedProteinOptionsHandle rhs)
private

Disallow assignment operator.

◆ operator=() [6/49]

CBlastAncillaryData & CBlastAncillaryData::operator= ( const CBlastAncillaryData rhs)

Assignment operator.

Definition at line 156 of file blast_results.cpp.

References CBlastAncillaryData::do_copy().

◆ operator=() [7/49]

CBlastNucleotideOptionsHandle& CBlastNucleotideOptionsHandle::operator= ( const CBlastNucleotideOptionsHandle rhs)
private

Disallow assignment operator.

◆ operator=() [8/49]

CBlastOptionsLocal & CBlastOptionsLocal::operator= ( const CBlastOptionsLocal optsLocal)

Assignment operator.

Definition at line 79 of file blast_options_local_priv.cpp.

References CBlastOptionsLocal::x_DoDeepCopy().

◆ operator=() [9/49]

CBlastOptionsRemote& CBlastOptionsRemote::operator= ( const CBlastOptionsRemote optsRemote)
inline

Assignment operator.

Definition at line 81 of file blast_options_cxx.cpp.

References CBlastOptionsRemote::x_DoDeepCopy().

◆ operator=() [10/49]

CBlastpKmerOptionsHandle& CBlastpKmerOptionsHandle::operator= ( const CBlastpKmerOptionsHandle rhs)
private

Disallow assignment operator.

◆ operator=() [11/49]

CBlastPrelimSearch& CBlastPrelimSearch::operator= ( const CBlastPrelimSearch rhs)
private

Prohibit assignment operator.

◆ operator=() [12/49]

CBlastProteinOptionsHandle& CBlastProteinOptionsHandle::operator= ( const CBlastProteinOptionsHandle rhs)
private

Disallow assignment operator.

◆ operator=() [13/49]

CBlastRPSAuxInfo& CBlastRPSAuxInfo::operator= ( const CBlastRPSAuxInfo rhs)
private

Prohibit assignment operator.

◆ operator=() [14/49]

CBlastRPSInfo& CBlastRPSInfo::operator= ( const CBlastRPSInfo rhs)
private

Prohibit assignment operator.

◆ operator=() [15/49]

CBlastRPSOptionsHandle& CBlastRPSOptionsHandle::operator= ( const CBlastRPSOptionsHandle rhs)
private

Disallow assignment operator.

◆ operator=() [16/49]

CBlastServices& CBlastServices::operator= ( const CBlastServices )
private

Prohibit assignment.

◆ operator=() [17/49]

CBlastxOptionsHandle& CBlastxOptionsHandle::operator= ( const CBlastxOptionsHandle rhs)
private

Disallow assignment operator.

◆ operator=() [18/49]

CDeltaBlast& CDeltaBlast::operator= ( const CDeltaBlast rhs)
protected

Prohibit assignment operator.

◆ operator=() [19/49]

CDeltaBlastOptionsHandle& CDeltaBlastOptionsHandle::operator= ( const CDeltaBlastOptionsHandle rhs)
private

Disallow assignment operator.

◆ operator=() [20/49]

CDiscNucleotideOptionsHandle& CDiscNucleotideOptionsHandle::operator= ( const CDiscNucleotideOptionsHandle rhs)
private

Disallow assignment operator.

◆ operator=() [21/49]

CExportStrategy& CExportStrategy::operator= ( const CExportStrategy )
private

◆ operator=() [22/49]

CHitSegment& CCddInputData::CHitSegment::operator= ( const CHitSegment hit)
private

Fobidding assignment operator.

◆ operator=() [23/49]

CIgBlast& CIgBlast::operator= ( const CIgBlast rhs)
private

Prohibit assignment operator.

◆ operator=() [24/49]

CImportStrategy& CImportStrategy::operator= ( const CImportStrategy rhs)
private

Prohibit assignment operator.

◆ operator=() [25/49]

CLocalDbAdapter& CLocalDbAdapter::operator= ( const CLocalDbAdapter )
private

Prohibit assignment operator.

◆ operator=() [26/49]

CMagicBlast& CMagicBlast::operator= ( const CMagicBlast rhs)
protected

Prohibit assignment operator.

◆ operator=() [27/49]

CMagicBlastOptionsHandle& CMagicBlastOptionsHandle::operator= ( const CMagicBlastOptionsHandle rhs)
private

Disallow assignment operator.

◆ operator=() [28/49]

CMagicBlastResultSet& CMagicBlastResultSet::operator= ( const CMagicBlastResultSet )
private

◆ operator=() [29/49]

CPHIBlastNuclOptionsHandle& CPHIBlastNuclOptionsHandle::operator= ( const CPHIBlastNuclOptionsHandle rhs)
private

Disallow assignment operator.

◆ operator=() [30/49]

CPHIBlastProtOptionsHandle& CPHIBlastProtOptionsHandle::operator= ( const CPHIBlastProtOptionsHandle rhs)
private

Disallow assignment operator.

◆ operator=() [31/49]

CPrelimSearchRunner& CPrelimSearchRunner::operator= ( const CPrelimSearchRunner rhs)
private

Prohibit assignment operator.

◆ operator=() [32/49]

CPsiBl2Seq& CPsiBl2Seq::operator= ( const CPsiBl2Seq rhs)
private

Prohibit assignment operator.

◆ operator=() [33/49]

CPsiBlast& CPsiBlast::operator= ( const CPsiBlast rhs)
private

Prohibit assignment operator.

◆ operator=() [34/49]

CPsiBlastImpl& CPsiBlastImpl::operator= ( const CPsiBlastImpl rhs)
private

Prohibit assignment operator.

◆ operator=() [35/49]

CPsiBlastInputClustalW& CPsiBlastInputClustalW::operator= ( const CPsiBlastInputClustalW )
private

prohibit assignment operator

◆ operator=() [36/49]

CPsiBlastInputData& CPsiBlastInputData::operator= ( const CPsiBlastInputData )
private

prohibit assignment operator

◆ operator=() [37/49]

CPsiBlastIterationState& CPsiBlastIterationState::operator= ( const CPsiBlastIterationState rhs)
private

Prohibit assignment operator.

◆ operator=() [38/49]

CPSIBlastOptionsHandle& CPSIBlastOptionsHandle::operator= ( const CPSIBlastOptionsHandle rhs)
private

Disallow assignment operator.

◆ operator=() [39/49]

CPssmEngine& CPssmEngine::operator= ( const CPssmEngine rhs)
private

Prohibit assignment operator.

◆ operator=() [40/49]

CQuerySplitter& CQuerySplitter::operator= ( const CQuerySplitter rhs)
private

Prohibit assignment operator.

◆ operator=() [41/49]

CReference& CReference::operator= ( const CReference rhs)
private

Prohibit assignment operator.

◆ operator=() [42/49]

CRemoteBlast& CRemoteBlast::operator= ( const CRemoteBlast )
private

Prohibit assignment.

◆ operator=() [43/49]

CRPSTBlastnOptionsHandle& CRPSTBlastnOptionsHandle::operator= ( const CRPSTBlastnOptionsHandle rhs)
private

Disallow assignment operator.

◆ operator=() [44/49]

CSearchResults& CSearchResults::operator= ( const CSearchResults rhs)
private

Prohibit assignment operator.

◆ operator=() [45/49]

CSplitQueryBlk& CSplitQueryBlk::operator= ( const CSplitQueryBlk rhs)
private

Do not allow assignment operator.

◆ operator=() [46/49]

CTBlastnOptionsHandle& CTBlastnOptionsHandle::operator= ( const CTBlastnOptionsHandle rhs)
private

Disallow assignment operator.

◆ operator=() [47/49]

CTBlastxOptionsHandle& CTBlastxOptionsHandle::operator= ( const CTBlastxOptionsHandle rhs)
private

Disallow assignment operator.

◆ operator=() [48/49]

template<typename T >
SOptional<T>& CBlastOptionsBuilder::SOptional< T >::operator= ( const T x)
inline

Assign the field from another optional field.

Definition at line 237 of file blast_options_builder.hpp.

◆ operator=() [49/49]

template<class TData >
CStructWrapper& CStructWrapper< TData >::operator= ( CStructWrapper< TData > &  x)
private

Prohibit assignment operator.

◆ operator==() [1/2]

bool CBlastOptions::operator== ( const CBlastOptions rhs) const

Definition at line 808 of file blast_options_cxx.cpp.

References CBlastOptions::m_Local, and NCBI_THROW.

◆ operator==() [2/2]

bool CBlastOptionsLocal::operator== ( const CBlastOptionsLocal rhs) const

◆ operator[]() [1/8]

CRef< CSearchResults > CSearchResultSet::operator[] ( const objects::CSeq_id &  ident)

Allow array-like access with CSeq_id indices to CSearchResults contained by this object.

Parameters
identquery sequence identifier [in]
Note
it only works for results of type eDatabaseSearch

Definition at line 431 of file blast_results.cpp.

References CSeq_id::e_YES, eDatabaseSearch, i, CSearchResultSet::m_Results, CSearchResultSet::m_ResultType, and NCBI_THROW.

◆ operator[]() [2/8]

CConstRef< CSearchResults > CSearchResultSet::operator[] ( const objects::CSeq_id &  ident) const

Allow array-like access with CSeq_id indices to const CSearchResults contained by this object.

Parameters
identquery sequence identifier [in]
Note
it only works for results of type eDatabaseSearch

Definition at line 416 of file blast_results.cpp.

References CSeq_id::e_YES, eDatabaseSearch, i, CSearchResultSet::m_Results, CSearchResultSet::m_ResultType, and NCBI_THROW.

◆ operator[]() [3/8]

BlastSeqLoc ** CBlastQueryFilteredFrames::operator[] ( int  frame)

Access the BlastSeqLocs for a given frame.

A pointer is returned to the list of BlastSeqLocs associated with a given frame.

Parameters
frameThe specific frame, expressed as a value from ETranslationFrame, on which this interval falls.

Definition at line 1762 of file blast_setup_cxx.cpp.

References CBlastQueryFilteredFrames::m_Seqlocs, and CBlastQueryFilteredFrames::x_VerifyFrame().

◆ operator[]() [4/8]

CSearchResults& CSearchResultSet::operator[] ( size_type  i)
inline

Allow array-like access with integer indices to CSearchResults contained by this object.

Parameters
iquery sequence index if result type is eDatabaseSearch, otherwise it's the query-subject index [in]

Definition at line 363 of file blast_results.hpp.

References i, and CSearchResultSet::m_Results.

◆ operator[]() [5/8]

const CSearchResults& CSearchResultSet::operator[] ( size_type  i) const
inline

Allow array-like access with integer indices to const CSearchResults contained by this object.

Parameters
iquery sequence index if result type is eDatabaseSearch, otherwise it's the query-subject index [in]

Definition at line 371 of file blast_results.hpp.

References i, and CSearchResultSet::m_Results.

◆ operator[]() [6/8]

Uint1 CBlastSeqVectorFromCSeq_data::operator[] ( TSeqPos  pos) const
inlinevirtual

◆ operator[]() [7/8]

virtual Uint1 CBlastSeqVectorOM::operator[] ( TSeqPos  pos) const
inlinevirtual

@inheritDoc

Implements IBlastSeqVector.

Definition at line 499 of file blast_objmgr_tools.cpp.

References CBlastSeqVectorOM::m_SeqVector.

◆ operator[]() [8/8]

virtual Uint1 IBlastSeqVector::operator[] ( TSeqPos  pos) const
pure virtual

Allows index-based access to the sequence data.

Implemented in CBlastSeqVectorOM, and CBlastSeqVectorFromCSeq_data.

Referenced by IBlastSeqVector::GetStrandData().

◆ PackedSeqLocToMaskedQueryRegions()

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.

Parameters
slocSeq-loc to use as source (must be Packed-int or Seq-int) [in]
programBLAST program type [in]
assume_both_strandsignores the strand of sloc_in and adds masking locations to both strands in return value. This is irrelevant for protein queries
Returns
List of masked query regions.
Exceptions
CBlastExceptionif Seq-loc type cannot be converted to Packed-int

Definition at line 369 of file blast_aux_priv.cpp.

References Blast_QueryIsProtein(), CSeq_loc_Base::e_not_set, CSeqLocInfo::eFrameMinus1, CSeqLocInfo::eFrameNotSet, CSeqLocInfo::eFramePlus1, CConstRef< C, Locker >::Empty(), eNa_strand_both, eNa_strand_minus, eNa_strand_plus, CSeq_loc_Base::GetPacked_int(), int, CConstRef< C, Locker >::IsNull(), CSeq_loc_Base::IsPacked_int(), ITERATE, NCBI_THROW, prog, CConstRef< C, Locker >::Reset(), and CSeq_loc::SetPacked_int().

Referenced by Blast_FindDustFilterLoc(), CObjMgr_QueryFactory::ExtractUserSpecifiedMasks(), CBlastQuerySourceOM::GetMaskedRegions(), CBlastFastaInputSource::GetNextSequence(), and s_BlastSeqLoc2MaskedRegions().

◆ ParseDBNames()

void CIndexedDb_New::ParseDBNames ( const std::string  db_spec,
TStrVec db_names 
)
staticprivate

Generate a list of BLAST database names from a single string.

Parameters
db_specstring containing space separated list of names
db_names[out] resulting list of database names

Definition at line 631 of file blast_dbindex.cpp.

References SEP.

Referenced by CIndexedDb_New::CIndexedDb_New().

◆ PhiBlastResults2SeqAlign_OMF()

TSeqAlignVector PhiBlastResults2SeqAlign_OMF ( const BlastHSPResults results,
EBlastProgramType  prog,
class ILocalQueryData query,
const IBlastSeqInfoSrc seqinfo_src,
const SPHIQueryInfo pattern_info,
vector< TSeqLocInfoVector > &  subj_masks 
)

◆ Post()

void CBlastAppDiagHandler::Post ( const SDiagMessage mess)
virtual

◆ PreSearch()

void CIndexedDb_Old::PreSearch ( BLAST_SequenceBlk queries,
BlastSeqLoc locs,
LookupTableOptions lut_options,
BlastInitialWordOptions word_options 
)
private

Invoke the seed search procedure on each of the loaded indices.

Each search is run in a separate thread. The function waits until all threads are complete before it returns.

Parameters
queriesQueries descriptor.
locsUnmasked intervals of queries.
lut_optionsLookup table parameters, like target word size.
word_optionsContains window size of two-hits based search.

Definition at line 1036 of file blast_dbindex.cpp.

References CIndexedDb_Old::index_, CIndexedDb_Old::index_names_, CDbIndex::Load(), NCBI_THROW, result, results, CIndexedDb_Old::results_, CDbIndex::Search(), CIndexedDb_Old::seqmap_, CDbIndex::StartSeq(), CDbIndex::StopSeq(), CDbIndex::SSearchOptions::two_hits, CException::what(), BlastInitialWordOptions::window_size, LookupTableOptions::word_size, and CDbIndex::SSearchOptions::word_size.

Referenced by CIndexedDb_Old::DoPreSearch().

◆ Print()

virtual string CBlastVersion::Print ( void  ) const
inlinevirtual

Print version information.

Returns
String representation of the version, Version information is printed in the following forms:
  • <ver_major>.<ver_minor>.<patch_level>
  • <ver_major>.<ver_minor>.<patch_level> (<name>) Return empty string if major version is undefined (< 0).

Reimplemented from CVersionInfo.

Reimplemented in ncbi::blast::CBlastVdbVersion.

Definition at line 59 of file version.hpp.

References CVersionInfo::Print().

Referenced by CBlastnAppArgs::CBlastnAppArgs(), CBlastnVdbAppArgs::CBlastnVdbAppArgs(), CBlastpAppArgs::CBlastpAppArgs(), CBlastxAppArgs::CBlastxAppArgs(), CDeltaBlastAppArgs::CDeltaBlastAppArgs(), CIgBlastpAppArgs::CIgBlastpAppArgs(), CKBlastpAppArgs::CKBlastpAppArgs(), CPsiBlastAppArgs::CPsiBlastAppArgs(), CRPSBlastAppArgs::CRPSBlastAppArgs(), CRPSTBlastnAppArgs::CRPSTBlastnAppArgs(), CTblastnAppArgs::CTblastnAppArgs(), CTblastnVdbAppArgs::CTblastnVdbAppArgs(), CTblastxAppArgs::CTblastxAppArgs(), ncbi::blast::CBlastVdbVersion::Print(), and s_BuildArchiveAll().

◆ Process() [1/7]

void CPsiBlastInputClustalW::Process ( void  )
virtual

◆ Process() [2/7]

void CPsiBlastInputFreqRatios::Process ( void  )
inlinevirtual

No-op as we assume the data is passed in to the constructor.

Implements IPssmInputFreqRatios.

Definition at line 95 of file psi_pssm_input.hpp.

◆ Process() [3/7]

void CPsiBlastInputData::Process ( void  )
virtual

◆ Process() [4/7]

virtual void IPssmInputData::Process ( )
pure virtual

Algorithm to produce multiple sequence alignment structure should be implemented in this method.

This will be invoked by the CPssmEngine object before calling GetData()

Implemented in SU_PSSMInput, CNullPssmInput, CPssmInputFlankingGaps, CdPssmInput, CPsiBlastInputData, and CPsiBlastInputClustalW.

Referenced by CPssmEngine::x_CreatePssmFromMsa().

◆ Process() [5/7]

virtual void IPssmInputFreqRatios::Process ( )
pure virtual

Algorithm to produce the PSSM's frequecy ratios should be implemented in this method.

This will be invoked by the CPssmEngine object before calling GetData()

Implemented in CPsiBlastInputFreqRatios.

Referenced by CPssmEngine::x_CreatePssmFromFreqRatios().

◆ Process() [6/7]

void CCddInputData::Process ( void  )
virtual

◆ Process() [7/7]

virtual void IPssmInputCdd::Process ( void  )
pure virtual

Pre-process CDs used for PSSM computation.

Implemented in CPssmInputWithNoCDs, and CCddInputData.

Referenced by CPssmEngine::x_CreatePssmFromCDD().

◆ ProgramNameToEnum()

EProgram ProgramNameToEnum ( const std::string program_name)

◆ PsiBlastAddAncillaryPssmData()

void PsiBlastAddAncillaryPssmData ( objects::CPssmWithParameters &  pssm,
int  gap_open,
int  gap_extend 
)

Even though the query sequence and the matrix gap costs are not a product of the PSSM engine, set them as they are required for the PSI-BLAST (query sequence) and RPS-BLAST/formatrpsdb (gap costs)

Parameters
pssmPSSM to modify [in|out]
gap_openGap opening cost associated with the matrix used to build the PSSM [in]
gap_extendGap extension cost associated with the matrix used to build the PSSM [in]

Definition at line 426 of file psiblast_aux_priv.cpp.

References _ASSERT.

Referenced by PsiBlastComputePssmFromAlignment(), and PsiBlastComputePssmScores().

◆ PsiBlastComputePssmFromAlignment()

CRef< objects::CPssmWithParameters > PsiBlastComputePssmFromAlignment ( const objects::CBioseq &  query,
CConstRef< objects::CSeq_align_set >  alignment,
CRef< objects::CScope >  database_scope,
const CPSIBlastOptionsHandle opts_handle,
CConstRef< CBlastAncillaryData ancillary_data,
PSIDiagnosticsRequest diagnostics_req = 0 
)

◆ PsiBlastComputePssmScores()

void PsiBlastComputePssmScores ( CRef< objects::CPssmWithParameters >  pssm,
const CBlastOptions opts 
)

◆ PsiBlastSetupScoreBlock()

void PsiBlastSetupScoreBlock ( BlastScoreBlk score_blk,
CConstRef< objects::CPssmWithParameters >  pssm,
TSearchMessages messages,
CConstRef< CBlastOptions options 
)

Setup CORE BLAST score block structure with data from the scoremat PSSM.

Note
this function might modify the composition based statistics settings.
Parameters
score_blkBlastScoreBlk structure to set up [in|out]
pssmscoremat PSSM [in]
messagesError/warning messages [in|out]
optionsPSI-BLAST options [in|out]

Definition at line 76 of file psiblast_aux_priv.cpp.

References _ASSERT, eBlastSevWarning, eCompositionBasedStats, eDeltaBlast, eNoCompositionBasedStats, eNumCompoAdjustModes, CScorematPssmConverter::GetFreqRatios(), CScorematPssmConverter::GetScores(), kEpsilon, CPssm::kInvalidStat, log, NCBI_THROW, r(), and SPsiBlastScoreMatrixNew().

Referenced by BlastSetupPreliminarySearchEx(), and CBlastTracebackSearch::x_Init().

◆ Pssm()

void CPsiBlastValidate::Pssm ( const objects::CPssmWithParameters &  pssm,
bool  require_scores = false 
)
static

Perform validation on the PSSM.

Parameters
pssmPSSM as specified in scoremat.asn [in]
require_scoresSet to true if scores MUST be present (otherwise, either scores or frequency ratios are acceptable) [in]
Exceptions
CBlastExceptionon failure when validating data

Definition at line 569 of file psiblast_aux_priv.cpp.

References NStr::IntToString(), msg(), and NCBI_THROW.

Referenced by CPsiBlastImpl::SetPssm(), CRemoteBlast::SetQueries(), CLocalPssmSearch::SetQuery(), CExportStrategy::x_Process_Pssm(), and CPsiBlastImpl::x_Validate().

◆ push_back() [1/2]

void CMagicBlastResultSet::push_back ( CMagicBlastResultSet::value_type element)
inline

Add results to the end of the container.

Definition at line 289 of file magicblast.hpp.

References CMagicBlastResultSet::m_Results.

◆ push_back() [2/2]

void CSearchResultSet::push_back ( CSearchResultSet::value_type element)

Add a value to the back of this container.

Parameters
elementelement to add [in]

Definition at line 609 of file blast_results.cpp.

References CSearchResultSet::m_NumQueries, and CSearchResultSet::m_Results.

Referenced by CDeltaBlast::Run(), s_AddNewResultSet(), CIgBlast::s_AppendResults(), s_CombineSearchSets(), and CIgBlast::x_ConvertResultType().

◆ QueryFactory()

void CPsiBlastValidate::QueryFactory ( CRef< IQueryFactory query_factory,
const CBlastOptionsHandle opts_handle,
EQueryFactoryType  query_factory_type = eQFT_Query 
)
static

◆ QueryFactoryBlastSeqSrcInit() [1/2]

BlastSeqSrc* QueryFactoryBlastSeqSrcInit ( const TSeqLocVector subj_seqs,
EBlastProgramType  program 
)

Initialize the sequence source structure from a TSeqLocVector.

Parameters
subj_seqsTSeqLocVector object from which the queries will be manufactured [in]
programType of BLAST to be performed [in]
Note
this is deprecated, use MultiSeqBlastSeqSrcInit instead

Definition at line 570 of file seqsrc_query_factory.cpp.

References ctll::empty(), and s_QueryFactoryBlastSeqSrcInit().

◆ QueryFactoryBlastSeqSrcInit() [2/2]

BlastSeqSrc * QueryFactoryBlastSeqSrcInit ( CRef< IQueryFactory query_factory,
EBlastProgramType  program 
)

Initialize the sequence source structure from a query factory.

Parameters
query_factoryFactory from which the queries will be manufactured [in]
programType of BLAST to be performed [in]

Definition at line 562 of file seqsrc_query_factory.cpp.

References ctll::empty(), and s_QueryFactoryBlastSeqSrcInit().

Referenced by CLocalDbAdapter::MakeSeqSrc().

◆ QueryHasMultipleFrames()

bool CBlastQueryFilteredFrames::QueryHasMultipleFrames ( ) const

◆ Read()

int CBlastHSPListQueueData::Read ( BlastHSPList **  hsp_list)

Read from the queue.

◆ Release() [1/32]

BLAST_SequenceBlk* CBLAST_SequenceBlk::Release ( )
inline

Definition at line 309 of file blast_aux.hpp.

Referenced by SafeSetupQueries().

◆ Release() [2/32]

BlastQueryInfo* CBlastQueryInfo::Release ( )
inline

Definition at line 311 of file blast_aux.hpp.

Referenced by SafeSetupQueryInfo(), SetupQueryInfo_OMF(), and setupQueryStructures().

◆ Release() [3/32]

QuerySetUpOptions* CQuerySetUpOptions::Release ( )
inline

Definition at line 312 of file blast_aux.hpp.

◆ Release() [4/32]

LookupTableOptions* CLookupTableOptions::Release ( )
inline

Definition at line 314 of file blast_aux.hpp.

◆ Release() [5/32]

LookupTableWrap* CLookupTableWrap::Release ( )
inline

Definition at line 315 of file blast_aux.hpp.

◆ Release() [6/32]

BlastInitialWordOptions* CBlastInitialWordOptions::Release ( )
inline

Definition at line 318 of file blast_aux.hpp.

◆ Release() [7/32]

BlastInitialWordParameters* CBlastInitialWordParameters::Release ( )
inline

Definition at line 320 of file blast_aux.hpp.

◆ Release() [8/32]

Blast_ExtendWord* CBlast_ExtendWord::Release ( )
inline

Definition at line 322 of file blast_aux.hpp.

◆ Release() [9/32]

BlastExtensionOptions* CBlastExtensionOptions::Release ( )
inline

Definition at line 323 of file blast_aux.hpp.

◆ Release() [10/32]

BlastExtensionParameters* CBlastExtensionParameters::Release ( )
inline

Definition at line 324 of file blast_aux.hpp.

◆ Release() [11/32]

BlastHitSavingOptions* CBlastHitSavingOptions::Release ( )
inline

Definition at line 326 of file blast_aux.hpp.

◆ Release() [12/32]

BlastHitSavingParameters* CBlastHitSavingParameters::Release ( )
inline

Definition at line 328 of file blast_aux.hpp.

◆ Release() [13/32]

PSIBlastOptions* CPSIBlastOptions::Release ( )
inline

Definition at line 330 of file blast_aux.hpp.

◆ Release() [14/32]

BlastDatabaseOptions* CBlastDatabaseOptions::Release ( )
inline

Definition at line 331 of file blast_aux.hpp.

◆ Release() [15/32]

BlastScoreBlk* CBlastScoreBlk::Release ( )
inline

Definition at line 333 of file blast_aux.hpp.

◆ Release() [16/32]

BlastScoringOptions* CBlastScoringOptions::Release ( )
inline

Definition at line 334 of file blast_aux.hpp.

◆ Release() [17/32]

BlastScoringParameters* CBlastScoringParameters::Release ( )
inline

Definition at line 335 of file blast_aux.hpp.

◆ Release() [18/32]

BlastEffectiveLengthsOptions* CBlastEffectiveLengthsOptions::Release ( )
inline

◆ Release() [19/32]

BlastEffectiveLengthsParameters* CBlastEffectiveLengthsParameters::Release ( )
inline

Definition at line 340 of file blast_aux.hpp.

◆ Release() [20/32]

BlastGapAlignStruct* CBlastGapAlignStruct::Release ( )
inline

Definition at line 342 of file blast_aux.hpp.

◆ Release() [21/32]

BlastHSPResults* CBlastHSPResults::Release ( )
inline

Definition at line 343 of file blast_aux.hpp.

◆ Release() [22/32]

PSIMsa* CPSIMsa::Release ( )
inline

Definition at line 345 of file blast_aux.hpp.

◆ Release() [23/32]

PSIMatrix* CPSIMatrix::Release ( )
inline

Definition at line 346 of file blast_aux.hpp.

◆ Release() [24/32]

PSIDiagnosticsRequest* CPSIDiagnosticsRequest::Release ( )
inline

Definition at line 347 of file blast_aux.hpp.

◆ Release() [25/32]

PSIDiagnosticsResponse* CPSIDiagnosticsResponse::Release ( )
inline

Definition at line 348 of file blast_aux.hpp.

◆ Release() [26/32]

BlastSeqSrc* CBlastSeqSrc::Release ( )
inline

Definition at line 350 of file blast_aux.hpp.

◆ Release() [27/32]

BlastSeqSrcIterator* CBlastSeqSrcIterator::Release ( )
inline

Definition at line 351 of file blast_aux.hpp.

◆ Release() [28/32]

Blast_Message* CBlast_Message::Release ( )
inline

Definition at line 352 of file blast_aux.hpp.

◆ Release() [29/32]

BlastMaskLoc* CBlastMaskLoc::Release ( )
inline

Definition at line 354 of file blast_aux.hpp.

◆ Release() [30/32]

BlastSeqLoc* CBlastSeqLoc::Release ( )
inline

Definition at line 355 of file blast_aux.hpp.

Referenced by CSeqLoc2BlastSeqLoc().

◆ Release() [31/32]

SBlastProgress* CSBlastProgress::Release ( )
inline

Definition at line 357 of file blast_aux.hpp.

◆ Release() [32/32]

void CBlastQueryFilteredFrames::Release ( int  frame)

Release the BlastSeqLocs for a given frame.

The given frame is cleared (the data removed) without freeing the associated objects. The calling code takes responsibility for freeing the associated list of objects.

Parameters
frameThe specific frame, expressed as a value from ETranslationFrame, on which this interval falls.

Definition at line 1579 of file blast_setup_cxx.cpp.

References map_checker< Container >::erase(), CBlastQueryFilteredFrames::m_Seqlocs, and CBlastQueryFilteredFrames::m_SeqlocTails.

Referenced by s_AddMask().

◆ RemapToQueryLoc()

void RemapToQueryLoc ( CRef< CSeq_align sar,
const CSeq_loc query 
)

Remaps Seq-align offsets relative to the query Seq-loc.

Since the query strands were already taken into account when CSeq_align was created, only start position shifts in the CSeq_loc's are relevant in this function.

Parameters
sarSeq-align for a given query [in] [out]
queryThe query Seq-loc [in]

Definition at line 1515 of file blast_seqalign.cpp.

References _ASSERT, CSeq_align::OffsetRow(), and query.

Referenced by BlastHitList2SeqAlign_OMF(), and s_BLAST_OneSubjectResults2CSeqAlign().

◆ RemoveBLASTDBEnvVar()

void CAutoNcbiConfigFile::RemoveBLASTDBEnvVar ( )
inline

◆ RemoveDuplicates()

void TSearchMessages::RemoveDuplicates ( )

Find and remove redundant messages.

Definition at line 1043 of file blast_aux.cpp.

References NON_CONST_ITERATE, and ct::sort().

Referenced by Blast_Message2TSearchMessages(), and TSearchMessages::Combine().

◆ reserve()

void CMagicBlastResultSet::reserve ( size_t  num)
inline

Reserve memory for a number of result elemetns.

Definition at line 286 of file magicblast.hpp.

References CMagicBlastResultSet::m_Results.

◆ Reset() [1/31]

void CBlast_ExtendWord::Reset ( Blast_ExtendWord p = NULL)
inline

Definition at line 322 of file blast_aux.hpp.

◆ Reset() [2/31]

void CBlast_Message::Reset ( Blast_Message p = NULL)
inline

Definition at line 352 of file blast_aux.hpp.

Referenced by BOOST_AUTO_TEST_CASE().

◆ Reset() [3/31]

void CBLAST_SequenceBlk::Reset ( BLAST_SequenceBlk p = NULL)
inline

◆ Reset() [4/31]

void CBlastDatabaseOptions::Reset ( BlastDatabaseOptions p = NULL)
inline

Definition at line 331 of file blast_aux.hpp.

Referenced by CBlastOptionsLocal::x_Copy_CBlastDatabaseOptions().

◆ Reset() [5/31]

void CBlastEffectiveLengthsOptions::Reset ( BlastEffectiveLengthsOptions p = NULL)
inline

◆ Reset() [6/31]

void CBlastEffectiveLengthsParameters::Reset ( BlastEffectiveLengthsParameters p = NULL)
inline

Definition at line 340 of file blast_aux.hpp.

◆ Reset() [7/31]

void CBlastExtensionOptions::Reset ( BlastExtensionOptions p = NULL)
inline

◆ Reset() [8/31]

void CBlastExtensionParameters::Reset ( BlastExtensionParameters p = NULL)
inline

Definition at line 324 of file blast_aux.hpp.

◆ Reset() [9/31]

void CBlastGapAlignStruct::Reset ( BlastGapAlignStruct p = NULL)
inline

Definition at line 342 of file blast_aux.hpp.

◆ Reset() [10/31]

void CBlastHitSavingOptions::Reset ( BlastHitSavingOptions p = NULL)
inline

◆ Reset() [11/31]

void CBlastHitSavingParameters::Reset ( BlastHitSavingParameters p = NULL)
inline

Definition at line 328 of file blast_aux.hpp.

◆ Reset() [12/31]

void CBlastHSPResults::Reset ( BlastHSPResults p = NULL)
inline

Definition at line 343 of file blast_aux.hpp.

◆ Reset() [13/31]

void CBlastInitialWordOptions::Reset ( BlastInitialWordOptions p = NULL)
inline

◆ Reset() [14/31]

void CBlastInitialWordParameters::Reset ( BlastInitialWordParameters p = NULL)
inline

Definition at line 320 of file blast_aux.hpp.

◆ Reset() [15/31]

void CBlastMaskLoc::Reset ( BlastMaskLoc p = NULL)
inline

Definition at line 354 of file blast_aux.hpp.

◆ Reset() [16/31]

void CBlastQueryInfo::Reset ( BlastQueryInfo p = NULL)
inline

◆ Reset() [17/31]

void CBlastScoreBlk::Reset ( BlastScoreBlk p = NULL)
inline

◆ Reset() [18/31]

void CBlastScoringOptions::Reset ( BlastScoringOptions p = NULL)
inline

◆ Reset() [19/31]

void CBlastScoringParameters::Reset ( BlastScoringParameters p = NULL)
inline

Definition at line 335 of file blast_aux.hpp.

◆ Reset() [20/31]

void CBlastSeqLoc::Reset ( BlastSeqLoc p = NULL)
inline

Definition at line 355 of file blast_aux.hpp.

◆ Reset() [21/31]

void CBlastSeqSrc::Reset ( BlastSeqSrc p = NULL)
inline

◆ Reset() [22/31]

void CBlastSeqSrcIterator::Reset ( BlastSeqSrcIterator p = NULL)
inline

Definition at line 351 of file blast_aux.hpp.

◆ Reset() [23/31]

void CLookupTableOptions::Reset ( LookupTableOptions p = NULL)
inline

◆ Reset() [24/31]

void CLookupTableWrap::Reset ( LookupTableWrap p = NULL)
inline

Definition at line 315 of file blast_aux.hpp.

Referenced by CPhiblastTestFixture::~CPhiblastTestFixture().

◆ Reset() [25/31]

void CPSIBlastOptions::Reset ( PSIBlastOptions p = NULL)
inline

Definition at line 330 of file blast_aux.hpp.

Referenced by CBlastOptionsLocal::x_Copy_CPSIBlastOptions().

◆ Reset() [26/31]

void CPSIDiagnosticsRequest::Reset ( PSIDiagnosticsRequest p = NULL)
inline

Definition at line 347 of file blast_aux.hpp.

Referenced by CDeltaBlast::Run().

◆ Reset() [27/31]

void CPSIDiagnosticsResponse::Reset ( PSIDiagnosticsResponse p = NULL)
inline

Definition at line 348 of file blast_aux.hpp.

◆ Reset() [28/31]

void CPSIMatrix::Reset ( PSIMatrix p = NULL)
inline

Definition at line 346 of file blast_aux.hpp.

◆ Reset() [29/31]

void CPSIMsa::Reset ( PSIMsa p = NULL)
inline

Definition at line 345 of file blast_aux.hpp.

◆ Reset() [30/31]

void CQuerySetUpOptions::Reset ( QuerySetUpOptions p = NULL)
inline

◆ Reset() [31/31]

void CSBlastProgress::Reset ( SBlastProgress p = NULL)
inline

Definition at line 357 of file blast_aux.hpp.

◆ ResetBlastSeqSrcIteration()

void CLocalDbAdapter::ResetBlastSeqSrcIteration ( )

This method should be called so that if the implementation has an internal "bookmark" of the chunks of the database it has assigned to different threads, this can be reset at the start of a PSI-BLAST iteration (or when reusing the same object to iterate over the database/subjects when the query is split).

This method should be called before calling MakeSeqSrc() to ensure proper action on retrieving the BlastSeqSrc (in some cases it might cause a re-construction of the underlying BlastSeqSrc implementation). Note that in some cases, this operation might not apply

Definition at line 100 of file local_db_adapter.cpp.

References BlastSeqSrcResetChunkIterator(), and CLocalDbAdapter::m_SeqSrc.

Referenced by CPsiBlastImpl::Run().

◆ ResetMessages()

void CBlastAppDiagHandler::ResetMessages ( void  )

◆ ResetValue()

void CBlastOptionsRemote::ResetValue ( CBlast4Field opt)
inline

Remove any objects matching this Blast4 field object.

The given field object represents a Blast4 field to remove from the list of remote options.

Parameters
optField object representing option to remove.

Definition at line 133 of file blast_options_cxx.cpp.

References CBlastOptionsRemote::x_ResetValue().

Referenced by CBlastOptions::SetFilterString(), CBlastOptions::SetWindowMaskerDatabase(), and CBlastOptions::SetWindowMaskerTaxId().

◆ Run() [1/19]

TSeqAlignVector CBl2Seq::Run ( void  )
virtual

Perform BLAST search Assuming N queries and M subjects, the structure of the returned vector is as follows, with types indicated in parenthesis: TSeqAlignVector = [ {Results for query 1 and subject 1 (Seq-align-set)}, {Results for query 1 and subject 2 (Seq-align-set)}, ...

{Results for query 1 and subject M (Seq-align-set)}, {Results for query 2 and subject 1 (Seq-align-set)}, {Results for query 2 and subject 2 (Seq-align-set)}, ... {Results for query 2 and subject M (Seq-align-set)}, {Results for query 3 and subject 1 (Seq-align-set)}, ... {Results for query N and subject M (Seq-align-set)} ]

Definition at line 173 of file bl2seq.cpp.

References CBl2Seq::CSearchResultSet2TSeqAlignVector(), CBl2Seq::m_Results, CRef< C, Locker >::NotEmpty(), CBl2Seq::RunEx(), and CBl2Seq::x_BuildAncillaryData().

Referenced by BOOST_AUTO_TEST_CASE(), CMultiAligner::x_AlignFillerBlocks(), CBLASTSeqToolJob::x_CreateProjectItems(), CSplignJob::x_CreateProjectItems(), CSplignApp::x_GetBl2SeqHits(), and CProSplignJob::x_SetupAndRuntBlastn().

◆ Run() [2/19]

CRef< CSearchResultSet > CDeltaBlast::Run ( void  )

◆ Run() [3/19]

CRef< CSearchResultSet > CLocalBlast::Run ( void  )

Executes the search.

Definition at line 167 of file local_blast.cpp.

References _ASSERT, BLAST_PROF_MARK2, BLASTERR_DB_MEMORY_MAP, BLASTERR_DB_OPEN_FILES, BlastErrorCode2String(), CBlastPrelimSearch::CheckInternalData(), TSearchMessages::Combine(), CBlastException::eCoreBlastError, eDatabaseSearch, CSeqDBException::eOpenFileErr, eSequenceComparison, CException::GetErrCode(), CBlastPrelimSearch::GetFilteredQueryRegions(), CThreadable::GetNumberOfThreads(), ILocalQueryData::GetNumQueries(), ILocalQueryData::GetQueryMessages(), CBlastPrelimSearch::GetSearchMessages(), CBlastTracebackSearch::GetSearchMessages(), ILocalQueryData::GetSeq_loc(), i, CLocalDbAdapter::IsBlastDb(), CLocalDbAdapter::IsDbScanMode(), CLocalBlast::m_batch_num_str, CLocalBlast::m_InternalData, CLocalBlast::m_LocalDbAdapter, CLocalBlast::m_Messages, CLocalBlast::m_Opts, CLocalBlast::m_PrelimSearch, CLocalBlast::m_QueryFactory, CLocalBlast::m_SeqInfoSrc, SInternalData::m_SeqSrc, CLocalBlast::m_TbackSearch, IQueryFactory::MakeLocalQueryData(), CLocalDbAdapter::MakeSeqInfoSrc(), msg(), NCBI_THROW, CRef< C, Locker >::NotEmpty(), NULL, CRef< C, Locker >::Reset(), CBlastPrelimSearch::Run(), CBlastTracebackSearch::Run(), s_InitSeqInfoSrc(), CSearchResultSet::SetFilteredQueryRegions(), CBlastPrelimSearch::SetNumberOfThreads(), CThreadable::SetNumberOfThreads(), CBlastTracebackSearch::SetResultType(), IBlastSeqInfoSrc::Size(), and CException::what().

Referenced by Blast_FindRepeatFilterLoc(), BOOST_AUTO_TEST_CASE(), CBlastAligner::GenerateAlignments(), CBlastnNode::Main(), CBlastpNode::Main(), CBlastxNode::Main(), CTblastnNode::Main(), RpsTestFixture::NuclSearch(), CLocalSeqSearch::Run(), CIgBlast::Run(), CTblastxApp::Run(), CRMBlastnApp::Run(), CVectorScreen::Run(), CBlastKmerSearch::Run(), CBlastDemoApplication::Run(), CBl2Seq::RunEx(), s_RunLocalVDBSearch(), CDeltaBlast::x_FindDomainHits(), CMultiAligner::x_FindRPSHits(), CVecscreenRun::x_RunBlast(), CPsiBlastApp::x_RunLocalPsiBlastIterations(), CBlastnApp::x_RunMTBySplitDB(), CBlastpApp::x_RunMTBySplitDB(), CBlastxApp::x_RunMTBySplitDB(), and CTblastnApp::x_RunMTBySplitDB().

◆ Run() [4/19]

CRef< CSearchResultSet > CLocalSeqSearch::Run ( void  )
virtual

◆ Run() [5/19]

CRef< CSearchResultSet > CLocalPssmSearch::Run ( void  )
virtual

◆ Run() [6/19]

CRef< SInternalData > CBlastPrelimSearch::Run ( void  )

◆ Run() [7/19]

CRef< CSearchResultSet > CPsiBl2Seq::Run ( void  )

◆ Run() [8/19]

CRef< CSearchResultSet > CPsiBlast::Run ( void  )

◆ Run() [9/19]

CRef< CPssmWithParameters > CPssmEngine::Run ( void  )

◆ Run() [10/19]

CRef< CSearchResultSet > CRemoteSeqSearch::Run ( void  )
virtual

◆ Run() [11/19]

CRef< CSearchResultSet > CRemotePssmSearch::Run ( void  )
virtual

◆ Run() [12/19]

CRef< CSearchResultSet > CBlastTracebackSearch::Run ( void  )

Run the traceback search.

Definition at line 191 of file traceback_stage.cpp.

References _ASSERT, Blast_HSPResultsFree(), Blast_ProgramIsPhiBlast(), Blast_RunTracebackSearchWithInterrupt(), BlastBuildSearchResultSet(), eBlastTypePsiBlast, CSBlastProgress::Get(), CBlastOptions::GetGappedMode(), ILocalQueryData::GetNumQueries(), CBlastOptions::GetOutOfFrameMode(), ILocalQueryData::GetSeq_loc(), BlastHitSavingOptions::hitlist_size, i, CThreadable::kMinNumThreads, SDatabaseScanData::kNoPhiBlastPattern, LocalBlastResults2SeqAlign(), CBlastOptionsMemento::m_DbOpts, CBlastTracebackSearch::m_DBscanInfo, CBlastOptionsMemento::m_EffLenOpts, CBlastOptionsMemento::m_ExtnOpts, SInternalData::m_FnInterrupt, CBlastOptionsMemento::m_HitSaveOpts, SInternalData::m_HspStream, CBlastTracebackSearch::m_InternalData, SInternalData::m_LookupTable, CBlastTracebackSearch::m_Messages, SDatabaseScanData::m_NumPatOccurInDB, CThreadable::m_NumThreads, CBlastTracebackSearch::m_Options, CBlastTracebackSearch::m_OptsMemento, CBlastOptionsMemento::m_ProgramType, SInternalData::m_ProgressMonitor, CBlastOptionsMemento::m_PSIBlastOpts, SInternalData::m_Queries, CBlastTracebackSearch::m_QueryFactory, SInternalData::m_QueryInfo, CBlastTracebackSearch::m_ResultType, SInternalData::m_RpsData, SInternalData::m_ScoreBlk, CBlastOptionsMemento::m_ScoringOpts, CBlastTracebackSearch::m_SeqInfoSrc, SInternalData::m_SeqSrc, IQueryFactory::MakeLocalQueryData(), NCBI_THROW, NULL, SPHIPatternSearchBlk::num_patterns_db, SBlastHitsParameters::prelim_hitlist_size, CRef< C, Locker >::Reset(), SBlastHitsParametersFree(), SBlastHitsParametersNew(), and WrapStruct().

Referenced by BOOST_AUTO_TEST_CASE(), CLocalBlast::Run(), CPsiBlastImpl::Run(), and CTracebackSearchTestFixture::x_Traceback().

◆ Run() [13/19]

CRef< CSearchResultSet > CIgBlast::Run ( void  )

Run the Ig-BLAST engine.

Definition at line 356 of file igblast.cpp.

References _ASSERT, eBlastn, eBlastp, CRef< C, Locker >::Empty(), eNoCompositionBasedStats, CDiagContext::Extra(), GetDiagContext(), CRemoteBlast::GetResultSet(), CRemoteBlast::GetRID(), CIgBlastOptions::m_CustomInternalData, CIgBlastOptions::m_D_penalty, CIgBlastOptions::m_Db, CIgBlastOptions::m_DetectOverlap, CIgBlast::m_EntrezQuery, CIgBlastOptions::m_ExtendAlign3end, CIgBlastOptions::m_ExtendAlign5end, CIgBlast::m_IgOptions, CIgBlast::m_IsLocal, CIgBlastOptions::m_IsProtein, CIgBlastOptions::m_J_penalty, CIgBlast::m_LocalDb, CIgBlastOptions::m_MinJLength, CIgBlastOptions::m_MinVLength, CIgBlastOptions::m_NumAlign, CIgBlast::m_NumThreads, CIgBlast::m_Options, CIgBlast::m_RemoteDb, CIgBlast::m_RID, CIgBlast::m_Subject, NcbiEmptyString, CRef< C, Locker >::NotEmpty(), CDiagContext_Extra::Print(), CRef< C, Locker >::Reset(), result, results, CLocalBlast::Run(), CIgBlast::s_AppendResults(), CIgBlast::s_SortResultsByEvalue(), CBlastOptions::SetCompositionBasedStats(), CRemoteBlast::SetEntrezQuery(), CBlastOptionsHandle::SetEvalueThreshold(), CBlastOptions::SetGapExtensionCost(), CBlastOptions::SetGapOpeningCost(), CBlastOptionsHandle::SetHitlistSize(), CBlastOptions::SetMismatchPenalty(), CThreadable::SetNumberOfThreads(), CBlastOptionsHandle::SetOptions(), CBlastOptions::SetWordSize(), CRemoteBlast::Submit(), CIgBlast::x_AnnotateC(), CIgBlast::x_AnnotateD(), CIgBlast::x_AnnotateDJ(), CIgBlast::x_AnnotateDomain(), CIgBlast::x_AnnotateJ(), CIgBlast::x_AnnotateV(), CIgBlast::x_ConvertResultType(), CIgBlast::x_ExtendAlign3end(), CIgBlast::x_ExtendAlign5end(), CIgBlast::x_ProcessCResult(), CIgBlast::x_ProcessDGeneResult(), CIgBlast::x_ProcessDJResult(), CIgBlast::x_ScreenByAlignLength(), CIgBlast::x_SetAnnotation(), CIgBlast::x_SetChainType(), CIgBlast::x_SetupCRegionSearch(), CIgBlast::x_SetupDbSearch(), CIgBlast::x_SetupDJSearch(), CIgBlast::x_SetupNoOverlapDSearch(), and CIgBlast::x_SetupVSearch().

Referenced by CIgBlastnApp::CIgWorker::Main(), and CIgBlastpApp::Run().

◆ Run() [14/19]

CRef< CSearchResultSet > CPsiBlastImpl::Run ( void  )

◆ Run() [15/19]

virtual CRef<CSearchResultSet> ISearch::Run ( )
pure virtual

Run the search to completion.

Implemented in CRemotePssmSearch, CRemoteSeqSearch, CLocalPssmSearch, and CLocalSeqSearch.

◆ Run() [16/19]

CSeedTop::TSeedTopResults CSeedTop::Run ( CBioseq_Handle b_hdl)

◆ Run() [17/19]

◆ Run() [18/19]

bool CBlastPrelimSearch::Run ( vector< list< CRef< CStd_seg > > > &  results)

◆ Run() [19/19]

CRef< CSeq_align_set > CMagicBlast::Run ( void  )

◆ RunEx() [1/2]

CRef< CSearchResultSet > CBl2Seq::RunEx ( void  )

Performs the same functionality as Run(), but it returns a different data type.

Note
the number of CSearchResultSet::value_type objects in this function's return value will be (number of queries * number of subjects)

Definition at line 196 of file bl2seq.cpp.

References _ASSERT, Blast_DiagnosticsCopy(), CLocalBlast::GetSearchMessages(), CBl2Seq::m_Blast, SInternalData::m_Diagnostics, CLocalBlast::m_InternalData, CBl2Seq::m_Messages, CBl2Seq::m_Results, CBl2Seq::mi_pDiagnostics, CRef< C, Locker >::NotEmpty(), CLocalBlast::Run(), and CBl2Seq::x_InitCLocalBlast().

Referenced by BOOST_AUTO_TEST_CASE(), CBl2Seq::Run(), CMultiAligner::x_AlignClusterQueries(), and CIgBlast::x_AnnotateDomain().

◆ RunEx() [2/2]

CRef< CMagicBlastResultSet > CMagicBlast::RunEx ( void  )

◆ RunSimple()

BlastHSPResults * CBlastTracebackSearch::RunSimple ( )

◆ s_AddMask()

static void s_AddMask ( EBlastProgramType  prog,
BlastMaskLoc mask,
int  query_index,
CBlastQueryFilteredFrames seqloc_frames,
ENa_strand  strand,
TSeqPos  query_length 
)
static

Adds seqloc_frames to mask.

Parameters
progBLAST program [in]
maskdata structure to add the mask to [in|out]
query_indexindex of the query for which to add the mask [in]
seqloc_framesmask to add [in]
strandstrand on which the mask is being added [in]
query_lengthlength of the query [in]

Definition at line 320 of file blast_setup_cxx.cpp.

References _ASSERT, abort(), assert, BLAST_ContextToFrame(), Blast_ProgramIsPhiBlast(), Blast_QueryIsNucleotide(), Blast_QueryIsTranslated(), eBlastTypeBlastx, CSeqLocInfo::eFrameMinus1, CSeqLocInfo::eFramePlus1, eNa_strand_both, eNa_strand_minus, eNa_strand_plus, GetNumberOfContexts(), i, mask, prog, CBlastQueryFilteredFrames::QueryHasMultipleFrames(), CBlastQueryFilteredFrames::Release(), s_ComputeStartEndContexts(), total_size, and CBlastQueryFilteredFrames::UseProteinCoords().

Referenced by SetupQueries_OMF().

◆ s_AddScoresToSeqAlign()

static void s_AddScoresToSeqAlign ( CRef< CSeq_align > &  seqalign,
const BlastHSP hsp,
const vector< string > &  seqid_list,
Int4  query_length 
)
static

Given an HSP structure, creates a list of scores and inserts them into a Seq-align.

Parameters
seqalignSeq-align object to fill [in] [out]
hspAn HSP structure [in]
gi_listList of GIs for the subject sequence.

Definition at line 1253 of file blast_seqalign.cpp.

References s_BuildScoreList(), and CSeq_align_Base::SetScore().

Referenced by BLASTHspListToSeqAlign().

◆ s_AddUserObjectToSeqAlign()

static void s_AddUserObjectToSeqAlign ( CRef< CSeq_align > &  seqalign,
const vector< string > &  seqid_list 
)
static

Produce UserObject with Seq-ids to limit formatting to ("use_this_gi")

Parameters
seqalignSeq-align object to fill in [in][out]
seqid_listlist of strings with seqids [in]

Definition at line 1234 of file blast_seqalign.cpp.

References CUser_object::AddField(), CSeq_align_Base::SetExt(), and CUser_object_Base::SetType().

Referenced by BLASTHspListToSeqAlign(), and BLASTUngappedHspListToSeqAlign().

◆ s_AdjustFirstContext()

static void s_AdjustFirstContext ( BlastQueryInfo query_info,
EBlastProgramType  prog,
ENa_strand  strand_opt,
const IBlastQuerySource queries 
)
static

◆ s_AdjustFrequencyRatiosMatrixToMatchScoreMatrix()

static void s_AdjustFrequencyRatiosMatrixToMatchScoreMatrix ( objects::CPssmWithParameters &  pssm)
static

After creating the PSSM from frequency ratios, adjust the frequency ratios matrix to match the dimensions of the score matrix.

Parameters
pssmmatrix to adjust [in|out]

Definition at line 440 of file psiblast_aux_priv.cpp.

References _ASSERT, and BLASTAA_SIZE.

Referenced by PsiBlastComputePssmScores().

◆ s_AdjustNegativeSubjFrameInBlastn()

static void s_AdjustNegativeSubjFrameInBlastn ( ENa_strand  subj_strand,
EBlastProgramType  program,
BlastHSPList hsp_list 
)
static

This function changes the subject frame for HSPs if the program is blastn and the subject was specified with a negative strand.

This is necessary because the engine doesn't handle negative strands in subjects for blastn (it does for translated searches).

Parameters
subj_strandStrand for the subject sequence [in]
programBLAST program [in]
hsp_listlist of HSPs to possibly adjust [in]

Definition at line 1722 of file blast_seqalign.cpp.

References _ASSERT, eBlastTypeBlastn, eBlastTypeMapping, eNa_strand_minus, BlastSeg::frame, BlastHSPList::hsp_array, BlastHSPList::hspcnt, and BlastHSP::subject.

Referenced by s_BLAST_OneSubjectResults2CSeqAlign().

◆ s_AppendResults()

void CIgBlast::s_AppendResults ( CRef< CSearchResultSet > &  results,
int  num_aligns,
int  gene,
CRef< CSearchResultSet > &  final_results 
)
staticprivate

◆ s_AreSequencesEqual()

static bool s_AreSequencesEqual ( const CNCBIstdaa sequence,
Uint1 query 
)
static

Returns true iff sequence is identical to query.

Definition at line 170 of file msa_pssm_input.cpp.

References CAliasBase< TPrim >::Get(), i, query, and ncbi::grid::netcache::search::fields::size.

Referenced by CPsiBlastInputClustalW::x_ExtractQueryForPssm().

◆ s_BLAST_OneSubjectResults2CSeqAlign()

static TSeqAlignVector s_BLAST_OneSubjectResults2CSeqAlign ( const BlastHSPResults results,
ILocalQueryData query_data,
const IBlastSeqInfoSrc seqinfo_src,
EBlastProgramType  prog,
Uint4  subj_idx,
bool  is_gapped,
bool  is_ooframe,
vector< TSeqLocInfoVector > &  subj_masks 
)
static

Extracts results from the BlastHSPResults structure for only one subject sequence, identified by its index, and converts them into a vector of CSeq_align_set objects.

Returns one vector element per query sequence; The CSeq_align_set consists of as many CSeq_align-s as there are HSPs in the BlastHSPList for each query-subject pair

Parameters
resultsresults from running the BLAST algorithm [in]
query_dataAll query sequences [in]
seqinfo_srcSource of subject sequences information [in]
progtype of BLAST program [in]
subj_idxIndex of this subject sequence in a set [in]
is_gappedIs this a gapped search? [in]
is_ooframeIs it a search with out-of-frame gapping? [in]
Returns
Vector of seqalign sets (one set per query sequence).

Definition at line 1752 of file blast_seqalign.cpp.

References _ASSERT, Blast_HSPListSortByEvalue(), BLASTHspListToSeqAlign(), BLASTUngappedHspListToSeqAlign(), CreateEmptySeq_align_set(), BlastSeg::end, GetFilteredRedundantSeqids(), CSeq_loc::GetId(), IBlastSeqInfoSrc::GetMasks(), ILocalQueryData::GetNumQueries(), ILocalQueryData::GetSeq_loc(), ILocalQueryData::GetSeqLength(), IBlastSeqInfoSrc::GetSeqLoc(), GetSequenceLengthAndId(), BlastHSPList::hsp_array, BlastHSPList::hspcnt, BlastHitList::hsplist_array, BlastHitList::hsplist_count, i, CSeq_id_Base::IsGi(), NON_CONST_ITERATE, NULL, BlastSeg::offset, BlastHSPList::oid, prog, RemapToQueryLoc(), CRef< C, Locker >::Reset(), results, s_AdjustNegativeSubjFrameInBlastn(), s_RemapToSubjectLoc(), SerialAssign(), CSeq_align_set_Base::Set(), CRange_Base::SetFrom(), CRange_Base::SetTo(), and BlastHSP::subject.

Referenced by s_BlastResults2SeqAlignSequenceCmp_OMF().

◆ s_BlastHSP2SeqAlign()

static CRef<CSeq_align> s_BlastHSP2SeqAlign ( EBlastProgramType  program,
BlastHSP hsp,
CRef< CSeq_id id1,
CRef< CSeq_id id2,
Int4  query_length,
Int4  subject_length 
)
static

Converts a traceback editing block to a Seq-align, provided the 2 sequence identifiers.

Parameters
programType of BLAST program [in]
hspInternal HSP structure [in]
id1Query sequence identifier [in]
id2Subject sequence identifier [in]
query_lengthLength of query sequence [in]
subject_lengthLength of subject sequence [in]
Returns
Resulting Seq-align object.

Definition at line 660 of file blast_seqalign.cpp.

References _ASSERT, eBlastTypeBlastx, eBlastTypePsiTblastn, eBlastTypeRpsTblastn, eBlastTypeTblastn, eBlastTypeTblastx, eGapAlignDecline, CSeq_align_Base::eType_partial, first(), BlastHSP::gap_info, i, kBlastAlignmentDim, NULL, GapEditScript::op_type, s_CollectSeqAlignData(), s_CorrectUASequence(), s_CreateSeqAlign(), BlastHSP::score, CSeq_align_Base::SetDim(), CSeq_align_Base::SetSegs(), CSeq_align_Base::SetType(), GapEditScript::size, ncbi::grid::netcache::search::fields::size, and t.

Referenced by BLASTHspListToSeqAlign().

◆ s_BlastMessageToException()

static void s_BlastMessageToException ( Blast_Message **  blmsg_ptr,
const string default_msg 
)
static

◆ s_BlastResults2SeqAlignDatabaseSearch_OMF()

static TSeqAlignVector s_BlastResults2SeqAlignDatabaseSearch_OMF ( const BlastHSPResults results,
EBlastProgramType  prog,
class ILocalQueryData query,
const IBlastSeqInfoSrc seqinfo_src,
bool  is_gapped,
bool  is_ooframe,
vector< TSeqLocInfoVector > &  subj_masks 
)
static

◆ s_BlastResults2SeqAlignSequenceCmp_OMF()

static TSeqAlignVector s_BlastResults2SeqAlignSequenceCmp_OMF ( const BlastHSPResults results,
EBlastProgramType  prog,
class ILocalQueryData query_data,
const IBlastSeqInfoSrc seqinfo_src,
bool  is_gapped,
bool  is_ooframe,
vector< TSeqLocInfoVector > &  subj_masks 
)
static

◆ s_BlastSeqLoc2CSeqloc() [1/2]

static CSeq_loc* s_BlastSeqLoc2CSeqloc ( const CSeq_loc query,
CScope scope,
BlastSeqLoc loc_list 
)
static

Convert a list of mask locations to a CSeq_loc object.

Parameters
queryQuery sequence location [in]
scopeScope for use by object manager [in]
loc_listList of mask locations [in]
Returns
List of mask locations in a CSeq_loc form or NULL if loc_list is NULL

Definition at line 78 of file repeats_filter_cxx.cpp.

References GetId(), SSeqRange::left, BlastSeqLoc::next, NULL, query, SSeqRange::right, CSeq_loc::SetNull(), CSeq_loc::SetPacked_int(), and BlastSeqLoc::ssr.

Referenced by s_BlastSeqLoc2CSeqloc(), s_BlastSeqLoc2MaskedRegions(), and s_FillMaskLocFromBlastResults().

◆ s_BlastSeqLoc2CSeqloc() [2/2]

static CSeq_loc* s_BlastSeqLoc2CSeqloc ( SSeqLoc query,
BlastSeqLoc loc_list 
)
static

Convert a list of mask locations to a CSeq_loc object.

Parameters
queryQuery sequence location [in]
loc_listList of mask locations [in]
Returns
List of mask locations in a CSeq_loc form.

Definition at line 105 of file repeats_filter_cxx.cpp.

References query, and s_BlastSeqLoc2CSeqloc().

◆ s_BlastSeqLoc2MaskedRegions()

TMaskedQueryRegions s_BlastSeqLoc2MaskedRegions ( const CSeq_loc query,
CScope scope,
BlastSeqLoc loc_list,
EBlastProgramType  program 
)

Convert a list of mask locations to TMaskedQueryRegions.

Parameters
queryQuery sequence location [in]
scopeScope for use by object manager [in]
loc_listList of mask locations [in]
programtype of blast search [in]
Returns
List of mask locations in TMaskedQueryRegions form.

Definition at line 118 of file repeats_filter_cxx.cpp.

References PackedSeqLocToMaskedQueryRegions(), query, and s_BlastSeqLoc2CSeqloc().

Referenced by s_FillMaskLocFromBlastResults().

◆ s_BlastSetup_GetStrand()

static objects::ENa_strand s_BlastSetup_GetStrand ( objects::ENa_strand  seqloc_strand,
EBlastProgramType  program,
objects::ENa_strand  strand_opt 
)
static

Internal function to choose between the strand specified in a Seq-loc (which specified the query strand) and the strand obtained from the CBlastOptions.

Parameters
seqloc_strandstrand extracted from the query Seq-loc [in]
programprogram type from the CORE's point of view [in]
strand_optstrand as specified by the BLAST options [in]

Definition at line 97 of file blast_setup_cxx.cpp.

References Blast_QueryIsNucleotide(), Blast_QueryIsProtein(), eNa_strand_both, and eNa_strand_unknown.

Referenced by BlastSetup_GetStrand(), s_AdjustFirstContext(), SetupQueries_OMF(), and SetupQueryInfo_OMF().

◆ s_BuildArchiveAll()

static CRef<objects::CBlast4_archive> s_BuildArchiveAll ( CRef< CExportStrategy export_strategy,
blast::CBlastOptionsHandle &  options_handle,
const CSearchResultSet results 
)
static

◆ s_BuildGetSeqPartsRequest()

static CRef<objects::CBlast4_request> s_BuildGetSeqPartsRequest ( const CBlastServices::TSeqIntervalVector seqids,
const string database,
char  seqtype,
string errors 
)
static

Build Sequence Parts Fetching Request.

This method builds a blast4 request designed to fetch sequence data

Parameters
seqidsThe seqids and ranges of the sequences to fetch.
databaseThe database or databases containing the desired sequences.
seqtypeEither 'p' or 'n' for protein or nucleotide.
errorsReturned string containing any errors encountered.
Returns
The blast4 sequence fetching request object.

Definition at line 307 of file blast_services.cpp.

References copy(), database, CRef< C, Locker >::Reset(), s_SeqTypeToResidue(), CBlast4_request_Base::SetBody(), CBlast4_get_seq_parts_request_Base::SetDatabase(), CBlast4_request_body_Base::SetGet_sequence_parts(), CBlast4_database_Base::SetName(), CBlast4_get_seq_parts_request_Base::SetSeq_locations(), and CBlast4_database_Base::SetType().

Referenced by CBlastServices::GetSequenceParts().

◆ s_BuildGetSeqRequest()

static CRef<objects::CBlast4_request> s_BuildGetSeqRequest ( CBlastServices::TSeqIdVector seqids,
const string database,
char  seqtype,
bool  skip_seq_data,
bool  target_only,
string errors 
)
static

Build Sequence Fetching Request.

This method builds a blast4 request designed to fetch a list of bioseqs from the blast4 server.

Parameters
seqidsThe seqids of the sequences to fetch.
databaseThe database or databases containing the desired sequences.
seqtypeEither 'p' or 'n' for protein or nucleotide.
errorsReturned string containing any errors encountered.
skip_seq_dataIf true, the sequence data will NOT be fetched
target_onlyIf true, only requested seq_id will be returned
Returns
The blast4 sequence fetching request object.

Definition at line 182 of file blast_services.cpp.

References database, ITERATE, CRef< C, Locker >::Reset(), s_SeqTypeToResidue(), CBlast4_request_Base::SetBody(), CBlast4_get_sequences_request_Base::SetDatabase(), CBlast4_request_body_Base::SetGet_sequences(), CBlast4_database_Base::SetName(), CBlast4_get_sequences_request_Base::SetSeq_ids(), CBlast4_get_sequences_request_Base::SetSkip_seq_data(), CBlast4_get_sequences_request_Base::SetTarget_only(), and CBlast4_database_Base::SetType().

Referenced by s_GetSequences().

◆ s_BuildMaskedRanges()

void s_BuildMaskedRanges ( CSeqMasker::TMaskList masks,
const CSeq_loc seqloc,
CSeq_id query_id,
TMaskedQueryRegions mqr,
CRef< CSeq_loc > *  psl 
)

◆ s_BuildResultsRemote()

static CRef< CSearchResultSet > s_BuildResultsRemote ( CRemoteBlast rb)
static

Build a result set from results in a remote blast search.

The remote blast object will be queried for results and these will be used to build a CSearchResultSet. If the search has not yet completed, this function will wait until it has.

Parameters
rbThe remote blast object representing the search.
Returns
The results of the search as a CSearchResultSet.

Definition at line 230 of file remote_search.cpp.

References eBlastSevError, CRemoteBlast::GetErrorVector(), CRemoteBlast::GetSeqAlignSets(), CRemoteBlast::GetWarningVector(), i, ITERATE, msg(), and s_SplitAlignVectorBySubjects().

Referenced by CRemoteSeqSearch::Run(), and CRemotePssmSearch::Run().

◆ s_BuildScoreList()

static void s_BuildScoreList ( const BlastHSP hsp,
CSeq_align::TScore scores,
const vector< string > &  seqid_list,
Int4  query_length 
)
static

Creates a list of score objects for a Seq-align, given an HSP structure.

Parameters
hspStructure containing HSP information [in]
scoresLinked list of score objects to put into a Seq-align [out]
seqid_listList of GIs for the subject sequence.

Definition at line 1163 of file blast_seqalign.cpp.

References BlastHSP::bit_score, Blast_HSPGetQueryCoverage(), BlastHSP::comp_adjustment_method, BlastHSP::evalue, if(), ITERATE, kScore, BlastHSP::num, BlastHSP::num_ident, BlastHSP::num_positives, s_CalculateScoreVectorSize(), s_MakeScore(), BlastHSP::score, and SMALLEST_EVALUE.

Referenced by s_AddScoresToSeqAlign(), x_NonTranslatedHSPToStdSeg(), x_UngappedHSPToDenseDiag(), and x_UngappedHSPToStdSeg().

◆ s_BuildSearchInfoRequest()

static CRef<CBlast4_request_body> s_BuildSearchInfoRequest ( const string rid,
const string name,
const string value 
)
static

◆ s_BuildSeqMasker()

CSeqMasker* s_BuildSeqMasker ( const string lstat)

Definition at line 99 of file winmask_filter.cpp.

References NCBI_THROW, NULL, and CException::what().

Referenced by Blast_FindWindowMaskerLoc().

◆ s_CalculateScoreVectorSize()

static size_t s_CalculateScoreVectorSize ( const BlastHSP hsp,
const vector< string > &  seqid_list 
)
static

Computes the exact size of a CSeq_align::TScore for a given HSP.

Parameters
hspHSP for which the score objects will be built, must be non-NULL [in]
seqid_listlist of IDs associated with this HSP [in]

Definition at line 1117 of file blast_seqalign.cpp.

References _ASSERT, BlastHSP::bit_score, BlastHSP::comp_adjustment_method, BlastHSP::evalue, if(), BlastHSP::num, BlastHSP::num_ident, BlastHSP::num_positives, BlastHSP::score, and SMALLEST_EVALUE.

Referenced by s_BuildScoreList().

◆ s_CheckAgainstNullData() [1/2]

static void s_CheckAgainstNullData ( IPssmInputData pssm_input_msa)
static

This function makes sure that none of the required data is returned as NULL or "empty".

Parameters
pssm_input_msainterface which provides the data [in]
Exceptions
CPssmEngineExceptionin case of validation failure

Definition at line 69 of file pssm_engine.cpp.

References IPssmInputData::GetOptions(), IPssmInput_Base::GetQuery(), IPssmInput_Base::GetQueryLength(), and NCBI_THROW.

Referenced by CPssmEngine::CPssmEngine().

◆ s_CheckAgainstNullData() [2/2]

static void s_CheckAgainstNullData ( IPssmInputFreqRatios pssm_input_freqratios)
static

This function makes sure that none of the required data is returned as NULL or "empty".

Parameters
pssm_input_freqratiosinterface which provides the data [in]
Exceptions
CPssmEngineExceptionin case of validation failure

Definition at line 97 of file pssm_engine.cpp.

References BLASTAA_SIZE, CNcbiMatrix< T >::GetCols(), IPssmInputFreqRatios::GetData(), IPssmInput_Base::GetQuery(), IPssmInput_Base::GetQueryLength(), CNcbiMatrix< T >::GetRows(), NStr::IntToString(), and NCBI_THROW.

◆ s_CheckForBlastSeqSrcErrors()

static void s_CheckForBlastSeqSrcErrors ( const BlastSeqSrc seqsrc)
static

Checks if the BlastSeqSrc initialization succeeded.

Exceptions
CBlastExceptionif BlastSeqSrc initialization failed

Definition at line 110 of file local_db_adapter.cpp.

References BlastSeqSrcGetInitError(), msg(), NCBI_THROW, and sfree.

Referenced by CLocalDbAdapter::MakeSeqSrc().

◆ s_CheckMinWordSize()

std::string s_CheckMinWordSize ( int  word_size)

◆ s_CollectSeqAlignData()

static void s_CollectSeqAlignData ( const BlastHSP hsp,
const GapEditScript esp,
unsigned int  first,
unsigned int  nsegs,
CDense_seg::TStarts starts,
CDense_seg::TLens lengths,
CDense_seg::TStrands strands,
Int4  query_length,
Int4  subject_length,
bool  translate1,
bool  translate2 
)
static

Fills vectors of start positions, lengths and strands for all alignment segments.

Note that even though the edit_block is passed in, data for seqalign is collected from the esp_head argument for nsegs segments. This editing script may not be the full editing scripg if a discontinuous alignment is being built.

Parameters
hspHSP structure containing traceback information. [in]
espTraceback edit script [in]
firstfirst element of GapEditScript to use [in]
nsegsNumber of alignment segments [in]
startsVector of starting positions to fill [out]
lengthsVector of segment lengths to fill [out]
strandsVector of segment strands to fill [out]
query_lengthLength of query sequence [in]
subject_lengthLength of subject sequence [in]
translate1Is query translated? [in]
translate2Is subject translated? [in]

Definition at line 169 of file blast_seqalign.cpp.

References _ASSERT, eGapAlignDecline, eGapAlignDel, eGapAlignIns, eGapAlignSub, eNa_strand_unknown, first(), BlastSeg::frame, GAP_VALUE, int, kBlastAlignmentDim, NULL, GapEditScript::num, BlastSeg::offset, GapEditScript::op_type, BlastHSP::query, s_Frame2Strand(), s_GetAlignmentStart(), s_GetProteinFrameLength(), GapEditScript::size, and BlastHSP::subject.

Referenced by s_BlastHSP2SeqAlign().

◆ s_CombineDustMasksWithUserProvidedMasks()

void s_CombineDustMasksWithUserProvidedMasks ( CSeqVector data,
CConstRef< CSeq_loc seqloc,
CRef< CScope scope,
CRef< CSeq_id query_id,
CRef< CSeq_loc > &  orig_query_mask,
Uint4  level,
Uint4  window,
Uint4  linker 
)

◆ s_CompareSeqAlignByEvalue()

static bool s_CompareSeqAlignByEvalue ( const CRef< CSeq_align > &  x,
const CRef< CSeq_align > &  y 
)
static

◆ s_CompareSeqAlignByScore()

static bool s_CompareSeqAlignByScore ( const CRef< CSeq_align > &  x,
const CRef< CSeq_align > &  y 
)
static

◆ s_CompareSeqAlignByScoreAndName()

static bool s_CompareSeqAlignByScoreAndName ( const CRef< CSeq_align > &  x,
const CRef< CSeq_align > &  y 
)
static

◆ s_CompareSeqAlignByScoreAndPosition()

bool ScorePositionSort::s_CompareSeqAlignByScoreAndPosition ( const CRef< CSeq_align > &  x,
const CRef< CSeq_align > &  y,
CRef< CScope scope 
)
inline

◆ s_ComputeBtopAndIdentity()

static void s_ComputeBtopAndIdentity ( const HSPChain chain,
string btop,
string md_tag,
double &  perc_id,
bool  btop_splice_signals 
)
static

◆ s_ComputeStartEndContexts()

static void s_ComputeStartEndContexts ( ENa_strand  strand,
int  num_contexts,
int start,
int end 
)
static

Calculate the starting and ending contexts for a given strand.

Parameters
strandstrand to compute contexts for [in]
num_contextsnumber of contexts [in]
startstarting context [out]
endending context [out]

Definition at line 284 of file blast_setup_cxx.cpp.

References abort(), eNa_strand_both, eNa_strand_minus, and eNa_strand_plus.

Referenced by s_AddMask().

◆ s_ConstBioseqSetToSeqLocs()

static IRemoteQueryData::TSeqLocs s_ConstBioseqSetToSeqLocs ( CConstRef< CBioseq_set bioseq_set)
static

Convert a constant reference to a Bioseq-set to IRemoteQueryData::TSeqLocs.

Parameters
bioseq_setinput data[in]

Definition at line 161 of file objmgrfree_query_data.cpp.

References ConstBegin(), eDetectLoops, CBlastQuerySourceBioseqSet::GetSeqLoc(), i, and CBlastQuerySourceBioseqSet::Size().

Referenced by CObjMgrFree_RemoteQueryData::GetSeqLocs().

◆ s_Convert_to_CBlast_ka_block()

static CRef<CBlast4_ka_block> s_Convert_to_CBlast_ka_block ( const Blast_KarlinBlk kablk,
bool  gapped 
)
static

Definition at line 66 of file build_archive.cpp.

References Blast_KarlinBlk::H, Blast_KarlinBlk::K, and Blast_KarlinBlk::Lambda.

Referenced by s_BuildArchiveAll().

◆ s_ConvertBlastnMasks()

static void s_ConvertBlastnMasks ( const CPacked_seqint::Tdata query_intervals,
const BlastMaskLoc mask,
TSeqLocInfoVector retval 
)
static

◆ s_CorrectUASequence()

static void s_CorrectUASequence ( BlastHSP hsp)
static

Checks if any decline-to-align segments immediately follow an insertion or deletion, and swaps any such segments so indels are always to the right of the decline-to-align segments.

Parameters
hspHSP structure, containint traceback [in] [out]

Definition at line 375 of file blast_seqalign.cpp.

References eGapAlignDecline, eGapAlignDel, eGapAlignIns, BlastHSP::gap_info, GapEditScript::num, GapEditScript::op_type, and GapEditScript::size.

Referenced by s_BlastHSP2SeqAlign().

◆ s_CreateBlastMask()

static CRef<CBlast4_mask> s_CreateBlastMask ( const CPacked_seqint packed_int,
EBlastProgramType  program 
)
static

Creates a Blast4-mask which is supposed to contain all masked locations for a given query sequence and frame, all of which are in the packed_int argument.

Definition at line 1064 of file remote_blast.cpp.

References Blast_QueryIsNucleotide(), Blast_QueryIsTranslated(), eBlast4_frame_type_notset, eBlast4_frame_type_plus1, eNa_strand_minus, CPacked_seqint_Base::Get(), ITERATE, and CSeq_loc::SetPacked_int().

Referenced by CRemoteBlast::ConvertToRemoteMasks().

◆ s_CreateDenseg()

static void s_CreateDenseg ( CDense_seg dense_seg,
CRef< CSeq_id master,
CRef< CSeq_id slave,
CDense_seg::TStarts starts,
CDense_seg::TLens lengths,
CDense_seg::TStrands strands 
)
static

Creates a Dense-seg object from the starts, lengths and strands vectors and two Seq-ids.

Parameters
dense_segthe object to populate [in|out]
masterQuery Seq-id [in]
slaveSubject Seq-ids [in]
startsVector of start positions for alignment segments [in]
lengthsVector of alignment segments lengths [in]
strandsVector of alignment segments strands [in]
Returns
The Dense-seg object.

Definition at line 272 of file blast_seqalign.cpp.

References _ASSERT, kBlastAlignmentDim, CDense_seg_Base::SetDim(), CDense_seg_Base::SetIds(), CDense_seg_Base::SetLens(), CDense_seg_Base::SetNumseg(), CDense_seg_Base::SetStarts(), and CDense_seg_Base::SetStrands().

Referenced by s_CreateSeqAlign().

◆ s_CreateRepeatsSearchOptions()

static CRef<CBlastOptionsHandle> s_CreateRepeatsSearchOptions ( )
static

◆ s_CreateSeqAlign() [1/2]

static CRef<CSeq_align> s_CreateSeqAlign ( const HSPChain chain,
CRef< ILocalQueryData > &  qdata,
CRef< IBlastSeqInfoSrc > &  seqinfo_src,
const BlastQueryInfo query_info,
bool  btop_splice_signals 
)
static

◆ s_CreateSeqAlign() [2/2]

static CRef<CSeq_align> s_CreateSeqAlign ( CRef< CSeq_id master,
CRef< CSeq_id slave,
CDense_seg::TStarts  starts,
CDense_seg::TLens  lengths,
CDense_seg::TStrands  strands,
bool  translate_master,
bool  translate_slave 
)
static

Creates a Seq-align for a single HSP from precalculated vectors of start positions, lengths and strands of segments, sequence identifiers and other information.

Parameters
masterQuery sequence identifier [in]
slaveSubject sequence identifier [in]
startsStart positions of alignment segments [in]
lengthsLengths of alignment segments [in]
strandsStrands of alignment segments [in]
translate_masterIs query translated? [in]
translate_slaveIs subject translated? [in]
Returns
Resulting Seq-align object.

Definition at line 628 of file blast_seqalign.cpp.

References CSeq_align_Base::eType_partial, kBlastAlignmentDim, s_CreateDenseg(), s_CreateStdSegs(), CSeq_align_Base::SetDim(), CSeq_align_Base::SetSegs(), and CSeq_align_Base::SetType().

Referenced by s_BlastHSP2SeqAlign().

◆ s_CreateSeqLocMapper()

static CRef<CSeq_loc_Mapper> s_CreateSeqLocMapper ( CSeq_id query_id,
const CSeq_loc target_seqloc,
CScope scope 
)
static

Auxiliary function to create CSeq_loc_Mapper from a copy of the target Seq-loc.

Definition at line 75 of file dust_filter.cpp.

References _ASSERT, and CSeq_loc::SetWhole().

Referenced by s_CombineDustMasksWithUserProvidedMasks().

◆ s_CreateStdSegs()

static CSeq_align::C_Segs::TStd s_CreateStdSegs ( CRef< CSeq_id master,
CRef< CSeq_id slave,
CDense_seg::TStarts starts,
CDense_seg::TLens lengths,
CDense_seg::TStrands strands,
bool  translate_master,
bool  translate_slave 
)
static

Creates a Std-seg object from the starts, lengths and strands vectors and two Seq-ids for a translated search.

Parameters
masterQuery Seq-id [in]
slaveSubject Seq-ids [in]
startsVector of start positions for alignment segments [in]
lengthsVector of alignment segments lengths [in]
strandsVector of alignment segments strands [in]
translate_masterIs query sequence translated? [in]
translate_slaveIs subject sequenec translated? [in]
Returns
The Std-seg object.

Definition at line 307 of file blast_seqalign.cpp.

References _ASSERT, CODON_LENGTH, GAP_VALUE, i, int, kBlastAlignmentDim, CSeq_loc::SetEmpty(), and CSeq_loc::SetInt().

Referenced by s_CreateSeqAlign().

◆ s_DJNotCompatible()

static bool s_DJNotCompatible ( const CSeq_align d,
const CSeq_align j,
bool  ms,
int  margin 
)
static

◆ s_ExtractQueryIdsFromBioseqSet()

static void s_ExtractQueryIdsFromBioseqSet ( const CBioseq_set bss,
CSearchResultSet::TQueryIdVector query_ids 
)
static

Extract the query IDs from a CBioseq_set.

Parameters
bssCBioseq_set object used as source [in]
query_idswhere the query_ids will be added [in|out]

Definition at line 2078 of file remote_blast.cpp.

References CSeq_id::BestRank(), ConstBegin(), eDetectLoops, and FindBestChoice().

Referenced by CRemoteBlast::x_ExtractQueryIds().

◆ s_ExtractSeqId()

static CConstRef<CSeq_id> s_ExtractSeqId ( CConstRef< CSeq_align_set align_set)
static

◆ s_FillMaskLocFromBlastResults() [1/2]

static void s_FillMaskLocFromBlastResults ( CBlastQueryVector query,
const CSearchResultSet results,
EBlastProgramType  program 
)
static

Fills the mask locations in the BlastSearchQuery structures, as if it was a lower case mask, given the results of a BLAST search against a database of repeats.

Parameters
queryVector of queries [in] [out]
resultsalignments returned from a BLAST search against a repeats database [in]
programtype of blast search [in]

Definition at line 237 of file repeats_filter_cxx.cpp.

References _ASSERT, BlastSeqLocCombine(), BlastSeqLocFree(), ITERATE, BlastSeqLoc::next, NULL, query, CRef< C, Locker >::Release(), REPEAT_MASK_LINK_VALUE, result, results, s_BlastSeqLoc2MaskedRegions(), and s_SeqAlignToBlastSeqLoc().

◆ s_FillMaskLocFromBlastResults() [2/2]

static void s_FillMaskLocFromBlastResults ( TSeqLocVector query,
const CSearchResultSet results 
)
static

Fills the mask locations in the query SSeqLoc structures, as if it was a lower case mask, given the results of a BLAST search against a database of repeats.

Parameters
queryVector of query sequence locations structures [in] [out]
resultsalignments returned from a BLAST search against a repeats database [in]

Definition at line 185 of file repeats_filter_cxx.cpp.

References _ASSERT, BlastSeqLocCombine(), BlastSeqLocFree(), CSeqLoc2BlastSeqLoc(), mask, NULL, query, REPEAT_MASK_LINK_VALUE, result, results, s_BlastSeqLoc2CSeqloc(), and s_SeqAlignToBlastSeqLoc().

Referenced by Blast_FindRepeatFilterLoc().

◆ s_FindPathToWM()

static string s_FindPathToWM ( void  )
static

Find the path to the window masker files, first checking the (optionally set) value passed to the WindowMaskerPathInit function, then the environment variable WINDOW_MASKER_PATH, then the section WINDOW_MASKER, label WINDOW_MASKER_PATH in the NCBI configuration file.

If not found in either location, return the current working directory

See also
s_FindPathToGeneInfoFiles

Definition at line 372 of file winmask_filter.cpp.

References CCompoundRWRegistry::Add(), CEnvironmentRegistry::AddMapper(), CEnvironmentRegistry::ePriority_Max, CCompoundRWRegistry::ePriority_MaxUser, IRegistry::fWithNcbirc, IRegistry::Get(), CDir::GetCwd(), kEmptyStr, kSection, NStr::ReplaceInPlace(), NStr::StartsWith(), and WindowMaskerPathGet().

Referenced by GetTaxIdWithWindowMaskerSupport(), s_OldGetTaxIdWithWindowMaskerSupport(), and WindowMaskerTaxidToDb().

◆ s_FixNumIdent()

void s_FixNumIdent ( BlastHSPList hsp_list,
bool  gapped_calculation 
)

Definition at line 374 of file prelim_stage.cpp.

References BlastHSPList::hsp_array, BlastHSPList::hspcnt, i, and BlastHSP::num_ident.

Referenced by s_GetBitScores().

◆ s_Frame2Strand()

static ENa_strand s_Frame2Strand ( short  frame)
static

◆ s_GetAlignmentStart()

static TSeqPos s_GetAlignmentStart ( int curr_pos,
int  num,
ENa_strand  strand,
bool  translate,
int  length,
int  original_length,
short  frame 
)
static

Finds the starting position of a sequence segment in an alignment, given an editing script.

Parameters
curr_posCurrent position on input, modified to next position on output [in] [out]
numnumber of letters specified by traceback edit [in]
strandSequence strand [in]
translateIs sequence translated? [in]
lengthSequence length [in]
original_lengthOriginal (nucleotide) sequence length, if it is translated [in]
frameTranslating frame [in]
Returns
Start position of the current alignment segment.

Definition at line 115 of file blast_seqalign.cpp.

References CODON_LENGTH, eNa_strand_minus, and s_GetCurrPos().

Referenced by s_CollectSeqAlignData().

◆ s_GetBitScore()

static double s_GetBitScore ( const CScore score)
static

Returns the bit_score from this score object.

Parameters
scoreASN.1 score object [in]

Definition at line 520 of file psiblast_aux_priv.cpp.

References BLAST_EXPECT_VALUE, CScore_Base::GetId(), CScore_Base::C_Value::GetReal(), CObject_id_Base::GetStr(), CScore_Base::GetValue(), and CScore_Base::C_Value::IsReal().

Referenced by GetLowestEvalue().

◆ s_GetBitScores()

void s_GetBitScores ( BlastHitList hit_list,
bool  gapped_calculation,
const BlastScoreBlk sbp 
)

◆ s_GetBlastnMask()

static pair<BlastSeqLoc*, bool> s_GetBlastnMask ( const BlastMaskLoc mask,
unsigned int  query_index 
)
static

Return the masked locations for a given query as well as whether the linked list's elements should be reverted or not (true in the case of negative only strand) The first element of the returned pair is the linked list of masked locations The second element of the returned pair is true if the linked list needs to be reversed.

Definition at line 853 of file blast_aux.cpp.

References _ASSERT, eBlastTypeBlastn, GetNumberOfContexts(), and mask.

Referenced by s_ConvertBlastnMasks().

◆ s_GetCStringOfMatrixPath()

char* s_GetCStringOfMatrixPath ( string full_path,
const string matrix_name 
)

Get the path to the matrix, without the actual matrix name.

Parameters
full_pathincluding the matrix name, this string will be modified [in]
matrix_namename of matrix (e.g., BLOSUM62) [in]
Returns
char* to matrix path

Definition at line 1293 of file blast_setup_cxx.cpp.

References strdup.

Referenced by BlastFindMatrixPath().

◆ s_GetCurrPos()

static int s_GetCurrPos ( int pos,
int  pos2advance 
)
static

Advances position in a sequence, according to an edit script instruction.

Parameters
posCurrent position on input, next position on output [in] [out]
pos2advanceHow much the position should be advanced? [in]
Returns
Current position.

Definition at line 90 of file blast_seqalign.cpp.

Referenced by s_GetAlignmentStart(), and s_OOFBlastHSP2SeqAlign().

◆ s_GetEvalue()

static double s_GetEvalue ( const CScore score)
static

Returns the evalue from this score object.

Parameters
scoreASN.1 score object [in]

Definition at line 508 of file psiblast_aux_priv.cpp.

References CScore_Base::GetId(), CScore_Base::C_Value::GetReal(), CObject_id_Base::GetStr(), CScore_Base::GetValue(), CScore_Base::C_Value::IsReal(), and max().

Referenced by GetLowestEvalue().

◆ s_GetMinimumSupportedWordSizeByIndex()

static int s_GetMinimumSupportedWordSizeByIndex ( const string fname)
static

◆ s_GetPartsFromReply()

static void s_GetPartsFromReply ( CRef< objects::CBlast4_reply >  reply,
CBlastServices::TSeqIdVector ids,
CBlastServices::TSeqDataVector seq_data,
string errors,
string warnings 
)
static

Extract information from the get-seq-parts reply object.

Parameters
replyThe reply object from blast4.
idsAll Seq-ids for the requested sequences.
seq_dataSeq_data for the sequences in question.
errorsAny error messages found in the reply.
warningsAny warnings found in the reply.

Definition at line 592 of file blast_services.cpp.

References NON_CONST_ITERATE, and s_ProcessErrorsFromReply().

Referenced by CBlastServices::GetSequenceParts().

◆ s_GetProteinFrameLength()

static Int4 s_GetProteinFrameLength ( Int4  nuc_length,
Int2  frame 
)
static

Finds length of a protein frame given a nucleotide length and a frame number.

Parameters
nuc_lengthNucleotide sequence length [in]
frameTranslation frame [in]
Returns
Length of the translated sequence.

Definition at line 148 of file blast_seqalign.cpp.

References ABS, and CODON_LENGTH.

Referenced by s_CollectSeqAlignData().

◆ s_GetQuerySequenceData()

static void s_GetQuerySequenceData ( const CBioseq bioseq,
size_t  query_length,
CNCBIstdaa retval 
)
static

Auxiliary function to retrieve the sequence data in NCBI-stdaa format from the bioseq.

Parameters
bioseqBioseq to extract the data from [in]
query_lengthsize of the query [in]
retvalreturn value of this function [in|out]
See also
CPssm::GetQuerySequenceData

Definition at line 151 of file msa_pssm_input.cpp.

References CSeqportUtil::Convert(), copy(), CSeq_data_Base::e_Ncbistdaa, CAliasBase< TPrim >::Get(), CBioseq_Base::GetInst(), CSeq_data_Base::GetNcbistdaa(), CSeq_inst_Base::GetSeq_data(), CSeq_data_Base::IsNcbistdaa(), and CAliasBase< TPrim >::Set().

Referenced by CPsiBlastInputClustalW::x_ExtractQueryForPssm().

◆ s_GetRestrictedBlastSeqLocs()

static CRef<CBlastQueryFilteredFrames> s_GetRestrictedBlastSeqLocs ( IBlastQuerySource queries,
int  query_index,
const BlastQueryInfo qinfo,
EBlastProgramType  program 
)
static

Extract the masking locations for a single query into a CBlastQueryFilteredFrames object and adjust the masks so that they correspond to the range specified by the Seq-loc in queries.

Parameters
queriesall query sequences [in]
query_indexindex of the query of interest in queries [in]
qinfoBlastQueryInfo structure for the queries above [in]
programBLAST program being executed [in]

Definition at line 440 of file blast_setup_cxx.cpp.

References BlastSeqLoc_RestrictToInterval(), eExtreme_Positional, CRef< C, Locker >::Empty(), IBlastQuerySource::GetMaskedRegions(), IBlastQuerySource::GetSeqLoc(), CSeq_loc::GetStart(), CSeq_loc::GetStop(), and s_RestrictSeqLocs_Multiframe().

Referenced by SetupQueries_OMF().

◆ s_GetSeqsFromReply()

static void s_GetSeqsFromReply ( CRef< objects::CBlast4_reply >  reply,
CBlastServices::TBioseqVector bioseqs,
string errors,
string warnings 
)
static

Get bioseqs from a sequence fetching reply.

This method reads the reply from a sequence fetching request and extracts the bioseqs, errors and warnings from it.

Parameters
replyThe reply from a sequence fetching request.
bioseqsThe returned list of bioseqs from the request.
errorsReturned string containing any errors encountered.
warningsReturned string containing any warnigns encountered.

Definition at line 118 of file blast_services.cpp.

References ITERATE, and s_ProcessErrorsFromReply().

Referenced by s_GetSequences().

◆ s_GetSequences()

static void s_GetSequences ( CBlastServices::TSeqIdVector seqids,
const string database,
char  seqtype,
bool  skip_seq_data,
bool  target_only,
CBlastServices::TBioseqVector bioseqs,
string errors,
string warnings,
bool  verbose 
)
static

Main function to issue a Blast4-get-sequences-request and collect its results from the remote BLAST server.

Parameters
seqidsThe seqids of the sequences to fetch. [in]
databaseThe database or databases containing the desired sequences. [in]
seqtypeEither 'p' or 'n' for protein or nucleotide. [in]
bioseqsThe vector used to return the requested Bioseqs. [out]
errorsReturned string containing any errors encountered. [out]
warningsA null-separated list of warning. [out]
skip_seq_dataIf true, the sequence data will NOT be fetched [in]
verboseProduce verbose output. [in]

Definition at line 252 of file blast_services.cpp.

References CBlast4Client_Base::Ask(), database, CRef< C, Locker >::Empty(), MSerial_AsnText, NCBI_THROW, NcbiCout, s_BuildGetSeqRequest(), and s_GetSeqsFromReply().

Referenced by CBlastServices::GetSequences(), and CBlastServices::GetSequencesInfo().

◆ s_GuessProgram()

static EBlastProgramType s_GuessProgram ( CConstRef< CSeq_loc mask)
static

Auxiliary function to help guess the program type from a CSeq-loc.

This should only be used in the context of CObjMgr_QueryFactory::ExtractUserSpecifiedMasks

Definition at line 431 of file objmgr_query_data.cpp.

References eBlastTypeBlastn, eNa_strand_unknown, and mask.

Referenced by CObjMgr_QueryFactory::ExtractUserSpecifiedMasks().

◆ s_InitializeGumbelBlk()

static void s_InitializeGumbelBlk ( Blast_GumbelBlk src,
Blast_GumbelBlk **  dest 
)
static

Definition at line 62 of file blast_results.cpp.

References _ASSERT, and calloc().

Referenced by CBlastAncillaryData::CBlastAncillaryData(), and CBlastAncillaryData::do_copy().

◆ s_InitializeKarlinBlk()

static void s_InitializeKarlinBlk ( Blast_KarlinBlk src,
Blast_KarlinBlk **  dest 
)
static

◆ s_InitNewSeqDbSrc()

static void s_InitNewSeqDbSrc ( BlastSeqSrc retval,
TSeqDBData datap 
)
static

◆ s_InitSeqInfoSrc()

static IBlastSeqInfoSrc* s_InitSeqInfoSrc ( const BlastSeqSrc seqsrc)
static

FIXME: this should be removed as soon as we safely can We will be able to do this once we are guaranteed that every constructor to CLocalBlast takes or can construct a IBlastSeqInfoSrc on it's own.

This function is dangerous as it assumes that the BlastSeqSrc is based upon CSeqDB, which is not guaranteed.

Definition at line 150 of file local_blast.cpp.

References BlastSeqSrcGetIsProt(), BlastSeqSrcGetName(), NCBI_THROW, and true.

Referenced by CLocalBlast::Run().

◆ s_InvalidateQueryContexts()

static void s_InvalidateQueryContexts ( BlastQueryInfo qinfo,
int  query_index 
)
static

Mark the contexts corresponding to the query identified by query_index as invalid.

Parameters
qinfoBlastQueryInfo structure to modify [in]
query_indexindex of the query, assumes it's in the BlastQueryInfo structure above [in]

Definition at line 474 of file blast_setup_cxx.cpp.

References _ASSERT, BlastQueryInfo::contexts, FALSE, BlastQueryInfo::first_context, i, BlastContextInfo::is_valid, and BlastContextInfo::query_index.

Referenced by SetupQueries_OMF().

◆ s_IsNumericId()

static bool s_IsNumericId ( const string id)
static

◆ s_IsSeqAlignAsGood()

static bool s_IsSeqAlignAsGood ( const CRef< CSeq_align > &  x,
const CRef< CSeq_align > &  y 
)
static

◆ s_IsValidResidue()

static bool s_IsValidResidue ( Uint1  res)
inlinestatic

Tests if a number represents a valid residue.

Parameters
resValue to test [in]
Returns
TRUE if value is a valid residue

Definition at line 867 of file blast_setup_cxx.cpp.

References BLASTAA_SIZE.

Referenced by GetSequenceProtein().

◆ s_LocalQueryData2Packed_seqint()

static CRef<CPacked_seqint> s_LocalQueryData2Packed_seqint ( ILocalQueryData query_data)
static

Auxiliary function to extract the Seq-ids from the ILocalQueryData and bundle them in a Packed-seqint.

Parameters
query_datainput query data [in]
Returns
Packed-seqint with query Seq-locs

Definition at line 95 of file setup_factory.cpp.

References ILocalQueryData::GetNumQueries(), ILocalQueryData::GetSeq_loc(), ILocalQueryData::GetSeqLength(), i, and len.

Referenced by CSetupFactory::CreateScoreBlock().

◆ s_MakeScore()

static CRef<CScore> s_MakeScore ( const string ident_string,
double  d,
int  i,
bool  is_integer 
)
static

Creates and initializes CScore with a given name, and with integer or double value.

Integer value is used if it is not zero, otherwise double value is assigned.

Parameters
ident_stringScore type name [in]
dReal value of the score [in]
iInteger value of the score. [in]
Returns
Resulting CScore object.

Definition at line 1099 of file blast_seqalign.cpp.

References i.

Referenced by s_BuildScoreList().

◆ s_MakeTopHitsId()

static string s_MakeTopHitsId ( const CSeq_align_set::Tdata align_list,
int  num_align 
)
static

◆ s_MB_IdbCheckOid()

static int s_MB_IdbCheckOid ( Int4  oid,
Int4 last_vol_oid 
)
static

◆ s_MB_IdbGetResults()

static unsigned long s_MB_IdbGetResults ( Int4  oid_i,
Int4  chunk_i,
BlastInitHitList init_hitlist 
)
static

Get the seed search results for a give subject id and chunk number.

Parameters
idb_v[I] Database and index data.
oid_i[I] Subject id.
chunk_i[I] Chunk number.
init_hitlist[I/O] Results are returned here.
Returns
Word size used for search.

Definition at line 1223 of file blast_dbindex.cpp.

References _ASSERT, CIndexedDb::GetResults(), and CIndexedDb::Index_Set_Instance.

Referenced by IndexedDbSetQueryInfo().

◆ s_MB_IdxEndSearchIndication()

static void s_MB_IdxEndSearchIndication ( Int4  last_vol_id)
static

◆ s_MergeCBlast4_parameters()

static void s_MergeCBlast4_parameters ( const objects::CBlast4_parameters *  aopts,
const objects::CBlast4_parameters *  popts,
const objects::CBlast4_parameters *  fopts,
objects::CBlast4_parameters &  retval 
)
static

Convenience function to merge all lists into one object to facilitate invoking AdjustProgram.

Definition at line 650 of file blast_options_builder.cpp.

Referenced by CBlastOptionsBuilder::GetSearchOptions().

◆ s_MultiSeqGetAvgLength()

static Int4 s_MultiSeqGetAvgLength ( void *  multiseq_handle,
void *   
)
static

Retrieves the length of the longest sequence in the BlastSeqSrc.

Parameters
multiseq_handlePointer to the structure containing sequences [in]

Definition at line 245 of file seqsrc_multiseq.cpp.

References _ASSERT, and CRef< C, Locker >::NotEmpty().

Referenced by s_MultiSeqSrcNew().

◆ s_MultiSeqGetIsProt()

static Boolean s_MultiSeqGetIsProt ( void *  multiseq_handle,
void *   
)
static

Answers whether this object is for protein or nucleotide sequences.

Parameters
multiseq_handlePointer to the structure containing sequences [in]

Definition at line 317 of file seqsrc_multiseq.cpp.

References _ASSERT, and CRef< C, Locker >::NotEmpty().

Referenced by s_MultiSeqSrcNew().

◆ s_MultiSeqGetMaxLength()

static Int4 s_MultiSeqGetMaxLength ( void *  multiseq_handle,
void *   
)
static

The following functions interact with the C API, and have to be declared extern "C".

Retrieves the length of the longest sequence in the BlastSeqSrc.

Parameters
multiseq_handlePointer to the structure containing sequences [in]

Definition at line 203 of file seqsrc_multiseq.cpp.

References _ASSERT, MAX, and CRef< C, Locker >::NotEmpty().

Referenced by s_MultiSeqSrcNew().

◆ s_MultiSeqGetMinLength()

static Int4 s_MultiSeqGetMinLength ( void *  multiseq_handle,
void *   
)
static

Retrieves the length of the longest sequence in the BlastSeqSrc.

Parameters
multiseq_handlePointer to the structure containing sequences [in]

Definition at line 226 of file seqsrc_multiseq.cpp.

References BLAST_SEQSRC_MINLENGTH, INT4_MAX, and MIN.

Referenced by s_MultiSeqSrcNew().

◆ s_MultiSeqGetName()

static const char* s_MultiSeqGetName ( void *  ,
void *   
)
static

Always returns NcbiEmptyCStr.

Definition at line 309 of file seqsrc_multiseq.cpp.

References NcbiEmptyCStr.

Referenced by s_MultiSeqSrcNew().

◆ s_MultiSeqGetNextChunk()

static Int2 s_MultiSeqGetNextChunk ( void *  multiseq_handle,
BlastSeqSrcIterator itr 
)
static

Mirrors the database iteration interface.

Next chunk of indices retrieval is really just a check that current index has not reached the end.

Parameters
multiseq_handlePointer to the multiple sequence object [in]
itrIterator over multiseq_handle [in] [out]
Returns
Status.

Definition at line 412 of file seqsrc_multiseq.cpp.

References _ASSERT, BLAST_SEQSRC_EOF, BLAST_SEQSRC_SUCCESS, BlastSeqSrcIterator::current_pos, CRef< C, Locker >::NotEmpty(), and UINT4_MAX.

Referenced by s_MultiSeqIteratorNext().

◆ s_MultiSeqGetNumSeqs()

static Int4 s_MultiSeqGetNumSeqs ( void *  multiseq_handle,
void *   
)
static

Retrieves the number of sequences in the BlastSeqSrc.

Parameters
multiseq_handlePointer to the structure containing sequences [in]

Definition at line 273 of file seqsrc_multiseq.cpp.

References _ASSERT, and CRef< C, Locker >::NotEmpty().

Referenced by s_MultiSeqSrcNew().

◆ s_MultiSeqGetNumSeqsStats()

static Int4 s_MultiSeqGetNumSeqsStats ( void *  ,
void *   
)
static

Returns zero as this implementation does not support alias files.

Definition at line 285 of file seqsrc_multiseq.cpp.

Referenced by s_MultiSeqSrcNew().

◆ s_MultiSeqGetSeqLen()

static Int4 s_MultiSeqGetSeqLen ( void *  multiseq_handle,
void *  args 
)
static

Retrieve length of a given sequence.

Parameters
multiseq_handlePointer to the structure containing sequences [in]
argsPointer to integer indicating index into the sequences vector [in]
Returns
Length of the sequence or BLAST_SEQSRC_ERROR.

Definition at line 388 of file seqsrc_multiseq.cpp.

References _ASSERT, and CRef< C, Locker >::NotEmpty().

Referenced by s_MultiSeqSrcNew().

◆ s_MultiSeqGetSequence()

static Int2 s_MultiSeqGetSequence ( void *  multiseq_handle,
BlastSeqSrcGetSeqArg args 
)
static

Retrieves the sequence for a given index, in a given encoding.

Parameters
multiseq_handlePointer to the structure containing sequences [in]
argsPointer to BlastSeqSrcGetSeqArg structure, containing sequence index and encoding. [in]
Returns
return codes defined in blast_seqsrc.h

Definition at line 334 of file seqsrc_multiseq.cpp.

References _ASSERT, BLAST_SEQSRC_EOF, BLAST_SEQSRC_ERROR, BLAST_SEQSRC_SUCCESS, BlastSequenceBlkCopy(), eBlastEncodingNcbi4na, eBlastEncodingNucleotide, BlastSeqSrcGetSeqArg::encoding, FALSE, BLAST_SequenceBlk::lcase_mask, BLAST_SequenceBlk::lcase_mask_allocated, CRef< C, Locker >::NotEmpty(), NULL, BLAST_SequenceBlk::oid, BlastSeqSrcGetSeqArg::oid, BlastSeqSrcGetSeqArg::seq, BLAST_SequenceBlk::sequence, and BLAST_SequenceBlk::sequence_start.

Referenced by s_MultiSeqSrcNew().

◆ s_MultiSeqGetTotLen()

static Int8 s_MultiSeqGetTotLen ( void *  multiseq_handle,
void *   
)
static

Returns total length in db scan mode.

Returns 0 as total length, indicating that this is not a database search.

Definition at line 293 of file seqsrc_multiseq.cpp.

Referenced by s_MultiSeqSrcNew().

◆ s_MultiSeqGetTotLenStats()

static Int8 s_MultiSeqGetTotLenStats ( void *  ,
void *   
)
static

Returns 0 as this implementation does not use alias files.

Definition at line 302 of file seqsrc_multiseq.cpp.

Referenced by s_MultiSeqSrcNew().

◆ s_MultiSeqIteratorNext()

static Int4 s_MultiSeqIteratorNext ( void *  multiseq_handle,
BlastSeqSrcIterator itr 
)
static

Gets the next sequence index, given a BlastSeqSrc pointer.

Parameters
multiseq_handleHandle to access the underlying object over which iteration occurs. [in]
itrIterator over seqsrc [in] [out]
Returns
Next index in the sequence set

Definition at line 444 of file seqsrc_multiseq.cpp.

References _ASSERT, BLAST_SEQSRC_EOF, BlastSeqSrcIterator::current_pos, and s_MultiSeqGetNextChunk().

Referenced by s_MultiSeqSrcNew().

◆ s_MultiSeqReleaseSequence()

static void s_MultiSeqReleaseSequence ( void *  ,
BlastSeqSrcGetSeqArg args 
)
static

Deallocates the uncompressed sequence buffer if necessary.

Parameters
argsPointer to BlastSeqSrcGetSeqArg structure [in]

Definition at line 375 of file seqsrc_multiseq.cpp.

References _ASSERT, BlastSeqSrcGetSeqArg::seq, BLAST_SequenceBlk::sequence_start, BLAST_SequenceBlk::sequence_start_allocated, and sfree.

Referenced by s_MultiSeqSrcNew().

◆ s_MultiSeqResetChunkIter()

static void s_MultiSeqResetChunkIter ( void *  )
static

Resets the internal bookmark iterator (N/A in this case)

Definition at line 433 of file seqsrc_multiseq.cpp.

Referenced by s_MultiSeqSrcNew().

◆ s_MultiSeqSrcCopy()

static BlastSeqSrc* s_MultiSeqSrcCopy ( BlastSeqSrc seq_src)
static

Multi-sequence sequence source copier: creates a new reference to the CMultiSeqInfo object and copies the rest of the BlastSeqSrc structure.

Parameters
seq_srcBlastSeqSrc structure to copy [in]
Returns
Pointer to the new BlastSeqSrc.

Definition at line 490 of file seqsrc_multiseq.cpp.

References _BlastSeqSrcImpl_GetDataStructure(), _BlastSeqSrcImpl_SetDataStructure(), and NULL.

Referenced by s_MultiSeqSrcNew().

◆ s_MultiSeqSrcFree()

static BlastSeqSrc* s_MultiSeqSrcFree ( BlastSeqSrc seq_src)
static

Multi sequence source destructor: frees its internal data structure.

Parameters
seq_srcBlastSeqSrc structure to free [in]
Returns
NULL

Definition at line 475 of file seqsrc_multiseq.cpp.

References _BlastSeqSrcImpl_GetDataStructure(), and NULL.

Referenced by s_MultiSeqSrcNew().

◆ s_MultiSeqSrcNew()

static BlastSeqSrc* s_MultiSeqSrcNew ( BlastSeqSrc retval,
void *  args 
)
static

Multi-sequence source constructor.

Parameters
retvalBlastSeqSrc structure (already allocated) to populate [in]
argsPointer to MultiSeqSrcNewArgs structure above [in]
Returns
Updated bssp structure (with all function pointers initialized

Definition at line 508 of file seqsrc_multiseq.cpp.

References _ASSERT, _BlastSeqSrcImpl_SetCopyFnPtr(), _BlastSeqSrcImpl_SetDataStructure(), _BlastSeqSrcImpl_SetDeleteFnPtr(), _BlastSeqSrcImpl_SetGetAvgSeqLen(), _BlastSeqSrcImpl_SetGetIsProt(), _BlastSeqSrcImpl_SetGetMaxSeqLen(), _BlastSeqSrcImpl_SetGetMinSeqLen(), _BlastSeqSrcImpl_SetGetName(), _BlastSeqSrcImpl_SetGetNumSeqs(), _BlastSeqSrcImpl_SetGetNumSeqsStats(), _BlastSeqSrcImpl_SetGetSeqLen(), _BlastSeqSrcImpl_SetGetSequence(), _BlastSeqSrcImpl_SetGetTotLen(), _BlastSeqSrcImpl_SetGetTotLenStats(), _BlastSeqSrcImpl_SetInitErrorStr(), _BlastSeqSrcImpl_SetIterNext(), _BlastSeqSrcImpl_SetReleaseSequence(), _BlastSeqSrcImpl_SetResetChunkIterator(), SMultiSeqSrcNewArgs::dbscan_mode, SMultiSeqSrcNewArgs::program, CRef< C, Locker >::Reset(), s_MultiSeqGetAvgLength(), s_MultiSeqGetIsProt(), s_MultiSeqGetMaxLength(), s_MultiSeqGetMinLength(), s_MultiSeqGetName(), s_MultiSeqGetNumSeqs(), s_MultiSeqGetNumSeqsStats(), s_MultiSeqGetSeqLen(), s_MultiSeqGetSequence(), s_MultiSeqGetTotLen(), s_MultiSeqGetTotLenStats(), s_MultiSeqIteratorNext(), s_MultiSeqReleaseSequence(), s_MultiSeqResetChunkIter(), s_MultiSeqSrcCopy(), s_MultiSeqSrcFree(), SMultiSeqSrcNewArgs::seq_vector, and strdup.

Referenced by MultiSeqBlastSeqSrcInit().

◆ s_Ncbi4naToNcbi2na()

void s_Ncbi4naToNcbi2na ( const string ncbi4na,
int  base_length,
unsigned char *  ncbi2na 
)

◆ s_OldGetTaxIdWithWindowMaskerSupport()

static void s_OldGetTaxIdWithWindowMaskerSupport ( set< int > &  supported_taxids)
static

◆ s_OOFBlastHSP2SeqAlign()

static CRef<CSeq_align> s_OOFBlastHSP2SeqAlign ( EBlastProgramType  program,
BlastHSP hsp,
CRef< CSeq_id query_id,
CRef< CSeq_id subject_id,
Int4  query_length,
Int4  subject_length 
)
static

This function is used for out-of-frame traceback conversion Converts an OOF editing script chain to a Seq-align of type Std-seg.

Parameters
programBLAST program: blastx or tblastn.
hspHSP structure containing traceback produced by an out-of-frame gapped extension [in]
query_idQuery sequence identifier [in]
subject_idSubject sequence identifier [in]
query_lengthLength of query sequence [in]
subject_lengthLength of subject sequence [in]

Definition at line 769 of file blast_seqalign.cpp.

References _ASSERT, eBlastTypeBlastx, eGapAlignDel, eGapAlignDel1, eGapAlignDel2, eGapAlignIns, eGapAlignIns1, eGapAlignIns2, eGapAlignSub, eNa_strand_minus, CSeq_align_Base::eType_partial, FALSE, BlastSeg::frame, BlastHSP::gap_info, CSeq_interval_Base::GetFrom(), CRef< C, Locker >::GetPointer(), CSeq_interval_Base::GetTo(), kBlastAlignmentDim, MIN, NULL, GapEditScript::num, BlastSeg::offset, GapEditScript::op_type, BlastHSP::query, CRef< C, Locker >::Reset(), s_Frame2Strand(), s_GetCurrPos(), CSeq_align_Base::SetDim(), CSeq_loc::SetEmpty(), CSeq_interval_Base::SetFrom(), CSeq_loc::SetInt(), CSeq_align_Base::SetSegs(), CSeq_interval_Base::SetTo(), CSeq_align_Base::SetType(), GapEditScript::size, BlastHSP::subject, and TRUE.

Referenced by BLASTHspListToSeqAlign().

◆ s_PrintVector()

template<class T >
string s_PrintVector ( const vector< T > &  data2print)

Auxiliary function to print a vector.

Parameters
data2printvector to print [in]

Definition at line 256 of file split_query_aux_priv.hpp.

References i, and kEmptyStr.

Referenced by operator<<().

◆ s_ProcessErrorsFromReply()

static void s_ProcessErrorsFromReply ( CRef< objects::CBlast4_reply >  reply,
string errors,
string warnings 
)
static

Process error messages from a reply object.

Every reply object from blast4 has a space for error and warning messages. This function extracts such messages and returns them to the user in two strings. All warnings are returned in one string, concatenated together with a newline as the delimiter, and all error messages are concatenated together in another string in the same way. If there are no warnings or errors, the resulting strings will be empty.

Parameters
replyThe reply object from blast4.
errorsConcatenated error messages (if any).
warningsConcatenated warning messages (if any).

Definition at line 73 of file blast_services.cpp.

References eBlast4_error_flags_warning, and ITERATE.

Referenced by s_GetPartsFromReply(), and s_GetSeqsFromReply().

◆ s_QueryFactoryBlastSeqSrcInit()

static BlastSeqSrc* s_QueryFactoryBlastSeqSrcInit ( CRef< IQueryFactory query_factory,
const TSeqLocVector subj_seqs,
EBlastProgramType  program 
)
static

◆ s_QueryFactoryGetAvgLength()

static Int4 s_QueryFactoryGetAvgLength ( void *  multiseq_handle,
void *   
)
static

Retrieves the average length of the sequence in the BlastSeqSrc.

Parameters
multiseq_handlePointer to the structure containing sequences [in]

Definition at line 239 of file seqsrc_query_factory.cpp.

References _ASSERT.

Referenced by s_QueryFactorySrcNew().

◆ s_QueryFactoryGetIsProt()

static Boolean s_QueryFactoryGetIsProt ( void *  multiseq_handle,
void *   
)
static

Answers whether this object is for protein or nucleotide sequences.

Parameters
multiseq_handlePointer to the structure containing sequences [in]

Definition at line 300 of file seqsrc_query_factory.cpp.

References _ASSERT.

Referenced by s_QueryFactorySrcNew().

◆ s_QueryFactoryGetMaxLength()

static Int4 s_QueryFactoryGetMaxLength ( void *  multiseq_handle,
void *   
)
static

The following functions interact with the C API, and have to be declared extern "C".

Retrieves the length of the longest sequence in the BlastSeqSrc.

Parameters
multiseq_handlePointer to the structure containing sequences [in]

Definition at line 217 of file seqsrc_query_factory.cpp.

References _ASSERT.

Referenced by s_QueryFactorySrcNew().

◆ s_QueryFactoryGetMinLength()

static Int4 s_QueryFactoryGetMinLength ( void *  multiseq_handle,
void *   
)
static

Retrieves the length of the longest sequence in the BlastSeqSrc.

Parameters
multiseq_handlePointer to the structure containing sequences [in]

Definition at line 228 of file seqsrc_query_factory.cpp.

References _ASSERT.

Referenced by s_QueryFactorySrcNew().

◆ s_QueryFactoryGetName()

static const char* s_QueryFactoryGetName ( void *  ,
void *   
)
static

Always returns NcbiEmptyCStr.

Definition at line 292 of file seqsrc_query_factory.cpp.

References NcbiEmptyCStr.

Referenced by s_QueryFactorySrcNew().

◆ s_QueryFactoryGetNextChunk()

static Int2 s_QueryFactoryGetNextChunk ( void *  multiseq_handle,
BlastSeqSrcIterator itr 
)
static

Mirrors the database iteration interface.

Next chunk of indices retrieval is really just a check that current index has not reached the end.

Parameters
multiseq_handlePointer to the multiple sequence object [in]
itrIterator over multiseq_handle [in] [out]
Returns
Status.

Definition at line 391 of file seqsrc_query_factory.cpp.

References _ASSERT, BLAST_SEQSRC_EOF, BLAST_SEQSRC_SUCCESS, BlastSeqSrcIterator::current_pos, and UINT4_MAX.

Referenced by s_QueryFactoryIteratorNext().

◆ s_QueryFactoryGetNumSeqs()

static Int4 s_QueryFactoryGetNumSeqs ( void *  multiseq_handle,
void *   
)
static

Retrieves the number of sequences in the BlastSeqSrc.

Parameters
multiseq_handlePointer to the structure containing sequences [in]

Definition at line 260 of file seqsrc_query_factory.cpp.

References _ASSERT.

Referenced by s_QueryFactorySrcNew().

◆ s_QueryFactoryGetNumSeqsStats()

static Int4 s_QueryFactoryGetNumSeqsStats ( void *  ,
void *   
)
static

Returns zero as this implementation does not use an alias file.

Definition at line 271 of file seqsrc_query_factory.cpp.

Referenced by s_QueryFactorySrcNew().

◆ s_QueryFactoryGetSeqLen()

static Int4 s_QueryFactoryGetSeqLen ( void *  multiseq_handle,
void *  args 
)
static

Retrieve length of a given sequence.

Parameters
multiseq_handlePointer to the structure containing sequences [in]
argsPointer to integer indicating index into the sequences vector [in]
Returns
Length of the sequence or BLAST_SEQSRC_ERROR.

Definition at line 368 of file seqsrc_query_factory.cpp.

References _ASSERT.

Referenced by s_QueryFactorySrcNew().

◆ s_QueryFactoryGetSequence()

static Int2 s_QueryFactoryGetSequence ( void *  multiseq_handle,
BlastSeqSrcGetSeqArg args 
)
static

Retrieves the sequence for a given index, in a given encoding.

Parameters
multiseq_handlePointer to the structure containing sequences [in]
argsPointer to BlastSeqSrcGetSeqArg structure, containing sequence index and encoding. [in]
Returns
return codes defined in blast_seqsrc.h

Definition at line 314 of file seqsrc_query_factory.cpp.

References _ASSERT, BLAST_SEQSRC_EOF, BLAST_SEQSRC_ERROR, BLAST_SEQSRC_SUCCESS, BlastSequenceBlkCopy(), eBlastEncodingNcbi4na, eBlastEncodingNucleotide, BlastSeqSrcGetSeqArg::encoding, FALSE, BLAST_SequenceBlk::lcase_mask, BLAST_SequenceBlk::lcase_mask_allocated, NULL, BLAST_SequenceBlk::oid, BlastSeqSrcGetSeqArg::oid, BlastSeqSrcGetSeqArg::seq, BLAST_SequenceBlk::sequence, and BLAST_SequenceBlk::sequence_start.

Referenced by s_QueryFactorySrcNew().

◆ s_QueryFactoryGetTotLen()

static Int8 s_QueryFactoryGetTotLen ( void *  ,
void *   
)
static

Returns 0 as total length, indicating that this is NOT a database!

Definition at line 278 of file seqsrc_query_factory.cpp.

Referenced by s_QueryFactorySrcNew().

◆ s_QueryFactoryGetTotLenStats()

static Int8 s_QueryFactoryGetTotLenStats ( void *  ,
void *   
)
static

Returns 0 as total statistic length, as this implementation does not use alias files.

Definition at line 285 of file seqsrc_query_factory.cpp.

Referenced by s_QueryFactorySrcNew().

◆ s_QueryFactoryIteratorNext()

static Int4 s_QueryFactoryIteratorNext ( void *  multiseq_handle,
BlastSeqSrcIterator itr 
)
static

Gets the next sequence index, given a BlastSeqSrc pointer.

Parameters
multiseq_handleHandle to access the underlying object over which iteration occurs. [in]
itrIterator over seqsrc [in] [out]
Returns
Next index in the sequence set

Definition at line 421 of file seqsrc_query_factory.cpp.

References _ASSERT, BLAST_SEQSRC_EOF, BlastSeqSrcIterator::current_pos, and s_QueryFactoryGetNextChunk().

Referenced by s_QueryFactorySrcNew().

◆ s_QueryFactoryReleaseSequence()

static void s_QueryFactoryReleaseSequence ( void *  ,
BlastSeqSrcGetSeqArg args 
)
static

Deallocates the uncompressed sequence buffer if necessary.

Parameters
argsPointer to BlastSeqSrcGetSeqArg structure [in]

Definition at line 355 of file seqsrc_query_factory.cpp.

References _ASSERT, BlastSeqSrcGetSeqArg::seq, BLAST_SequenceBlk::sequence_start, BLAST_SequenceBlk::sequence_start_allocated, and sfree.

Referenced by s_QueryFactorySrcNew().

◆ s_QueryFactoryResetChunkIter()

static void s_QueryFactoryResetChunkIter ( void *  )
static

Resets the internal bookmark iterator (N/A in this case)

Definition at line 410 of file seqsrc_query_factory.cpp.

Referenced by s_QueryFactorySrcNew().

◆ s_QueryFactorySrcCopy()

static BlastSeqSrc* s_QueryFactorySrcCopy ( BlastSeqSrc seq_src)
static

Multi-sequence sequence source copier: creates a new reference to the CQueryFactoryInfo object and copies the rest of the BlastSeqSrc structure.

Parameters
seq_srcBlastSeqSrc structure to copy [in]
Returns
Pointer to the new BlastSeqSrc.

Definition at line 470 of file seqsrc_query_factory.cpp.

References _BlastSeqSrcImpl_GetDataStructure(), _BlastSeqSrcImpl_SetDataStructure(), and NULL.

Referenced by s_QueryFactorySrcNew().

◆ s_QueryFactorySrcFree()

static BlastSeqSrc* s_QueryFactorySrcFree ( BlastSeqSrc seq_src)
static

Multi sequence source destructor: frees its internal data structure.

Parameters
seq_srcBlastSeqSrc structure to free [in]
Returns
NULL

Definition at line 455 of file seqsrc_query_factory.cpp.

References _BlastSeqSrcImpl_GetDataStructure(), and NULL.

Referenced by s_QueryFactorySrcNew().

◆ s_QueryFactorySrcNew()

static BlastSeqSrc* s_QueryFactorySrcNew ( BlastSeqSrc retval,
void *  args 
)
static

Multi-sequence source constructor.

Parameters
retvalBlastSeqSrc structure (already allocated) to populate [in]
argsPointer to QueryFactorySrcNewArgs structure above [in]
Returns
Updated bssp structure (with all function pointers initialized

Definition at line 488 of file seqsrc_query_factory.cpp.

References _ASSERT, _BlastSeqSrcImpl_SetCopyFnPtr(), _BlastSeqSrcImpl_SetDataStructure(), _BlastSeqSrcImpl_SetDeleteFnPtr(), _BlastSeqSrcImpl_SetGetAvgSeqLen(), _BlastSeqSrcImpl_SetGetIsProt(), _BlastSeqSrcImpl_SetGetMaxSeqLen(), _BlastSeqSrcImpl_SetGetMinSeqLen(), _BlastSeqSrcImpl_SetGetName(), _BlastSeqSrcImpl_SetGetNumSeqs(), _BlastSeqSrcImpl_SetGetNumSeqsStats(), _BlastSeqSrcImpl_SetGetSeqLen(), _BlastSeqSrcImpl_SetGetSequence(), _BlastSeqSrcImpl_SetGetTotLen(), _BlastSeqSrcImpl_SetGetTotLenStats(), _BlastSeqSrcImpl_SetInitErrorStr(), _BlastSeqSrcImpl_SetIterNext(), _BlastSeqSrcImpl_SetReleaseSequence(), _BlastSeqSrcImpl_SetResetChunkIterator(), NULL, SQueryFactorySrcNewArgs::program, SQueryFactorySrcNewArgs::query_factory, CRef< C, Locker >::Reset(), s_QueryFactoryGetAvgLength(), s_QueryFactoryGetIsProt(), s_QueryFactoryGetMaxLength(), s_QueryFactoryGetMinLength(), s_QueryFactoryGetName(), s_QueryFactoryGetNumSeqs(), s_QueryFactoryGetNumSeqsStats(), s_QueryFactoryGetSeqLen(), s_QueryFactoryGetSequence(), s_QueryFactoryGetTotLen(), s_QueryFactoryGetTotLenStats(), s_QueryFactoryIteratorNext(), s_QueryFactoryReleaseSequence(), s_QueryFactoryResetChunkIter(), s_QueryFactorySrcCopy(), s_QueryFactorySrcFree(), strdup, and SQueryFactorySrcNewArgs::subj_seqs.

Referenced by s_QueryFactoryBlastSeqSrcInit().

◆ s_QueryInfo_SetContext()

static void s_QueryInfo_SetContext ( BlastQueryInfo qinfo,
Uint4  index,
Uint4  length 
)
static

Set field values for one element of the context array of a concatenated query.

All previous contexts should have already been assigned correct values.

Parameters
qinfoQuery info structure containing contexts. [in/out]
indexIndex of the context to fill. [in]
lengthLength of this context. [in]

Definition at line 65 of file blast_setup_cxx.cpp.

References _ASSERT, BlastQueryInfo::contexts, BlastContextInfo::is_valid, BlastQueryInfo::last_context, BlastContextInfo::query_length, and BlastContextInfo::query_offset.

Referenced by SetupQueryInfo_OMF().

◆ s_QueryVectorToBioseqSet()

static CRef<CBioseq_set> s_QueryVectorToBioseqSet ( const CBlastQueryVector queries)
static

◆ s_QueryVectorToTSeqLocs()

static IRemoteQueryData::TSeqLocs s_QueryVectorToTSeqLocs ( const CBlastQueryVector queries)
static

Produces a vector of SeqLocs from a CBlastQueryVector.

Parameters
queriesqueries as a CBlastQueryVector
Return values
vectorof SeqLocs.

Definition at line 135 of file objmgr_query_data.cpp.

References CBlastQueryVector::GetQuerySeqLoc(), i, and CBlastQueryVector::Size().

Referenced by CObjMgr_RemoteQueryData::GetSeqLocs().

◆ s_ReadLinesFromFile()

static void s_ReadLinesFromFile ( const string fn,
vector< string > &  lines 
)
static

Definition at line 65 of file igblast.cpp.

References in(), and l().

Referenced by CIgAnnotationInfo::CIgAnnotationInfo().

◆ s_RemapToSubjectLoc()

static void s_RemapToSubjectLoc ( CRef< CSeq_align > &  subj_aligns,
const CSeq_loc subj_loc 
)
static

Remap subject alignment if its location specified the reverse strand or a starting location other than the beginning of the sequence.

Parameters
subj_alignsSeq-align containing HSPs for a given query-subject alignment [in|out]
subj_locLocation of the subject sequence searched. [in]

Definition at line 1537 of file blast_seqalign.cpp.

References _ASSERT, CSeq_loc_Base::IsInt(), CSeq_loc_Base::IsWhole(), RemapAlignToLoc(), and CRef< C, Locker >::Reset().

Referenced by BlastHitList2SeqAlign_OMF(), and s_BLAST_OneSubjectResults2CSeqAlign().

◆ s_RemoveLocalPrefix()

static string s_RemoveLocalPrefix ( const string sid)
static

◆ s_RestrictSeqLocs_Multiframe()

static void s_RestrictSeqLocs_Multiframe ( CBlastQueryFilteredFrames frame_to_bsl,
const IBlastQuerySource queries,
int  query_index,
const BlastQueryInfo qinfo 
)
static

Restricts the masked locations in frame_to_bsl for the case when the BLAST program requires the query to be translated into multiple frames.

Parameters
frame_to_bslquery filtered frames to adjust [out]
queriesall query sequences [in]
query_indexindex of the query of interest in queries [in]
qinfoBlastQueryInfo structure for the queries above [in]

Definition at line 399 of file blast_setup_cxx.cpp.

References _ASSERT, BlastSeqLoc_RestrictToInterval(), BlastQueryInfo::contexts, eExtreme_Positional, BlastContextInfo::frame, CBlastQueryFilteredFrames::GetNumFrames(), IBlastQuerySource::GetSeqLoc(), CSeq_loc::GetStart(), CSeq_loc::GetStop(), ITERATE, CBlastQueryFilteredFrames::ListFrames(), and BlastContextInfo::query_index.

Referenced by s_GetRestrictedBlastSeqLocs().

◆ s_SearchPending()

static bool s_SearchPending ( CRef< objects::CBlast4_reply >  reply)
static

Determine whether the search is still running.

Parameters
replyReply from get-search-results request.
Returns
True if search needs more time, false if done or failed.

Definition at line 85 of file remote_blast.cpp.

References eBlast4_error_code_search_pending, and i.

Referenced by CRemoteBlast::x_CheckResults(), and CRemoteBlast::x_CheckResultsDC().

◆ s_SeqAlignInSet()

static bool s_SeqAlignInSet ( CSeq_align_set::Tdata align_list,
CRef< CSeq_align > &  align 
)
static

◆ s_SeqAlignToBlastSeqLoc()

static void s_SeqAlignToBlastSeqLoc ( const CSeq_align_set alignment,
BlastSeqLoc **  locs 
)
static

Build a list of BlastSeqLoc's from a set of Dense-seg contained in a Seq-align-set.

This function processes Dense-segs, and adds the range of each hit to a list of BlastSeqLoc structures. Frame information is used to translate hit coordinates hits to the plus strand. All of the HSPs should refer to the same query; both the query and subject in the HSP are ignored. This is used to construct a set of filtered areas from hits against a repeats database.

Parameters
alignmentSeq-align-set containing Dense-segs which specify the ranges of hits. [in]
locsFiltered areas for this query are added here. [out]

Definition at line 144 of file repeats_filter_cxx.cpp.

References _ASSERT, BlastSeqLocNew(), CSeq_align_set_Base::Get(), CDense_seg_Base::GetDim(), CDense_seg_Base::GetLens(), CDense_seg_Base::GetNumseg(), CDense_seg_Base::GetStarts(), CDense_seg_Base::GetStrands(), and ITERATE.

Referenced by s_FillMaskLocFromBlastResults().

◆ s_SeqDbGetAvgLength()

static Int4 s_SeqDbGetAvgLength ( void *  seqdb_handle,
void *  ignoreme 
)
static

Retrieves the average length of sequences in the BlastSeqSrc.

Parameters
seqdb_handlePointer to initialized CSeqDB object [in]
ignoremeUnused by this implementation [in]

Definition at line 203 of file seqsrc_seqdb.cpp.

References MAX, s_SeqDbGetNumSeqs(), and s_SeqDbGetTotLen().

Referenced by s_InitNewSeqDbSrc().

◆ s_SeqDbGetIsProt()

static Boolean s_SeqDbGetIsProt ( void *  seqdb_handle,
void *   
)
static

Checks whether database is protein or nucleotide.

Parameters
seqdb_handlePointer to initialized CSeqDB object [in]
Returns
TRUE if database is protein, FALSE if nucleotide.

Definition at line 224 of file seqsrc_seqdb.cpp.

Referenced by s_InitNewSeqDbSrc().

◆ s_SeqDbGetMaxLength()

static Int4 s_SeqDbGetMaxLength ( void *  seqdb_handle,
void *   
)
static

Retrieves the length of the longest sequence in the BlastSeqSrc.

Parameters
seqdb_handlePointer to initialized CSeqDB object [in]

Definition at line 137 of file seqsrc_seqdb.cpp.

References CSeqDB::GetMaxLength().

Referenced by s_InitNewSeqDbSrc().

◆ s_SeqDbGetMinLength()

static Int4 s_SeqDbGetMinLength ( void *  seqdb_handle,
void *   
)
static

Retrieves the length of the shortest sequence in the BlastSeqSrc.

Parameters
seqdb_handlePointer to initialized CSeqDB object [in]

Definition at line 146 of file seqsrc_seqdb.cpp.

References CSeqDB::GetMinLength().

Referenced by s_InitNewSeqDbSrc().

◆ s_SeqDbGetName()

static const char* s_SeqDbGetName ( void *  seqdb_handle,
void *   
)
static

Retrieves the name of the BLAST database.

Parameters
seqdb_handlePointer to initialized CSeqDB object [in]

Definition at line 214 of file seqsrc_seqdb.cpp.

References CSeqDB::GetDBNameList().

Referenced by s_InitNewSeqDbSrc().

◆ s_SeqDbGetNextChunk()

static Int2 s_SeqDbGetNextChunk ( void *  seqdb_handle,
BlastSeqSrcIterator itr 
)
static

Assigns next chunk of the database to the sequence source iterator.

Parameters
seqdb_handleReference to the database object, cast to void* to satisfy the signature requirement. [in]
itrIterator over the database sequence source. [in|out]

Definition at line 465 of file seqsrc_seqdb.cpp.

References BLAST_SEQSRC_EOF, BLAST_SEQSRC_ERROR, BLAST_SEQSRC_SUCCESS, BlastSeqSrcIterator::chunk_sz, BlastSeqSrcIterator::current_pos, eOidList, CSeqDB::eOidList, eOidRange, CSeqDB::eOidRange, CSeqDB::GetNextOIDChunk(), BlastSeqSrcIterator::itr_type, malloc(), BlastSeqSrcIterator::oid_list, BlastSeqSrcIterator::oid_range, and sfree.

Referenced by s_SeqDbIteratorNext().

◆ s_SeqDbGetNumSeqs()

static Int4 s_SeqDbGetNumSeqs ( void *  seqdb_handle,
void *   
)
static

Retrieves the number of sequences in the BlastSeqSrc.

Parameters
seqdb_handlePointer to initialized CSeqDB object [in]

Definition at line 164 of file seqsrc_seqdb.cpp.

References CSeqDB::GetNumSeqs().

Referenced by s_InitNewSeqDbSrc(), and s_SeqDbGetAvgLength().

◆ s_SeqDbGetNumSeqsStats()

static Int4 s_SeqDbGetNumSeqsStats ( void *  seqdb_handle,
void *   
)
static

Retrieves the number of sequences from alias file to be used for.

Parameters
seqdb_handlePointer to initialized CSeqDB object [in]

Definition at line 174 of file seqsrc_seqdb.cpp.

References CSeqDB::GetNumSeqsStats().

Referenced by s_InitNewSeqDbSrc().

◆ s_SeqDbGetSeqLen()

static Int4 s_SeqDbGetSeqLen ( void *  seqdb_handle,
void *  args 
)
static

Retrieve length of a given database sequence.

Parameters
seqdb_handlePointer to initialized CSeqDB object [in]
argsPointer to integer indicating ordinal id [in]
Returns
Length of the database sequence or BLAST_SEQSRC_ERROR.

Definition at line 449 of file seqsrc_seqdb.cpp.

References BLAST_SEQSRC_ERROR, and CSeqDB::GetSeqLength().

Referenced by s_InitNewSeqDbSrc().

◆ s_SeqDbGetSequence()

static Int2 s_SeqDbGetSequence ( void *  seqdb_handle,
BlastSeqSrcGetSeqArg args 
)
static

◆ s_SeqDbGetSupportsPartialFetching()

static Boolean s_SeqDbGetSupportsPartialFetching ( void *  seqdb_handle,
void *   
)
static

Determine if partial fetching should be enabled.

Parameters
seqdb_handlePointer to initialized CSeqDB object [in]

Definition at line 234 of file seqsrc_seqdb.cpp.

References CSeqDB::GetMaxLength(), CSeqDB::GetNumSeqs(), CSeqDB::GetTotalLength(), and MAX.

Referenced by s_InitNewSeqDbSrc().

◆ s_SeqDbGetTotLen()

static Int8 s_SeqDbGetTotLen ( void *  seqdb_handle,
void *   
)
static

Retrieves the total length of all sequences in the BlastSeqSrc.

Parameters
seqdb_handlePointer to initialized CSeqDB object [in]

Definition at line 183 of file seqsrc_seqdb.cpp.

References CSeqDB::GetTotalLength().

Referenced by s_InitNewSeqDbSrc(), and s_SeqDbGetAvgLength().

◆ s_SeqDbGetTotLenStats()

static Int8 s_SeqDbGetTotLenStats ( void *  seqdb_handle,
void *   
)
static

Retrieves the total length of all sequences from alias file.

Parameters
seqdb_handlePointer to initialized CSeqDB object [in]

Definition at line 193 of file seqsrc_seqdb.cpp.

References CSeqDB::GetTotalLengthStats().

Referenced by s_InitNewSeqDbSrc().

◆ s_SeqDbIteratorNext()

static Int4 s_SeqDbIteratorNext ( void *  seqdb_handle,
BlastSeqSrcIterator itr 
)
static

Finds the next not searched ordinal id in the iteration over BLAST database.

Parameters
seqdb_handleReference to the database object, cast to void* to satisfy the signature requirement. [in]
itrIterator of the BlastSeqSrc pointed by ptr. [in]
Returns
Next ordinal id.

Definition at line 511 of file seqsrc_seqdb.cpp.

References _ASSERT, abort(), BLAST_SEQSRC_EOF, BLAST_SEQSRC_ERROR, BLAST_SEQSRC_SUCCESS, BlastSeqSrcIterator::chunk_sz, BlastSeqSrcIterator::current_pos, eOidList, eOidRange, BlastSeqSrcIterator::itr_type, BlastSeqSrcIterator::oid_list, BlastSeqSrcIterator::oid_range, s_SeqDbGetNextChunk(), and UINT4_MAX.

Referenced by s_InitNewSeqDbSrc().

◆ s_SeqDbReleaseSequence()

static void s_SeqDbReleaseSequence ( void *  seqdb_handle,
BlastSeqSrcGetSeqArg args 
)
static

Returns the memory allocated for the sequence buffer to the CSeqDB interface.

Parameters
seqdb_handlePointer to initialized CSeqDB object [in]
argsPointer to the BlastSeqSrcGetSeqArgs structure, containing sequence block with the buffer that needs to be deallocated. [in]

Definition at line 417 of file seqsrc_seqdb.cpp.

References _ASSERT, BlastSeqSrcSetRangesArgFree(), FALSE, NULL, BlastSeqSrcGetSeqArg::ranges, CSeqDB::RetSequence(), BlastSeqSrcGetSeqArg::seq, BLAST_SequenceBlk::sequence, BLAST_SequenceBlk::sequence_allocated, BLAST_SequenceBlk::sequence_start, BLAST_SequenceBlk::sequence_start_allocated, and sfree.

Referenced by s_InitNewSeqDbSrc().

◆ s_SeqDbResetChunkIterator()

static void s_SeqDbResetChunkIterator ( void *  seqdb_handle)
static

Resets CSeqDB's internal chunk bookmark.

Parameters
seqdb_handleReference to the database object, cast to void* to satisfy the signature requirement. [in]

Definition at line 554 of file seqsrc_seqdb.cpp.

References _ASSERT, CSeqDB::FlushOffsetRangeCache(), and CSeqDB::ResetInternalChunkBookmark().

Referenced by s_InitNewSeqDbSrc().

◆ s_SeqDbSetNumberOfThreads()

static void s_SeqDbSetNumberOfThreads ( void *  seqdb_handle,
int  n 
)
static

Setting number of threads in MT mode.

Parameters
n_threadsnumber of threads [in]

Definition at line 155 of file seqsrc_seqdb.cpp.

References n, and CSeqDB::SetNumberOfThreads().

Referenced by s_InitNewSeqDbSrc().

◆ s_SeqDbSetRanges()

static void s_SeqDbSetRanges ( void *  seqdb_handle,
BlastSeqSrcSetRangesArg args 
)
static

Set sequence ranges for partial fetching.

Parameters
seqdb_handlePointer to initialized CSeqDB object [in]
argsPointer to BlastSeqSrcSetRangesArg structure [in]

Definition at line 268 of file seqsrc_seqdb.cpp.

References i, set< Key, Compare >::insert(), BlastSeqSrcSetRangesArg::num_ranges, BlastSeqSrcSetRangesArg::oid, BlastSeqSrcSetRangesArg::ranges, and CSeqDB::SetOffsetRanges().

Referenced by s_InitNewSeqDbSrc().

◆ s_SeqDbSrcCopy()

static BlastSeqSrc* s_SeqDbSrcCopy ( BlastSeqSrc seq_src)
static

SeqDb sequence source copier: creates a new reference to the CSeqDB object and copies the rest of the BlastSeqSrc structure.

Parameters
seq_srcBlastSeqSrc structure to copy [in]
Returns
Pointer to the new BlastSeqSrc.

Definition at line 627 of file seqsrc_seqdb.cpp.

References _BlastSeqSrcImpl_GetDataStructure(), _BlastSeqSrcImpl_SetDataStructure(), and NULL.

Referenced by s_InitNewSeqDbSrc().

◆ s_SeqDbSrcFree()

static BlastSeqSrc* s_SeqDbSrcFree ( BlastSeqSrc seq_src)
static

SeqDb sequence source destructor: frees its internal data structure.

Parameters
seq_srcBlastSeqSrc structure to free [in]
Returns
NULL

Definition at line 610 of file seqsrc_seqdb.cpp.

References _BlastSeqSrcImpl_GetDataStructure(), and NULL.

Referenced by s_InitNewSeqDbSrc().

◆ s_SeqDbSrcNew()

static BlastSeqSrc* s_SeqDbSrcNew ( BlastSeqSrc retval,
void *  args 
)
static

SeqDb sequence source constructor.

Parameters
retvalBlastSeqSrc structure (already allocated) to populate [in]
argsPointer to internal CSeqDbSrcNewArgs structure (
See also
CSeqDbSrcNewArgs) [in]
Returns
Updated seq_src structure (with all function pointers initialized

Definition at line 701 of file seqsrc_seqdb.cpp.

References _ASSERT, _BlastSeqSrcImpl_SetInitErrorStr(), eDPF_ErrCodeExplanation, CSeqDB::eNucleotide, CSeqDB::eProtein, CSeqDB::GetAvailableMaskAlgorithms(), CSeqDbSrcNewArgs::GetDbName(), CSeqDbSrcNewArgs::GetDbType(), CSeqDbSrcNewArgs::GetFinalOid(), CSeqDbSrcNewArgs::GetFirstOid(), CSeqDbSrcNewArgs::GetMaskAlgoId(), CSeqDbSrcNewArgs::GetMaskType(), msg(), s_InitNewSeqDbSrc(), CSeqDB::SetIterationRange(), and strdup.

Referenced by SeqDbBlastSeqSrcInit().

◆ s_SeqDbSrcSharedNew()

static BlastSeqSrc* s_SeqDbSrcSharedNew ( BlastSeqSrc retval,
void *  args 
)
static

Populates a BlastSeqSrc, creating a new reference to the already existing SeqDb object.

Parameters
retvalOriginal BlastSeqSrc [in]
argsPointer to a reference to CSeqDB object [in]
Returns
retval

Definition at line 683 of file seqsrc_seqdb.cpp.

References _ASSERT, and s_InitNewSeqDbSrc().

Referenced by SeqDbBlastSeqSrcInit().

◆ s_SeqIntervalToSeqLocInfo()

static void s_SeqIntervalToSeqLocInfo ( CRef< CSeq_interval interval,
const vector< TSeqRange > &  target_ranges,
const CSeqLocInfo::ETranslationFrame  frame,
TMaskedSubjRegions retval 
)
static

◆ s_SeqLoc2MaskedSubjRanges()

static void s_SeqLoc2MaskedSubjRanges ( const CSeq_loc slp,
const CSeq_loc range,
Int4  total_length,
CSeqDB::TSequenceRanges output 
)
static

◆ s_SeqTypeToResidue()

static EBlast4_residue_type s_SeqTypeToResidue ( char  p,
string errors 
)
static

◆ s_SortResultsByEvalue()

void CIgBlast::s_SortResultsByEvalue ( CRef< CSearchResultSet > &  results)
staticprivate

Sort blast results according to evalue.

Definition at line 1935 of file igblast.cpp.

References ITERATE, result, results, s_CompareSeqAlignByEvalue(), and CSeq_align_set_Base::Set().

Referenced by CIgBlast::Run().

◆ s_SplitAlignVectorBySubjects()

static TSeqAlignVector s_SplitAlignVectorBySubjects ( TSeqAlignVector  seqaligns)
static

◆ s_TransposeSeqAlignVector()

static TSeqAlignVector s_TransposeSeqAlignVector ( const TSeqAlignVector alnvec,
const size_t  num_queries,
const size_t  num_subjects 
)
static

Transpose the (linearly organized) seqalign set matrix from (q1 s1 q2 s1 ...

qN s1, ..., q1 sM q2 sM ... qN sM) to (q1 s1 q1 s2 ... q1 sM, ..., qN s1 qN s2 ... qN sM) this method only reorganizes the seqalign sets, does not copy them.

Parameters
alnvecdata structure to reorganize [in]
num_queriesnumber of queries [in]
num_subjectsnumber of subjects [in]
Return values
transposeddata structure

Definition at line 1875 of file blast_seqalign.cpp.

References _ASSERT.

Referenced by s_BlastResults2SeqAlignSequenceCmp_OMF().

◆ s_TSeqLocVectorToBioseqSet()

static CRef<CBioseq_set> s_TSeqLocVectorToBioseqSet ( const TSeqLocVector queries)
static

Produces a BioseqSet from a TSeqLocVector.

Parameters
queriesqueries as a TSeqLocVector
Return values
Crefto BioseqSet

Definition at line 92 of file objmgr_query_data.cpp.

References ITERATE, query, CSeq_entry_Base::SetSeq(), and CBioseq_set_Base::SetSeq_set().

Referenced by CObjMgr_RemoteQueryData::GetBioseqSet().

◆ s_TSeqLocVectorToTSeqLocs()

static IRemoteQueryData::TSeqLocs s_TSeqLocVectorToTSeqLocs ( const TSeqLocVector queries)
static

Produces a vector of SeqLocs from a TSeqLocVector.

Parameters
queriesqueries as a TSeqLocVector
Return values
vectorof SeqLocs.

Definition at line 119 of file objmgr_query_data.cpp.

References ITERATE, and query.

Referenced by CObjMgr_RemoteQueryData::GetSeqLocs().

◆ s_Validate() [1/3]

static void s_Validate ( IPssmInputCdd pssm_input)
static

Performs validation on data provided before invoking the CORE PSSM engine.

Should be called after invoking Process() on its argument

Exceptions
CPssmEngineExceptionif validation fails

Definition at line 153 of file pssm_engine.cpp.

References _ASSERT, Blast_MessageFree(), IPssmInputCdd::GetData(), IPssmInputCdd::GetOptions(), Blast_Message::message, msg(), NCBI_THROW, NULL, PSIBlastOptionsValidate(), and string.

◆ s_Validate() [2/3]

static void s_Validate ( IPssmInputData pssm_input_msa)
static

Performs validation on data provided before invoking the CORE PSSM engine.

Should be called after invoking Process() on its argument

Exceptions
CPssmEngineExceptionif validation fails

Definition at line 131 of file pssm_engine.cpp.

References _ASSERT, Blast_MessageFree(), IPssmInputData::GetData(), IPssmInputData::GetOptions(), Blast_Message::message, msg(), NCBI_THROW, NULL, PSIBlastOptionsValidate(), and string.

Referenced by CPssmEngine::x_CreatePssmFromCDD(), CPssmEngine::x_CreatePssmFromFreqRatios(), and CPssmEngine::x_CreatePssmFromMsa().

◆ s_Validate() [3/3]

static void s_Validate ( IPssmInputFreqRatios pssm_input_fr)
static

Performs validation on data provided before invoking the CORE PSSM engine.

Should be called after invoking Process() on its argument

Exceptions
CPssmEngineExceptionif validation fails

Definition at line 176 of file pssm_engine.cpp.

References _ASSERT, IPssmInputFreqRatios::GetData(), ITERATE, and NCBI_THROW.

◆ s_ValidateExon()

static void s_ValidateExon ( const CSpliced_exon exon,
const CSeq_id product_id,
const CSeq_id genomic_id 
)
static

◆ s_WINDOW_MASKER_PATH()

static string s_WINDOW_MASKER_PATH ( kEmptyStr  )
static

◆ s_WINDOW_MASKER_STAT_FILE_NAME()

static string s_WINDOW_MASKER_STAT_FILE_NAME ( "wmasker.obinary"  )
static

◆ SafeSetupQueries()

BLAST_SequenceBlk * SafeSetupQueries ( IBlastQuerySource queries,
const CBlastOptions options,
BlastQueryInfo query_info,
TSearchMessages messages 
)

Wrapper around SetupQueries.

Parameters
queriesinterface to obtain query data [in]
optionsBLAST algorithm options [in]
query_infoBlastQueryInfo structure [in|out]
messageserror/warning messages are returned here [in|out]

Definition at line 1471 of file blast_setup_cxx.cpp.

References _ASSERT, IBlastQuerySource::Empty(), CBlastOptions::GetProgramType(), CBlastOptions::GetStrandOption(), CBLAST_SequenceBlk::Release(), and SetupQueries_OMF().

Referenced by CObjMgr_LocalQueryData::GetSequenceBlk(), and CObjMgrFree_LocalQueryData::GetSequenceBlk().

◆ SafeSetupQueryInfo()

BlastQueryInfo * SafeSetupQueryInfo ( const IBlastQuerySource queries,
const CBlastOptions options 
)

Wrapper around SetupQueryInfo.

Parameters
queriesinterface to obtain query data [in]
optionsBLAST algorithm options [in]

Definition at line 1488 of file blast_setup_cxx.cpp.

References _ASSERT, IBlastQuerySource::Empty(), CBlastQueryInfo::Get(), CBlastOptions::GetProgramType(), CBlastOptions::GetStrandOption(), NCBI_THROW, NULL, CBlastQueryInfo::Release(), and SetupQueryInfo_OMF().

Referenced by CObjMgr_LocalQueryData::GetQueryInfo(), and CObjMgrFree_LocalQueryData::GetQueryInfo().

◆ SBlast4ParamFinder()

SBlast4ParamFinder::SBlast4ParamFinder ( EBlastOptIdx  opt_idx)
inline

Definition at line 576 of file blast_options_builder.cpp.

◆ SBlastSequence() [1/3]

SBlastSequence::SBlastSequence ( )
inline

Default constructor.

Definition at line 69 of file blast_setup.hpp.

◆ SBlastSequence() [2/3]

SBlastSequence::SBlastSequence ( TSeqPos  buf_len)
inline

Allocates a sequence buffer of the specified length.

Parameters
buf_lennumber of bytes to allocate [in]

Definition at line 75 of file blast_setup.hpp.

References SBlastSequence::data, NStr::IntToString(), and NCBI_THROW.

◆ SBlastSequence() [3/3]

SBlastSequence::SBlastSequence ( Uint1 d,
TSeqPos  l 
)
inline

Parametrized constructor.

Parameters
dbuffer containing sequence data [in]
llength of buffer above [in]

Definition at line 88 of file blast_setup.hpp.

◆ SBlastSetupData()

SBlastSetupData::SBlastSetupData ( CRef< IQueryFactory qf,
CRef< CBlastOptions opts 
)
inline

Definition at line 103 of file blast_aux_priv.hpp.

◆ ScorePositionSort()

ScorePositionSort::ScorePositionSort ( CRef< CScope scope)
inline

Definition at line 428 of file igblast.hpp.

References ScorePositionSort::m_scope.

◆ SDatabaseScanData()

SDatabaseScanData::SDatabaseScanData ( )

Default ctor.

Definition at line 471 of file setup_factory.cpp.

References SDatabaseScanData::kNoPhiBlastPattern, and SDatabaseScanData::m_NumPatOccurInDB.

◆ SeqDbBlastSeqSrcInit() [1/2]

BlastSeqSrc * SeqDbBlastSeqSrcInit ( const string dbname,
bool  is_prot,
Uint4  first_seq = 0,
Uint4  last_seq = 0,
Int4  mask_algo_id = -1,
ESubjectMaskingType  mask_type = eNoSubjMasking 
)

Initialize the sequence source structure.

Parameters
dbnameBLAST database name [in]
is_protIs this a protein or nucleotide database? [in]
first_seqFirst ordinal id in the database to search [in]
last_seqLast ordinal id in the database to search (full database if 0) [in]
mask_algo_idDatabase masking algorithm ID (-1 if not applicable) [in]
mask_typeType of database masking [in]

Definition at line 764 of file seqsrc_seqdb.cpp.

References BlastSeqSrcNew(), BlastSeqSrcNewInfo::constructor, BlastSeqSrcNewInfo::ctor_argument, dbname(), NULL, and s_SeqDbSrcNew().

Referenced by BOOST_AUTO_TEST_CASE(), CSetupFactory::CreateBlastSeqSrc(), and CTracebackSearchTestFixture::x_Traceback().

◆ SeqDbBlastSeqSrcInit() [2/2]

BlastSeqSrc * SeqDbBlastSeqSrcInit ( CSeqDB seqdb,
Int4  mask_algo_id = -1,
ESubjectMaskingType  mask_type = eNoSubjMasking 
)

Initialize the sequence source structure using an existing SeqDB object.

Parameters
seqdbCSeqDB object [in]
mask_algo_idDatabase masking algorithm ID (-1 if not applicable) [in]
mask_typeType of database masking [in]

Definition at line 780 of file seqsrc_seqdb.cpp.

References BlastSeqSrcNew(), BlastSeqSrcNewInfo::constructor, BlastSeqSrcNewInfo::ctor_argument, data, NULL, and s_SeqDbSrcSharedNew().

◆ SetAvgLength() [1/2]

void CMultiSeqInfo::SetAvgLength ( Uint4  val)
inline

Sets average length.

Definition at line 97 of file seqsrc_multiseq.cpp.

References CMultiSeqInfo::m_iAvgLength.

◆ SetAvgLength() [2/2]

void CQueryFactoryInfo::SetAvgLength ( Uint4  val)
inline

Sets average length.

Definition at line 180 of file seqsrc_query_factory.cpp.

References CQueryFactoryInfo::m_AvgLength.

◆ SetBatchNumber()

void CLocalBlast::SetBatchNumber ( int  batch_num)
inline

◆ SetBestHitOverhang() [1/2]

void CBlastOptions::SetBestHitOverhang ( double  overhang)

◆ SetBestHitOverhang() [2/2]

void CBlastOptionsLocal::SetBestHitOverhang ( double  s)
inline

◆ SetBestHitScoreEdge() [1/2]

void CBlastOptions::SetBestHitScoreEdge ( double  score_edge)

◆ SetBestHitScoreEdge() [2/2]

void CBlastOptionsLocal::SetBestHitScoreEdge ( double  score_edge)
inline

◆ SetCandidateSeqs()

void CBlastpKmerOptionsHandle::SetCandidateSeqs ( int  candidates = 1000)
inline

Sets the max number of candidate matches to process with BLAST @candidates max number of target sequences to process with BLAST [in].

Definition at line 87 of file blastp_kmer_options.hpp.

Referenced by CBlastKmerThread::Main(), and CBlastKmerApplication::Run().

◆ SetChaining() [1/3]

void CBlastOptions::SetChaining ( bool  ch)

◆ SetChaining() [2/3]

void CBlastProteinOptionsHandle::SetChaining ( bool  ch)
inline

Enables/disables chaining.

Parameters
chChaining enabled, if ch is true [in]

Definition at line 134 of file blast_prot_options.hpp.

Referenced by CBlastOptionsFactory::CreateTask().

◆ SetChaining() [3/3]

void CBlastOptionsLocal::SetChaining ( bool  ch)
inline

◆ SetChunkBounds()

void CSplitQueryBlk::SetChunkBounds ( size_t  chunk_num,
const TChunkRange chunk_range 
)

Set the boundaries of a chunk in the concatenated query.

Parameters
chunk_numdesired chunk [in]
chunk_rangerange in the concatenated query for this chunk [in]

Definition at line 150 of file split_query_blk.cpp.

References COpenRange< Position >::GetFrom(), COpenRange< Position >::GetToOpen(), CSplitQueryBlk::m_SplitQueryBlk, and SplitQueryBlk_SetChunkBounds().

Referenced by CQuerySplitter::x_ComputeChunkRanges().

◆ SetChunkOverlapSize()

void CSplitQueryBlk::SetChunkOverlapSize ( size_t  size)

Sets the size (# of bases/residues) of overlap between query chunks.

Parameters
sizevalue to set [in]

Definition at line 200 of file split_query_blk.cpp.

References CSplitQueryBlk::m_SplitQueryBlk, ncbi::grid::netcache::search::fields::size, and SplitQueryBlk_SetChunkOverlapSize().

Referenced by CQuerySplitter::x_ComputeChunkRanges().

◆ SetClientId()

void CRemoteBlast::SetClientId ( const string client_id)
inline

Sets the client ID used by this object to send requests.

Definition at line 463 of file remote_blast.hpp.

References CRemoteBlast::m_ClientId.

Referenced by BOOST_AUTO_TEST_CASE(), and InitializeRemoteBlast().

◆ SetCoding() [1/3]

virtual void CBlastSeqVectorOM::SetCoding ( CSeq_data::E_Choice  coding)
inlinevirtual

@inheritDoc

Definition at line 494 of file blast_objmgr_tools.cpp.

References CBlastSeqVectorOM::m_SeqVector, and CSeqVector::SetCoding().

◆ SetCoding() [2/3]

void CBlastSeqVectorFromCSeq_data::SetCoding ( objects::CSeq_data::E_Choice  c)
virtual

◆ SetCoding() [3/3]

virtual void IBlastSeqVector::SetCoding ( objects::CSeq_data::E_Choice  coding)
pure virtual

Sets the encoding for the sequence data.

Two encodings are really necessary: ncbistdaa and ncbi4na, both use 1 byte per residue/base

Implemented in CBlastSeqVectorFromCSeq_data.

Referenced by GetSequenceCompressedNucleotide(), GetSequenceProtein(), and GetSequenceSingleNucleotideStrand().

◆ SetComplexityAdjMode() [1/3]

void CBlastOptions::SetComplexityAdjMode ( bool  m = true)

◆ SetComplexityAdjMode() [2/3]

void CBlastOptionsHandle::SetComplexityAdjMode ( bool  m = true)
inline

◆ SetComplexityAdjMode() [3/3]

void CBlastOptionsLocal::SetComplexityAdjMode ( bool  m = true)
inline

◆ SetCompositionBasedStats() [1/5]

void CBlastRPSOptionsHandle::SetCompositionBasedStats ( bool  mode)
inline

Set composition based statistics mode.

Parameters
modeComposition based statistics mode

Definition at line 110 of file blast_rps_options.hpp.

References eCompositionBasedStats, and eNoCompositionBasedStats.

Referenced by BOOST_AUTO_TEST_CASE(), RpsTestFixture::NuclSearch(), and CBlastRPSOptionsHandle::SetGappedExtensionDefaults().

◆ SetCompositionBasedStats() [2/5]

void CBlastAdvancedProteinOptionsHandle::SetCompositionBasedStats ( ECompoAdjustModes  mode)
inline

Sets this mode, which mostly specifies whether composition of db sequence is taken into account when calculating expect values.

Parameters
modecomposition-based statistics mode [in]

Definition at line 77 of file blast_advprot_options.hpp.

Referenced by CdBlaster::blast(), BOOST_FIXTURE_TEST_CASE(), CSimpleB2SWrapper::InitializeToDefaults(), CdBlaster::psiBlast(), and CSimpleB2SWrapper::SetCompoAdjustMode().

◆ SetCompositionBasedStats() [3/5]

void CBlastOptions::SetCompositionBasedStats ( ECompoAdjustModes  mode)

◆ SetCompositionBasedStats() [4/5]

void CBlastxOptionsHandle::SetCompositionBasedStats ( ECompoAdjustModes  mode)
inline

Sets this mode, which mostly specifies whether composition of db sequence is taken into account when calculating expect values.

Parameters
modecomposition-based statistics mode [in]

Definition at line 111 of file blastx_options.hpp.

◆ SetCompositionBasedStats() [5/5]

void CBlastOptionsLocal::SetCompositionBasedStats ( ECompoAdjustModes  mode)
inline

◆ SetCullingLimit() [1/3]

void CBlastOptions::SetCullingLimit ( int  s)

◆ SetCullingLimit() [2/3]

void CBlastOptionsHandle::SetCullingLimit ( int  s)
inline

Sets Culling limit.

Parameters
sCullingLimit [in]

Definition at line 285 of file blast_options_handle.hpp.

References CBlastOptionsHandle::m_Opts, and CBlastOptions::SetCullingLimit().

Referenced by BOOST_FIXTURE_TEST_CASE().

◆ SetCullingLimit() [3/3]

void CBlastOptionsLocal::SetCullingLimit ( int  s)
inline

◆ SetCutoffScore() [1/4]

void CBlastOptions::SetCutoffScore ( int  s)

◆ SetCutoffScore() [2/4]

void CBlastOptionsHandle::SetCutoffScore ( int  s)
inline

◆ SetCutoffScore() [3/4]

void CMagicBlastOptionsHandle::SetCutoffScore ( int  s)
inline

Set a single alignment cutoff score.

Parameters
scutoff score [in]

Definition at line 178 of file magicblast_options.hpp.

Referenced by CMagicBlastOptionsHandle::SetHitSavingOptionsDefaults().

◆ SetCutoffScore() [4/4]

void CBlastOptionsLocal::SetCutoffScore ( int  s)
inline

◆ SetCutoffScoreCoeffs() [1/3]

void CBlastOptions::SetCutoffScoreCoeffs ( const vector< double > &  c)

◆ SetCutoffScoreCoeffs() [2/3]

void CMagicBlastOptionsHandle::SetCutoffScoreCoeffs ( const vector< double > &  c)
inline

Set coefficients for alignment cutoff score as a linear function of query length: x[0] + x[1] * length.

Parameters
cfunction coefficients [in]

Definition at line 188 of file magicblast_options.hpp.

Referenced by CMagicBlastOptionsHandle::SetHitSavingOptionsDefaults().

◆ SetCutoffScoreCoeffs() [3/3]

void CBlastOptionsLocal::SetCutoffScoreCoeffs ( const vector< double > &  c)
inline

◆ SetDatabase()

void CRemoteBlast::SetDatabase ( const string x)

◆ SetDatabaseName()

void CSearchDatabase::SetDatabaseName ( const string dbname)

Mutator for the database name.

Parameters
dbnamedatabase name [in]

Definition at line 64 of file uniform_search.cpp.

References dbname(), and CSearchDatabase::m_DbName.

◆ SetDbFilteringAlgorithmId()

void CRemoteBlast::SetDbFilteringAlgorithmId ( int  algo_id,
ESubjectMaskingType  mask_type = eSoftSubjMasking 
)

Sets the filtering algorithm ID to be applied to the BLAST database (not supported by server yet)

Parameters
algo_idalgorithm ID to use (ignored if -1)

Definition at line 1482 of file remote_blast.cpp.

References eBlastOpt_DbFilteringAlgorithmId, eBlastOpt_SubjectMaskingType, CBlast4Field::Get(), int, CRemoteBlast::m_DbFilteringAlgorithmId, CRemoteBlast::m_SubjectMaskingType, mask, and CRemoteBlast::x_SetOneParam().

Referenced by CRemoteBlast::x_Init().

◆ SetDbFilteringAlgorithmKey()

void CRemoteBlast::SetDbFilteringAlgorithmKey ( string  algo_key,
ESubjectMaskingType  mask_type = eSoftSubjMasking 
)

Sets the filtering algorithm key to be applied to the BLAST database (not supported by server yet)

Parameters
algo_idalgorithm ID to use (ignored if -1)

Definition at line 1494 of file remote_blast.cpp.

References eBlastOpt_DbFilteringAlgorithmKey, eBlastOpt_SubjectMaskingType, CBlast4Field::Get(), int, kEmptyStr, ncbi::grid::netcache::search::fields::key, CRemoteBlast::m_DbFilteringAlgorithmKey, CRemoteBlast::m_SubjectMaskingType, mask, and CRemoteBlast::x_SetOneParam().

Referenced by CRemoteBlast::x_Init().

◆ SetDbGeneticCode() [1/5]

void CBlastOptions::SetDbGeneticCode ( int  gc)

◆ SetDbGeneticCode() [2/5]

void CRPSTBlastnOptionsHandle::SetDbGeneticCode ( int  gc)
inline

Sets DbGeneticCode.

Parameters
gcDbGeneticCode [in]

Definition at line 68 of file rpstblastn_options.hpp.

◆ SetDbGeneticCode() [3/5]

void CTBlastnOptionsHandle::SetDbGeneticCode ( int  gc)
inline

Sets DbGeneticCode.

Parameters
gcDbGeneticCode [in]

Definition at line 89 of file tblastn_options.hpp.

Referenced by CTBlastnOptionsHandle::SetSubjectSequenceOptionsDefaults().

◆ SetDbGeneticCode() [4/5]

void CTBlastxOptionsHandle::SetDbGeneticCode ( int  gc)
inline

Sets DbGeneticCode.

Parameters
gcDbGeneticCode [in]

Definition at line 82 of file tblastx_options.hpp.

◆ SetDbGeneticCode() [5/5]

void CBlastOptionsLocal::SetDbGeneticCode ( int  gc)

◆ SetDbLength() [1/3]

void CBlastOptions::SetDbLength ( Int8  l)

◆ SetDbLength() [2/3]

void CBlastOptionsLocal::SetDbLength ( Int8  l)
inline

◆ SetDbLength() [3/3]

void CBlastOptionsHandle::SetDbLength ( Int8  len)
inline

◆ SetDBScanInfo()

void CBlastTracebackSearch::SetDBScanInfo ( CRef< SDatabaseScanData dbscan_info)

Sets the m_DBscanInfo field.

Definition at line 120 of file traceback_stage.cpp.

References CBlastTracebackSearch::m_DBscanInfo.

Referenced by CBlastTracebackSearch::CBlastTracebackSearch().

◆ SetDbSeqNum() [1/3]

void CBlastOptions::SetDbSeqNum ( unsigned int  n)

◆ SetDbSeqNum() [2/3]

void CBlastOptionsLocal::SetDbSeqNum ( unsigned int  n)
inline

◆ SetDbSeqNum() [3/3]

void CBlastOptionsHandle::SetDbSeqNum ( unsigned int  num)
inline

◆ SetDefaults() [1/3]

void CBlastNucleotideOptionsHandle::SetDefaults ( )
virtual

◆ SetDefaults() [2/3]

void CBlastOptionsHandle::SetDefaults ( )
virtual

◆ SetDefaults() [3/3]

void CMagicBlastOptionsHandle::SetDefaults ( )
virtual

◆ SetDefaultsMode() [1/2]

void CBlastOptions::SetDefaultsMode ( bool  dmode)

◆ SetDefaultsMode() [2/2]

void CBlastOptionsRemote::SetDefaultsMode ( bool  dmode)
inline

◆ SetDeltaBlastDefaults()

void CDeltaBlastOptionsHandle::SetDeltaBlastDefaults ( void  )
protected

◆ SetDomainInclusionThreshold() [1/3]

void CBlastOptionsLocal::SetDomainInclusionThreshold ( double  incthr)
inline

◆ SetDomainInclusionThreshold() [2/3]

void CBlastOptions::SetDomainInclusionThreshold ( double  th)

◆ SetDomainInclusionThreshold() [3/3]

void CDeltaBlastOptionsHandle::SetDomainInclusionThreshold ( double  th)
inline

Set e-value threshold for including domains in Pssm calculation.

Parameters
thE-value cutoff for domains [in]

Definition at line 70 of file deltablast_options.hpp.

References th.

◆ SetDustFiltering() [1/3]

void CBlastNucleotideOptionsHandle::SetDustFiltering ( bool  val)
inline

Enable dust filtering.

Parameters
valenable dust filtering [in]

Definition at line 106 of file blast_nucl_options.hpp.

References val.

Referenced by BOOST_AUTO_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), s_CreateRepeatsSearchOptions(), and CBlastNucleotideOptionsHandle::SetQueryOptionDefaults().

◆ SetDustFiltering() [2/3]

void CBlastOptions::SetDustFiltering ( bool  val = true)

◆ SetDustFiltering() [3/3]

void CBlastOptionsLocal::SetDustFiltering ( bool  val = true)
inline

◆ SetDustFilteringLevel() [1/3]

void CBlastNucleotideOptionsHandle::SetDustFilteringLevel ( int  level)
inline

Set level parameter for dust.

Acceptable values: 2 < level < 64

Parameters
leveldust filtering parameter level [in]

Definition at line 112 of file blast_nucl_options.hpp.

Referenced by BOOST_FIXTURE_TEST_CASE().

◆ SetDustFilteringLevel() [2/3]

void CBlastOptions::SetDustFilteringLevel ( int  m)

◆ SetDustFilteringLevel() [3/3]

void CBlastOptionsLocal::SetDustFilteringLevel ( int  m)
inline

◆ SetDustFilteringLinker() [1/3]

void CBlastNucleotideOptionsHandle::SetDustFilteringLinker ( int  linker)
inline

Set linker parameter for dust.

Acceptable values: 1 < linker < 32

Parameters
linkerdust filtering parameter linker [in]

Definition at line 124 of file blast_nucl_options.hpp.

Referenced by BOOST_FIXTURE_TEST_CASE().

◆ SetDustFilteringLinker() [2/3]

void CBlastOptions::SetDustFilteringLinker ( int  m)

◆ SetDustFilteringLinker() [3/3]

void CBlastOptionsLocal::SetDustFilteringLinker ( int  m)
inline

◆ SetDustFilteringWindow() [1/3]

void CBlastOptions::SetDustFilteringWindow ( int  m)

◆ SetDustFilteringWindow() [2/3]

void CBlastOptionsLocal::SetDustFilteringWindow ( int  m)
inline

◆ SetDustFilteringWindow() [3/3]

void CBlastNucleotideOptionsHandle::SetDustFilteringWindow ( int  window)
inline

Set window parameter for dust.

Acceptable values: 8 < windowsize < 64

Parameters
windowdust filtering parameter window [in]

Definition at line 118 of file blast_nucl_options.hpp.

Referenced by BOOST_FIXTURE_TEST_CASE().

◆ SetEffectiveLengthsOptionsDefaults() [1/5]

void CBlastNucleotideOptionsHandle::SetEffectiveLengthsOptionsDefaults ( )
protectedvirtual

◆ SetEffectiveLengthsOptionsDefaults() [2/5]

void CBlastProteinOptionsHandle::SetEffectiveLengthsOptionsDefaults ( )
protectedvirtual

Overrides EffectiveLengthsOptionsDefaults for protein options.

Implements CBlastOptionsHandle.

Definition at line 151 of file blast_prot_options.cpp.

References CBlastOptionsHandle::SetDbLength(), CBlastOptionsHandle::SetDbSeqNum(), and CBlastOptionsHandle::SetEffectiveSearchSpace().

◆ SetEffectiveLengthsOptionsDefaults() [3/5]

void CBlastRPSOptionsHandle::SetEffectiveLengthsOptionsDefaults ( )
protectedvirtual

Overrides EffectiveLengthsOptionsDefaults for RPS-BLAST options.

Implements CBlastOptionsHandle.

Definition at line 125 of file blast_rps_options.cpp.

References CBlastOptionsHandle::SetDbLength(), CBlastOptionsHandle::SetDbSeqNum(), and CBlastOptionsHandle::SetEffectiveSearchSpace().

◆ SetEffectiveLengthsOptionsDefaults() [4/5]

void CMagicBlastOptionsHandle::SetEffectiveLengthsOptionsDefaults ( )
protectedvirtual

◆ SetEffectiveLengthsOptionsDefaults() [5/5]

virtual void CBlastOptionsHandle::SetEffectiveLengthsOptionsDefaults ( )
protectedpure virtual

◆ SetEffectiveSearchSpace() [1/5]

void CBlastOptions::SetEffectiveSearchSpace ( const vector< Int8 > &  eff)

◆ SetEffectiveSearchSpace() [2/5]

void CBlastOptionsLocal::SetEffectiveSearchSpace ( const vector< Int8 > &  eff)
inline

◆ SetEffectiveSearchSpace() [3/5]

void CBlastOptions::SetEffectiveSearchSpace ( Int8  eff)

◆ SetEffectiveSearchSpace() [4/5]

void CBlastOptionsHandle::SetEffectiveSearchSpace ( Int8  eff)
inline

◆ SetEffectiveSearchSpace() [5/5]

void CBlastOptionsLocal::SetEffectiveSearchSpace ( Int8  eff)
inline

◆ SetEntrezQuery()

void CRemoteBlast::SetEntrezQuery ( const char *  x)

◆ SetEntrezQueryLimitation()

void CSearchDatabase::SetEntrezQueryLimitation ( const string entrez_query)

Mutator for the entrez query.

Parameters
entrez_queryentrez query string [in]

Definition at line 88 of file uniform_search.cpp.

References CSearchDatabase::m_EntrezQueryLimitation.

Referenced by CBlastDatabaseArgs::ExtractAlgorithmOptions(), and s_ImportDatabase().

◆ SetEvalueThreshold() [1/3]

void CBlastOptions::SetEvalueThreshold ( double  eval)

◆ SetEvalueThreshold() [2/3]

void CBlastOptionsHandle::SetEvalueThreshold ( double  eval)
inline

◆ SetEvalueThreshold() [3/3]

void CBlastOptionsLocal::SetEvalueThreshold ( double  eval)
inline

◆ SetFilteredQueryRegions()

void CSearchResultSet::SetFilteredQueryRegions ( const TSeqLocInfoVector masks)

Sets the filtered query regions.

If results are of type eSequenceComparison, the masks can be one for each query and they will be duplicated as necessary to meet this class' pre-conditions.

Definition at line 523 of file blast_results.cpp.

References _ASSERT, copy(), eSequenceComparison, i, CSearchResultSet::m_IsPhiBlast, CSearchResultSet::m_QueryMasks, CSearchResultSet::m_Results, and CSearchResultSet::m_ResultType.

Referenced by CLocalBlast::Run(), and CSearchResultSet::x_Init().

◆ SetFilteringAlgorithm() [1/3]

void CSearchDatabase::SetFilteringAlgorithm ( const string filt_algorithm,
ESubjectMaskingType  mask_type 
)

Mutator for the filtering algorithm.

Parameters
filt_algorithmfiltering algorithm string [in]
mask_typetype of mask [in]

Definition at line 156 of file uniform_search.cpp.

References eNoSubjMasking, CSearchDatabase::m_FilteringAlgorithmId, CSearchDatabase::m_FilteringAlgorithmString, CSearchDatabase::m_MaskType, CSearchDatabase::m_NeedsFilteringTranslation, s_IsNumericId(), NStr::StringToInt(), and CSearchDatabase::x_ValidateMaskingAlgorithm().

◆ SetFilteringAlgorithm() [2/3]

void CSearchDatabase::SetFilteringAlgorithm ( int  filt_algorithm_id)

Temporary fix for backwards compatibility with other 6.0 SCs.

Definition at line 175 of file uniform_search.cpp.

References eSoftSubjMasking.

Referenced by BOOST_AUTO_TEST_CASE(), CBlastFormat::CBlastFormat(), CBlastDbSet::CreateLocalDbAdapter(), CBlastDatabaseArgs::ExtractAlgorithmOptions(), and s_ImportDatabase().

◆ SetFilteringAlgorithm() [3/3]

void CSearchDatabase::SetFilteringAlgorithm ( int  filt_algorithm_id,
ESubjectMaskingType  mask_type 
)

Mutator for the filtering algorithm.

Parameters
filt_algorithm_idfiltering algorithm ID [in]
mask_typetype of mask [in]

Definition at line 181 of file uniform_search.cpp.

References eNoSubjMasking, CSearchDatabase::m_FilteringAlgorithmId, CSearchDatabase::m_FilteringAlgorithmString, CSearchDatabase::m_MaskType, CSearchDatabase::m_NeedsFilteringTranslation, and CSearchDatabase::x_ValidateMaskingAlgorithm().

◆ SetFilteringAlgorithmId()

void CSeqDbSeqInfoSrc::SetFilteringAlgorithmId ( int  algo_id)

Sets the filtering algorithm ID used in the search.

Parameters
algo_idfiltering algorithm ID [in]

Definition at line 92 of file seqinfosrc_seqdb.cpp.

References CSeqDbSeqInfoSrc::m_FilteringAlgoId.

Referenced by CSeqDbSeqInfoSrc::CSeqDbSeqInfoSrc().

◆ SetFilterString() [1/3]

void CBlastOptionsLocal::SetFilterString ( const char *  f)
inline

◆ SetFilterString() [2/3]

void CBlastOptions::SetFilterString ( const char *  f,
bool  clear = true 
)

◆ SetFilterString() [3/3]

void CBlastOptionsHandle::SetFilterString ( const char *  f,
bool  clear = true 
)

◆ SetFrameShiftPenalty() [1/4]

void CBlastOptions::SetFrameShiftPenalty ( int  p)

◆ SetFrameShiftPenalty() [2/4]

void CBlastxOptionsHandle::SetFrameShiftPenalty ( int  p)
inline

Sets FrameShiftPenalty.

Parameters
pFrameShiftPenalty [in]

Definition at line 91 of file blastx_options.hpp.

◆ SetFrameShiftPenalty() [3/4]

void CTBlastnOptionsHandle::SetFrameShiftPenalty ( int  p)
inline

Sets FrameShiftPenalty.

Parameters
pFrameShiftPenalty [in]

Definition at line 74 of file tblastn_options.hpp.

◆ SetFrameShiftPenalty() [4/4]

void CBlastOptionsLocal::SetFrameShiftPenalty ( int  p)
inline

◆ SetGapExtensionCost() [1/5]

void CBlastNucleotideOptionsHandle::SetGapExtensionCost ( int  e)
inline

◆ SetGapExtensionCost() [2/5]

void CBlastOptions::SetGapExtensionCost ( int  e)

◆ SetGapExtensionCost() [3/5]

void CBlastProteinOptionsHandle::SetGapExtensionCost ( int  e)
inline

Sets GapExtensionCost.

Parameters
eGapExtensionCost [in]

Definition at line 127 of file blast_prot_options.hpp.

Referenced by BOOST_FIXTURE_TEST_CASE(), CBlastOptionsFactory::CreateTask(), and CBlastProteinOptionsHandle::SetScoringOptionsDefaults().

◆ SetGapExtensionCost() [4/5]

void CBlastOptionsLocal::SetGapExtensionCost ( int  e)
inline

◆ SetGapExtensionCost() [5/5]

void CMagicBlastOptionsHandle::SetGapExtensionCost ( int  g)
inline

Sets gap extension cost.

Parameters
ggap extension cost [in]

Definition at line 171 of file magicblast_options.hpp.

References g().

Referenced by CMagicBlastOptionsHandle::SetGenomeToGenomeDefaults(), CMagicBlastOptionsHandle::SetRNAToRNADefaults(), and CMagicBlastOptionsHandle::SetScoringOptionsDefaults().

◆ SetGapExtnAlgorithm() [1/3]

void CBlastOptions::SetGapExtnAlgorithm ( EBlastPrelimGapExt  a)

◆ SetGapExtnAlgorithm() [2/3]

void CBlastOptionsLocal::SetGapExtnAlgorithm ( EBlastPrelimGapExt  a)
inline

◆ SetGapExtnAlgorithm() [3/3]

void CBlastNucleotideOptionsHandle::SetGapExtnAlgorithm ( EBlastPrelimGapExt  algo)
inline

◆ SetGapOpeningCost() [1/5]

void CBlastNucleotideOptionsHandle::SetGapOpeningCost ( int  g)
inline

◆ SetGapOpeningCost() [2/5]

void CBlastOptions::SetGapOpeningCost ( int  g)

◆ SetGapOpeningCost() [3/5]

void CBlastProteinOptionsHandle::SetGapOpeningCost ( int  g)
inline

Sets GapOpeningCost.

Parameters
gGapOpeningCost [in]

Definition at line 121 of file blast_prot_options.hpp.

References g().

Referenced by BOOST_FIXTURE_TEST_CASE(), CBlastOptionsFactory::CreateTask(), and CBlastProteinOptionsHandle::SetScoringOptionsDefaults().

◆ SetGapOpeningCost() [4/5]

void CMagicBlastOptionsHandle::SetGapOpeningCost ( int  g)
inline

Set gap opening cost.

Parameters
ggap opening cost [in]

Definition at line 164 of file magicblast_options.hpp.

References g().

Referenced by CMagicBlastOptionsHandle::SetScoringOptionsDefaults().

◆ SetGapOpeningCost() [5/5]

void CBlastOptionsLocal::SetGapOpeningCost ( int  g)
inline

◆ SetGappedExtensionDefaults() [1/11]

void CBlastAdvancedProteinOptionsHandle::SetGappedExtensionDefaults ( void  )
protectedvirtual

◆ SetGappedExtensionDefaults() [2/11]

void CBlastNucleotideOptionsHandle::SetGappedExtensionDefaults ( void  )
protectedvirtual

◆ SetGappedExtensionDefaults() [3/11]

void CBlastProteinOptionsHandle::SetGappedExtensionDefaults ( void  )
protectedvirtual

◆ SetGappedExtensionDefaults() [4/11]

void CBlastRPSOptionsHandle::SetGappedExtensionDefaults ( void  )
protectedvirtual

◆ SetGappedExtensionDefaults() [5/11]

void CBlastxOptionsHandle::SetGappedExtensionDefaults ( void  )
protectedvirtual

◆ SetGappedExtensionDefaults() [6/11]

void CDeltaBlastOptionsHandle::SetGappedExtensionDefaults ( void  )
protectedvirtual

Override the parent class' defaults for gapped extension (i.e.

: composition based statistics 1)

Reimplemented from CBlastAdvancedProteinOptionsHandle.

Definition at line 69 of file deltablast_options.cpp.

References eCompositionBasedStats, CBlastOptionsHandle::m_Opts, CBlastOptions::SetCompositionBasedStats(), and CBlastAdvancedProteinOptionsHandle::SetGappedExtensionDefaults().

◆ SetGappedExtensionDefaults() [7/11]

void CMagicBlastOptionsHandle::SetGappedExtensionDefaults ( void  )
protectedvirtual

◆ SetGappedExtensionDefaults() [8/11]

void CRPSTBlastnOptionsHandle::SetGappedExtensionDefaults ( void  )
protectedvirtual

Overrides SetGappedExtensionDefaults for RPS-TBLASTN options.

Reimplemented from CBlastRPSOptionsHandle.

Definition at line 54 of file rpstblastn_options.cpp.

References CBlastRPSOptionsHandle::SetGappedExtensionDefaults().

◆ SetGappedExtensionDefaults() [9/11]

void CTBlastnOptionsHandle::SetGappedExtensionDefaults ( void  )
protectedvirtual

◆ SetGappedExtensionDefaults() [10/11]

void CTBlastxOptionsHandle::SetGappedExtensionDefaults ( void  )
protectedvirtual

◆ SetGappedExtensionDefaults() [11/11]

virtual void CBlastOptionsHandle::SetGappedExtensionDefaults ( )
protectedpure virtual

◆ SetGappedMode() [1/3]

void CBlastOptions::SetGappedMode ( bool  m = true)

◆ SetGappedMode() [2/3]

void CBlastOptionsHandle::SetGappedMode ( bool  m = true)
inline

◆ SetGappedMode() [3/3]

void CBlastOptionsLocal::SetGappedMode ( bool  m = true)
inline

◆ SetGapTracebackAlgorithm() [1/3]

void CBlastOptions::SetGapTracebackAlgorithm ( EBlastTbackExt  a)

◆ SetGapTracebackAlgorithm() [2/3]

void CBlastOptionsLocal::SetGapTracebackAlgorithm ( EBlastTbackExt  a)
inline

◆ SetGapTracebackAlgorithm() [3/3]

void CBlastNucleotideOptionsHandle::SetGapTracebackAlgorithm ( EBlastTbackExt  algo)
inline

◆ SetGapTrigger() [1/3]

void CBlastOptions::SetGapTrigger ( double  g)

◆ SetGapTrigger() [2/3]

void CBlastOptionsHandle::SetGapTrigger ( double  g)
inline

◆ SetGapTrigger() [3/3]

void CBlastOptionsLocal::SetGapTrigger ( double  g)
inline

◆ SetGapXDropoff() [1/4]

void CBlastOptions::SetGapXDropoff ( double  x)

◆ SetGapXDropoff() [2/4]

void CBlastOptionsHandle::SetGapXDropoff ( double  x)
inline

◆ SetGapXDropoff() [3/4]

void CBlastOptionsLocal::SetGapXDropoff ( double  x)
inline

◆ SetGapXDropoff() [4/4]

void CMagicBlastOptionsHandle::SetGapXDropoff ( int  d)
inline

Set x-dropoff parameter for gapped alignment.

Parameters
dx-dropoff value [in]

Definition at line 148 of file magicblast_options.hpp.

Referenced by CMagicBlastOptionsHandle::SetGappedExtensionDefaults().

◆ SetGapXDropoffFinal() [1/3]

void CBlastOptions::SetGapXDropoffFinal ( double  x)

◆ SetGapXDropoffFinal() [2/3]

void CBlastOptionsHandle::SetGapXDropoffFinal ( double  x)
inline

◆ SetGapXDropoffFinal() [3/3]

void CBlastOptionsLocal::SetGapXDropoffFinal ( double  x)
inline

◆ SetGenomeToGenomeDefaults()

void CMagicBlastOptionsHandle::SetGenomeToGenomeDefaults ( )
virtual

◆ SetGIList()

void CRemoteBlast::SetGIList ( const list< TGi > &  gi_list)

This restricts the subject database to this list of GIs (this is not supported yet on the server end).

Parameters
gi_listlist of GIs to restrict the search to [in]

Definition at line 1460 of file remote_blast.cpp.

References copy(), eBlastOpt_GiList, CBlast4Field::Get(), GI_TO, ITERATE, CRemoteBlast::m_GiList, NCBI_THROW, and CRemoteBlast::x_SetOneParam().

Referenced by CRemoteBlast::x_Init(), CRemoteSeqSearch::x_RemoteBlast(), and CRemotePssmSearch::x_RemoteBlast().

◆ SetGiList()

void CSearchDatabase::SetGiList ( CSeqDBGiList gilist)

◆ SetHitlistSize() [1/3]

void CBlastOptions::SetHitlistSize ( int  s)

◆ SetHitlistSize() [2/3]

void CBlastOptionsHandle::SetHitlistSize ( int  s)
inline

◆ SetHitlistSize() [3/3]

void CBlastOptionsLocal::SetHitlistSize ( int  s)
inline

◆ SetHitSavingOptionsDefaults() [1/8]

void CBlastNucleotideOptionsHandle::SetHitSavingOptionsDefaults ( )
protectedvirtual

◆ SetHitSavingOptionsDefaults() [2/8]

void CBlastProteinOptionsHandle::SetHitSavingOptionsDefaults ( )
protectedvirtual

◆ SetHitSavingOptionsDefaults() [3/8]

void CBlastRPSOptionsHandle::SetHitSavingOptionsDefaults ( )
protectedvirtual

◆ SetHitSavingOptionsDefaults() [4/8]

void CBlastxOptionsHandle::SetHitSavingOptionsDefaults ( )
protectedvirtual

Overrides HitSavingOptionsDefaults for blastx options.

Reimplemented from CBlastProteinOptionsHandle.

Definition at line 86 of file blastx_options.cpp.

References CBlastOptionsHandle::m_Opts, CBlastProteinOptionsHandle::SetHitSavingOptionsDefaults(), and CBlastOptions::SetSumStatisticsMode().

◆ SetHitSavingOptionsDefaults() [5/8]

void CMagicBlastOptionsHandle::SetHitSavingOptionsDefaults ( )
protectedvirtual

◆ SetHitSavingOptionsDefaults() [6/8]

void CTBlastnOptionsHandle::SetHitSavingOptionsDefaults ( )
protectedvirtual

Sets HitSavingOptionsDefaults for tblastn options.

Reimplemented from CBlastProteinOptionsHandle.

Definition at line 67 of file tblastn_options.cpp.

References CBlastOptionsHandle::m_Opts, CBlastProteinOptionsHandle::SetHitSavingOptionsDefaults(), and CBlastOptions::SetSumStatisticsMode().

◆ SetHitSavingOptionsDefaults() [7/8]

void CTBlastxOptionsHandle::SetHitSavingOptionsDefaults ( )
protectedvirtual

Overrides HitSavingOptionsDefaults for tblastx options.

Reimplemented from CBlastProteinOptionsHandle.

Definition at line 77 of file tblastx_options.cpp.

References CBlastOptionsHandle::m_Opts, CBlastProteinOptionsHandle::SetHitSavingOptionsDefaults(), and CBlastOptions::SetSumStatisticsMode().

◆ SetHitSavingOptionsDefaults() [8/8]

virtual void CBlastOptionsHandle::SetHitSavingOptionsDefaults ( )
protectedpure virtual

◆ SetIgAnnotation()

CRef<CIgAnnotation>& CIgBlastResults::SetIgAnnotation ( )
inline

Definition at line 210 of file igblast.hpp.

References CIgBlastResults::m_Annotation.

Referenced by CIgBlast::x_SetAnnotation().

◆ SetIgnoreMsaMaster() [1/2]

void CBlastOptions::SetIgnoreMsaMaster ( bool  val)

◆ SetIgnoreMsaMaster() [2/2]

void CBlastOptionsLocal::SetIgnoreMsaMaster ( bool  val)
inline

◆ SetIgnoreUnsupportedOptions()

void CBlastOptionsBuilder::SetIgnoreUnsupportedOptions ( bool  ignore)

Set the 'ignore unsupported options' flag.

Parameters
ignoreTrue if the unsupported options should be ignored [in]

Definition at line 789 of file blast_options_builder.cpp.

References CBlastOptionsBuilder::m_IgnoreUnsupportedOptions.

◆ SetInclusionThreshold() [1/3]

void CPSIBlastOptionsHandle::SetInclusionThreshold ( double  incthr)
inline

Sets InclusionThreshold.

Parameters
incthrInclusionThreshold [in]

Definition at line 69 of file psiblast_options.hpp.

Referenced by BOOST_FIXTURE_TEST_CASE().

◆ SetInclusionThreshold() [2/3]

void CBlastOptionsLocal::SetInclusionThreshold ( double  incthr)
inline

◆ SetInclusionThreshold() [3/3]

void CBlastOptions::SetInclusionThreshold ( double  u)

◆ SetInitialWordOptionsDefaults() [1/5]

void CBlastNucleotideOptionsHandle::SetInitialWordOptionsDefaults ( )
protectedvirtual

◆ SetInitialWordOptionsDefaults() [2/5]

void CBlastProteinOptionsHandle::SetInitialWordOptionsDefaults ( )
protectedvirtual

Overrides InitialWordOptionsDefaults for protein options.

Implements CBlastOptionsHandle.

Definition at line 101 of file blast_prot_options.cpp.

References BLAST_UNGAPPED_X_DROPOFF_PROT, BLAST_WINDOW_SIZE_PROT, CBlastOptionsHandle::SetWindowSize(), and CBlastProteinOptionsHandle::SetXDropoff().

◆ SetInitialWordOptionsDefaults() [3/5]

void CBlastRPSOptionsHandle::SetInitialWordOptionsDefaults ( )
protectedvirtual

Overrides InitialWordOptionsDefaults for RPS-BLAST options.

Implements CBlastOptionsHandle.

Definition at line 77 of file blast_rps_options.cpp.

References BLAST_UNGAPPED_X_DROPOFF_PROT, BLAST_WINDOW_SIZE_PROT, CBlastOptionsHandle::SetWindowSize(), and CBlastRPSOptionsHandle::SetXDropoff().

◆ SetInitialWordOptionsDefaults() [4/5]

void CMagicBlastOptionsHandle::SetInitialWordOptionsDefaults ( )
protectedvirtual

◆ SetInitialWordOptionsDefaults() [5/5]

virtual void CBlastOptionsHandle::SetInitialWordOptionsDefaults ( )
protectedpure virtual

◆ SetInterruptCallback() [1/3]

TInterruptFnPtr CBl2Seq::SetInterruptCallback ( TInterruptFnPtr  fnptr,
void *  user_data = NULL 
)
inline

Set a function callback to be invoked by the CORE of BLAST to allow interrupting a BLAST search in progress.

Parameters
fnptrpointer to callback function [in]
user_datauser data to be attached to SBlastProgress structure [in]
Returns
the previously set TInterruptFnPtr (NULL if none was provided before)

Definition at line 302 of file bl2seq.hpp.

References CBl2Seq::m_InterruptFnx, CBl2Seq::m_InterruptUserData, and tmp.

Referenced by BOOST_AUTO_TEST_CASE(), CBLASTSeqToolJob::x_CreateProjectItems(), CSplignJob::x_CreateProjectItems(), and CProSplignJob::x_SetupAndRuntBlastn().

◆ SetInterruptCallback() [2/3]

TInterruptFnPtr CLocalBlast::SetInterruptCallback ( TInterruptFnPtr  fnptr,
void *  user_data = NULL 
)
inline

Set a function callback to be invoked by the CORE of BLAST to allow interrupting a BLAST search in progress.

Parameters
fnptrpointer to callback function [in]
user_datauser data to be attached to SBlastProgress structure [in]
Returns
the previously set TInterruptFnPtr (NULL if none was provided before)

Definition at line 100 of file local_blast.hpp.

References _ASSERT, CLocalBlast::m_PrelimSearch, and CBlastPrelimSearch::SetInterruptCallback().

Referenced by CBlastAligner::GenerateAlignments(), and CBl2Seq::x_InitCLocalBlast().

◆ SetInterruptCallback() [3/3]

TInterruptFnPtr CBlastPrelimSearch::SetInterruptCallback ( TInterruptFnPtr  fnptr,
void *  user_data = NULL 
)
inline

Set a function callback to be invoked by the CORE of BLAST to allow interrupting a BLAST search in progress.

Definition at line 192 of file prelim_stage.hpp.

References SInternalData::m_FnInterrupt, CBlastPrelimSearch::m_InternalData, SInternalData::m_ProgressMonitor, CRef< C, Locker >::Reset(), SBlastProgressNew(), and swap().

Referenced by CLocalBlast::SetInterruptCallback().

◆ SetLengthAdjustment()

void CBlastAncillaryData::SetLengthAdjustment ( int  len_adj)
inline

Set the length adjustment for boundary conditions.

Definition at line 126 of file blast_results.hpp.

Referenced by CRemoteBlast::GetResultSet().

◆ SetLongestIntronLength() [1/5]

void CBlastOptions::SetLongestIntronLength ( int  l)

◆ SetLongestIntronLength() [2/5]

void CBlastxOptionsHandle::SetLongestIntronLength ( int  l)
inline

Sets LongestIntronLength.

Parameters
lLongestIntronLength [in]

Definition at line 97 of file blastx_options.hpp.

References l().

◆ SetLongestIntronLength() [3/5]

void CTBlastnOptionsHandle::SetLongestIntronLength ( int  l)
inline

Sets LongestIntronLength.

Parameters
lLongestIntronLength [in]

Definition at line 80 of file tblastn_options.hpp.

References l().

◆ SetLongestIntronLength() [4/5]

void CBlastOptionsLocal::SetLongestIntronLength ( int  l)
inline

◆ SetLongestIntronLength() [5/5]

void CMagicBlastOptionsHandle::SetLongestIntronLength ( int  len)
inline

Set max intron length.

Parameters
lenMax inrton length

Definition at line 220 of file magicblast_options.hpp.

References len.

Referenced by CMagicBlastOptionsHandle::SetHitSavingOptionsDefaults().

◆ SetLookupDbFilter() [1/3]

void CMagicBlastOptionsHandle::SetLookupDbFilter ( bool  b)
inline

Set db filtering option for the lookup table.

The filtering removes from lookup table words that are frequent in the database.

Parameters
bIf true, words that are frequent in the dabase will be removed from the lookup table

Definition at line 87 of file magicblast_options.hpp.

References b.

Referenced by CMagicBlastOptionsHandle::SetGenomeToGenomeDefaults(), CMagicBlastOptionsHandle::SetQueryOptionDefaults(), and CMagicBlastOptionsHandle::SetRNAToRNADefaults().

◆ SetLookupDbFilter() [2/3]

void CBlastOptions::SetLookupDbFilter ( bool  val)

◆ SetLookupDbFilter() [3/3]

void CBlastOptionsLocal::SetLookupDbFilter ( bool  val)
inline

◆ SetLookupTableDefaults() [1/8]

void CBlastNucleotideOptionsHandle::SetLookupTableDefaults ( )
protectedvirtual

◆ SetLookupTableDefaults() [2/8]

void CBlastProteinOptionsHandle::SetLookupTableDefaults ( )
protectedvirtual

◆ SetLookupTableDefaults() [3/8]

void CBlastRPSOptionsHandle::SetLookupTableDefaults ( )
protectedvirtual

Overrides LookupTableDefaults for RPS-BLAST options.

Implements CBlastOptionsHandle.

Definition at line 61 of file blast_rps_options.cpp.

References eRPSLookupTable, CBlastOptionsHandle::m_Opts, and CBlastOptions::SetLookupTableType().

◆ SetLookupTableDefaults() [4/8]

void CBlastxOptionsHandle::SetLookupTableDefaults ( )
protectedvirtual

Overrides LookupTableDefaults for blastx options.

Reimplemented from CBlastProteinOptionsHandle.

Definition at line 55 of file blastx_options.cpp.

References BLAST_WORD_THRESHOLD_BLASTX, CBlastOptionsHandle::m_Opts, CBlastProteinOptionsHandle::SetLookupTableDefaults(), and CBlastOptions::SetWordThreshold().

◆ SetLookupTableDefaults() [5/8]

void CMagicBlastOptionsHandle::SetLookupTableDefaults ( )
protectedvirtual

◆ SetLookupTableDefaults() [6/8]

void CTBlastnOptionsHandle::SetLookupTableDefaults ( )
protectedvirtual

Sets LookupTableDefaults for tblastn options.

Reimplemented from CBlastProteinOptionsHandle.

Definition at line 54 of file tblastn_options.cpp.

References BLAST_WORD_THRESHOLD_TBLASTN, CBlastProteinOptionsHandle::SetLookupTableDefaults(), and CBlastProteinOptionsHandle::SetWordThreshold().

◆ SetLookupTableDefaults() [7/8]

void CTBlastxOptionsHandle::SetLookupTableDefaults ( )
protectedvirtual

Overrides LookupTableDefaults for tblastx options.

Reimplemented from CBlastProteinOptionsHandle.

Definition at line 55 of file tblastx_options.cpp.

References BLAST_WORD_THRESHOLD_TBLASTX, CBlastOptionsHandle::m_Opts, CBlastProteinOptionsHandle::SetLookupTableDefaults(), and CBlastOptions::SetWordThreshold().

◆ SetLookupTableDefaults() [8/8]

virtual void CBlastOptionsHandle::SetLookupTableDefaults ( )
protectedpure virtual

◆ SetLookupTableStride() [1/3]

void CMagicBlastOptionsHandle::SetLookupTableStride ( int  s)
inline

Set lookup table stride: number of words skipped between collected ones when creating a lookup table.

Parameters
slookup table stride [in]

Definition at line 104 of file magicblast_options.hpp.

Referenced by CMagicBlastOptionsHandle::SetLookupTableDefaults().

◆ SetLookupTableStride() [2/3]

void CBlastOptions::SetLookupTableStride ( Uint4  val)

◆ SetLookupTableStride() [3/3]

void CBlastOptionsLocal::SetLookupTableStride ( Uint4  val)
inline

◆ SetLookupTableType() [1/3]

void CBlastNucleotideOptionsHandle::SetLookupTableType ( ELookupTableType  type)
inline

Sets LookupTableType.

Parameters
typeLookupTableType [in]

Definition at line 77 of file blast_nucl_options.hpp.

Referenced by BOOST_FIXTURE_TEST_CASE(), CBlastNucleotideOptionsHandle::SetLookupTableDefaults(), and CBlastNucleotideOptionsHandle::SetMBLookupTableDefaults().

◆ SetLookupTableType() [2/3]

void CBlastOptions::SetLookupTableType ( ELookupTableType  type)

◆ SetLookupTableType() [3/3]

void CBlastOptionsLocal::SetLookupTableType ( ELookupTableType  type)
inline

◆ SetLowScorePerc() [1/3]

void CBlastOptionsHandle::SetLowScorePerc ( double  p)
inline

◆ SetLowScorePerc() [2/3]

void CBlastOptions::SetLowScorePerc ( double  p = 0.0)

◆ SetLowScorePerc() [3/3]

void CBlastOptionsLocal::SetLowScorePerc ( double  p = 0.0)
inline

◆ SetMaskAtHash() [1/3]

void CBlastOptionsHandle::SetMaskAtHash ( bool  m = true)
inline

Sets MaskAtHash.

Parameters
mwhether masking should only be done for lookup table [in]

Definition at line 201 of file blast_options_handle.hpp.

References CBlastOptionsHandle::m_Opts, and CBlastOptions::SetMaskAtHash().

Referenced by BOOST_AUTO_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), and CBlastNucleotideOptionsHandle::SetQueryOptionDefaults().

◆ SetMaskAtHash() [2/3]

void CBlastOptions::SetMaskAtHash ( bool  val = true)

◆ SetMaskAtHash() [3/3]

void CBlastOptionsLocal::SetMaskAtHash ( bool  val = true)
inline

◆ SetMaskedQueryRegions()

void CSearchResults::SetMaskedQueryRegions ( const TMaskedQueryRegions flt_query_regions)

Mutator for the masked query regions, intended to be used by internal BLAST APIs to populate this object.

Parameters
flt_query_regionsthe input value [in]

Definition at line 235 of file blast_results.cpp.

References copy(), and CSearchResults::m_Masks.

Referenced by CSearchResults::CSearchResults().

◆ SetMaskLevel() [1/3]

void CBlastOptionsHandle::SetMaskLevel ( int  ml)
inline

◆ SetMaskLevel() [2/3]

void CBlastOptions::SetMaskLevel ( int  s)

◆ SetMaskLevel() [3/3]

void CBlastOptionsLocal::SetMaskLevel ( int  s)
inline

◆ SetMatchReward() [1/3]

void CBlastNucleotideOptionsHandle::SetMatchReward ( int  r)
inline

◆ SetMatchReward() [2/3]

void CBlastOptions::SetMatchReward ( int  r)

◆ SetMatchReward() [3/3]

void CBlastOptionsLocal::SetMatchReward ( int  r)
inline

◆ SetMatrixName() [1/4]

void CBlastNucleotideOptionsHandle::SetMatrixName ( const char *  matrix)
inline

◆ SetMatrixName() [2/4]

void CBlastOptions::SetMatrixName ( const char *  matrix)

◆ SetMatrixName() [3/4]

void CBlastProteinOptionsHandle::SetMatrixName ( const char *  matrix)
inline

◆ SetMatrixName() [4/4]

void CBlastOptionsLocal::SetMatrixName ( const char *  matrix)
inline

◆ SetMaxDbWordCount() [1/3]

void CBlastOptions::SetMaxDbWordCount ( Uint1  num)

Set maximum word count for lookup table word masking by database frequency.

Definition at line 971 of file blast_options_cxx.cpp.

References CBlastOptions::m_Local, CBlastOptionsLocal::SetMaxDbWordCount(), and CBlastOptions::x_Throwx().

Referenced by CMappingArgs::ExtractAlgorithmOptions().

◆ SetMaxDbWordCount() [2/3]

void CMagicBlastOptionsHandle::SetMaxDbWordCount ( Uint1  num)
inline

Set maximum word count for lookup table word masking by database frequency.

Definition at line 95 of file magicblast_options.hpp.

Referenced by CMagicBlastOptionsHandle::SetLookupTableDefaults().

◆ SetMaxDbWordCount() [3/3]

void CBlastOptionsLocal::SetMaxDbWordCount ( Uint1  val)
inline

◆ SetMaxEditDistance() [1/3]

void CBlastOptions::SetMaxEditDistance ( int  e)

◆ SetMaxEditDistance() [2/3]

void CMagicBlastOptionsHandle::SetMaxEditDistance ( int  e)
inline

◆ SetMaxEditDistance() [3/3]

void CBlastOptionsLocal::SetMaxEditDistance ( int  e)
inline

◆ SetMaxFractionAmbiguous()

void CMagicBlastOptionsHandle::SetMaxFractionAmbiguous ( double  val)
inline

Get maximum fraction of ambiguous bases for query quality filtering.

Definition at line 122 of file magicblast_options.hpp.

References val.

◆ SetMaxHspsPerSubject() [1/3]

void CBlastOptions::SetMaxHspsPerSubject ( int  m)

◆ SetMaxHspsPerSubject() [2/3]

void CBlastOptionsHandle::SetMaxHspsPerSubject ( int  m)
inline

◆ SetMaxHspsPerSubject() [3/3]

void CBlastOptionsLocal::SetMaxHspsPerSubject ( int  m)
inline

◆ SetMaxLength()

void CMultiSeqInfo::SetMaxLength ( Uint4  val)
inline

Sets maximal length.

Definition at line 85 of file seqsrc_multiseq.cpp.

References CMultiSeqInfo::m_iMaxLength.

◆ SetMaxMismatches() [1/2]

void CBlastOptions::SetMaxMismatches ( int  m)

◆ SetMaxMismatches() [2/2]

void CBlastOptionsLocal::SetMaxMismatches ( int  m)
inline

◆ SetMaxNumHspPerSequence() [1/3]

void CBlastOptions::SetMaxNumHspPerSequence ( int  m)

◆ SetMaxNumHspPerSequence() [2/3]

void CBlastOptionsHandle::SetMaxNumHspPerSequence ( int  m)
inline

◆ SetMaxNumHspPerSequence() [3/3]

void CBlastOptionsLocal::SetMaxNumHspPerSequence ( int  m)
inline

◆ SetMBGappedExtensionDefaults() [1/2]

void CBlastNucleotideOptionsHandle::SetMBGappedExtensionDefaults ( )
protectedvirtual

◆ SetMBGappedExtensionDefaults() [2/2]

void CDiscNucleotideOptionsHandle::SetMBGappedExtensionDefaults ( )
protectedvirtual

◆ SetMBHitSavingOptionsDefaults()

void CBlastNucleotideOptionsHandle::SetMBHitSavingOptionsDefaults ( )
protectedvirtual

◆ SetMBIndexLoaded() [1/2]

void CBlastOptions::SetMBIndexLoaded ( bool  index_loaded = true)

◆ SetMBIndexLoaded() [2/2]

void CBlastOptionsLocal::SetMBIndexLoaded ( bool  index_loaded = true)
inline

◆ SetMBInitialWordOptionsDefaults() [1/2]

void CBlastNucleotideOptionsHandle::SetMBInitialWordOptionsDefaults ( )
protectedvirtual

Overrides MBInitialWordOptionsDefaults for nucleotide options.

Reimplemented in CDiscNucleotideOptionsHandle.

Definition at line 171 of file blast_nucl_options.cpp.

References BLAST_WINDOW_SIZE_NUCL, and CBlastOptionsHandle::SetWindowSize().

Referenced by CBlastNucleotideOptionsHandle::SetTraditionalMegablastDefaults().

◆ SetMBInitialWordOptionsDefaults() [2/2]

void CDiscNucleotideOptionsHandle::SetMBInitialWordOptionsDefaults ( )
protectedvirtual

◆ SetMBLookupTableDefaults() [1/2]

void CBlastNucleotideOptionsHandle::SetMBLookupTableDefaults ( )
protectedvirtual

◆ SetMBLookupTableDefaults() [2/2]

void CDiscNucleotideOptionsHandle::SetMBLookupTableDefaults ( )
protectedvirtual

◆ SetMBScoringOptionsDefaults() [1/2]

void CBlastNucleotideOptionsHandle::SetMBScoringOptionsDefaults ( )
protectedvirtual

◆ SetMBScoringOptionsDefaults() [2/2]

void CDiscNucleotideOptionsHandle::SetMBScoringOptionsDefaults ( )
protectedvirtual

Sets MBScoringOptionsDefaults.

Reimplemented from CBlastNucleotideOptionsHandle.

Definition at line 87 of file disc_nucl_options.cpp.

References CBlastNucleotideOptionsHandle::SetScoringOptionsDefaults().

◆ SetMBTemplateLength() [1/2]

void CBlastOptions::SetMBTemplateLength ( unsigned char  len)

◆ SetMBTemplateLength() [2/2]

void CBlastOptionsLocal::SetMBTemplateLength ( unsigned char  len)
inline

◆ SetMBTemplateType() [1/2]

void CBlastOptions::SetMBTemplateType ( unsigned char  type)

◆ SetMBTemplateType() [2/2]

void CBlastOptionsLocal::SetMBTemplateType ( unsigned char  type)
inline

◆ SetMinCddEvalue()

void CCddInputData::SetMinCddEvalue ( double  val)
inline

Set minimum e-value threshold for inclusion of CDs in PSSM computation.

The minimum e-value is used only for experimental purposes hence it does not appear in CddOptions

Parameters
valMinimum e-value threshold [in]

Definition at line 179 of file cdd_pssm_input.hpp.

References CCddInputData::m_MinEvalue, and val.

◆ SetMinDiagSeparation() [1/3]

void CBlastOptions::SetMinDiagSeparation ( int  d)

◆ SetMinDiagSeparation() [2/3]

void CBlastOptionsHandle::SetMinDiagSeparation ( int  d)
inline

◆ SetMinDiagSeparation() [3/3]

void CBlastOptionsLocal::SetMinDiagSeparation ( int  d)
inline

◆ SetMinDimerEntropy()

void CMagicBlastOptionsHandle::SetMinDimerEntropy ( int  val)
inline

Set minimum dimer entropy for query quality filtering.

Definition at line 129 of file magicblast_options.hpp.

References val.

◆ SetMinHits()

void CBlastpKmerOptionsHandle::SetMinHits ( int  minhits = 1)
inline

Sets the number of hits ot initiate calculation of Jaccard distance.

Parameters
hitsMinimum number of LSH hits to proceed with subject [in]

Definition at line 78 of file blastp_kmer_options.hpp.

Referenced by CBlastKmerThread::Main(), and CBlastKmerApplication::Run().

◆ SetMinusStrand()

void IBlastSeqVector::SetMinusStrand ( )
inline

For nucleotide sequences this instructs the implementation to convert its representation to be that of the minus strand.

Definition at line 228 of file blast_setup.hpp.

References eNa_strand_minus, IBlastSeqVector::m_Strand, and IBlastSeqVector::x_SetMinusStrand().

◆ SetMismatchPenalty() [1/4]

void CBlastNucleotideOptionsHandle::SetMismatchPenalty ( int  p)
inline

◆ SetMismatchPenalty() [2/4]

void CBlastOptions::SetMismatchPenalty ( int  p)

◆ SetMismatchPenalty() [3/4]

void CMagicBlastOptionsHandle::SetMismatchPenalty ( int  p)
inline

◆ SetMismatchPenalty() [4/4]

void CBlastOptionsLocal::SetMismatchPenalty ( int  p)
inline

◆ SetMismatchWindow() [1/2]

void CBlastOptions::SetMismatchWindow ( int  w)

◆ SetMismatchWindow() [2/2]

void CBlastOptionsLocal::SetMismatchWindow ( int  w)
inline

◆ SetMoleculeType()

void CSearchDatabase::SetMoleculeType ( EMoleculeType  mol_type)

Mutator for the molecule type.

Parameters
mol_typemolecule type [in]

Definition at line 76 of file uniform_search.cpp.

References CSearchDatabase::m_MolType.

◆ SetMultipleThreads()

void CIndexedDb_New::SetMultipleThreads ( bool  multiple_threads)
inline

Set the concurrency status.

Parameters
multiple_threads'true' if concurrent search is being performed; 'false' otherwise

Definition at line 549 of file blast_dbindex.cpp.

References IDX_TRACE, CIndexedDb_New::multiple_threads_, and CIndexedDb_New::n_threads_.

Referenced by IndexedDbSetUsingThreads().

◆ SetNegativeGIList()

void CRemoteBlast::SetNegativeGIList ( const list< TGi > &  gi_list)

This excludes the provided GIs from the subject database (this is not supported yet on the server end).

Parameters
gi_listlist of GIs to exclude [in]

Definition at line 1513 of file remote_blast.cpp.

References copy(), eBlastOpt_GiList, eBlastOpt_NegativeGiList, CBlast4Field::Get(), GI_TO, ITERATE, CRemoteBlast::m_NegativeGiList, NCBI_THROW, and CRemoteBlast::x_SetOneParam().

Referenced by CRemoteBlast::x_Init().

◆ SetNegativeGiList()

void CSearchDatabase::SetNegativeGiList ( CSeqDBGiList gilist)

◆ SetNucleotideBlastDbDataLoader()

void CAutoNcbiConfigFile::SetNucleotideBlastDbDataLoader ( const string nucl_db_name)
inline

◆ SetNumberOfThreads() [1/3]

void CBlastPrelimSearch::SetNumberOfThreads ( size_t  nthreads)
virtual

◆ SetNumberOfThreads() [2/3]

void CThreadable::SetNumberOfThreads ( size_t  nthreads)
inlinevirtual

◆ SetNumberOfThreads() [3/3]

void CIgBlast::SetNumberOfThreads ( size_t  nthreads)
inline

Set MT mode.

Definition at line 289 of file igblast.hpp.

References CIgBlast::m_NumThreads.

Referenced by CIgBlastnApp::CIgWorker::Main(), and CIgBlastpApp::Run().

◆ SetNumThreads()

void CIndexedDb_New::SetNumThreads ( size_t  n_threads)
inline

Set the number of threads used for concurrent search.

Parameters
n_threadsnumber of search threads.

Definition at line 561 of file blast_dbindex.cpp.

References ASSERT, IDX_TRACE, and CIndexedDb_New::n_threads_.

Referenced by IndexedDbSetNumThreads().

◆ SetOffDiagonalRange() [1/3]

void CBlastOptions::SetOffDiagonalRange ( int  r)

◆ SetOffDiagonalRange() [2/3]

void CBlastOptionsHandle::SetOffDiagonalRange ( int  r)
inline

◆ SetOffDiagonalRange() [3/3]

void CBlastOptionsLocal::SetOffDiagonalRange ( int  r)
inline

◆ SetOptions() [1/6]

CBlastOptions& CBlastOptionsHandle::SetOptions ( )
inline

Returns a reference to the internal options class which this object is a handle for.

Please note that using objects of type CBlastOptions directly allows one to set inconsistent combinations of options.

Note
Assumes user knows exactly how to set the individual options correctly. Calling CBlastOptions::Validate on this object is STRONGLY recommended.

Definition at line 169 of file blast_options_handle.hpp.

References CBlastOptionsHandle::m_Opts.

Referenced by BOOST_AUTO_TEST_CASE(), CheckForFreqRatioFile(), CBlastOptionsFactory::CreateTask(), CBlastnNode::Main(), CBlastFormatterApp::PrintFormattedOutput(), CBlastFormatterVdbApp::PrintFormattedOutput(), CSplitQueryTestFixture::QuerySplitter_BlastnMultiQueryMultiChunk(), CSplitQueryTestFixture::QuerySplitter_BlastnSingleQueryMultiChunk(), CSplitQueryTestFixture::QuerySplitter_BlastxMultiQueryMultiChunk(), CSplitQueryTestFixture::QuerySplitter_BlastxSingleQueryMultiChunk(), CIgBlast::Run(), CLocalVDBBlast::Run(), CPsiBlastApp::Run(), CIgBlastnApp::Run(), CRMBlastnApp::Run(), CLocalVDBBlast::RunThreadedSearch(), CBlastArgs::s_ExtractBlastArgs(), CBlastAppArgs::SetOptions(), CBlastAppArgs::SetOptionsForSavedStrategy(), CLocalVDBBlast::x_AdjustDbSize(), CBlastOptionsBuilder::x_ApplyInteractions(), CIgBlastnAppArgs::x_CreateOptionsHandle(), CIgBlastpAppArgs::x_CreateOptionsHandle(), CTblastnAppArgs::x_CreateOptionsHandle(), CRemoteBlast::x_Init(), CExportStrategy::x_Process_BlastOptions(), CBlastOptionsBuilder::x_ProcessOneOption(), CPsiBlastApp::x_RunLocalPsiBlastIterations(), CBlastnApp::x_RunMTBySplitDB(), CSplignApp::x_SetupBlastOptions(), CIgBlast::x_SetupCRegionSearch(), CIgBlast::x_SetupDJSearch(), CIgBlast::x_SetupNoOverlapDSearch(), CIgBlast::x_SetupVSearch(), and CSplitQueryTestFixture::x_TestCContextTranslator().

◆ SetOptions() [2/6]

void CLocalSeqSearch::SetOptions ( CRef< CBlastOptionsHandle options)
virtual

Configure the search.

Implements ISearch.

Definition at line 115 of file local_search.cpp.

References CLocalSeqSearch::m_SearchOpts.

◆ SetOptions() [3/6]

void CLocalPssmSearch::SetOptions ( CRef< CBlastOptionsHandle options)
virtual

Configure this search.

Implements ISearch.

Definition at line 137 of file local_search.cpp.

References CLocalPssmSearch::m_SearchOpts.

◆ SetOptions() [4/6]

void CRemoteSeqSearch::SetOptions ( CRef< CBlastOptionsHandle options)
virtual

Configure the search.

Implements ISearch.

Definition at line 159 of file remote_search.cpp.

References CRemoteSeqSearch::m_SearchOpts.

◆ SetOptions() [5/6]

void CRemotePssmSearch::SetOptions ( CRef< CBlastOptionsHandle options)
virtual

Configure the search.

Implements ISearch.

Definition at line 290 of file remote_search.cpp.

References CRemotePssmSearch::m_RemoteBlast, CRemotePssmSearch::m_SearchOpts, and CRef< C, Locker >::Reset().

◆ SetOptions() [6/6]

virtual void ISearch::SetOptions ( CRef< CBlastOptionsHandle options)
pure virtual

Configure the search.

Parameters
optionsThe search will be configured with these options.

Implemented in CRemotePssmSearch, CRemoteSeqSearch, CLocalPssmSearch, and CLocalSeqSearch.

◆ SetOptionsHandle()

CBlastOptionsHandle & CBl2Seq::SetOptionsHandle ( )
inline

Set the options handle.

Definition at line 278 of file bl2seq.hpp.

References CBl2Seq::m_OptsHandle, and CBl2Seq::x_ResetInternalDs().

Referenced by BOOST_AUTO_TEST_CASE(), and CSplignApp::x_GetBl2SeqHits().

◆ SetOutOfFrameMode() [1/4]

void CBlastOptions::SetOutOfFrameMode ( bool  m = true)

◆ SetOutOfFrameMode() [2/4]

void CBlastxOptionsHandle::SetOutOfFrameMode ( bool  m = true)
inline

Sets OutOfFrameMode.

Parameters
mOutOfFrameMode [in]

Definition at line 85 of file blastx_options.hpp.

◆ SetOutOfFrameMode() [3/4]

void CTBlastnOptionsHandle::SetOutOfFrameMode ( bool  m = true)
inline

Sets OutOfFrameMode.

Parameters
mOutOfFrameMode [in]

Definition at line 68 of file tblastn_options.hpp.

◆ SetOutOfFrameMode() [4/4]

void CBlastOptionsLocal::SetOutOfFrameMode ( bool  m = true)
inline

◆ SetPaired() [1/3]

void CBlastOptions::SetPaired ( bool  p)

◆ SetPaired() [2/3]

void CMagicBlastOptionsHandle::SetPaired ( bool  p)
inline

Set input reads as paired/not paired.

Parameters
pIf true, the input sequences are paired [in]

Definition at line 203 of file magicblast_options.hpp.

Referenced by CMagicBlastOptionsHandle::SetQueryOptionDefaults().

◆ SetPaired() [3/3]

void CBlastOptionsLocal::SetPaired ( bool  p)
inline

◆ SetPercentIdentity() [1/3]

void CBlastOptions::SetPercentIdentity ( double  p)

◆ SetPercentIdentity() [2/3]

void CBlastOptionsHandle::SetPercentIdentity ( double  p)
inline

◆ SetPercentIdentity() [3/3]

void CBlastOptionsLocal::SetPercentIdentity ( double  p)
inline

◆ SetPHIPattern() [1/4]

void CPHIBlastNuclOptionsHandle::SetPHIPattern ( const char *  pattern)
inline

Sets the pattern string option.

Parameters
patternThe pattern string satisfying PROSITE rules.

Definition at line 81 of file phiblast_nucl_options.hpp.

References CBlastOptionsHandle::m_Opts, and CBlastOptions::SetPHIPattern().

◆ SetPHIPattern() [2/4]

void CPHIBlastProtOptionsHandle::SetPHIPattern ( const char *  pattern)
inline

Sets the pattern string option.

Parameters
patternThe pattern string satisfying PROSITE rules.

Definition at line 82 of file phiblast_prot_options.hpp.

References CBlastOptionsHandle::m_Opts, and CBlastOptions::SetPHIPattern().

◆ SetPHIPattern() [3/4]

void CBlastOptions::SetPHIPattern ( const char *  pattern,
bool  is_dna 
)

◆ SetPHIPattern() [4/4]

void CBlastOptionsLocal::SetPHIPattern ( const char *  pattern,
bool  is_dna 
)
inline

◆ SetPlusStrand()

void IBlastSeqVector::SetPlusStrand ( )
inline

For nucleotide sequences this instructs the implementation to convert its representation to be that of the plus strand.

Definition at line 222 of file blast_setup.hpp.

References eNa_strand_plus, IBlastSeqVector::m_Strand, and IBlastSeqVector::x_SetPlusStrand().

◆ SetProgram() [1/2]

void CBlastOptions::SetProgram ( EProgram  p)

◆ SetProgram() [2/2]

void CBlastOptionsLocal::SetProgram ( EProgram  p)
inline

◆ SetProteinBlastDbDataLoader()

void CAutoNcbiConfigFile::SetProteinBlastDbDataLoader ( const string prot_db_name)
inline

◆ SetPseudoCount() [1/3]

void CPSIBlastOptionsHandle::SetPseudoCount ( int  p)
inline

Sets PseudoCount.

Parameters
pPseudoCount [in]

Definition at line 75 of file psiblast_options.hpp.

Referenced by CDUpdater::blast(), and CdBlaster::psiBlast().

◆ SetPseudoCount() [2/3]

void CBlastOptionsLocal::SetPseudoCount ( int  ps)
inline

◆ SetPseudoCount() [3/3]

void CBlastOptions::SetPseudoCount ( int  u)

◆ SetPSIBlastDefaults()

void CPSIBlastOptionsHandle::SetPSIBlastDefaults ( void  )
protected

◆ SetPSIInclusionThreshold()

void CDeltaBlastOptionsHandle::SetPSIInclusionThreshold ( double  th)
inline

Set e-value threshold for including sequences in Pssm calculation.

Parameters
thE-value cutoff for sequences [in]

Same as SetInclusionThreshold().It was added for clear distinction between Psi and Delta Blast inclusion thresholds

Definition at line 86 of file deltablast_options.hpp.

References th.

◆ SetPSITblastnDefaults()

void CPSIBlastOptionsHandle::SetPSITblastnDefaults ( void  )

◆ SetPssm() [1/2]

void CPsiBlast::SetPssm ( CConstRef< objects::CPssmWithParameters >  pssm)

This method allows the same object to be reused when performing multiple iterations.

Iteration state is kept in the CPsiBlastIterationState object

Definition at line 83 of file psiblast.cpp.

References CPsiBlast::m_Impl, and CPsiBlastImpl::SetPssm().

Referenced by BOOST_AUTO_TEST_CASE(), CDeltaBlastApp::DoPsiBlastIterations(), and CPsiBlastApp::x_RunLocalPsiBlastIterations().

◆ SetPssm() [2/2]

void CPsiBlastImpl::SetPssm ( CConstRef< objects::CPssmWithParameters >  pssm)

This method allows the same object to be reused when performing multiple iterations.

Iteration state is kept in the CPsiBlastIterationState object

Parameters
pssmPSSM [in]

Definition at line 173 of file psiblast_impl.cpp.

References CConstRef< C, Locker >::Empty(), CPsiBlastImpl::m_Pssm, NCBI_THROW, CPsiBlastValidate::Pssm(), and CRef< C, Locker >::Reset().

Referenced by CPsiBlast::SetPssm().

◆ SetQueries() [1/6]

void CBl2Seq::SetQueries ( const TSeqLocVector queries)
inline

Set a vector of query sequences for a concatenated search.

Definition at line 236 of file bl2seq.hpp.

References CBl2Seq::m_tQueries, and CBl2Seq::x_ResetInternalDs().

◆ SetQueries() [2/6]

void CRemoteBlast::SetQueries ( CRef< objects::CBioseq_set >  bioseqs)

◆ SetQueries() [3/6]

void CRemoteBlast::SetQueries ( CRef< objects::CBioseq_set >  bioseqs,
const TSeqLocInfoVector masking_locations 
)

Set the query as a Bioseq_set along with the corresponding masking locations.

Parameters
bioseqsQuery sequence data [in]
masking_locationsMasked regions for the queries above [in]

Definition at line 1000 of file remote_blast.cpp.

References CRemoteBlast::SetQueries(), and CRemoteBlast::x_SetMaskingLocationsForQueries().

◆ SetQueries() [4/6]

void CRemoteBlast::SetQueries ( CRef< objects::CPssmWithParameters >  pssm)

Set a PSSM query (as for PSI blast), which must include a bioseq set.

Definition at line 1162 of file remote_blast.cpp.

References CRef< C, Locker >::Empty(), CRemoteBlast::eQueries, CRemoteBlast::m_NeedConfig, CRemoteBlast::m_QSR, NCBI_THROW, CPsiBlastValidate::Pssm(), and CBlast4_queries_Base::SetPssm().

◆ SetQueries() [5/6]

void CRemoteBlast::SetQueries ( TSeqLocList seqlocs)

Set the query as a list of Seq_locs.

Parameters
seqlocsOne interval Seq_loc or a list of whole Seq_locs.

◆ SetQueries() [6/6]

void CRemoteBlast::SetQueries ( TSeqLocList seqlocs,
const TSeqLocInfoVector masking_locations 
)

Set the query as a list of Seq_locs.

Parameters
seqlocsOne interval Seq_loc or a list of whole Seq_locs.
masking_locationsMasked regions for the queries above [in]

◆ SetQuery() [1/4]

void CBl2Seq::SetQuery ( const SSeqLoc query)
inline

Set the query.

Definition at line 222 of file bl2seq.hpp.

References CBl2Seq::m_tQueries, query, and CBl2Seq::x_ResetInternalDs().

Referenced by BOOST_AUTO_TEST_CASE().

◆ SetQuery() [2/4]

void CLocalPssmSearch::SetQuery ( CRef< objects::CPssmWithParameters >  pssm)
virtual

Set the PSSM with which to search the database.

Implements IPssmSearch.

Definition at line 149 of file local_search.cpp.

References CLocalPssmSearch::m_Pssm, and CPsiBlastValidate::Pssm().

◆ SetQuery() [3/4]

virtual void IPssmSearch::SetQuery ( CRef< objects::CPssmWithParameters >  pssm)
pure virtual

Set the queries to search.

Parameters
pssmPSSM [in]

Implemented in CRemotePssmSearch, and CLocalPssmSearch.

◆ SetQuery() [4/4]

void CRemotePssmSearch::SetQuery ( CRef< objects::CPssmWithParameters >  query)
virtual

Set the query to search with.

Implements IPssmSearch.

Definition at line 356 of file remote_search.cpp.

References CRef< C, Locker >::Empty(), CRemotePssmSearch::m_Pssm, and NCBI_THROW.

◆ SetQueryCovHspPerc() [1/3]

void CBlastOptions::SetQueryCovHspPerc ( double  p)

◆ SetQueryCovHspPerc() [2/3]

void CBlastOptionsHandle::SetQueryCovHspPerc ( double  p)
inline

◆ SetQueryCovHspPerc() [3/3]

void CBlastOptionsLocal::SetQueryCovHspPerc ( double  p)
inline

◆ SetQueryFactory() [1/3]

void CLocalSeqSearch::SetQueryFactory ( CRef< IQueryFactory query_factory)
virtual

Set the factory which will return the queries to search for.

Implements ISeqSearch.

Definition at line 127 of file local_search.cpp.

References CLocalSeqSearch::m_QueryFactory.

◆ SetQueryFactory() [2/3]

void CRemoteSeqSearch::SetQueryFactory ( CRef< IQueryFactory query_factory)
virtual

Set the factory which will return the queries to search for.

Implements ISeqSearch.

Definition at line 169 of file remote_search.cpp.

References CRef< C, Locker >::Empty(), CRemoteSeqSearch::m_Queries, IQueryFactory::MakeRemoteQueryData(), NCBI_THROW, and CRef< C, Locker >::Reset().

◆ SetQueryFactory() [3/3]

virtual void ISeqSearch::SetQueryFactory ( CRef< IQueryFactory query_factory)
pure virtual

Set the queries to search.

Parameters
query_factoryThis supplies the queries for which to search.

Implemented in CRemoteSeqSearch, and CLocalSeqSearch.

◆ SetQueryGeneticCode() [1/4]

void CBlastOptions::SetQueryGeneticCode ( int  gc)

◆ SetQueryGeneticCode() [2/4]

void CBlastxOptionsHandle::SetQueryGeneticCode ( int  gc)
inline

Sets QueryGeneticCode.

Parameters
gcQueryGeneticCode [in]

Definition at line 77 of file blastx_options.hpp.

◆ SetQueryGeneticCode() [3/4]

void CTBlastxOptionsHandle::SetQueryGeneticCode ( int  gc)
inline

Sets QueryGeneticCode.

Parameters
gcQueryGeneticCode [in]

Definition at line 92 of file tblastx_options.hpp.

◆ SetQueryGeneticCode() [4/4]

void CBlastOptionsLocal::SetQueryGeneticCode ( int  gc)
inline

◆ SetQueryId()

void TQueryMessages::SetQueryId ( const string id)

Set the query id as a string.

Parameters
idThe query id.

Definition at line 966 of file blast_aux.cpp.

References TQueryMessages::m_IdString.

Referenced by CBlastKmerResults::GetErrors(), and MakeEmptyResults().

◆ SetQueryInfo()

void CIndexedDb::SetQueryInfo ( CRef< CBlastSeqLocWrap locs_wrap)
inline

Set the current set of unmasked query segments.

Parameters
locs_wrapunmasked query segments

Definition at line 187 of file blast_dbindex.cpp.

References CIndexedDb::locs_wrap_.

Referenced by IndexedDbSetQueryInfo().

◆ SetQueryMasks()

void CRemoteBlast::SetQueryMasks ( const TSeqLocInfoVector masking_locations)

Set the masking locations for queries.

Parameters
masking_locationsMasked regions for the queries above [in]

Definition at line 1007 of file remote_blast.cpp.

References CRemoteBlast::m_QSR, NCBI_THROW, and CRemoteBlast::x_SetMaskingLocationsForQueries().

◆ SetQueryOptionDefaults() [1/11]

void CBlastAdvancedProteinOptionsHandle::SetQueryOptionDefaults ( )
protectedvirtual

Overrides SetQueryOptionDefaults for advanced blastp options to disable filtering.

Reimplemented from CBlastProteinOptionsHandle.

Reimplemented in CPSIBlastOptionsHandle, and CDeltaBlastOptionsHandle.

Definition at line 63 of file blast_advprot_options.cpp.

References CBlastProteinOptionsHandle::SetQueryOptionDefaults(), and CBlastProteinOptionsHandle::SetSegFiltering().

◆ SetQueryOptionDefaults() [2/11]

void CBlastNucleotideOptionsHandle::SetQueryOptionDefaults ( )
protectedvirtual

◆ SetQueryOptionDefaults() [3/11]

void CBlastProteinOptionsHandle::SetQueryOptionDefaults ( )
protectedvirtual

◆ SetQueryOptionDefaults() [4/11]

void CBlastRPSOptionsHandle::SetQueryOptionDefaults ( )
protectedvirtual

Overrides QueryOptionDefaults for RPS-BLAST options.

Implements CBlastOptionsHandle.

Reimplemented in CRPSTBlastnOptionsHandle.

Definition at line 70 of file blast_rps_options.cpp.

References eNa_strand_unknown, CBlastOptionsHandle::m_Opts, CBlastRPSOptionsHandle::SetSegFiltering(), and CBlastOptions::SetStrandOption().

◆ SetQueryOptionDefaults() [5/11]

void CBlastxOptionsHandle::SetQueryOptionDefaults ( )
protectedvirtual

◆ SetQueryOptionDefaults() [6/11]

void CDeltaBlastOptionsHandle::SetQueryOptionDefaults ( )
protectedvirtual

Override the parent class' default for filtering query sequence (i.e.

: no filtering applied to the query by default)

Reimplemented from CPSIBlastOptionsHandle.

Definition at line 58 of file deltablast_options.cpp.

References CBlastOptions::ClearFilterOptions(), and CBlastOptionsHandle::m_Opts.

◆ SetQueryOptionDefaults() [7/11]

void CMagicBlastOptionsHandle::SetQueryOptionDefaults ( )
protectedvirtual

◆ SetQueryOptionDefaults() [8/11]

void CPSIBlastOptionsHandle::SetQueryOptionDefaults ( )
protectedvirtual

Override the parent class' default for filtering query sequence (i.e.

: no filtering applied to the query by default)

Reimplemented from CBlastAdvancedProteinOptionsHandle.

Reimplemented in CDeltaBlastOptionsHandle.

Definition at line 58 of file psiblast_options.cpp.

References CBlastOptions::ClearFilterOptions(), and CBlastOptionsHandle::m_Opts.

◆ SetQueryOptionDefaults() [9/11]

void CRPSTBlastnOptionsHandle::SetQueryOptionDefaults ( )
protectedvirtual

Overrides SubjectSequenceOptionsDefaults for RPS-TBLASTN options.

Reimplemented from CBlastRPSOptionsHandle.

Definition at line 61 of file rpstblastn_options.cpp.

References BLAST_GENETIC_CODE, CBlastOptionsHandle::m_Opts, and CBlastOptions::SetQueryGeneticCode().

◆ SetQueryOptionDefaults() [10/11]

void CTBlastxOptionsHandle::SetQueryOptionDefaults ( )
protectedvirtual

◆ SetQueryOptionDefaults() [11/11]

virtual void CBlastOptionsHandle::SetQueryOptionDefaults ( )
protectedpure virtual

◆ SetReadMaxFractionAmbiguous() [1/2]

void CBlastOptions::SetReadMaxFractionAmbiguous ( double  val)

Set maximum fraction of ambiguous bases for next-generation read quality filtering.

Definition at line 1421 of file blast_options_cxx.cpp.

References CBlastOptions::m_Local, CBlastOptionsLocal::SetReadMaxFractionAmbiguous(), val, and CBlastOptions::x_Throwx().

◆ SetReadMaxFractionAmbiguous() [2/2]

void CBlastOptionsLocal::SetReadMaxFractionAmbiguous ( double  val)
inline

◆ SetReadMinDimerEntropy() [1/2]

void CBlastOptions::SetReadMinDimerEntropy ( int  val)

Set minimum dimer entropy for next-generation read quality filtering.

Definition at line 1441 of file blast_options_cxx.cpp.

References CBlastOptions::m_Local, CBlastOptionsLocal::SetReadMinDimerEntropy(), val, and CBlastOptions::x_Throwx().

◆ SetReadMinDimerEntropy() [2/2]

void CBlastOptionsLocal::SetReadMinDimerEntropy ( int  val)
inline

◆ SetReadQualityFiltering() [1/3]

void CBlastOptions::SetReadQualityFiltering ( bool  val = true)

Turn on/off next-generation read quality filtering with deafult parameters.

Definition at line 1401 of file blast_options_cxx.cpp.

References CBlastOptions::m_Local, CBlastOptionsLocal::SetReadQualityFiltering(), val, and CBlastOptions::x_Throwx().

Referenced by CMapperQueryOptionsArgs::ExtractAlgorithmOptions().

◆ SetReadQualityFiltering() [2/3]

void CMagicBlastOptionsHandle::SetReadQualityFiltering ( bool  val = true)
inline

Turn on/off query quaility filtering with default parameters.

Definition at line 114 of file magicblast_options.hpp.

References val.

Referenced by CMagicBlastOptionsHandle::SetQueryOptionDefaults().

◆ SetReadQualityFiltering() [3/3]

void CBlastOptionsLocal::SetReadQualityFiltering ( bool  val = true)
inline

◆ SetRemoteProgramAndService_Blast3() [1/13]

virtual void CBlastNucleotideOptionsHandle::SetRemoteProgramAndService_Blast3 ( )
inlineprotectedvirtual

Set the program and service name for remote blast.

Implements CBlastOptionsHandle.

Reimplemented in CDiscNucleotideOptionsHandle.

Definition at line 221 of file blast_nucl_options.hpp.

◆ SetRemoteProgramAndService_Blast3() [2/13]

virtual void CBlastProteinOptionsHandle::SetRemoteProgramAndService_Blast3 ( )
inlineprotectedvirtual

Set the program and service name for remote blast.

Implements CBlastOptionsHandle.

Reimplemented in CTBlastxOptionsHandle, CTBlastnOptionsHandle, CPSIBlastOptionsHandle, CDeltaBlastOptionsHandle, CBlastxOptionsHandle, and CBlastpKmerOptionsHandle.

Definition at line 138 of file blast_prot_options.hpp.

◆ SetRemoteProgramAndService_Blast3() [3/13]

virtual void CBlastRPSOptionsHandle::SetRemoteProgramAndService_Blast3 ( )
inlineprotectedvirtual

Set the program and service name for remote blast.

Implements CBlastOptionsHandle.

Reimplemented in CRPSTBlastnOptionsHandle.

Definition at line 122 of file blast_rps_options.hpp.

◆ SetRemoteProgramAndService_Blast3() [4/13]

virtual void CBlastpKmerOptionsHandle::SetRemoteProgramAndService_Blast3 ( )
inlineprotectedvirtual

Set the program and service name for remote blast.

Reimplemented from CBlastProteinOptionsHandle.

Definition at line 93 of file blastp_kmer_options.hpp.

◆ SetRemoteProgramAndService_Blast3() [5/13]

virtual void CBlastxOptionsHandle::SetRemoteProgramAndService_Blast3 ( )
inlineprotectedvirtual

Set the program and service name for remote blast.

Reimplemented from CBlastProteinOptionsHandle.

Definition at line 127 of file blastx_options.hpp.

◆ SetRemoteProgramAndService_Blast3() [6/13]

virtual void CDeltaBlastOptionsHandle::SetRemoteProgramAndService_Blast3 ( )
inlineprotectedvirtual

Set the program and service name for remote blast.

Reimplemented from CPSIBlastOptionsHandle.

Definition at line 92 of file deltablast_options.hpp.

◆ SetRemoteProgramAndService_Blast3() [7/13]

virtual void CDiscNucleotideOptionsHandle::SetRemoteProgramAndService_Blast3 ( )
inlineprotectedvirtual

Set the program and service name for remote blast.

Reimplemented from CBlastNucleotideOptionsHandle.

Definition at line 102 of file disc_nucl_options.hpp.

◆ SetRemoteProgramAndService_Blast3() [8/13]

virtual void CMagicBlastOptionsHandle::SetRemoteProgramAndService_Blast3 ( )
inlineprotectedvirtual

Set the program and service name for remote blast.

Implements CBlastOptionsHandle.

Definition at line 225 of file magicblast_options.hpp.

◆ SetRemoteProgramAndService_Blast3() [9/13]

virtual void CPSIBlastOptionsHandle::SetRemoteProgramAndService_Blast3 ( )
inlineprotectedvirtual

Set the program and service name for remote blast.

Reimplemented from CBlastProteinOptionsHandle.

Reimplemented in CDeltaBlastOptionsHandle.

Definition at line 82 of file psiblast_options.hpp.

◆ SetRemoteProgramAndService_Blast3() [10/13]

virtual void CRPSTBlastnOptionsHandle::SetRemoteProgramAndService_Blast3 ( )
inlineprotectedvirtual

Set the program and service name for remote blast.

Reimplemented from CBlastRPSOptionsHandle.

Definition at line 74 of file rpstblastn_options.hpp.

◆ SetRemoteProgramAndService_Blast3() [11/13]

virtual void CTBlastnOptionsHandle::SetRemoteProgramAndService_Blast3 ( )
inlineprotectedvirtual

Set the program and service name for remote blast.

Reimplemented from CBlastProteinOptionsHandle.

Definition at line 95 of file tblastn_options.hpp.

◆ SetRemoteProgramAndService_Blast3() [12/13]

virtual void CTBlastxOptionsHandle::SetRemoteProgramAndService_Blast3 ( )
inlineprotectedvirtual

Set the program and service name for remote blast.

Reimplemented from CBlastProteinOptionsHandle.

Definition at line 98 of file tblastx_options.hpp.

◆ SetRemoteProgramAndService_Blast3() [13/13]

virtual void CBlastOptionsHandle::SetRemoteProgramAndService_Blast3 ( )
protectedpure virtual

◆ SetRepeatFiltering() [1/3]

void CBlastNucleotideOptionsHandle::SetRepeatFiltering ( bool  val)
inline

Enable repeat filtering.

Parameters
valenable repeat filtering [in]

Definition at line 130 of file blast_nucl_options.hpp.

References val.

Referenced by BOOST_AUTO_TEST_CASE(), and BOOST_FIXTURE_TEST_CASE().

◆ SetRepeatFiltering() [2/3]

void CBlastOptions::SetRepeatFiltering ( bool  val = true)

Turns on repeat filtering using the default repeat database, namely kDefaultRepeatFilterDb.

Note
Either SetRepeatFiltering or SetRepeatFilteringDB should be called, if both are called, only the last one called will take effect

Definition at line 1313 of file blast_options_cxx.cpp.

References eBlastOpt_RepeatFiltering, CBlastOptions::m_Local, CBlastOptions::m_Remote, CBlastOptionsLocal::SetRepeatFiltering(), CBlastOptionsRemote::SetValue(), and val.

Referenced by BOOST_AUTO_TEST_CASE(), CBlastOptions::ClearFilterOptions(), and CBlastOptionsBuilder::x_ProcessOneOption().

◆ SetRepeatFiltering() [3/3]

void CBlastOptionsLocal::SetRepeatFiltering ( bool  val = true)
inline

◆ SetRepeatFilteringDB() [1/3]

void CBlastNucleotideOptionsHandle::SetRepeatFilteringDB ( const char *  db)
inline

Enable repeat filtering.

Parameters
dbrepeat filtering database [in]

Definition at line 136 of file blast_nucl_options.hpp.

Referenced by BOOST_AUTO_TEST_CASE(), and BOOST_FIXTURE_TEST_CASE().

◆ SetRepeatFilteringDB() [2/3]

void CBlastOptions::SetRepeatFilteringDB ( const char *  db)

Sets the repeat filtering database to use.

Note
Either SetRepeatFiltering or SetRepeatFilteringDB should be called, if both are called, only the last one called will take effect

Definition at line 1332 of file blast_options_cxx.cpp.

References eBlastOpt_RepeatFilteringDB, CBlastOptions::m_Local, CBlastOptions::m_Remote, CBlastOptionsLocal::SetRepeatFilteringDB(), and CBlastOptionsRemote::SetValue().

Referenced by BOOST_AUTO_TEST_CASE(), CFilteringArgs::ExtractAlgorithmOptions(), and CBlastOptionsBuilder::x_ProcessOneOption().

◆ SetRepeatFilteringDB() [3/3]

void CBlastOptionsLocal::SetRepeatFilteringDB ( const char *  db)
inline

◆ SetResultType() [1/2]

void CBlastTracebackSearch::SetResultType ( EResultType  type)

Specifies how the Seq-align-set returned as part of the results is formatted.

Definition at line 114 of file traceback_stage.cpp.

References CBlastTracebackSearch::m_ResultType, and type.

Referenced by CLocalBlast::Run(), and CPsiBlastImpl::Run().

◆ SetResultType() [2/2]

void CPsiBlastImpl::SetResultType ( EResultType  type)

Set the desired result type.

Parameters
typeof result requested [in]

Definition at line 184 of file psiblast_impl.cpp.

References CPsiBlastImpl::m_ResultType, and type.

Referenced by CPsiBl2Seq::Run().

◆ SetRID() [1/2]

void CSearchResults::SetRID ( const string rid)
inline

Sets the RID for these results.

Parameters
ridRID to set [in]

Definition at line 186 of file blast_results.hpp.

References CSearchResults::m_RID.

◆ SetRID() [2/2]

void CSearchResultSet::SetRID ( const string rid)

Sets the RID for these results.

Parameters
ridRID to set [in]

Definition at line 616 of file blast_results.cpp.

References CSearchResultSet::m_Results, and NON_CONST_ITERATE.

Referenced by CRemoteBlast::GetResultSet().

◆ SetRNAToGenomeDefaults()

void CMagicBlastOptionsHandle::SetRNAToGenomeDefaults ( )
virtual

◆ SetRNAToRNADefaults()

void CMagicBlastOptionsHandle::SetRNAToRNADefaults ( )
virtual

◆ SetScoringOptionsDefaults() [1/8]

void CBlastNucleotideOptionsHandle::SetScoringOptionsDefaults ( )
protectedvirtual

◆ SetScoringOptionsDefaults() [2/8]

void CBlastProteinOptionsHandle::SetScoringOptionsDefaults ( )
protectedvirtual

◆ SetScoringOptionsDefaults() [3/8]

void CBlastRPSOptionsHandle::SetScoringOptionsDefaults ( )
protectedvirtual

Overrides ScoringOptionsDefaults for RPS-BLAST options.

Implements CBlastOptionsHandle.

Definition at line 97 of file blast_rps_options.cpp.

References INT2_MAX, CBlastOptionsHandle::m_Opts, CBlastOptions::SetFrameShiftPenalty(), CBlastOptionsHandle::SetGappedMode(), and CBlastOptions::SetOutOfFrameMode().

◆ SetScoringOptionsDefaults() [4/8]

void CBlastxOptionsHandle::SetScoringOptionsDefaults ( )
protectedvirtual

Overrides ScoringOptionsDefaults for blastx options.

Reimplemented from CBlastProteinOptionsHandle.

Definition at line 80 of file blastx_options.cpp.

References CBlastProteinOptionsHandle::SetScoringOptionsDefaults().

◆ SetScoringOptionsDefaults() [5/8]

void CMagicBlastOptionsHandle::SetScoringOptionsDefaults ( )
protectedvirtual

◆ SetScoringOptionsDefaults() [6/8]

void CTBlastnOptionsHandle::SetScoringOptionsDefaults ( )
protectedvirtual

Sets ScoringOptionsDefaults for tblastn options.

Reimplemented from CBlastProteinOptionsHandle.

Definition at line 61 of file tblastn_options.cpp.

References CBlastProteinOptionsHandle::SetScoringOptionsDefaults().

◆ SetScoringOptionsDefaults() [7/8]

void CTBlastxOptionsHandle::SetScoringOptionsDefaults ( )
protectedvirtual

Overrides ScoringOptionsDefaults for tblastx options.

Reimplemented from CBlastProteinOptionsHandle.

Definition at line 70 of file tblastx_options.cpp.

References CBlastOptionsHandle::m_Opts, CBlastOptions::SetGappedMode(), and CBlastProteinOptionsHandle::SetScoringOptionsDefaults().

◆ SetScoringOptionsDefaults() [8/8]

virtual void CBlastOptionsHandle::SetScoringOptionsDefaults ( )
protectedpure virtual

◆ SetSegFiltering() [1/4]

void CBlastProteinOptionsHandle::SetSegFiltering ( bool  val)
inline

◆ SetSegFiltering() [2/4]

void CBlastRPSOptionsHandle::SetSegFiltering ( bool  val)
inline

Enable SEG filtering.

Parameters
valenable SEG filtering [in]

Definition at line 82 of file blast_rps_options.hpp.

References val.

Referenced by CBlastRPSOptionsHandle::SetQueryOptionDefaults().

◆ SetSegFiltering() [3/4]

void CBlastOptions::SetSegFiltering ( bool  val = true)

◆ SetSegFiltering() [4/4]

void CBlastOptionsLocal::SetSegFiltering ( bool  val = true)
inline

◆ SetSegFilteringHicut() [1/4]

void CBlastProteinOptionsHandle::SetSegFilteringHicut ( double  hicut)
inline

Set hicut parameter for seg.

Acceptable values are greater than Locut (see SetSegFilteringLocut).

Parameters
hicutseg filtering parameter hicut [in]

Definition at line 108 of file blast_prot_options.hpp.

Referenced by BOOST_FIXTURE_TEST_CASE().

◆ SetSegFilteringHicut() [2/4]

void CBlastRPSOptionsHandle::SetSegFilteringHicut ( double  hicut)
inline

Set hicut parameter for seg.

Acceptable values are greater than Locut

Parameters
hicutseg filtering parameter hicut [in]

Definition at line 100 of file blast_rps_options.hpp.

◆ SetSegFilteringHicut() [3/4]

void CBlastOptions::SetSegFilteringHicut ( double  m)

◆ SetSegFilteringHicut() [4/4]

void CBlastOptionsLocal::SetSegFilteringHicut ( double  m)
inline

◆ SetSegFilteringLocut() [1/4]

void CBlastProteinOptionsHandle::SetSegFilteringLocut ( double  locut)
inline

Set locut parameter for seg.

Acceptable values are greater than 0.

Parameters
locutseg filtering parameter locut [in]

Definition at line 101 of file blast_prot_options.hpp.

Referenced by BOOST_FIXTURE_TEST_CASE().

◆ SetSegFilteringLocut() [2/4]

void CBlastRPSOptionsHandle::SetSegFilteringLocut ( double  locut)
inline

Set locut parameter for seg.

Acceptable values are greater than 0.

Parameters
locutseg filtering parameter locut [in]

Definition at line 94 of file blast_rps_options.hpp.

◆ SetSegFilteringLocut() [3/4]

void CBlastOptions::SetSegFilteringLocut ( double  m)

◆ SetSegFilteringLocut() [4/4]

void CBlastOptionsLocal::SetSegFilteringLocut ( double  m)
inline

◆ SetSegFilteringWindow() [1/4]

void CBlastOptions::SetSegFilteringWindow ( int  m)

◆ SetSegFilteringWindow() [2/4]

void CBlastOptionsLocal::SetSegFilteringWindow ( int  m)
inline

◆ SetSegFilteringWindow() [3/4]

void CBlastProteinOptionsHandle::SetSegFilteringWindow ( int  window)
inline

Set window parameter for seg.

Acceptable value are > 0.

Parameters
windowseg filtering parameter window [in]

Definition at line 95 of file blast_prot_options.hpp.

Referenced by BOOST_FIXTURE_TEST_CASE().

◆ SetSegFilteringWindow() [4/4]

void CBlastRPSOptionsHandle::SetSegFilteringWindow ( int  window)
inline

Set window parameter for seg.

Acceptable value are > 0.

Parameters
windowseg filtering parameter window [in]

Definition at line 88 of file blast_rps_options.hpp.

◆ SetSeqAlign() [1/3]

CRef<objects::CSeq_align_set> CSearchResults::SetSeqAlign ( void  )
inline

Only intended to be used if you need to edit the seqlign.

Otherwise use GetSeqAlign()

Definition at line 200 of file blast_results.hpp.

References CSearchResults::m_Alignment.

Referenced by CIgBlast::x_ProcessDGeneResult().

◆ SetSeqAlign() [2/3]

CRef<CSeq_align_set>& CIgBlastResults::SetSeqAlign ( void  )
inline

Definition at line 214 of file igblast.hpp.

References CSearchResults::m_Alignment.

Referenced by CIgBlast::s_AppendResults().

◆ SetSeqAlign() [3/3]

CRef<CSeq_align_set> CMagicBlastResults::SetSeqAlign ( void  )
inline

Get non-const alignments.

Definition at line 177 of file magicblast.hpp.

References CMagicBlastResults::m_Aligns.

◆ SetSeqDb()

void CSearchDatabase::SetSeqDb ( CRef< CSeqDB seqdb)

Mutator for the seqdb.

Parameters
seqdbreference to an initialized db [in]

Definition at line 235 of file uniform_search.cpp.

References CSearchDatabase::m_DbInitialized, CSearchDatabase::m_SeqDb, and CRef< C, Locker >::Reset().

◆ SetSmithWatermanMode() [1/4]

void CBlastAdvancedProteinOptionsHandle::SetSmithWatermanMode ( bool  m = false)
inline

Sets this mode, specifying that smith waterman rather than the normal blast heuristic should be used for final extensions.

Parameters
muse smith-waterman if true [in]

Definition at line 89 of file blast_advprot_options.hpp.

Referenced by BOOST_FIXTURE_TEST_CASE().

◆ SetSmithWatermanMode() [2/4]

void CBlastxOptionsHandle::SetSmithWatermanMode ( bool  m = false)
inline

Sets this mode, specifying that smith waterman rather than the normal blast heuristic should be used for final extensions.

Parameters
muse smith-waterman if true [in]

Definition at line 123 of file blastx_options.hpp.

◆ SetSmithWatermanMode() [3/4]

void CBlastOptions::SetSmithWatermanMode ( bool  m = true)

◆ SetSmithWatermanMode() [4/4]

void CBlastOptionsLocal::SetSmithWatermanMode ( bool  m = true)
inline

◆ SetSplice()

void CBlastOptionsLocal::SetSplice ( bool  p)
inline

◆ SetSpliceAlignments() [1/2]

void CBlastOptions::SetSpliceAlignments ( bool  s)

◆ SetSpliceAlignments() [2/2]

void CMagicBlastOptionsHandle::SetSpliceAlignments ( bool  s)
inline

Set splicing alignments.

Parameters
sif true alignments will be spliced [in]

Definition at line 211 of file magicblast_options.hpp.

Referenced by CMagicBlastOptionsHandle::SetGappedExtensionDefaults(), CMagicBlastOptionsHandle::SetGenomeToGenomeDefaults(), and CMagicBlastOptionsHandle::SetRNAToRNADefaults().

◆ SetStrandOption() [1/5]

void CBlastOptions::SetStrandOption ( objects::ENa_strand  s)

◆ SetStrandOption() [2/5]

void CBlastOptionsLocal::SetStrandOption ( objects::ENa_strand  s)
inline

◆ SetStrandOption() [3/5]

void CBlastNucleotideOptionsHandle::SetStrandOption ( objects::ENa_strand  strand)
inline

Sets StrandOption.

Parameters
strandStrandOption [in]

Definition at line 98 of file blast_nucl_options.hpp.

Referenced by CBlastNucleotideOptionsHandle::SetQueryOptionDefaults().

◆ SetStrandOption() [4/5]

void CBlastxOptionsHandle::SetStrandOption ( objects::ENa_strand  strand)
inline

Sets StrandOption.

Parameters
strandStrandOption [in]

Definition at line 69 of file blastx_options.hpp.

◆ SetStrandOption() [5/5]

void CTBlastxOptionsHandle::SetStrandOption ( objects::ENa_strand  strand)
inline

Sets StrandOption.

Parameters
strandStrandOption [in]

Definition at line 71 of file tblastx_options.hpp.

◆ SetSubject() [1/6]

void CLocalSeqSearch::SetSubject ( CConstRef< CSearchDatabase subject)
virtual

Set the databases to search.

Implements ISearch.

Definition at line 121 of file local_search.cpp.

References CLocalSeqSearch::m_Database, and subject.

◆ SetSubject() [2/6]

void CLocalPssmSearch::SetSubject ( CConstRef< CSearchDatabase subject)
virtual

Set the databases to search.

Implements ISearch.

Definition at line 143 of file local_search.cpp.

References CLocalPssmSearch::m_Subject, and subject.

◆ SetSubject() [3/6]

void CRemoteSeqSearch::SetSubject ( CConstRef< CSearchDatabase subject)
virtual

Set the databases to search.

Implements ISearch.

Definition at line 164 of file remote_search.cpp.

References CRemoteSeqSearch::m_Subject, and subject.

◆ SetSubject() [4/6]

void CRemotePssmSearch::SetSubject ( CConstRef< CSearchDatabase subject)
virtual

Set the databases to search.

Implements ISearch.

Definition at line 296 of file remote_search.cpp.

References CRemotePssmSearch::m_Subject, and subject.

◆ SetSubject() [5/6]

virtual void ISearch::SetSubject ( CConstRef< CSearchDatabase subject)
pure virtual

Set the subject database(s) to search.

Implemented in CRemotePssmSearch, CRemoteSeqSearch, CLocalPssmSearch, and CLocalSeqSearch.

◆ SetSubject() [6/6]

void CBl2Seq::SetSubject ( const SSeqLoc subject)
inline

Set the subject sequence.

Definition at line 250 of file bl2seq.hpp.

References CBl2Seq::m_tSubjects, subject, and CBl2Seq::x_ResetInternalDs().

Referenced by BOOST_AUTO_TEST_CASE().

◆ SetSubjectBestHit() [1/2]

void CBlastOptions::SetSubjectBestHit ( )

◆ SetSubjectBestHit() [2/2]

void CBlastOptionsLocal::SetSubjectBestHit ( )
inline

◆ SetSubjectMasks()

void CSearchResults::SetSubjectMasks ( const TSeqLocInfoVector subj_masks)

Set the masked locations for the subject sequences in the contained alignment.

Parameters
subj_masksmasked locations [in]

Definition at line 341 of file blast_results.cpp.

References copy(), and CSearchResults::m_SubjectMasks.

◆ SetSubjects()

void CBl2Seq::SetSubjects ( const TSeqLocVector subjects)
inline

Set a vector of subject sequences.

Definition at line 264 of file bl2seq.hpp.

References CBl2Seq::m_tSubjects, and CBl2Seq::x_ResetInternalDs().

◆ SetSubjectSequenceOptionsDefaults() [1/7]

void CBlastNucleotideOptionsHandle::SetSubjectSequenceOptionsDefaults ( )
protectedvirtual

Overrides SubjectSequenceOptionsDefaults for nucleotide options.

Implements CBlastOptionsHandle.

Definition at line 281 of file blast_nucl_options.cpp.

◆ SetSubjectSequenceOptionsDefaults() [2/7]

void CBlastProteinOptionsHandle::SetSubjectSequenceOptionsDefaults ( )
protectedvirtual

Overrides SubjectSequenceOptionsDefaults for protein options.

Implements CBlastOptionsHandle.

Reimplemented in CTBlastxOptionsHandle, and CTBlastnOptionsHandle.

Definition at line 159 of file blast_prot_options.cpp.

◆ SetSubjectSequenceOptionsDefaults() [3/7]

void CBlastRPSOptionsHandle::SetSubjectSequenceOptionsDefaults ( )
protectedvirtual

Overrides SubjectSequenceOptionsDefaults for RPS-BLAST options.

Implements CBlastOptionsHandle.

Definition at line 133 of file blast_rps_options.cpp.

◆ SetSubjectSequenceOptionsDefaults() [4/7]

void CMagicBlastOptionsHandle::SetSubjectSequenceOptionsDefaults ( )
protectedvirtual

Overrides SubjectSequenceOptionsDefaults for nucleotide options.

Implements CBlastOptionsHandle.

Definition at line 228 of file magicblast_options.cpp.

Referenced by CMagicBlastOptionsHandle::SetGenomeToGenomeDefaults(), CMagicBlastOptionsHandle::SetRNAToGenomeDefaults(), and CMagicBlastOptionsHandle::SetRNAToRNADefaults().

◆ SetSubjectSequenceOptionsDefaults() [5/7]

void CTBlastnOptionsHandle::SetSubjectSequenceOptionsDefaults ( )
protectedvirtual

Sets SubjectSequenceOptionsDefaults for tblastn options.

Reimplemented from CBlastProteinOptionsHandle.

Definition at line 82 of file tblastn_options.cpp.

References BLAST_GENETIC_CODE, and CTBlastnOptionsHandle::SetDbGeneticCode().

◆ SetSubjectSequenceOptionsDefaults() [6/7]

void CTBlastxOptionsHandle::SetSubjectSequenceOptionsDefaults ( )
protectedvirtual

Overrides SubjectSequenceOptionsDefaults for tblastx options.

Reimplemented from CBlastProteinOptionsHandle.

Definition at line 92 of file tblastx_options.cpp.

References BLAST_GENETIC_CODE, CBlastOptionsHandle::m_Opts, and CBlastOptions::SetDbGeneticCode().

◆ SetSubjectSequenceOptionsDefaults() [7/7]

virtual void CBlastOptionsHandle::SetSubjectSequenceOptionsDefaults ( )
protectedpure virtual

◆ SetSubjectSequences() [1/2]

void CRemoteBlast::SetSubjectSequences ( const list< CRef< objects::CBioseq > > &  subj)

Set a list of subject sequences to search against.

Definition at line 1588 of file remote_blast.cpp.

References CRemoteBlast::eSubject, CRemoteBlast::m_NeedConfig, CRemoteBlast::m_QSR, CBlast4_subject_Base::SetSequences(), and CRemoteBlast::x_SetSubjectSequences().

◆ SetSubjectSequences() [2/2]

void CRemoteBlast::SetSubjectSequences ( CRef< IQueryFactory subj)

Set a list of subject sequences to search against.

Definition at line 1570 of file remote_blast.cpp.

References CRef< C, Locker >::Empty(), FlattenBioseqSet(), IRemoteQueryData::GetBioseqSet(), IQueryFactory::MakeRemoteQueryData(), and NCBI_THROW.

Referenced by CRemoteBlast::CRemoteBlast().

◆ SetSumStatisticsMode() [1/2]

void CBlastOptions::SetSumStatisticsMode ( bool  m = true)

◆ SetSumStatisticsMode() [2/2]

void CBlastOptionsLocal::SetSumStatisticsMode ( bool  m = true)
inline

◆ SetTemplateLength()

void CDiscNucleotideOptionsHandle::SetTemplateLength ( unsigned char  length)
inline

Sets TemplateLength.

Parameters
lengthTemplateLength [in]

Definition at line 69 of file disc_nucl_options.hpp.

Referenced by BOOST_FIXTURE_TEST_CASE(), and CDiscNucleotideOptionsHandle::SetMBLookupTableDefaults().

◆ SetTemplateType()

void CDiscNucleotideOptionsHandle::SetTemplateType ( unsigned char  type)
inline

Sets TemplateType.

Parameters
typeTemplateType [in]

Definition at line 80 of file disc_nucl_options.hpp.

Referenced by BOOST_FIXTURE_TEST_CASE(), and CDiscNucleotideOptionsHandle::SetMBLookupTableDefaults().

◆ SetThresh()

void CBlastpKmerOptionsHandle::SetThresh ( double  thresh = 0.1)
inline

Sets Threshold for Jaccard distance.

Parameters
threshJaccard threshold [in]

Definition at line 69 of file blastp_kmer_options.hpp.

Referenced by CBlastKmerThread::Main(), and CBlastKmerApplication::Run().

◆ SetTraditionalBlastnDefaults() [1/2]

void CBlastNucleotideOptionsHandle::SetTraditionalBlastnDefaults ( )

◆ SetTraditionalBlastnDefaults() [2/2]

void CDiscNucleotideOptionsHandle::SetTraditionalBlastnDefaults ( )

NOTE: Unavailable for discontiguous megablast.

Exceptions
CBlastExceptionif this is called on an object configured for discontiguous megablast

Definition at line 93 of file disc_nucl_options.cpp.

References NCBI_THROW.

Referenced by BOOST_AUTO_TEST_CASE().

◆ SetTraditionalMegablastDefaults()

void CBlastNucleotideOptionsHandle::SetTraditionalMegablastDefaults ( )

◆ SetUngappedStatisticalParams()

void CPssmEngine::SetUngappedStatisticalParams ( CConstRef< CBlastAncillaryData ancillary_data)

Sets the Karlin & Altschul parameters in the BlastScoreBlk to be used in PSSM generation.

This should be used when performing PSI-BLAST iterations, but it's not necessary for a single PSSM construction

Parameters
ancillary_dataBLAST ancillary data from a previous iteration

Definition at line 483 of file pssm_engine.cpp.

References _ASSERT, CBlastScoreBlk::Get(), CBlastAncillaryData::GetPsiGappedKarlinBlk(), CBlastAncillaryData::GetPsiUngappedKarlinBlk(), Blast_KarlinBlk::H, Blast_KarlinBlk::K, BlastScoreBlk::kbp_gap_psi, BlastScoreBlk::kbp_psi, Blast_KarlinBlk::Lambda, log, Blast_KarlinBlk::logK, CPssmEngine::m_ScoreBlk, CConstRef< C, Locker >::NotEmpty(), and NULL.

Referenced by PsiBlastComputePssmFromAlignment().

◆ SetUnifiedP() [1/2]

void CBlastOptions::SetUnifiedP ( int  u = 0)

◆ SetUnifiedP() [2/2]

void CBlastOptionsLocal::SetUnifiedP ( int  u = 0)
inline

◆ SetUpDbIndexCallbacks()

void SetUpDbIndexCallbacks ( void  )

◆ SetupQueries()

void SetupQueries ( TSeqLocVector queries,
BlastQueryInfo qinfo,
BLAST_SequenceBlk **  seqblk,
EBlastProgramType  prog,
objects::ENa_strand  strand_opt,
TSearchMessages messages 
)

Populates BLAST_SequenceBlk with sequence data for use in CORE BLAST.

Parameters
queriesvector of blast::SSeqLoc structures [in]
qinfoBlastQueryInfo structure to obtain context information [in]
seqblkStructure to save sequence data, allocated in this function [out]
messagesobject to save warnings/errors for all queries [out]
progprogram type from the CORE's point of view [in]
strand_optUnless the strand option is set to single strand, the actual CSeq_locs in the TSeqLocVector dictate which strand to use during the search [in]

Definition at line 401 of file blast_objmgr_tools.cpp.

References prog, and SetupQueries_OMF().

Referenced by BOOST_AUTO_TEST_CASE(), CRedoAlignmentTestFixture::runRedoAlignmentCoreUnitTest(), LinkHspTestFixture::setupCutoffScores(), LinkHspTestFixture::setupLinkHspInputTblastn(), setupQueryStructures(), and CSplitQueryTestFixture::x_PrepareBlastQueryStructures().

◆ SetupQueries_OMF()

void SetupQueries_OMF ( IBlastQuerySource queries,
BlastQueryInfo qinfo,
BLAST_SequenceBlk **  seqblk,
EBlastProgramType  prog,
objects::ENa_strand  strand_opt,
TSearchMessages messages 
)

ObjMgr Free version of SetupQueries.

Parameters
queriesvector of blast::SSeqLoc structures [in]
qinfoBlastQueryInfo structure to obtain context information [in]
seqblkStructure to save sequence data, allocated in this function [out]
messagesobject to save warnings/errors for all queries [out]
progprogram type from the CORE's point of view [in]
strand_optUnless the strand option is set to single strand, the actual CSeq_locs in the TSeqLocVector dictacte which strand to use during the search [in]

Definition at line 485 of file blast_setup_cxx.cpp.

References _ASSERT, BLAST_GetTranslation(), Blast_QueryIsTranslated(), BlastMaskLocNew(), BlastQueryInfoGetQueryLength(), BlastSeqBlkNew(), BlastSeqBlkSetSequence(), BlastSetup_Validate(), buf, calloc(), BlastQueryInfo::contexts, SBlastSequence::data, eBlastSevWarning, eBlastTypeBlastn, eBlastTypeMapping, IBlastQuerySource::Empty(), eNa_strand_both, eNa_strand_minus, eNa_strand_plus, eNa_strand_unknown, eSentinels, FindGeneticCode(), BlastContextInfo::frame, GenCodeSingletonAdd(), GenCodeSingletonFind(), AutoPtr< X, Del >::get(), IBlastQuerySource::GetBlastSequence(), IBlastQuerySource::GetGeneticCodeId(), IBlastQuerySource::GetLength(), CException::GetMsg(), GetNumberOfContexts(), GetQueryEncoding(), IBlastQuerySource::GetSeqId(), IBlastQuerySource::GetStrand(), IBlastQuerySource::GetTitle(), TSearchMessages::HasMessages(), i, kEmptyStr, kTitle, SBlastSequence::length, mask, NCBI_THROW, NULL, BlastQueryInfo::num_queries, offset, prog, BlastContextInfo::query_length, BlastContextInfo::query_offset, QueryInfo_GetSeqBufLen(), s_AddMask(), s_BlastSetup_GetStrand(), s_GetRestrictedBlastSeqLocs(), s_InvalidateQueryContexts(), IBlastQuerySource::Size(), TSearchMessages::ToString(), TRUE, and true.

Referenced by SafeSetupQueries(), and SetupQueries().

◆ SetupQueryInfo() [1/2]

void SetupQueryInfo ( const CBlastQueryVector queries,
EBlastProgramType  prog,
objects::ENa_strand  strand_opt,
BlastQueryInfo **  qinfo 
)

Allocates the query information structure and fills the context offsets, in case of multiple queries, frames or strands.

If query seqids cannot be resolved, they will be ignored as warnings will be issued in blast::SetupQueries. This version takes a CBlastQueryVector. NB: effective length will be assigned inside the engine.

Parameters
queriesVector of query locations [in]
progprogram type from the CORE's point of view [in]
strand_optUnless the strand option is set to single strand, the actual CSeq_locs in the CBlastQueryVector dictate which strand to use during the search [in]
qinfoAllocated query info structure [out]

◆ SetupQueryInfo() [2/2]

void SetupQueryInfo ( TSeqLocVector queries,
EBlastProgramType  prog,
objects::ENa_strand  strand_opt,
BlastQueryInfo **  qinfo 
)

Allocates the query information structure and fills the context offsets, in case of multiple queries, frames or strands.

If query seqids cannot be resolved, they will be ignored as warnings will be issued in blast::SetupQueries. This version takes a TSeqLocVector. NB: effective length will be assigned inside the engine.

Parameters
queriesVector of query locations [in]
progprogram type from the CORE's point of view [in]
strand_optUnless the strand option is set to single strand, the actual CSeq_locs in the TSeqLocVector dictate which strand to use during the search [in]
qinfoAllocated query info structure [out]

Definition at line 392 of file blast_objmgr_tools.cpp.

References prog, and SetupQueryInfo_OMF().

Referenced by BOOST_AUTO_TEST_CASE(), CRedoAlignmentTestFixture::runRedoAlignmentCoreUnitTest(), LinkHspTestFixture::setupCutoffScores(), LinkHspTestFixture::setupLinkHspInputTblastn(), setupQueryInfoForOffsetTranslation(), setupQueryStructures(), and CSplitQueryTestFixture::x_PrepareBlastQueryStructures().

◆ SetupQueryInfo_OMF()

void SetupQueryInfo_OMF ( const IBlastQuerySource queries,
EBlastProgramType  prog,
objects::ENa_strand  strand_opt,
BlastQueryInfo **  qinfo 
)

ObjMgr Free version of SetupQueryInfo.

NB: effective length will be assigned inside the engine.

Parameters
queriesVector of query locations [in]
progprogram type from the CORE's point of view [in]
strand_optUnless the strand option is set to single strand, the actual CSeq_locs in the TSeqLocVector dictacte which strand to use during the search [in]
qinfoAllocated query info structure [out]

Definition at line 153 of file blast_setup_cxx.cpp.

References _ASSERT, abort(), BLAST_GetTranslatedProteinLength(), Blast_ProgramIsMapping(), Blast_QueryIsTranslated(), BlastQueryInfoNew(), BlastQueryInfo::contexts, eBlastTypeBlastn, eBlastTypeMapping, eNa_strand_both, eNa_strand_minus, eNa_strand_plus, eNa_strand_unknown, CBlastQueryInfo::Get(), IBlastQuerySource::GetLength(), GetNumberOfContexts(), IBlastQuerySource::GetSegmentInfo(), IBlastQuerySource::GetStrand(), i, INT4_MAX, MAX, BlastQueryInfo::max_length, MIN, BlastQueryInfo::min_length, NCBI_THROW, NULL, prog, CBlastQueryInfo::Release(), s_AdjustFirstContext(), s_BlastSetup_GetStrand(), s_QueryInfo_SetContext(), BlastContextInfo::segment_flags, IBlastQuerySource::Size(), and true.

Referenced by SafeSetupQueryInfo(), and SetupQueryInfo().

◆ SetupSubjects()

void SetupSubjects ( TSeqLocVector subjects,
EBlastProgramType  program,
vector< BLAST_SequenceBlk * > *  seqblk_vec,
unsigned int max_subjlen 
)

Sets up internal subject data structure for the BLAST search.

This uses the TSeqLocVector to create subject data structures.

Parameters
subjectsVector of subject locations [in]
programBLAST program [in]
seqblk_vecVector of subject sequence data structures [out]
max_subjlenMaximal length of the subject sequences [out]

Definition at line 414 of file blast_objmgr_tools.cpp.

References prog, and SetupSubjects_OMF().

Referenced by BOOST_AUTO_TEST_CASE(), CMultiSeqInfo::CMultiSeqInfo(), and CQueryFactoryInfo::CQueryFactoryInfo().

◆ SetupSubjects_OMF()

void SetupSubjects_OMF ( IBlastQuerySource subjects,
EBlastProgramType  program,
vector< BLAST_SequenceBlk * > *  seqblk_vec,
unsigned int max_subjlen 
)

Object manager free version of SetupSubjects.

Parameters
subjectsVector of subject locations [in]
programBLAST program [in]
seqblk_vecVector of subject sequence data structures [out]
max_subjlenMaximal length of the subject sequences [out]

Definition at line 733 of file blast_setup_cxx.cpp.

References _ASSERT, Blast_SubjectIsNucleotide(), Blast_SubjectIsTranslated(), BlastSeqBlkNew(), BlastSeqBlkSetCompressedSequence(), BlastSeqBlkSetSeqRanges(), BlastSeqBlkSetSequence(), BlastSequenceBlkFree(), SBlastSequence::data, eBlastEncodingNcbi2na, eBlastTypePsiTblastn, eBlastTypeTblastn, eBlastTypeTblastx, CBlastException::eInvalidArgument, CSeqDB::TSequenceRanges::empty(), IBlastQuerySource::Empty(), eNa_strand_plus, eNoSentinels, ERR_POST, eSentinels, eSoftSubjMasking, FALSE, FindGeneticCode(), BLAST_SequenceBlk::gen_code_string, GenCodeSingletonAdd(), GenCodeSingletonFind(), AutoPtr< X, Del >::get(), CSeqDB::TSequenceRanges::get_data(), IBlastQuerySource::GetBlastSequence(), CException::GetErrCode(), IBlastQuerySource::GetGeneticCodeId(), IBlastQuerySource::GetLength(), IBlastQuerySource::GetMask(), CException::GetMsg(), IBlastQuerySource::GetSeqId(), IBlastQuerySource::GetSeqLoc(), GetSubjectEncoding(), IBlastQuerySource::GetTitle(), i, kEmptyStr, BLAST_SequenceBlk::lcase_mask, BLAST_SequenceBlk::lcase_mask_allocated, BLAST_SequenceBlk::length, SBlastSequence::length, MAX, NCBI_RETHROW_SAME, NCBI_THROW, CConstRef< C, Locker >::NotEmpty(), NULL, BLAST_SequenceBlk::num_seq_ranges, prog, compile_time_bits::range(), AutoPtr< X, Del >::release(), s_SeqLoc2MaskedSubjRanges(), CSeqDB::TSequenceRanges::size(), IBlastQuerySource::Size(), true, and Warning().

Referenced by CQueryFactoryInfo::CQueryFactoryInfo(), and SetupSubjects().

◆ SetUseIndex() [1/2]

void CBlastOptions::SetUseIndex ( bool  use_index = true,
const string index_name = "",
bool  force_index = false,
bool  old_style_index = false 
)

◆ SetUseIndex() [2/2]

void CBlastOptionsLocal::SetUseIndex ( bool  use_index = true,
const string index_name = "",
bool  force_index = false,
bool  old_style_index = false 
)
inline

◆ SetValue() [1/12]

void CBlastOptionsRemote::SetValue ( EBlastOptIdx  opt,
const bool x 
)

◆ SetValue() [2/12]

void CBlastOptionsRemote::SetValue ( EBlastOptIdx  opt,
const char *  x 
)

◆ SetValue() [3/12]

void CBlastOptionsRemote::SetValue ( EBlastOptIdx  opt,
const double &  x 
)

◆ SetValue() [4/12]

void CBlastOptionsRemote::SetValue ( EBlastOptIdx  opt,
const EProgram x 
)

Definition at line 348 of file blast_options_cxx.cpp.

References eBlastOpt_Program, CBlastOptionsRemote::m_DefaultsMode, and CBlastOptionsRemote::x_Throwx().

Referenced by CBlastOptions::SetBestHitOverhang(), CBlastOptions::SetBestHitScoreEdge(), CBlastOptions::SetComplexityAdjMode(), CBlastOptions::SetCompositionBasedStats(), CBlastOptions::SetCullingLimit(), CBlastOptions::SetCutoffScore(), CBlastOptions::SetDbGeneticCode(), CBlastOptions::SetDbLength(), CBlastOptions::SetDbSeqNum(), CBlastOptions::SetDomainInclusionThreshold(), CBlastOptions::SetDustFiltering(), CBlastOptions::SetDustFilteringLevel(), CBlastOptions::SetDustFilteringLinker(), CBlastOptions::SetDustFilteringWindow(), CBlastOptions::SetEffectiveSearchSpace(), CBlastOptions::SetEvalueThreshold(), CBlastOptions::SetFilterString(), CBlastOptions::SetFrameShiftPenalty(), CBlastOptions::SetGapExtensionCost(), CBlastOptions::SetGapExtnAlgorithm(), CBlastOptions::SetGapOpeningCost(), CBlastOptions::SetGappedMode(), CBlastOptions::SetGapTracebackAlgorithm(), CBlastOptions::SetGapTrigger(), CBlastOptions::SetGapXDropoff(), CBlastOptions::SetGapXDropoffFinal(), CBlastOptions::SetHitlistSize(), CBlastOptions::SetIgnoreMsaMaster(), CBlastOptions::SetInclusionThreshold(), CBlastOptions::SetLongestIntronLength(), CBlastOptions::SetLookupTableType(), CBlastOptions::SetMaskAtHash(), CBlastOptions::SetMaskLevel(), CBlastOptions::SetMatchReward(), CBlastOptions::SetMatrixName(), CBlastOptions::SetMaxHspsPerSubject(), CBlastOptions::SetMaxNumHspPerSequence(), CBlastOptions::SetMBTemplateLength(), CBlastOptions::SetMBTemplateType(), CBlastOptions::SetMismatchPenalty(), CBlastOptions::SetOutOfFrameMode(), CBlastOptions::SetPercentIdentity(), CBlastOptions::SetPHIPattern(), CBlastOptions::SetProgram(), CBlastOptions::SetPseudoCount(), CBlastOptions::SetQueryCovHspPerc(), CBlastOptions::SetQueryGeneticCode(), CBlastOptions::SetRepeatFiltering(), CBlastOptions::SetRepeatFilteringDB(), CBlastOptions::SetSegFiltering(), CBlastOptions::SetSegFilteringHicut(), CBlastOptions::SetSegFilteringLocut(), CBlastOptions::SetSegFilteringWindow(), CBlastOptions::SetSmithWatermanMode(), CBlastOptions::SetStrandOption(), CBlastOptions::SetSubjectBestHit(), CBlastOptions::SetSumStatisticsMode(), CBlastOptions::SetUnifiedP(), CBlastOptions::SetUseIndex(), CBlastOptionsRemote::SetValue(), CBlastOptions::SetWindowMaskerDatabase(), CBlastOptions::SetWindowMaskerTaxId(), CBlastOptions::SetWindowSize(), CBlastOptions::SetWordSize(), CBlastOptions::SetWordThreshold(), and CBlastOptions::SetXDropoff().

◆ SetValue() [5/12]

void CBlastOptionsRemote::SetValue ( EBlastOptIdx  opt,
const ESeedContainerType x 
)

◆ SetValue() [6/12]

void CBlastOptionsRemote::SetValue ( EBlastOptIdx  opt,
const int x 
)

◆ SetValue() [7/12]

void CBlastOptionsRemote::SetValue ( EBlastOptIdx  opt,
const Int8 x 
)

◆ SetValue() [8/12]

void CBlastOptionsRemote::SetValue ( EBlastOptIdx  opt,
const objects::ENa_strand x 
)
inline

Definition at line 122 of file blast_options_cxx.cpp.

References CBlastOptionsRemote::SetValue().

◆ SetValue() [9/12]

void CBlastOptionsRemote::SetValue ( EBlastOptIdx  opt,
const short &  x 
)
inline

Definition at line 107 of file blast_options_cxx.cpp.

References CBlastOptionsRemote::SetValue().

◆ SetValue() [10/12]

void CBlastOptionsRemote::SetValue ( EBlastOptIdx  opt,
const TSeqLocVector x 
)

◆ SetValue() [11/12]

void CBlastOptionsRemote::SetValue ( EBlastOptIdx  opt,
const unsigned char &  x 
)
inline

Definition at line 117 of file blast_options_cxx.cpp.

References CBlastOptionsRemote::SetValue().

◆ SetValue() [12/12]

void CBlastOptionsRemote::SetValue ( EBlastOptIdx  opt,
const unsigned int x 
)
inline

Definition at line 112 of file blast_options_cxx.cpp.

References CBlastOptionsRemote::SetValue().

◆ SetVecScreenDefaults()

void CBlastNucleotideOptionsHandle::SetVecScreenDefaults ( )

◆ SetVerbose() [1/2]

void CBlastServices::SetVerbose ( bool  value = true)
inline

Analogous to CRemoteBlast::SetVerbose.

Definition at line 113 of file blast_services.hpp.

References rapidjson::value.

◆ SetVerbose() [2/2]

void CRemoteBlast::SetVerbose ( EDebugMode  verb = eDebug)

Adjust the debugging level.

This causes debugging trace data to be dumped to standard output, along with ASN.1 objects used during the search and other text. It produces a great deal of output, none of which is expected to be useful to the end-user.

Definition at line 1629 of file remote_blast.cpp.

References CRemoteBlast::m_Verbose.

Referenced by InitializeRemoteBlast(), CBlastFormatterApp::Run(), and CBlastFormatterVdbApp::Run().

◆ SetWindowMaskerDatabase() [1/3]

void CBlastNucleotideOptionsHandle::SetWindowMaskerDatabase ( const char *  db)
inline

Enable window masker and select a database (or NULL to disable).

Parameters
taxidSelect Window Masker filtering database by filename [in]

Definition at line 153 of file blast_nucl_options.hpp.

Referenced by BOOST_AUTO_TEST_CASE().

◆ SetWindowMaskerDatabase() [2/3]

void CBlastOptions::SetWindowMaskerDatabase ( const char *  db)

Sets the windowmasker database to use.

This must be the name of a subdirectory of WINDOW_MASKER_PATH

Note
this only runs on machines that have the WINDOW_MASKER_PATH configuration value set and have the the correct endianness. If windowmasker databases are not available, the filtering will fail silently

Definition at line 1376 of file blast_options_cxx.cpp.

References eBlastOpt_WindowMaskerDatabase, CBlast4Field::Get(), CBlastOptions::m_Local, CBlastOptions::m_Remote, CBlastOptionsRemote::ResetValue(), CBlastOptionsRemote::SetValue(), CBlastOptionsLocal::SetWindowMaskerDatabase(), and rapidjson::value.

Referenced by CBlastOptions::ClearFilterOptions(), and CFilteringArgs::ExtractAlgorithmOptions().

◆ SetWindowMaskerDatabase() [3/3]

void CBlastOptionsLocal::SetWindowMaskerDatabase ( const char *  db)
inline

◆ SetWindowMaskerTaxId() [1/3]

void CBlastNucleotideOptionsHandle::SetWindowMaskerTaxId ( int  taxid)
inline

Enable window masker and select a taxid (or 0 to disable).

Parameters
taxidSelect Window Masker filtering database for this taxid [in]

Definition at line 143 of file blast_nucl_options.hpp.

Referenced by BOOST_AUTO_TEST_CASE().

◆ SetWindowMaskerTaxId() [2/3]

void CBlastOptions::SetWindowMaskerTaxId ( int  taxid)

Sets the tax id to select an appropriate windowmasker database Conversion algorithm from tax id to database name is specific to NCBI, will not work outside NCBI.

Note
this only runs on machines that have the WINDOW_MASKER_PATH configuration value set and have the the correct endianness. If windowmasker databases are not available, the filtering will fail silently

Definition at line 1352 of file blast_options_cxx.cpp.

References eBlastOpt_WindowMaskerTaxId, CBlast4Field::Get(), CBlastOptions::m_Local, CBlastOptions::m_Remote, CBlastOptionsRemote::ResetValue(), CBlastOptionsRemote::SetValue(), CBlastOptionsLocal::SetWindowMaskerTaxId(), and rapidjson::value.

Referenced by CBlastOptions::ClearFilterOptions(), CFilteringArgs::ExtractAlgorithmOptions(), and CBlastOptionsBuilder::x_ProcessOneOption().

◆ SetWindowMaskerTaxId() [3/3]

void CBlastOptionsLocal::SetWindowMaskerTaxId ( int  taxid)
inline

◆ SetWindowSize() [1/3]

void CBlastOptions::SetWindowSize ( int  w)

◆ SetWindowSize() [2/3]

void CBlastOptionsLocal::SetWindowSize ( int  w)
inline

◆ SetWindowSize() [3/3]

void CBlastOptionsHandle::SetWindowSize ( int  ws)
inline

◆ SetWordSize() [1/6]

void CMagicBlastOptionsHandle::SetWordSize ( int  w)
inline

◆ SetWordSize() [2/6]

void CBlastNucleotideOptionsHandle::SetWordSize ( int  ws)
inline

◆ SetWordSize() [3/6]

void CBlastOptions::SetWordSize ( int  ws)

◆ SetWordSize() [4/6]

void CBlastProteinOptionsHandle::SetWordSize ( int  ws)

◆ SetWordSize() [5/6]

void CDiscNucleotideOptionsHandle::SetWordSize ( int  ws)
inline

Sets WordSize.

Parameters
wsWordSize [in]

Definition at line 86 of file disc_nucl_options.hpp.

References NCBI_THROW.

Referenced by BOOST_AUTO_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), and CDiscNucleotideOptionsHandle::SetMBLookupTableDefaults().

◆ SetWordSize() [6/6]

void CBlastOptionsLocal::SetWordSize ( int  ws)
inline

◆ SetWordThreshold() [1/3]

void CBlastOptions::SetWordThreshold ( double  w)

◆ SetWordThreshold() [2/3]

void CBlastOptionsLocal::SetWordThreshold ( double  w)
inline

◆ SetWordThreshold() [3/3]

void CBlastProteinOptionsHandle::SetWordThreshold ( double  wt)
inline

◆ SetXDropoff() [1/5]

void CBlastNucleotideOptionsHandle::SetXDropoff ( double  x)
inline

◆ SetXDropoff() [2/5]

void CBlastOptions::SetXDropoff ( double  x)

◆ SetXDropoff() [3/5]

void CBlastProteinOptionsHandle::SetXDropoff ( double  x)
inline

Sets XDropoff.

Parameters
xXDropoff [in]

Definition at line 82 of file blast_prot_options.hpp.

Referenced by BOOST_FIXTURE_TEST_CASE(), and CBlastProteinOptionsHandle::SetInitialWordOptionsDefaults().

◆ SetXDropoff() [4/5]

void CBlastRPSOptionsHandle::SetXDropoff ( double  x)
inline

Sets XDropoff.

Parameters
xXDropoff [in]

Definition at line 75 of file blast_rps_options.hpp.

Referenced by CBlastRPSOptionsHandle::SetInitialWordOptionsDefaults().

◆ SetXDropoff() [5/5]

void CBlastOptionsLocal::SetXDropoff ( double  x)
inline

◆ SInternalData()

SInternalData::SInternalData ( )

Default ctor.

Definition at line 465 of file setup_factory.cpp.

References SInternalData::m_Queries, and SInternalData::m_QueryInfo.

◆ size() [1/3]

size_type CSearchResultSet::size ( ) const
inline

◆ size() [2/3]

size_type CMagicBlastResultSet::size ( ) const
inline

Get number of results, provided to facilitate STL-style iteration.

Definition at line 264 of file magicblast.hpp.

References CMagicBlastResultSet::m_Results.

Referenced by CMagicBlastResultSet::empty().

◆ Size() [1/7]

size_t CSeqDbSeqInfoSrc::Size ( ) const
virtual

Returns the size of the underlying container of sequences.

Implements IBlastSeqInfoSrc.

Definition at line 82 of file seqinfosrc_seqdb.cpp.

References CSeqDB::GetNumOIDs(), and CSeqDbSeqInfoSrc::m_iSeqDb.

◆ Size() [2/7]

size_t CSeqVecSeqInfoSrc::Size ( ) const
virtual

Returns the size of the underlying container of sequences.

Implements IBlastSeqInfoSrc.

Definition at line 99 of file seqinfosrc_seqvec.cpp.

References CSeqVecSeqInfoSrc::m_SeqVec.

◆ Size() [3/7]

TSeqPos CBlastQuerySourceBioseqSet::Size ( void  ) const
virtual

Return the number of elements in the sequence container.

Implements IBlastQuerySource.

Definition at line 260 of file bioseq_extract_data_priv.cpp.

References CBlastQuerySourceBioseqSet::m_Bioseqs.

Referenced by s_ConstBioseqSetToSeqLocs(), and CBioseqSeqInfoSrc::Size().

◆ Size() [4/7]

TSeqPos CBlastQuerySourceOM::Size ( void  ) const
virtual

Return the number of elements in the sequence container.

Implements IBlastQuerySource.

Definition at line 382 of file blast_objmgr_tools.cpp.

References CBlastQuerySourceOM::m_QueryVector, CBlastQuerySourceOM::m_TSeqLocVector, CRef< C, Locker >::NotEmpty(), and CBlastQueryVector::Size().

◆ size() [3/3]

TSeqPos IBlastSeqVector::size ( void  ) const
inline

◆ Size() [5/7]

size_t CBioseqSeqInfoSrc::Size ( void  ) const
virtual

Returns the size of the underlying container of sequences.

Implements IBlastSeqInfoSrc.

Definition at line 84 of file seqinfosrc_bioseq.cpp.

References CBioseqSeqInfoSrc::m_DataSource, and CBlastQuerySourceBioseqSet::Size().

◆ Size() [6/7]

virtual size_t IBlastSeqInfoSrc::Size ( ) const
pure virtual

Returns the size of the underlying container of sequences.

Implemented in CBioseqSeqInfoSrc, CSeqVecSeqInfoSrc, and CSeqDbSeqInfoSrc.

Referenced by CLocalBlast::Run(), s_BlastResults2SeqAlignSequenceCmp_OMF(), s_MakeEmptyResults(), and CMagicBlast::x_Run().

◆ Size() [7/7]

virtual TSeqPos IBlastQuerySource::Size ( ) const
pure virtual

◆ SmithWatermanScoreWithTraceback()

void SmithWatermanScoreWithTraceback ( EBlastProgramType  program_number,
const Uint1 A,
Int4  a_size,
const Uint1 B,
Int4  b_size,
BlastHSP template_hsp,
BlastHSPList hsp_list,
const BlastScoringParameters score_params,
const BlastHitSavingParameters hit_params,
BlastGapAlignStruct gap_align,
Int4  start_shift,
Int4  cutoff 
)

Find all local alignments between two (unpacked) sequences, using the Smith-Waterman algorithm, then save the list of alignments found.

The algorithm to recover all high-scoring local alignments, and not just the best one, is described in

Geoffrey J. Barton, "An Efficient Algorithm to Locate All
Locally Optimal Alignments Between Two Sequences Allowing for Gaps".
Computer Applications in the Biosciences, (1993), 9, pp. 729-734
Parameters
program_numberBlast program requesting traceback [in]
AThe first sequence [in]
a_sizeLength of the first sequence [in]
BThe second sequence [in]
b_sizeLength of the second sequence [in]
template_hspPlaceholder alignment, used only to determine contexts and frames [in]
hsp_listCollection of alignments found so far [in][out]
score_paramsStructure containing gap penalties [in]
hit_paramsStructure used for percent identity calculation [in]
gap_alignAuxiliary data for gapped alignment (used for score matrix info) [in]
start_shiftBias to be applied to subject offsets [in]
cutoffAlignments are saved if their score exceeds this value [in]

Definition at line 414 of file blast_sw.c.

References A, B, BlastGapSW::best, BlastGapSW::best_gap, calloc(), SBlastScoreMatrix::data, EDIT_GAP_IN_A, EDIT_GAP_IN_B, EDIT_START_GAP_A, EDIT_START_GAP_B, EDIT_SUB, FALSE, free(), BlastScoringParameters::gap_extend, BlastScoringParameters::gap_open, i, malloc(), BlastScoreBlk::matrix, MAX, BlastHitSavingParameters::options, BlastScoringParameters::options, BlastGapSW::path_score, BlastGapSW::path_stop_i, BlastGapSW::path_stop_j, BlastGapAlignStruct::positionBased, BlastScoreBlk::psi_matrix, SPsiBlastScoreMatrix::pssm, s_GetTraceback(), BlastGapAlignStruct::sbp, SWAP_INT, SWAP_SEQS, and TRUE.

Referenced by Blast_TracebackFromHSPList().

◆ SMultiSeqSrcNewArgs()

SMultiSeqSrcNewArgs::SMultiSeqSrcNewArgs ( TSeqLocVector  sv,
EBlastProgramType  p,
bool  db 
)
inline

Constructor.

Definition at line 467 of file seqsrc_multiseq.cpp.

◆ SNcbiMatrix2DoubleMatrix()

SNcbiMatrix2DoubleMatrix::SNcbiMatrix2DoubleMatrix ( const CNcbiMatrix< double > &  m)
inline

Constructor.

Parameters
mstandard c++ toolkit matrix

Definition at line 309 of file pssm_engine.cpp.

References CNcbiMatrix< T >::GetCols(), CNcbiMatrix< T >::GetRows(), SNcbiMatrix2DoubleMatrix::m_Data, and r().

◆ SOptional()

template<typename T >
CBlastOptionsBuilder::SOptional< T >::SOptional ( )
inline

Constructor.

Definition at line 213 of file blast_options_builder.hpp.

◆ SortAlignments()

void CMagicBlastResults::SortAlignments ( CMagicBlastResults::EOrdering  order)

Sort alignments by selected criteria (pair configuration)

Definition at line 640 of file magicblast.cpp.

References CMagicBlastResults::eFwRevFirst, CMagicBlastResults::m_Aligns, and CSeq_align_set_Base::Set().

◆ SPatternUnit()

SPatternUnit::SPatternUnit ( const string  unit)
inline

Definition at line 56 of file seedtop.hpp.

References NCBI_THROW, string, and NStr::StringToUInt().

◆ Split()

CRef< CSplitQueryBlk > CQuerySplitter::Split ( )

◆ SplitQuery_CalculateNumChunks()

Uint4 SplitQuery_CalculateNumChunks ( EBlastProgramType  program,
size_t *  chunk_size,
size_t  concatenated_query_length,
size_t  num_queries 
)

Calculate the number of chunks that a query will be split into based upon query length, chunk_size and program.

Parameters
programBLAST program type [in]
chunk_sizesize of each of the query chunks, may be adjusted [in|out]
concatenated_query_lengthlength of the concatenated query [in]
num_queriesnumber of queries to split [in]

Definition at line 100 of file split_query_aux_priv.cpp.

References _ASSERT, _DEBUG_ARG, _TRACE, Blast_QueryIsTranslated(), chunk_size, CODON_LENGTH, SplitQuery_GetOverlapChunkSize(), and SplitQuery_ShouldSplit().

Referenced by BOOST_AUTO_TEST_CASE(), CQuerySplitter::CQuerySplitter(), and CSplitQueryTestFixture::x_TestCContextTranslator().

◆ SplitQuery_CreateChunkData()

CRef< SInternalData > SplitQuery_CreateChunkData ( CRef< IQueryFactory qf,
CRef< CBlastOptions options,
CRef< SInternalData full_data,
size_t  num_threads 
)

◆ SplitQuery_GetChunkSize()

size_t SplitQuery_GetChunkSize ( EProgram  program)

◆ SplitQuery_GetOverlapChunkSize()

size_t SplitQuery_GetOverlapChunkSize ( EBlastProgramType  program)

◆ SplitQuery_SetEffectiveSearchSpace()

void SplitQuery_SetEffectiveSearchSpace ( CRef< CBlastOptions options,
CRef< IQueryFactory full_query_fact,
CRef< SInternalData full_data 
)

◆ SplitQuery_ShouldSplit()

bool SplitQuery_ShouldSplit ( EBlastProgramType  program,
size_t  chunk_size,
size_t  concatenated_query_length,
size_t  num_queries 
)

Determines if the input query sequence(s) should be split because it.

is supported by the current implementation. The splitting decision in this function is not based upon query length.

Parameters
programBLAST program type [in]
chunk_sizesize of each of the query chunks [in]
concatenated_query_lengthlength of the concatenated query [in]
num_queriesnumber of queries to split [in]

Definition at line 73 of file split_query_aux_priv.cpp.

References Blast_ProgramIsPhiBlast(), Blast_SubjectIsPssm(), eBlastTypeBlastx, and eBlastTypeMapping.

Referenced by SplitQuery_CalculateNumChunks().

◆ SQueryFactorySrcNewArgs()

SQueryFactorySrcNewArgs::SQueryFactorySrcNewArgs ( CRef< IQueryFactory qf,
const TSeqLocVector subj_seqs,
EBlastProgramType  p 
)
inline

Constructor.

Definition at line 445 of file seqsrc_query_factory.cpp.

◆ SSeqDB_SeqSrc_Data() [1/2]

SSeqDB_SeqSrc_Data::SSeqDB_SeqSrc_Data ( )
inline

Constructor.

Definition at line 55 of file seqsrc_seqdb.cpp.

Referenced by SSeqDB_SeqSrc_Data::clone().

◆ SSeqDB_SeqSrc_Data() [2/2]

SSeqDB_SeqSrc_Data::SSeqDB_SeqSrc_Data ( CSeqDB ptr,
int  id,
ESubjectMaskingType  type 
)
inline

Constructor.

Definition at line 61 of file seqsrc_seqdb.cpp.

◆ Submit()

bool CRemoteBlast::Submit ( void  )

This submits the search (if necessary) and returns immediately.

If a new search is configured, and not already submitted, this will submit it. It then polls for results until either completion or error state is reached, or until the search times out. The polling is done at an increasing interval, which starts out at 10 seconds, increasing by 30% after each check to a maximum of 300 seconds per sleep.

Returns
true if the search was submitted, otherwise false.

Definition at line 297 of file remote_blast.cpp.

References CRemoteBlast::eStart, CRemoteBlast::m_Errs, CRemoteBlast::x_GetState(), and CRemoteBlast::x_SubmitSearch().

Referenced by BOOST_AUTO_TEST_CASE(), CRemoteBlast::CheckDone(), and CIgBlast::Run().

◆ SubmitSync() [1/2]

bool CRemoteBlast::SubmitSync ( int  timeout)

This submits the search (if necessary) and polls for results.

If a new search is configured, and not already submitted, this will submit it. It then polls for results until either completion or error state is reached, or until the search times out. The polling is done at an increasing interval, which starts out at 10 seconds, increasing by 30% after each check to a maximum of 300 seconds per sleep.

Parameters
timeoutSearch timeout specified as a number of seconds.
Returns
true if the search was submitted, otherwise false.

Definition at line 264 of file remote_blast.cpp.

References CRemoteBlast::eDone, CRemoteBlast::ePollAsync, CRemoteBlast::ePollImmed, CRemoteBlast::eStart, CRemoteBlast::eWait, CRemoteBlast::m_Errs, CRemoteBlast::x_GetState(), CRemoteBlast::x_PollUntilDone(), and CRemoteBlast::x_SubmitSearch().

◆ SubmitSync() [2/2]

bool CRemoteBlast::SubmitSync ( void  )

This submits the search (if necessary) and polls for results.

If a new search is configured, and not already submitted, this will submit it. It then polls for results until either completion or error state is reached, or until the search times out. The polling is done at an increasing interval, which starts out at 10 seconds, increasing by 30% after each check to a maximum of 300 seconds per sleep.

Returns
true if the search was submitted, otherwise false.

Definition at line 1619 of file remote_blast.cpp.

References CRemoteBlast::x_DefaultTimeout().

Referenced by CRemoteBlast::GetResultSet(), CRemoteSeqSearch::Run(), CRemotePssmSearch::Run(), and CRemoteBlast::x_GetGSRR().

◆ Subtract()

void CCddInputData::CHit::Subtract ( const CHit hit)

Subtract from another hit from this hit using query ranges.

Parameters
hitHit to subtract [in]

Definition at line 614 of file cdd_pssm_input.cpp.

References _ASSERT, CCddInputData::CHitSegment::AdjustRanges(), CRange_Base::GetFrom(), CCddInputData::CHit::GetSegments(), CCddInputData::CHit::IsEmpty(), CCddInputData::CHitSegment::m_QueryRange, and NULL.

◆ SVolResults()

CIndexedDb_New::SVolResults::SVolResults ( )
inline

Definition at line 381 of file blast_dbindex.cpp.

◆ test()

bool SPatternUnit::test ( Uint1  letter)
inline

Definition at line 124 of file seedtop.hpp.

References letter().

◆ ThrowIfInvalidTask()

void ThrowIfInvalidTask ( const string task)

Validates that the task provided is indeed a valid task, otherwise throws a CBlastException.

Parameters
tasktask name to validate [in]

Definition at line 662 of file blast_aux.cpp.

References set< Key, Compare >::empty(), set< Key, Compare >::end(), set< Key, Compare >::find(), CBlastOptionsFactory::GetTasks(), and NCBI_THROW.

Referenced by CBlastOptionsFactory::CreateTask(), EProgramToTaskName(), ProgramNameToEnum(), and CBlastAppArgs::SetTask().

◆ ToString()

string TSearchMessages::ToString ( ) const

Converts messages to a string, which is returned.

Returns
A string containing all such messages.

Definition at line 1013 of file blast_aux.cpp.

References ITERATE, and msg().

Referenced by BOOST_AUTO_TEST_CASE(), CSetupFactory::CreateLookupTable(), CSetupFactory::CreateScoreBlock(), CRemoteBlast::GetResultSet(), and SetupQueries_OMF().

◆ TraceNames()

static void CIndexedDb_New::TraceNames ( const TStrVec names)
inlinestaticprivate

This is only used for debugging output.

Definition at line 407 of file blast_dbindex.cpp.

References i, IDX_TRACE, ITERATE, and names.

Referenced by CIndexedDb_New::CIndexedDb_New().

◆ TraceVolumes()

void CIndexedDb_New::TraceVolumes ( void  )
inlineprivate

This is only used for debugging output.

Definition at line 415 of file blast_dbindex.cpp.

References i, IDX_TRACE, ITERATE, and CIndexedDb_New::volumes_.

Referenced by CIndexedDb_New::CIndexedDb_New().

◆ TrimSeqAlign()

void CSearchResults::TrimSeqAlign ( objects::CSeq_align_set::Tdata::size_type  max_size)

Trim align_set size @parm size max num of alignments to keep (0 will erase all)

Definition at line 347 of file blast_results.cpp.

References CSearchResults::HasAlignments(), CSearchResults::m_Alignment, CSeq_id::Match(), and CRef< C, Locker >::Reset().

◆ TSeqLocVector2Bioseqs()

CRef<objects::CBioseq_set> TSeqLocVector2Bioseqs ( const TSeqLocVector input)

Convert a TSeqLocVector to a CBioseq_set.

Parameters
inputTSeqLocVector to convert [in]
Returns
CBioseq_set with CBioseqs from the input, or NULL of input is empty

Definition at line 1070 of file blast_aux.cpp.

References CSeq_entry_Handle::GetCompleteSeq_entry(), CBioseq_Handle::GetTopLevelEntry(), input(), ITERATE, and CRef< C, Locker >::Reset().

Referenced by BOOST_AUTO_TEST_CASE().

◆ TSeqLocVector2Packed_seqint()

CRef<objects::CPacked_seqint> TSeqLocVector2Packed_seqint ( const TSeqLocVector sequences)

Converts a TSeqLocVector into a CPacked_seqint.

Note that a consequence of this is that the CSeq_loc-s specified in the TSeqLocVector cannot be of type mix or packed int

Parameters
sequencesdata to convert from [in]
Returns
CPacked_seqint containing data from previous sequences

Definition at line 581 of file blast_objmgr_tools.cpp.

References GetId(), GetLength(), GetStart(), GetStop(), COpenRange< TSeqPos >::GetWhole(), ITERATE, NCBI_THROW, compile_time_bits::range(), and CRef< C, Locker >::Reset().

Referenced by BOOST_AUTO_TEST_CASE().

◆ UpdateIndex()

void CIndexedDb_New::UpdateIndex ( Int4  oid,
Int4 vol_idx 
)
private

Update the seed sets, if necessary.

If oid belongs to the volume at vol_idx, then does nothing. Otherwise finds the index of the volume containing oid and saves it in *vol_idx. Updates the reference counts of all volumes between the old and new values of *vol_idx, releasing the result sets if necessary. If the results for new volume are not yet available, searches the new volume and stores the results.

Parameters
oidordinal id of the subject sequence
vol_idx[in/out] index of the volume containing ordinal id of the sequence last accessed by this thread; updated to the index of the volume containing oid

Definition at line 812 of file blast_dbindex.cpp.

References ASSERT, CIndexedDb_New::FindVolume(), CBlastSeqLocWrap::getLocs(), IDX_TRACE, LAST_VOL_IDX_INIT, CDbIndex::Load(), CIndexedDb::locs_wrap_, CIndexedDb_New::mtx_, CIndexedDb_New::SVolumeDescriptor::n_oids, CIndexedDb_New::n_threads_, NCBI_THROW, CIndexedDb_New::queries_, CIndexedDb_New::SVolResults::ref_count, CIndexedDb_New::SVolResults::res, CIndexedDb_New::results_holder_, CDbIndex::Search(), CIndexedDb_New::sopt_, CIndexedDb_New::SVolumeDescriptor::start_oid, and CIndexedDb_New::volumes_.

Referenced by CIndexedDb_New::CheckOid().

◆ UseProteinCoords()

void CBlastQueryFilteredFrames::UseProteinCoords ( TSeqPos  dna_length)

Adjusts all stored masks from nucleotide to protein offsets.

Values stored here must be converted to protein offsets after a certain stage of processing. This method only has an effect for types of searches that need this service (which are those searches where the query sequence is translated.) Additional calls to this method will have no effect.

Parameters
dna_lengthThe query length in nucleotide bases.

Definition at line 1588 of file blast_setup_cxx.cpp.

References _ASSERT, CODON_LENGTH, CSeqLocInfo::eFrameMinus1, CSeqLocInfo::eFrameMinus2, CSeqLocInfo::eFrameMinus3, CSeqLocInfo::eFramePlus1, CSeqLocInfo::eFramePlus2, CSeqLocInfo::eFramePlus3, int, ITERATE, CBlastQueryFilteredFrames::m_Seqlocs, CBlastQueryFilteredFrames::m_TranslateCoords, and BlastSeqLoc::next.

Referenced by BOOST_AUTO_TEST_CASE(), and s_AddMask().

◆ USING_SCOPE() [1/6]

USING_SCOPE ( blast  )

◆ USING_SCOPE() [2/6]

USING_SCOPE ( ncbi  )

◆ USING_SCOPE() [3/6]

USING_SCOPE ( ncbi::blast  )

◆ USING_SCOPE() [4/6]

USING_SCOPE ( ncbi::blastdbindex  )

◆ USING_SCOPE() [5/6]

USING_SCOPE ( ncbi::objects  )

◆ USING_SCOPE() [6/6]

USING_SCOPE ( objects  )

◆ Validate() [1/5]

bool CBlastOptions::Validate ( void  ) const

◆ Validate() [2/5]

bool CBlastOptionsHandle::Validate ( void  ) const

Validate the options contained in this object.

Note
This method is meant to be used before calling any code that processes the BLAST options classes

Definition at line 92 of file blast_options_handle.cpp.

References CBlastOptionsHandle::m_Opts, and CBlastOptions::Validate().

Referenced by CBlastDemoApplication::Run(), CBlastAppArgs::SetOptions(), CBlastAppArgs::SetOptionsForSavedStrategy(), CSplignApp::x_SetupBlastOptions(), and CPsiBlastImpl::x_Validate().

◆ Validate() [3/5]

bool CBlastOptionsLocal::Validate ( void  ) const

◆ Validate() [4/5]

bool CCddInputData::CHitSegment::Validate ( void  ) const

Validate hit segment.

Returns
True if hit segment is valid, false otherwise

Check whether range on query and subject have the same lengths, MSA data is set and corresponds to subject range

Definition at line 766 of file cdd_pssm_input.cpp.

References _ASSERT, ITERATE, CCddInputData::kAlphabetSize, and CCddInputData::m_MsaData.

◆ Validate() [5/5]

bool CCddInputData::CHit::Validate ( void  ) const

Validate hit.

Returns
True if hit is valid, false otherwise

Definition at line 480 of file cdd_pssm_input.cpp.

References _ASSERT, and ITERATE.

◆ WindowMaskerPathGet()

string WindowMaskerPathGet ( )

Retrieves the path to the windowmasker data files.

Definition at line 93 of file winmask_filter.cpp.

References s_WINDOW_MASKER_PATH().

Referenced by s_FindPathToWM(), and CBLASTSeqToolJob::x_CreateProjectItems().

◆ WindowMaskerPathInit()

int WindowMaskerPathInit ( const string window_masker_path)

Initialize the path to the windowmasker data files.

Parameters
window_masker_pathpath to window masker data files [in]
Returns
0 in case of success, 1 if the path does not exist or is a file

Definition at line 77 of file winmask_filter.cpp.

References CDirEntry::eDir, and s_WINDOW_MASKER_PATH().

Referenced by BOOST_AUTO_TEST_CASE(), s_CallAligner(), and CBLASTSeqToolJob::x_CreateProjectItems().

◆ WindowMaskerPathReset()

void WindowMaskerPathReset ( )

Resets the path to the windowmasker data files.

Definition at line 88 of file winmask_filter.cpp.

References s_WINDOW_MASKER_PATH().

Referenced by BOOST_AUTO_TEST_CASE().

◆ WindowMaskerTaxidToDb() [1/2]

string WindowMaskerTaxidToDb ( const string window_masker_path,
int  taxid 
)

Get the windowmasker file path for a given taxid and base path.

Parameters
taxidNCBI taxonomy ID to get windowmasker files for [in]
Returns
empty string if not found
Note
Needed for GBench to ensure MT-safety, it this is not a concern, use the other overloaded version of WindowMaskerTaxidToDb

Definition at line 401 of file winmask_filter.cpp.

References CDirEntry::GetPathSeparator(), NStr::IntToString(), kEmptyStr, and s_WINDOW_MASKER_STAT_FILE_NAME().

◆ WindowMaskerTaxidToDb() [2/2]

string WindowMaskerTaxidToDb ( int  taxid)

Get the windowmasker file path for a given taxid.

Parameters
taxidNCBI taxonomy ID to get windowmasker files for [in]
Returns
empty string if not found

Definition at line 411 of file winmask_filter.cpp.

References s_FindPathToWM().

Referenced by Blast_FindWindowMaskerLocTaxId(), and BOOST_AUTO_TEST_CASE().

◆ WrapStruct()

template<class TData >
CStructWrapper<TData>* WrapStruct ( TData *  obj,
TData *(*)(TData *)  del 
)

Auxiliary function to create a CStructWrapper for a pointer to an object.

Parameters
objpointer to wrap [in]
deldeallocation function [in]

Definition at line 155 of file setup_factory.hpp.

Referenced by BOOST_AUTO_TEST_CASE(), CBlastTracebackSearch::Run(), CMagicBlast::Run(), CMagicBlast::RunEx(), CTracebackSearchTestFixture::x_GetSampleHspStream(), and CTracebackSearchTestFixture::x_GetSelfHitHspStream().

◆ Write()

int CBlastHSPListQueueData::Write ( BlastHSPList **  hsp_list)

Write to the queue.

◆ x_AddParameterToProgramOptions() [1/4]

void CExportStrategy::x_AddParameterToProgramOptions ( objects::CBlast4Field &  field,
const int  int_value 
)
private

◆ x_AddParameterToProgramOptions() [2/4]

void CExportStrategy::x_AddParameterToProgramOptions ( objects::CBlast4Field &  field,
const string str 
)
private

◆ x_AddParameterToProgramOptions() [3/4]

void CExportStrategy::x_AddParameterToProgramOptions ( objects::CBlast4Field &  field,
const vector< int > &  int_list 
)
private

◆ x_AddParameterToProgramOptions() [4/4]

void CExportStrategy::x_AddParameterToProgramOptions ( objects::CBlast4Field &  field,
const vector< Int8 > &  int_list 
)
private

◆ x_AddPsiNumOfIterationsToFormatOptions()

void CExportStrategy::x_AddPsiNumOfIterationsToFormatOptions ( unsigned int  num_iters)
private

◆ x_AdjustProgram()

EProgram CRemoteBlast::x_AdjustProgram ( const TValueList L,
const string pstr,
EProgram  program 
)
private

Adjust the EProgram based on option values.

The blast4 protocol uses a notion of program and service to represent the type of search to do. However, for some values of program and service, it is necessary to look at options values in order to determine the precise EProgram value. This is particularly true when dealing with discontiguous megablast for example.

Parameters
LThe list of options used for this search.
pstrThe program string used by the blast4 protocol.
programThe EProgram suggested by program+service.
Returns
The EProgram value as adjusted by options.

◆ x_AnnotateC()

void CIgBlast::x_AnnotateC ( CRef< CSearchResultSet > &  results_c,
CRef< CSearchResultSet > &  results_j,
vector< CRef< CIgAnnotation > > &  annot 
)
private

◆ x_AnnotateD()

void CIgBlast::x_AnnotateD ( CRef< CSearchResultSet > &  results_D,
vector< CRef< CIgAnnotation > > &  annot 
)
private

◆ x_AnnotateDJ()

void CIgBlast::x_AnnotateDJ ( CRef< CSearchResultSet > &  results_D,
CRef< CSearchResultSet > &  results_J,
vector< CRef< CIgAnnotation > > &  annot 
)
private

◆ x_AnnotateDomain()

void CIgBlast::x_AnnotateDomain ( CRef< CSearchResultSet > &  gl_results,
CRef< CSearchResultSet > &  dm_results,
vector< CRef< CIgAnnotation > > &  annot 
)
private

◆ x_AnnotateJ()

void CIgBlast::x_AnnotateJ ( CRef< CSearchResultSet > &  results_J,
vector< CRef< CIgAnnotation > > &  annot 
)
private

◆ x_AnnotateV()

void CIgBlast::x_AnnotateV ( CRef< CSearchResultSet > &  results,
vector< CRef< CIgAnnotation > > &  annot 
)
private

◆ x_ApplyInteractions()

void CBlastOptionsBuilder::x_ApplyInteractions ( CBlastOptionsHandle boh)
private

Apply values directly to BlastOptions object.

This function applies the values of certain blast4 parameter list options to the BlastOptions object. It is called after all other options are set. This design allows options which interact with each other to be handled as a group.

Parameters
bohBlast options handle.

Definition at line 561 of file blast_options_builder.cpp.

References CBlastOptionsBuilder::m_ForceMbIndex, CBlastOptionsBuilder::m_HspRangeMax, CBlastOptionsBuilder::m_MbIndexName, CBlastOptionsBuilder::m_PerformCulling, CBlastOptions::SetCullingLimit(), CBlastOptionsHandle::SetOptions(), and CBlastOptions::SetUseIndex().

Referenced by CBlastOptionsBuilder::GetSearchOptions().

◆ x_AttachValue()

void CBlastOptionsRemote::x_AttachValue ( CRef< objects::CBlast4_parameter >  p)
inlineprivate

◆ x_AutoDetectGeneticCodes()

void CBlastQuerySourceOM::x_AutoDetectGeneticCodes ( void  )
private

◆ x_BioseqSanityCheck()

void CBlastQuerySourceBioseqSet::x_BioseqSanityCheck ( const objects::CBioseq &  bs)
private

Auxiliary method to do some sanity checks on the input Bioseqs.

Parameters
bsBioseqs to inspect

Definition at line 419 of file bioseq_extract_data_priv.cpp.

References ENUM_METHOD_NAME, CSeq_inst_Base::eRepr_raw, CEnumeratedTypeValues::FindName(), CBlastQuerySourceBioseqSet::m_IsProt, msg(), and NCBI_THROW.

Referenced by CBlastQuerySourceBioseqSet::CBlastQuerySourceBioseqSet().

◆ x_BioseqSetFromBioseq()

CRef< CBioseq_set > x_BioseqSetFromBioseq ( const CBioseq bioseq)

Auxiliary function to convert a CBioseq into a CRef<CBioseq_set>

Definition at line 240 of file objmgrfree_query_data.cpp.

References CSeq_entry_Base::SetSeq(), and CBioseq_set_Base::SetSeq_set().

◆ x_BlastDatabaseOptions_cmp()

bool x_BlastDatabaseOptions_cmp ( const BlastDatabaseOptions a,
const BlastDatabaseOptions b 
)

Definition at line 466 of file blast_options_local_priv.cpp.

References a, and b.

Referenced by CBlastOptionsLocal::operator==().

◆ x_BlastEffectiveLengthsOptions_cmp()

bool x_BlastEffectiveLengthsOptions_cmp ( const BlastEffectiveLengthsOptions a,
const BlastEffectiveLengthsOptions b 
)

Definition at line 492 of file blast_options_local_priv.cpp.

References a, b, min(), and x_safe_memcmp().

Referenced by CBlastOptionsLocal::operator==().

◆ x_BlastScoringOptions_cmp()

bool x_BlastScoringOptions_cmp ( const BlastScoringOptions a,
const BlastScoringOptions b 
)

Definition at line 474 of file blast_options_local_priv.cpp.

References a, b, and x_safe_strcmp().

Referenced by CBlastOptionsLocal::operator==().

◆ x_BuildAncillaryData()

void CBl2Seq::x_BuildAncillaryData ( )
protected

Populate the internal m_AncillaryData member.

Definition at line 186 of file bl2seq.cpp.

References ITERATE, CBl2Seq::m_AncillaryData, CBl2Seq::m_Results, r(), and CSearchResultSet::size().

Referenced by CBl2Seq::Run().

◆ x_BuildResultSet()

CRef< CMagicBlastResultSet > CMagicBlast::x_BuildResultSet ( const BlastMappingResults results)
protected

◆ x_BuildSeqAlignSet()

CRef< CSeq_align_set > CMagicBlast::x_BuildSeqAlignSet ( const BlastMappingResults results)
protected

◆ x_BuildStdSegList()

bool CBlastPrelimSearch::x_BuildStdSegList ( vector< list< CRef< CStd_seg > > > &  list)
private

◆ x_CalculateMasks()

void CBlastQuerySourceOM::x_CalculateMasks ( void  )
private

◆ x_CheckConfig()

void CRemoteBlast::x_CheckConfig ( void  )
private

◆ x_CheckResults()

void CRemoteBlast::x_CheckResults ( void  )
private

◆ x_CheckResultsDC()

void CRemoteBlast::x_CheckResultsDC ( void  )
private

◆ x_ComplementData()

void CBlastSeqVectorFromCSeq_data::x_ComplementData ( )
private

◆ x_ComputeChunkRanges()

void CQuerySplitter::x_ComputeChunkRanges ( )
private

◆ x_ComputeContextOffsets_NonTranslatedQueries()

void CQuerySplitter::x_ComputeContextOffsets_NonTranslatedQueries ( )
private

◆ x_ComputeContextOffsets_TranslatedQueries()

void CQuerySplitter::x_ComputeContextOffsets_TranslatedQueries ( )
private

◆ x_ComputeContextOffsetsForChunks()

void CQuerySplitter::x_ComputeContextOffsetsForChunks ( )
private

◆ x_ComputeQueryContextsForChunks()

void CQuerySplitter::x_ComputeQueryContextsForChunks ( )
private

◆ x_ComputeQueryIndicesForChunks()

void CQuerySplitter::x_ComputeQueryIndicesForChunks ( )
private

◆ x_ContextInChunkToQueryIndex()

size_t CQueryDataPerChunk::x_ContextInChunkToQueryIndex ( int  context_in_chunk) const
private

Convert a context in a chunk to a query index (within the chunk)

Parameters
context_in_chunkcontext number [in]
Returns
query index

Definition at line 354 of file split_query_aux_priv.cpp.

References _ASSERT, Blast_GetQueryIndexFromContext(), and CQueryDataPerChunk::m_Program.

Referenced by CQueryDataPerChunk::GetLastChunk(), and CQueryDataPerChunk::GetQueryLength().

◆ x_ConvertResultType()

void CIgBlast::x_ConvertResultType ( CRef< CSearchResultSet > &  results)
private

◆ x_Copy_CBlastDatabaseOptions()

void CBlastOptionsLocal::x_Copy_CBlastDatabaseOptions ( CBlastDatabaseOptions dbOptsDst,
const CBlastDatabaseOptions dbOptsSrc 
)
staticprivate

Get a copy of CBlastDatabaseOptions.

Parameters
dbOptsDstoptions structure to copy to.
dbOptsSrcoptions structure to copy from.

Definition at line 304 of file blast_options_local_priv.cpp.

References BlastMemDup(), CBlastDatabaseOptions::Get(), and CBlastDatabaseOptions::Reset().

Referenced by CBlastOptionsLocal::x_DoDeepCopy().

◆ x_Copy_CBlastEffectiveLengthsOptions()

void CBlastOptionsLocal::x_Copy_CBlastEffectiveLengthsOptions ( CBlastEffectiveLengthsOptions effLenOptsDst,
const CBlastEffectiveLengthsOptions effLenOptsSrc 
)
staticprivate

Get a copy of CBlastEffectiveLengthsOptions.

Parameters
effLenOptsDstoptions structure to copy to.
effLenOptsSrcoptions structure to copy from.

Definition at line 325 of file blast_options_local_priv.cpp.

References BlastMemDup(), CBlastEffectiveLengthsOptions::Get(), BlastEffectiveLengthsOptions::num_searchspaces, CBlastEffectiveLengthsOptions::Reset(), and BlastEffectiveLengthsOptions::searchsp_eff.

Referenced by CBlastOptionsLocal::x_DoDeepCopy().

◆ x_Copy_CBlastExtensionOptions()

void CBlastOptionsLocal::x_Copy_CBlastExtensionOptions ( CBlastExtensionOptions extnOptsDst,
const CBlastExtensionOptions extnOptsSrc 
)
staticprivate

Get a copy of CBlastExtensionOptions.

Parameters
extnOptsDstoptions structure to copy to.
extnOptsSrcoptions structure to copy from.

Definition at line 237 of file blast_options_local_priv.cpp.

References BlastMemDup(), CBlastExtensionOptions::Get(), and CBlastExtensionOptions::Reset().

Referenced by CBlastOptionsLocal::x_DoDeepCopy().

◆ x_Copy_CBlastHitSavingOptions()

void CBlastOptionsLocal::x_Copy_CBlastHitSavingOptions ( CBlastHitSavingOptions hitSaveOptsDst,
const CBlastHitSavingOptions hitSaveOptsSrc 
)
staticprivate

Get a copy of CBlastHitSavingOptions.

Parameters
hitSaveOptsDstoptions structure to copy to.
hitSaveOptsSrcoptions structure to copy from.

Definition at line 249 of file blast_options_local_priv.cpp.

References BlastHSPFilteringOptions::best_hit, BlastMemDup(), BlastHSPFilteringOptions::culling_opts, CBlastHitSavingOptions::Get(), BlastHitSavingOptions::hsp_filt_opt, NULL, and CBlastHitSavingOptions::Reset().

Referenced by CBlastOptionsLocal::x_DoDeepCopy().

◆ x_Copy_CBlastInitialWordOptions()

void CBlastOptionsLocal::x_Copy_CBlastInitialWordOptions ( CBlastInitialWordOptions initWordOptsDst,
const CBlastInitialWordOptions initWordOptsSrc 
)
staticprivate

Get a copy of CBlastInitialWordOptions.

Parameters
initWordOptsDstoptions structure to copy to.
initWordOptsSrcoptions structure to copy from.

Definition at line 225 of file blast_options_local_priv.cpp.

References BlastMemDup(), CBlastInitialWordOptions::Get(), and CBlastInitialWordOptions::Reset().

Referenced by CBlastOptionsLocal::x_DoDeepCopy().

◆ x_Copy_CBlastScoringOptions()

void CBlastOptionsLocal::x_Copy_CBlastScoringOptions ( CBlastScoringOptions scoringOptsDst,
const CBlastScoringOptions scoringOptsSrc 
)
staticprivate

Get a copy of CBlastScoringOptions.

Parameters
scoringOptsDstoptions structure to copy to.
scoringOptsSrcoptions structure to copy from.

Definition at line 316 of file blast_options_local_priv.cpp.

References BlastScoringOptionsDup(), CBlastScoringOptions::Get(), NULL, and CBlastScoringOptions::Reset().

Referenced by CBlastOptionsLocal::x_DoDeepCopy().

◆ x_Copy_CLookupTableOptions()

void CBlastOptionsLocal::x_Copy_CLookupTableOptions ( CLookupTableOptions lutOptsDst,
const CLookupTableOptions lutOptsSrc 
)
staticprivate

Get a copy of CLookupTableOptions.

Parameters
lutOptsDstoptions structure to copy to.
lutOptsSrcoptions structure to copy from.

Definition at line 207 of file blast_options_local_priv.cpp.

References BlastMemDup(), CLookupTableOptions::Get(), LookupTableOptions::phi_pattern, CLookupTableOptions::Reset(), and strdup.

Referenced by CBlastOptionsLocal::x_DoDeepCopy().

◆ x_Copy_CPSIBlastOptions()

void CBlastOptionsLocal::x_Copy_CPSIBlastOptions ( CPSIBlastOptions psiBlastOptsDst,
const CPSIBlastOptions psiBlastOptsSrc 
)
staticprivate

Get a copy of CPSIBlastOptions.

Parameters
psiBlastOptsDstoptions structure to copy to.
psiBlastOptsSrcoptions structure to copy from.

Definition at line 292 of file blast_options_local_priv.cpp.

References BlastMemDup(), CPSIBlastOptions::Get(), and CPSIBlastOptions::Reset().

Referenced by CBlastOptionsLocal::x_DoDeepCopy().

◆ x_Copy_CQuerySetUpOptions()

void CBlastOptionsLocal::x_Copy_CQuerySetUpOptions ( CQuerySetUpOptions queryOptsDst,
const CQuerySetUpOptions queryOptsSrc 
)
staticprivate

◆ x_CopyQueryToMsa() [1/2]

void CPsiBlastInputClustalW::x_CopyQueryToMsa ( )
private

◆ x_CopyQueryToMsa() [2/2]

void CPsiBlastInputData::x_CopyQueryToMsa ( )
private

Copies query sequence data to multiple alignment data structure.

Definition at line 283 of file psi_pssm_input.cpp.

References _ASSERT, PSIMsa::data, CPsiBlastInputData::GetQueryLength(), i, PSIMsaCell::is_aligned, kQueryIndex, PSIMsaCell::letter, CPsiBlastInputData::m_Msa, and CPsiBlastInputData::m_Query.

Referenced by CPsiBlastInputData::Process().

◆ x_CountAndSelectQualifyingAlignments()

unsigned int CPsiBlastInputData::x_CountAndSelectQualifyingAlignments ( )
private

Examines the sequence alignment and keeps track of those hits which have an HSP with an e-value below the inclusion threshold specified in the PSIBlastOptions structure.

Returns
number of hits which qualify for constructing the multiple sequence alignment structure

Definition at line 178 of file psi_pssm_input.cpp.

References PSIBlastOptions::inclusion_ethresh, CPsiBlastInputData::m_Opts, CPsiBlastInputData::m_SeqAlignSet, proc, and set< Key, Compare >::size().

Referenced by CPsiBlastInputData::Process().

◆ x_CreateMsa()

void CCddInputData::x_CreateMsa ( void  )
protected

◆ x_CreatePssmFromCDD()

CRef< CPssmWithParameters > CPssmEngine::x_CreatePssmFromCDD ( void  )
private

◆ x_CreatePssmFromFreqRatios()

CRef< CPssmWithParameters > CPssmEngine::x_CreatePssmFromFreqRatios ( )
private

◆ x_CreatePssmFromMsa()

CRef< CPssmWithParameters > CPssmEngine::x_CreatePssmFromMsa ( )
private

◆ x_CreatePssmScoresFromFrequencyRatios()

void CPsiBlastImpl::x_CreatePssmScoresFromFrequencyRatios ( )
private

Computes the PSSM scores in case these are not available in the PSSM.

Definition at line 105 of file psiblast_impl.cpp.

References CBlastOptionsHandle::GetOptions(), CPsiBlastImpl::m_OptsHandle, CPsiBlastImpl::m_Pssm, and PsiBlastComputePssmScores().

◆ x_CreateSeqAlignSet()

CRef< CSeq_align_set > CMagicBlast::x_CreateSeqAlignSet ( const HSPChain results,
CRef< ILocalQueryData qdata,
CRef< IBlastSeqInfoSrc seqinfo_src,
const BlastQueryInfo query_info,
bool  btop_splice_signals 
)
staticprotected

◆ x_DefaultTimeout()

int CRemoteBlast::x_DefaultTimeout ( void  )
private

The default timeout is 3.5 hours.

Definition at line 1635 of file remote_blast.cpp.

References int.

Referenced by CRemoteBlast::SubmitSync(), and CRemoteBlast::x_GetRequestInfoFromRID().

◆ x_DoDeepCopy() [1/3]

void CBlastOptions::x_DoDeepCopy ( const CBlastOptions opts)
private

Perform a "deep copy" of Blast options.

Parameters
optsBlast options object to copy from.

Definition at line 2721 of file blast_options_cxx.cpp.

References CBlastOptions::m_DefaultsMode, CBlastOptions::m_Local, CBlastOptions::m_ProgramName, CBlastOptions::m_Remote, and CBlastOptions::m_ServiceName.

Referenced by CBlastOptions::Clone().

◆ x_DoDeepCopy() [2/3]

void CBlastOptionsLocal::x_DoDeepCopy ( const CBlastOptionsLocal optsLocal)
private

◆ x_DoDeepCopy() [3/3]

void CBlastOptionsRemote::x_DoDeepCopy ( const CBlastOptionsRemote optsRemote)
inlineprivate

Perform a "deep copy" of remote Blast options.

Parameters
optsRemoteremote Blast options object to copy from.

Definition at line 157 of file blast_options_cxx.cpp.

References CBlastOptionsRemote::m_DefaultsMode, CBlastOptionsRemote::m_ReqOpts, and CRef< C, Locker >::Reset().

Referenced by CBlastOptionsRemote::CBlastOptionsRemote(), and CBlastOptionsRemote::operator=().

◆ x_DoDestroy()

void CBlastRPSAuxInfo::x_DoDestroy ( )
private

Deallocates the structure owned by this class.

Definition at line 133 of file rps_aux.cpp.

References BlastRPSAuxInfo::karlin_k, CBlastRPSAuxInfo::m_Data, NULL, BlastRPSAuxInfo::orig_score_matrix, and sfree.

Referenced by CBlastRPSAuxInfo::CBlastRPSAuxInfo(), and CBlastRPSAuxInfo::~CBlastRPSAuxInfo().

◆ x_Encoding_CSeq_data2CSeqUtil()

CSeqUtil::ECoding CBlastSeqVectorFromCSeq_data::x_Encoding_CSeq_data2CSeqUtil ( objects::CSeq_data::E_Choice  c)
private

◆ x_ErrorCodeToString()

string CPssmEngine::x_ErrorCodeToString ( int  error_code)
staticprivate

◆ x_ExtendAlign3end()

void CIgBlast::x_ExtendAlign3end ( CRef< CSearchResultSet > &  results)
private

◆ x_ExtendAlign5end()

void CIgBlast::x_ExtendAlign5end ( CRef< CSearchResultSet > &  results)
private

◆ x_ExtractAlignmentData() [1/2]

void CPsiBlastInputClustalW::x_ExtractAlignmentData ( )
private

◆ x_ExtractAlignmentData() [2/2]

void CPsiBlastInputData::x_ExtractAlignmentData ( )
private

◆ x_ExtractCScopesAndMasks()

void CQuerySplitter::x_ExtractCScopesAndMasks ( )
private

◆ x_ExtractQueryForPssm() [1/3]

void CPsiBlastInputClustalW::x_ExtractQueryForPssm ( void  )
private

◆ x_ExtractQueryForPssm() [2/3]

void CPsiBlastInputData::x_ExtractQueryForPssm ( void  )
private

◆ x_ExtractQueryForPssm() [3/3]

void CCddInputData::x_ExtractQueryForPssm ( void  )
protected

◆ x_ExtractQueryFromMsa()

void CPsiBlastInputClustalW::x_ExtractQueryFromMsa ( unsigned int  msa_master_idx = 0)
private

Extracts the query sequence from the multiple sequence alignment, assuming it's the first one, into m_Query.

Postcondition
m_Query is not NULL and m_MsaDimensions.query_length is assigned

Definition at line 274 of file msa_pssm_input.cpp.

References _ASSERT, AMINOACID_TO_NCBISTDAA, AutoPtr< X, Del >::get(), isalpha(), ITERATE, kGapChar(), kQuery, CPsiBlastInputClustalW::m_AsciiMsa, CPsiBlastInputClustalW::m_MsaDimensions, CPsiBlastInputClustalW::m_Query, NCBI_THROW, NULL, PSIMsaDimensions::query_length, AutoPtr< X, Del >::reset(), and toupper().

◆ x_ExtractQueryFromPssm()

void CPsiBlastImpl::x_ExtractQueryFromPssm ( )
private

Auxiliary function to get the query sequence data from the ASN.1 PSSM Post-condition: (m_Query.Empty() == false)

Definition at line 115 of file psiblast_impl.cpp.

References CPsiBlastImpl::m_Pssm, CPsiBlastImpl::m_Query, and CRef< C, Locker >::Reset().

◆ x_ExtractQueryIds()

void CRemoteBlast::x_ExtractQueryIds ( CSearchResultSet::TQueryIdVector query_ids)
private

◆ x_ExtractUserSpecifiedMasks()

void CRemoteBlast::x_ExtractUserSpecifiedMasks ( CRef< IQueryFactory query_factory,
TSeqLocInfoVector masks 
)
private

Extract the user specified masking locations from the query factory.

Note
this method only extracts masking locations for CObjMgr_QueryFactory objects, for other types use the SetQueries method
Parameters
query_factorysource of query sequence data [in]
masksmasking locations extracted [out]

Definition at line 1369 of file remote_blast.cpp.

References CObjMgr_QueryFactory::ExtractUserSpecifiedMasks(), and NULL.

Referenced by CRemoteBlast::x_InitQueries().

◆ x_FillHitsData()

void CCddInputData::x_FillHitsData ( void  )
protected

Read data needed for PSSM computation from CDD and populate arrays.

Definition at line 221 of file cdd_pssm_input.cpp.

References _ASSERT, CSeqDB::eProtein, CBlastRPSInfo::fDeltaBlast, CCddInputData::m_DbName, CCddInputData::m_Hits, and NON_CONST_ITERATE.

Referenced by CCddInputData::Process().

◆ x_FillJDomain()

void CIgBlast::x_FillJDomain ( CRef< CSeq_align > &  align,
CRef< CIgAnnotation > &  annot 
)
private

◆ x_FillObservations()

void CCddInputData::CHitSegment::x_FillObservations ( int  db_oid,
const CBlastRPSInfo profile_data 
)
private

Populate arrays of effective numbers of observations.

Parameters
db_oidSubject index in CDD [in]
profile_dataObject accessing data in CDD [in]

Definition at line 851 of file cdd_pssm_input.cpp.

References _ASSERT, data, fabs, i, CCddInputData::kRpsScaleFactor, CCddInputData::m_MsaData, BlastRPSProfileHeader::num_profiles, offsets, BlastRPSProfileHeader::start_offsets, and val.

◆ x_FillResidueCounts()

void CCddInputData::CHitSegment::x_FillResidueCounts ( int  db_oid,
const CBlastRPSInfo profile_data 
)
private

Populate arrays of weighted residue counts.

Parameters
db_oidSubject index in CDD [in]
profile_dataObject accessing data in CDD [in]

Definition at line 804 of file cdd_pssm_input.cpp.

References _ASSERT, i, int, CCddInputData::kAlphabetSize, CCddInputData::m_MsaData, BlastRPSProfileHeader::num_profiles, and BlastRPSProfileHeader::start_offsets.

◆ x_FindDbInfoFromAvailableDatabases()

CRef< objects::CBlast4_database_info > CBlastServices::x_FindDbInfoFromAvailableDatabases ( CRef< objects::CBlast4_database >  blastdb)
private

Look for a database matching this method's argument and returned detailed information about it.

Parameters
blastdbdatabase description
Returns
detailed information about the database requested or an empty CRef<> if the database was not found

Definition at line 371 of file blast_services.cpp.

References _ASSERT, ITERATE, CBlastServices::m_AvailableDatabases, and CRef< C, Locker >::NotEmpty().

Referenced by CBlastServices::GetDatabaseInfo().

◆ x_FindDJ()

void CIgBlast::x_FindDJ ( CRef< CSearchResultSet > &  results_D,
CRef< CSearchResultSet > &  results_J,
CRef< CIgAnnotation > &  annot,
CRef< CSeq_align_set > &  align_D,
CRef< CSeq_align_set > &  align_J,
string  q_ct,
bool  q_ms,
ENa_strand  q_st,
int  q_ve,
int  iq 
)
private

◆ x_FindDJAln()

void CIgBlast::x_FindDJAln ( CRef< CSeq_align_set > &  align_D,
CRef< CSeq_align_set > &  align_J,
string  q_ct,
bool  q_ms,
ENa_strand  q_st,
int  q_ve,
int  iq,
bool  va_or_vd_as_heavy_chain 
)
private

◆ x_FindDomainHits()

CRef< CSearchResultSet > CDeltaBlast::x_FindDomainHits ( void  )
protected

◆ x_FixStrand()

void CBlastSeqVectorOM::x_FixStrand ( objects::ENa_strand strand) const
inlineprotected

If the Seq-loc is on the minus strand and the user is asking for the minus strand, we change the user's request to the plus strand.

If we did not do this, we would get the plus strand (ie it would be reversed twice)

Parameters
strandstrand to handle [in|out]

Definition at line 554 of file blast_objmgr_tools.cpp.

References eNa_strand_minus, eNa_strand_plus, CSeq_loc::GetStrand(), and CBlastSeqVectorOM::m_SeqLoc.

Referenced by CBlastSeqVectorOM::GetStrandData(), and CBlastSeqVectorOM::x_SetStrand().

◆ x_GetAvailableDatabases()

void CBlastServices::x_GetAvailableDatabases ( )
private

Retrieve the BLAST databases available for searching.

Definition at line 406 of file blast_services.cpp.

References client, CBlastServices::m_AvailableDatabases, and NCBI_THROW.

Referenced by CBlastServices::GetDatabaseInfo(), and CBlastServices::GetOrganismSpecificRepeatsDatabases().

◆ x_GetBlast4SearchRequestBody()

CRef< objects::CBlast4_request_body > CRemoteBlast::x_GetBlast4SearchRequestBody ( )
private

◆ x_GetGapExistence()

int CPssmEngine::x_GetGapExistence ( ) const
private

Private interface to retrieve gap existence cost from data source.

Definition at line 609 of file pssm_engine.cpp.

References IPssmInput_Base::GetGapExistence(), CPssmEngine::m_PssmInput, and CPssmEngine::m_PssmInputFreqRatios.

Referenced by CPssmEngine::CPssmEngine().

◆ x_GetGapExtension()

int CPssmEngine::x_GetGapExtension ( ) const
private

Private interface to retrieve gap extension cost from data source.

Definition at line 617 of file pssm_engine.cpp.

References IPssmInput_Base::GetGapExtension(), CPssmEngine::m_PssmInput, and CPssmEngine::m_PssmInputFreqRatios.

Referenced by CPssmEngine::CPssmEngine().

◆ x_GetGSRR()

CRemoteBlast::TGSRR * CRemoteBlast::x_GetGSRR ( void  )
private

◆ x_GetMasks()

CRemoteBlast::TGSRR::TMasks CRemoteBlast::x_GetMasks ( void  )
private

Get the query masks from the results.

Returns
list of references to Blast4_mask object.

Definition at line 548 of file remote_blast.cpp.

References CRemoteBlast::x_GetGSRR().

Referenced by CRemoteBlast::GetMasks().

◆ x_GetMatrixName()

const char * CPssmEngine::x_GetMatrixName ( ) const
private

Private interface to retrieve matrix name from its data source interface.

Definition at line 601 of file pssm_engine.cpp.

References IPssmInput_Base::GetMatrixName(), CPssmEngine::m_PssmInput, and CPssmEngine::m_PssmInputFreqRatios.

Referenced by CPssmEngine::CPssmEngine().

◆ x_GetPatternRanges()

void CSeedTop::x_GetPatternRanges ( vector< int > &  pos,
Uint4  off,
Uint1 seq,
Uint4  len,
vector< vector< int > > &  ranges 
)
private

Definition at line 199 of file seedtop.cpp.

References len, CSeedTop::m_Units, NCBISTDAA_TO_AMINOACID, and test.

Referenced by CSeedTop::Run().

◆ x_GetProgramOptionIntegerList()

void CImportStrategy::x_GetProgramOptionIntegerList ( EBlastOptIdx  idx,
list< int > &  list 
)
private

◆ x_GetPsiIterationsFromServer()

unsigned int CRemoteBlast::x_GetPsiIterationsFromServer ( void  )
private

◆ x_GetQuery()

unsigned char * CPssmEngine::x_GetQuery ( ) const
private

Private interface to retrieve query sequence from its data source interface.

Definition at line 586 of file pssm_engine.cpp.

References IPssmInput_Base::GetQuery(), CPssmEngine::m_PssmInput, and CPssmEngine::m_PssmInputFreqRatios.

Referenced by CPssmEngine::CPssmEngine().

◆ x_GetQueryLength()

unsigned int CPssmEngine::x_GetQueryLength ( ) const
private

Private interface to retrieve query length from its data source interface.

Definition at line 593 of file pssm_engine.cpp.

References IPssmInput_Base::GetQueryLength(), CPssmEngine::m_PssmInput, and CPssmEngine::m_PssmInputFreqRatios.

Referenced by CPssmEngine::CPssmEngine().

◆ x_GetRequestInfo()

void CRemoteBlast::x_GetRequestInfo ( )
private

◆ x_GetRequestInfoFromFile()

void CRemoteBlast::x_GetRequestInfoFromFile ( )
private

◆ x_GetRequestInfoFromRID()

void CRemoteBlast::x_GetRequestInfoFromRID ( )
private

◆ x_GetSearchResults()

CRef< objects::CBlast4_reply > CRemoteBlast::x_GetSearchResults ( void  )
private

Try to get the search results.

Returns
The blast4 server response.

Definition at line 246 of file remote_blast.cpp.

References CRemoteBlast::m_RID, CBlast4_request_body_Base::SetGet_search_results(), and CRemoteBlast::x_SendRequest().

Referenced by CRemoteBlast::x_CheckResults(), and CRemoteBlast::x_GetSearchResultsHTTP().

◆ x_GetSearchResultsHTTP()

CRef< objects::CBlast4_reply > CRemoteBlast::x_GetSearchResultsHTTP ( void  )

◆ x_GetSearchStatsOnly()

CRef< objects::CBlast4_reply > CRemoteBlast::x_GetSearchStatsOnly ( void  )

◆ x_GetState()

CRemoteBlast::EState CRemoteBlast::x_GetState ( void  )
private

◆ x_GetStringFromSearchInfoReply()

string CRemoteBlast::x_GetStringFromSearchInfoReply ( CRef< CBlast4_reply reply,
const string name,
const string value 
)
private

◆ x_GetSubjects()

void CRemoteBlast::x_GetSubjects ( void  )
private

◆ x_GetSubjectSequence()

void CPsiBlastInputData::x_GetSubjectSequence ( const objects::CDense_seg &  ds,
objects::CScope &  scope,
string sequence_data 
)
staticprivate

Tries to fetch the sequence data for the subject for the segments specified in the Dense-seg.

If the sequence cannot be retrieved from the scope, a warning is printed and an empty string is returned in sequence_data

Parameters
dsdense seg for which the sequence data is needed [in]
scopescope from which to obtain the sequence data [in]
sequence_datastring which will contain the sequence data.

Definition at line 411 of file psi_pssm_input.cpp.

References _ASSERT, CSeq_id::AsFastaString(), CSeq_data_Base::e_Ncbistdaa, ERR_POST, GAP_IN_ALIGNMENT, CSeq_interval_Base::GetId(), CSeq_loc_Base::GetInt(), CSeqVector::GetSeqData(), i, kInvalidSeqPos, CSeqVector::SetCoding(), and Warning().

Referenced by CPssmCreateTestFixture::x_GetSubjectSequence(), and CPsiBlastInputData::x_ProcessDenseg().

◆ x_GuardProteinQuery()

unsigned char * CPssmEngine::x_GuardProteinQuery ( const unsigned char *  query,
unsigned int  query_length 
)
staticprivate

Copies query sequence and adds protein sentinel bytes at the beginning and at the end of the sequence.

Parameters
querysequence to copy [in]
query_lengthlength of the sequence above [in]
Exceptions
CBlastExceptionif does not have enough memory
Returns
copy of query guarded by protein sentinel bytes

Definition at line 449 of file pssm_engine.cpp.

References _ASSERT, eBlastEncodingProtein, GetSentinelByte(), malloc(), NCBI_THROW, NULL, and query.

Referenced by CPssmCreateTestFixture::x_GuardProteinQuery(), and CPssmEngine::x_InitializeScoreBlock().

◆ x_HasRetrievedSubjects()

bool CRemoteBlast::x_HasRetrievedSubjects ( ) const
inlineprivate

◆ x_Init() [1/10]

void CRemoteBlast::x_Init ( CBlastOptionsHandle algo_opts)
private

Called by new search constructors: initialize a new search.

Definition at line 826 of file remote_blast.cpp.

References CBlastOptionsHandle::GetOptions(), CBlastOptions::GetRemoteProgramAndService_Blast3(), and CRemoteBlast::x_Init().

◆ x_Init() [2/10]

void CRemoteBlast::x_Init ( CBlastOptionsHandle algo_opts,
const string program,
const string service 
)
private

◆ x_Init() [3/10]

void CRemoteBlast::x_Init ( CNcbiIstream f)
private

◆ x_Init() [4/10]

void CRemoteBlast::x_Init ( const string RID)
private

◆ x_Init() [5/10]

void CBlastRPSInfo::x_Init ( const string rps_dbname,
int  flags 
)
protected

◆ x_Init() [6/10]

void CBl2Seq::x_Init ( const TSeqLocVector queries,
const TSeqLocVector subjs 
)
private

Common initialization code for all c-tors.

Definition at line 128 of file bl2seq.cpp.

References CBl2Seq::m_tQueries, CBl2Seq::m_tSubjects, CBl2Seq::mi_pDiagnostics, and NULL.

Referenced by CBl2Seq::CBl2Seq().

◆ x_Init() [7/10]

void CRemoteBlast::x_Init ( CRef< CBlastOptionsHandle opts_handle,
const CSearchDatabase db 
)
private

◆ x_Init() [8/10]

void CBlastTracebackSearch::x_Init ( CRef< IQueryFactory qf,
CRef< CBlastOptions opts,
CConstRef< objects::CPssmWithParameters >  pssm,
const string dbname,
CRef< TBlastHSPStream hsps 
)
private

◆ x_Init() [9/10]

void CBlastPrelimSearch::x_Init ( CRef< IQueryFactory query_factory,
CRef< CBlastOptions options,
CConstRef< objects::CPssmWithParameters >  pssm,
BlastSeqSrc seqsrc,
size_t  num_threads = 1 
)
private

Internal initialization function Initializes internal data structures except the BlastSeqSrc.

Parameters
query_factoryContains query related data [in]
optionsBLAST algorithm options [in]
pssmPSSM to initialize PSI-BLAST
seqsrcWrapper for source of database sequences [in]
num_threadsNumber of threads to use [in]

Definition at line 126 of file prelim_stage.cpp.

References BlastSetupPreliminarySearchEx(), copy(), CBlastPrelimSearch::m_InternalData, CBlastPrelimSearch::m_MasksForAllQueries, and CBlastPrelimSearch::m_Messages.

Referenced by CBlastPrelimSearch::CBlastPrelimSearch().

◆ x_Init() [10/10]

void CSearchResultSet::x_Init ( TQueryIdVector queries,
TSeqAlignVector  aligns,
TSearchMessages  msg_vec,
TAncillaryVector  ancillary_data,
const TSeqLocInfoVector query_masks,
const SPHIQueryInfo phi_query_info = NULL 
)
private

◆ x_InitCLocalBlast()

void CBl2Seq::x_InitCLocalBlast ( )
private

◆ x_InitDiskCache()

void CRemoteBlast::x_InitDiskCache ( void  )
private

◆ x_InitializeDb()

void CSearchDatabase::x_InitializeDb ( ) const
private

◆ x_InitializeQueryInfo()

BlastQueryInfo * CPssmEngine::x_InitializeQueryInfo ( unsigned int  query_length)
private

Initialiazes the core BlastQueryInfo structure for a single protein sequence.

Parameters
query_lengthlength of the sequence above [in]

Definition at line 466 of file pssm_engine.cpp.

References BlastQueryInfoNew(), BlastQueryInfo::contexts, eBlastTypeBlastp, BlastQueryInfo::max_length, NCBI_THROW, BlastContextInfo::query_length, and BlastContextInfo::query_offset.

Referenced by CPssmEngine::x_InitializeScoreBlock().

◆ x_InitializeScoreBlock()

void CPssmEngine::x_InitializeScoreBlock ( const unsigned char *  query,
unsigned int  query_length,
const char *  matrix_name,
int  gap_existence,
int  gap_extension 
)
private

Initializes the BlastScoreBlk data member required to run the PSSM engine.

Parameters
querysequence [in]
query_lengthlength of the sequence above [in]
matrix_namename of the underlying scoring matrix to use [in]
gap_existencecost to open a gap
gap_extensioncost to open a gap
Exceptions
CBlastExceptionif does not have enough memory or if there was an error when setting up the return value

Definition at line 512 of file pssm_engine.cpp.

References _ASSERT, abort(), Blast_MessageFree(), BlastFindMatrixPath(), BlastScoreBlkFree(), BlastScoringOptionsNew(), BlastScoringOptionsSetMatrix(), BlastSeqBlkNew(), BlastSeqBlkSetSequence(), BlastSetup_ScoreBlkInit(), eBlastTypePsiBlast, BlastScoringOptions::gap_extend, BlastScoringOptions::gap_open, BlastScoreBlk::kbp, BlastScoreBlk::kbp_gap, BlastScoreBlk::kbp_gap_psi, BlastScoreBlk::kbp_ideal, BlastScoreBlk::kbp_psi, kScaleFactor, CPssmEngine::m_ScoreBlk, Blast_Message::message, msg(), NCBI_THROW, NULL, query, AutoPtr< X, Del >::release(), CBlastScoreBlk::Reset(), CPssmEngine::x_GuardProteinQuery(), and CPssmEngine::x_InitializeQueryInfo().

Referenced by CPssmEngine::CPssmEngine().

◆ x_InitQueries()

void CRemoteBlast::x_InitQueries ( CRef< IQueryFactory queries)
private

◆ x_InitSubject()

void CPsiBl2Seq::x_InitSubject ( CRef< IQueryFactory subject,
const CBlastOptionsHandle options 
)
private

Auxiliary method to initialize the subject.

Parameters
subjectquery factory describing the subject sequence(s) [in]
optionsPSI-BLAST options [in]
Exceptions
CBlastExceptionif options is empty
Postcondition
the m_Subject member will be initialized

Definition at line 74 of file psibl2seq.cpp.

References CPsiBl2Seq::m_Subject, NCBI_THROW, CRef< C, Locker >::Reset(), and subject.

Referenced by CPsiBl2Seq::CPsiBl2Seq().

◆ x_IsUnknownRID()

bool CRemoteBlast::x_IsUnknownRID ( void  )
private

Determine if this is an unknown RID.

Note
caller must have contacted the server for this method to work (e.g.: via CheckDone());

Definition at line 340 of file remote_blast.cpp.

References NStr::Find(), CRemoteBlast::GetErrors(), and NPOS.

Referenced by CRemoteBlast::CheckDone().

◆ x_LaunchMultiThreadedSearch()

int CBlastPrelimSearch::x_LaunchMultiThreadedSearch ( SInternalData internal_data)
private

◆ x_LookupTableOptions_cmp()

bool x_LookupTableOptions_cmp ( const LookupTableOptions a,
const LookupTableOptions b 
)

Definition at line 453 of file blast_options_local_priv.cpp.

References a, b, and x_safe_strcmp().

Referenced by CBlastOptionsLocal::operator==().

◆ x_MakeLocalQueryData() [1/3]

CRef< ILocalQueryData > CObjMgr_QueryFactory::x_MakeLocalQueryData ( const CBlastOptions opts)
protectedvirtual

factory method to create an ILocalQueryData, only called if the data members above are not set

Implements IQueryFactory.

Definition at line 467 of file objmgr_query_data.cpp.

References abort(), CObjMgr_QueryFactory::m_QueryVector, CObjMgr_QueryFactory::m_SSeqLocVector, CRef< C, Locker >::NotEmpty(), and CRef< C, Locker >::Reset().

◆ x_MakeLocalQueryData() [2/3]

CRef< ILocalQueryData > CObjMgrFree_QueryFactory::x_MakeLocalQueryData ( const CBlastOptions opts)
protectedvirtual

factory method to create an ILocalQueryData, only called if the data members above are not set

Implements IQueryFactory.

Definition at line 260 of file objmgrfree_query_data.cpp.

References CObjMgrFree_QueryFactory::m_Bioseqs, NCBI_CURRENT_FUNCTION, NCBI_THROW, CConstRef< C, Locker >::NotEmpty(), and CRef< C, Locker >::Reset().

◆ x_MakeLocalQueryData() [3/3]

virtual CRef<ILocalQueryData> IQueryFactory::x_MakeLocalQueryData ( const CBlastOptions opts)
protectedpure virtual

factory method to create an ILocalQueryData, only called if the data members above are not set

Implemented in CObjMgrFree_QueryFactory, and CObjMgr_QueryFactory.

Referenced by IQueryFactory::MakeLocalQueryData().

◆ x_MakeLookupTable()

void CSeedTop::x_MakeLookupTable ( )
private

◆ x_MakeRemoteQueryData() [1/3]

CRef< IRemoteQueryData > CObjMgr_QueryFactory::x_MakeRemoteQueryData ( )
protectedvirtual

factory method to create an IRemoteQueryData, only called if the data members above are not set

Implements IQueryFactory.

Definition at line 483 of file objmgr_query_data.cpp.

References abort(), CObjMgr_QueryFactory::m_QueryVector, CObjMgr_QueryFactory::m_SSeqLocVector, CRef< C, Locker >::NotEmpty(), and CRef< C, Locker >::Reset().

◆ x_MakeRemoteQueryData() [2/3]

CRef< IRemoteQueryData > CObjMgrFree_QueryFactory::x_MakeRemoteQueryData ( )
protectedvirtual

factory method to create an IRemoteQueryData, only called if the data members above are not set

Implements IQueryFactory.

Definition at line 276 of file objmgrfree_query_data.cpp.

References CObjMgrFree_QueryFactory::m_Bioseqs, NCBI_CURRENT_FUNCTION, NCBI_THROW, CConstRef< C, Locker >::NotEmpty(), and CRef< C, Locker >::Reset().

◆ x_MakeRemoteQueryData() [3/3]

virtual CRef<IRemoteQueryData> IQueryFactory::x_MakeRemoteQueryData ( )
protectedpure virtual

factory method to create an IRemoteQueryData, only called if the data members above are not set

Implemented in CObjMgrFree_QueryFactory, and CObjMgr_QueryFactory.

Referenced by IQueryFactory::MakeRemoteQueryData().

◆ x_MakeScoreBlk()

void CSeedTop::x_MakeScoreBlk ( )
private

◆ x_NeedsTrans()

bool CBlastQueryFilteredFrames::x_NeedsTrans ( )
private

Returns true if this program needs coordinate translation.

Definition at line 1506 of file blast_setup_cxx.cpp.

References eBlastTypeBlastx, eBlastTypeRpsTblastn, eBlastTypeTblastx, and CBlastQueryFilteredFrames::m_Program.

Referenced by CBlastQueryFilteredFrames::CBlastQueryFilteredFrames().

◆ x_NonTranslatedHSPToStdSeg()

CRef<CStd_seg> x_NonTranslatedHSPToStdSeg ( BlastHSP hsp,
CRef< CSeq_id query_id,
CRef< CSeq_id subject_id,
Int4  query_length,
Int4  subject_length,
const vector< string > &  seqid_list 
)

Creates a Std-seg object from HSP information and sequence identifiers for a non-translated ungapped search.

Parameters
hspAn HSP structure [in]
query_idQuery sequence identifier [in]
subject_idSubject sequence identifier [in]
query_lengthLength of the query [in]
subject_lengthLength of the subject [in]
gi_listList of GIs for the subject sequence.
Returns
Resulting Std-seg object.

Definition at line 2040 of file blast_seqalign.cpp.

References BlastSeg::end, BlastSeg::frame, kBlastAlignmentDim, BlastSeg::offset, BlastHSP::query, s_BuildScoreList(), s_Frame2Strand(), CSeq_loc::SetInt(), and BlastHSP::subject.

Referenced by BLASTPrelminSearchHitListToStdSeg().

◆ x_ParsePattern()

void CSeedTop::x_ParsePattern ( )
private

◆ x_PollUntilDone()

void CRemoteBlast::x_PollUntilDone ( EImmediacy  poll_immed,
int  seconds 
)
private

◆ x_Process_BlastOptions()

void CExportStrategy::x_Process_BlastOptions ( CRef< CBlastOptionsHandle > &  opts_handle)
private

◆ x_Process_Pssm()

void CExportStrategy::x_Process_Pssm ( CRef< CPssmWithParameters > &  pssm)
private

◆ x_Process_Query()

void CExportStrategy::x_Process_Query ( CRef< IQueryFactory > &  query)
private

◆ x_Process_SearchDb()

void CExportStrategy::x_Process_SearchDb ( CRef< CSearchDatabase > &  db)
private

◆ x_Process_Subject()

void CExportStrategy::x_Process_Subject ( CRef< IQueryFactory > &  subject)
private

◆ x_ProcessAlignments()

void CCddInputData::x_ProcessAlignments ( double  min_evalue,
double  max_evalue 
)
protected

Process RPS-BLAST hits.

Convert hits to internal representation.

Parameters
min_evalueMin e-value for inclusion of CD hit in PSSM calculation [in]
max_evalueMax e-value for inclusion of CD hit in PSSM calculation [in]

Definition at line 152 of file cdd_pssm_input.cpp.

References CSeq_align::eScore_EValue, ITERATE, CCddInputData::m_Hits, CCddInputData::m_SeqalignSet, and NCBI_THROW.

Referenced by CCddInputData::Process().

◆ x_ProcessCResult()

void CIgBlast::x_ProcessCResult ( CRef< CSearchResultSet > &  results_C,
vector< CRef< CIgAnnotation > > &  annots 
)
private

◆ x_ProcessDenseg()

void CPsiBlastInputData::x_ProcessDenseg ( const objects::CDense_seg &  denseg,
unsigned int  msa_index,
double  evalue,
double  bit_score 
)
private

Iterates over the Dense-seg passed in and extracts alignment information to multiple alignment data structure.

Parameters
densegsource alignment segment (HSP) [in]
msa_indexindex of the sequence aligned with the query in the desc_matrix field of the m_AlignmentData data member [in]
evalueevalue for this sequence aligned with the query (used for debugging only) [in]
bit_scorebit score for this sequence aligned with the query (used for debugging only) [in]

Definition at line 325 of file psi_pssm_input.cpp.

References _ASSERT, AMINOACID_TO_NCBISTDAA, PSIMsa::data, GAP_IN_ALIGNMENT, CPsiBlastInputData::GetQueryLength(), i, PSIMsaCell::is_aligned, PSIMsaCell::letter, CPsiBlastInputData::m_Msa, CPsiBlastInputData::m_Query, CPsiBlastInputData::m_Scope, and CPsiBlastInputData::x_GetSubjectSequence().

Referenced by CPsiBlastInputData::x_ExtractAlignmentData().

◆ x_ProcessDGeneResult()

void CIgBlast::x_ProcessDGeneResult ( CRef< CSearchResultSet > &  results_V,
CRef< CSearchResultSet > &  results_D,
CRef< CSearchResultSet > &  results_J,
vector< CRef< CIgAnnotation > > &  annots 
)
private

◆ x_ProcessDJResult()

void CIgBlast::x_ProcessDJResult ( CRef< CSearchResultSet > &  results_V,
CRef< CSearchResultSet > &  results_D,
CRef< CSearchResultSet > &  results_J,
vector< CRef< CIgAnnotation > > &  annots 
)
private

Definition at line 1454 of file igblast.cpp.

References eNa_strand_minus, eNa_strand_plus, NON_CONST_ITERATE, and CIgBlast::x_FindDJ().

Referenced by CIgBlast::Run().

◆ x_ProcessOneOption() [1/2]

void CRemoteBlast::x_ProcessOneOption ( CBlastOptionsHandle opts,
const string nm,
const objects::CBlast4_value &  v,
struct SInteractingOptions &  io 
)
private

Add an algorithm or program option to the provided handle.

◆ x_ProcessOneOption() [2/2]

void CBlastOptionsBuilder::x_ProcessOneOption ( CBlastOptionsHandle opts,
objects::CBlast4_parameter &  p 
)
private

Apply the value of one option to the CBlastOptionsHandle.

Parameters
optsThe blast options handle.
pThe parameter to apply to the options handle.

Definition at line 140 of file blast_options_builder.cpp.

References _ASSERT, Blast_QueryIsNucleotide(), eBlastOpt_BestHitOverhang, eBlastOpt_BestHitScoreEdge, eBlastOpt_CompositionBasedStats, eBlastOpt_Culling, eBlastOpt_CullingLimit, eBlastOpt_CutoffScore, eBlastOpt_DbFilteringAlgorithmId, eBlastOpt_DbFilteringAlgorithmKey, eBlastOpt_DbGeneticCode, eBlastOpt_DbLength, eBlastOpt_DomainInclusionThreshold, eBlastOpt_DustFiltering, eBlastOpt_DustFilteringLevel, eBlastOpt_DustFilteringLinker, eBlastOpt_DustFilteringWindow, eBlastOpt_EffectiveSearchSpace, eBlastOpt_EntrezQuery, eBlastOpt_EvalueThreshold, eBlastOpt_FilterString, eBlastOpt_FinalDbSeq, eBlastOpt_FirstDbSeq, eBlastOpt_ForceMbIndex, eBlastOpt_GapExtensionCost, eBlastOpt_GapExtnAlgorithm, eBlastOpt_GapOpeningCost, eBlastOpt_GappedMode, eBlastOpt_GapTracebackAlgorithm, eBlastOpt_GapTrigger, eBlastOpt_GapXDropoff, eBlastOpt_GapXDropoffFinal, eBlastOpt_GiList, eBlastOpt_HitlistSize, eBlastOpt_HspRangeMax, eBlastOpt_IgnoreMsaMaster, eBlastOpt_InclusionThreshold, eBlastOpt_LCaseMask, eBlastOpt_LongestIntronLength, eBlastOpt_MaskAtHash, eBlastOpt_MatchReward, eBlastOpt_MatrixName, eBlastOpt_MatrixTable, eBlastOpt_MaxHspsPerSubject, eBlastOpt_MbIndexName, eBlastOpt_MBTemplateLength, eBlastOpt_MBTemplateType, eBlastOpt_MismatchPenalty, eBlastOpt_NegativeGiList, eBlastOpt_NegativeTaxidList, eBlastOpt_OutOfFrameMode, eBlastOpt_PercentIdentity, eBlastOpt_PHIPattern, eBlastOpt_PseudoCount, eBlastOpt_QueryCovHspPerc, eBlastOpt_QueryGeneticCode, eBlastOpt_RepeatFiltering, eBlastOpt_RepeatFilteringDB, eBlastOpt_RequiredEnd, eBlastOpt_RequiredStart, eBlastOpt_SegFiltering, eBlastOpt_SegFilteringHicut, eBlastOpt_SegFilteringLocut, eBlastOpt_SegFilteringWindow, eBlastOpt_SmithWatermanMode, eBlastOpt_StrandOption, eBlastOpt_SubjectBestHit, eBlastOpt_SubjectMaskingType, eBlastOpt_SumStatisticsMode, eBlastOpt_TaxidList, eBlastOpt_UnifiedP, eBlastOpt_WindowMaskerTaxId, eBlastOpt_WindowSize, eBlastOpt_WordSize, eBlastOpt_WordThreshold, CBlast4Field::Get(), CBlast4_value_Base::GetBig_integer(), CBlast4_value_Base::GetBig_integer_list(), CBlast4_value_Base::GetBoolean(), CBlast4_value_Base::GetCutoff(), CBlast4_cutoff_Base::GetE_value(), CBlast4_value_Base::GetInteger(), CBlast4_value_Base::GetInteger_list(), CBlastOptions::GetProgramType(), CBlast4_value_Base::GetQuery_mask(), CBlast4_value_Base::GetReal(), CBlastOptionsBuilder::SOptional< T >::GetRef(), CBlast4_value_Base::GetStrand_type(), CBlast4_value_Base::GetString(), GI_FROM, CBlastOptionsBuilder::SOptional< T >::Have(), NStr::IntToString(), CBlast4_value_Base::IsBig_integer_list(), CBlast4_value_Base::IsCutoff(), CBlast4_cutoff_Base::IsE_value(), CBlast4_value_Base::IsQuery_mask(), CBlast4_value_Base::IsReal(), ITERATE, CBlastOptionsBuilder::m_DbFilteringAlgorithmId, CBlastOptionsBuilder::m_DbFilteringAlgorithmKey, CBlastOptionsBuilder::m_EntrezQuery, CBlastOptionsBuilder::m_FinalDbSeq, CBlastOptionsBuilder::m_FirstDbSeq, CBlastOptionsBuilder::m_ForceMbIndex, CBlastOptionsBuilder::m_GiList, CBlastOptionsBuilder::m_HspRangeMax, CBlastOptionsBuilder::m_IgnoreQueryMasks, CBlastOptionsBuilder::m_IgnoreUnsupportedOptions, CBlastOptionsBuilder::m_MbIndexName, CBlastOptionsBuilder::m_NegativeGiList, CBlastOptionsBuilder::m_NegativeTaxidList, CBlastOptionsBuilder::m_PerformCulling, CBlastOptionsBuilder::m_QueryMasks, CBlastOptionsBuilder::m_QueryRange, CBlastOptionsBuilder::m_SubjectMaskingType, CBlastOptionsBuilder::m_TaxidList, CBlast4Field::Match(), msg(), NCBI_THROW, CBlastOptions::SetBestHitOverhang(), CBlastOptions::SetBestHitScoreEdge(), CBlastOptions::SetCompositionBasedStats(), CBlastOptions::SetCullingLimit(), CBlastOptionsHandle::SetCutoffScore(), CBlastOptions::SetDbGeneticCode(), CBlastOptionsHandle::SetDbLength(), CBlastOptions::SetDomainInclusionThreshold(), CBlastOptions::SetDustFiltering(), CBlastOptions::SetDustFilteringLevel(), CBlastOptions::SetDustFilteringLinker(), CBlastOptions::SetDustFilteringWindow(), CBlastOptionsHandle::SetEffectiveSearchSpace(), CBlastOptionsHandle::SetEvalueThreshold(), CBlastOptionsHandle::SetFilterString(), CRange_Base::SetFrom(), CBlastOptions::SetGapExtensionCost(), CBlastOptions::SetGapExtnAlgorithm(), CBlastOptions::SetGapOpeningCost(), CBlastOptionsHandle::SetGappedMode(), CBlastOptions::SetGapTracebackAlgorithm(), CBlastOptions::SetGapTrigger(), CBlastOptions::SetGapXDropoff(), CBlastOptions::SetGapXDropoffFinal(), CBlastOptionsHandle::SetHitlistSize(), CBlastOptions::SetIgnoreMsaMaster(), CBlastOptions::SetInclusionThreshold(), CBlastOptions::SetLongestIntronLength(), CBlastOptions::SetMaskAtHash(), CBlastOptions::SetMatchReward(), CBlastOptions::SetMatrixName(), CBlastOptions::SetMaxHspsPerSubject(), CBlastOptions::SetMBTemplateLength(), CBlastOptions::SetMBTemplateType(), CBlastOptions::SetMismatchPenalty(), CBlastOptionsHandle::SetOptions(), CBlastOptions::SetOutOfFrameMode(), CBlastOptionsHandle::SetPercentIdentity(), CBlastOptions::SetPHIPattern(), CBlastOptions::SetPseudoCount(), CBlastOptionsHandle::SetQueryCovHspPerc(), CBlastOptions::SetQueryGeneticCode(), CBlastOptions::SetRepeatFiltering(), CBlastOptions::SetRepeatFilteringDB(), CBlastOptions::SetSegFiltering(), CBlastOptions::SetSegFilteringHicut(), CBlastOptions::SetSegFilteringLocut(), CBlastOptions::SetSegFilteringWindow(), CBlastOptions::SetSmithWatermanMode(), CBlastOptions::SetStrandOption(), CBlastOptions::SetSubjectBestHit(), CBlastOptions::SetSumStatisticsMode(), COpenRange< Position >::SetToOpen(), CBlastOptions::SetUnifiedP(), CBlastOptions::SetWindowMaskerTaxId(), CBlastOptionsHandle::SetWindowSize(), CBlastOptions::SetWordSize(), CBlastOptions::SetWordThreshold(), TAX_ID_FROM, and CBlast4_value_Base::Which().

Referenced by CBlastOptionsBuilder::x_ProcessOptions().

◆ x_ProcessOptions() [1/2]

void CRemoteBlast::x_ProcessOptions ( CBlastOptionsHandle opts,
const TValueList L,
struct SInteractingOptions &  io 
)
private

Add algorithm and program options to the provided handle.

◆ x_ProcessOptions() [2/2]

void CBlastOptionsBuilder::x_ProcessOptions ( CBlastOptionsHandle opts,
const TValueList L 
)
private

Apply the value of all options to the CBlastOptionsHandle.

A list of blast4 parameters is used to configure the provided CBlastOptionsHandle object.

Parameters
optsThe blast options handle.
LThe list of parameters to add to the options.

Definition at line 548 of file blast_options_builder.cpp.

References ITERATE, and CBlastOptionsBuilder::x_ProcessOneOption().

Referenced by CBlastOptionsBuilder::GetSearchOptions().

◆ x_PSIMatrix2Asn1()

CRef< CPssmWithParameters > CPssmEngine::x_PSIMatrix2Asn1 ( const PSIMatrix pssm,
const char *  matrix_name,
const PSIBlastOptions opts = NULL,
const PSIDiagnosticsResponse diagnostics = NULL 
)
staticprivate

Converts the PSIMatrix structure into a ASN.1 CPssmWithParameters object.

Parameters
pssminput PSIMatrix structure [in]
optsoptions to be used in the PSSM engine [in]
matrix_namename of the underlying scoring matrix used
diagnosticscontains diagnostics data from PSSM creation process to save into the return value [in]
Returns
CPssmWithParameters object with equivalent contents to those in pssm argument

Definition at line 625 of file pssm_engine.cpp.

References _ASSERT, PSIDiagnosticsResponse::alphabet_size, PSIDiagnosticsResponse::frequency_ratios, PSIDiagnosticsResponse::gapless_column_weights, CPssm_Base::GetByRow(), PSIMatrix::h, i, PSIBlastOptions::impala_scaling_factor, PSIDiagnosticsResponse::independent_observations, PSIDiagnosticsResponse::information_content, PSIDiagnosticsResponse::interval_sizes, PSIMatrix::kappa, kPSSM_NoImpalaScaling, PSIMatrix::lambda, mtx, PSIMatrix::ncols, PSIMatrix::nrows, PSIDiagnosticsResponse::num_matching_seqs, PSIBlastOptions::pseudo_count, PSIMatrix::pssm, PSIDiagnosticsResponse::query_length, PSIDiagnosticsResponse::residue_freqs, CPssm_Base::SetByRow(), CPssm_Base::SetFinalData(), CPssm::SetH(), CPssm::SetHUngapped(), CPssm_Base::SetIntermediateData(), CPssm_Base::SetIsProtein(), CPssm::SetKappa(), CPssm::SetKappaUngapped(), CPssm::SetLambda(), CPssm::SetLambdaUngapped(), CPssm_Base::SetNumColumns(), CPssm_Base::SetNumRows(), CPssmWithParameters_Base::SetParams(), CPssmWithParameters_Base::SetPssm(), PSIDiagnosticsResponse::sigma, NStr::ToUpper(), PSIMatrix::ung_h, PSIMatrix::ung_kappa, PSIMatrix::ung_lambda, and PSIDiagnosticsResponse::weighted_residue_freqs.

Referenced by CPssmEngine::x_CreatePssmFromCDD(), CPssmEngine::x_CreatePssmFromFreqRatios(), and CPssmEngine::x_CreatePssmFromMsa().

◆ x_QueryMaskingLocationsToNetwork()

void CRemoteBlast::x_QueryMaskingLocationsToNetwork ( )
private

◆ x_QuerySetupOptions_cmp()

bool x_QuerySetupOptions_cmp ( const QuerySetUpOptions a,
const QuerySetUpOptions b 
)

Definition at line 442 of file blast_options_local_priv.cpp.

References a, b, and x_safe_strcmp().

Referenced by CBlastOptionsLocal::operator==().

◆ x_ReadAsciiMsa()

void CPsiBlastInputClustalW::x_ReadAsciiMsa ( CNcbiIstream input_file)
private

Reads the multiple sequence alignment from the input file.

Parameters
input_fileInput file containing the multiple sequence alignment. [in]
Postcondition
m_AsciiMsa and m_SeqEntry are not empty

Definition at line 119 of file msa_pssm_input.cpp.

References _ASSERT, CAlnReader::eAlpha_Protein, CObjReaderParseException::eFormat, CRef< C, Locker >::Empty(), NStr::Find(), CParseTemplException< TBase >::GetErrCode(), CAlnReader::GetSeqEntry(), CAlnReader::GetSeqs(), input_file, CPsiBlastInputClustalW::m_AsciiMsa, CPsiBlastInputClustalW::m_SeqEntry, msg(), NCBI_THROW, NPOS, CAlnReader::Read(), and CAlnReader::SetClustal().

◆ x_ReadFromFile()

CRef< CBlastRPSAuxInfo > CRpsAuxFile::x_ReadFromFile ( CNcbiIfstream input)
private

Auxiliary method to read the contents of the file into m_Data.

Definition at line 195 of file rps_aux.cpp.

References input().

Referenced by CRpsAuxFile::CRpsAuxFile().

◆ x_RemoteBlast() [1/2]

CRemoteBlast & CRemoteSeqSearch::x_RemoteBlast ( )
private

◆ x_RemoteBlast() [2/2]

CRemoteBlast & CRemotePssmSearch::x_RemoteBlast ( )
private

◆ x_RemoveMultipleCdHits()

void CCddInputData::x_RemoveMultipleCdHits ( void  )
protected

Remove multiple hits to the same CD.

For each pair of hits to the same CD the intersection between hits in CD ranges is subtracted using query ranges from the CD with worse e-value

Definition at line 168 of file cdd_pssm_input.cpp.

References CCddInputData::CHit::eSubject, i, CCddInputData::CHit::IntersectWith(), CCddInputData::m_Hits, NULL, and ct::sort().

Referenced by CCddInputData::Process().

◆ x_ResetInternalDs()

void CBl2Seq::x_ResetInternalDs ( )
private

◆ x_ResetValue()

void CBlastOptionsRemote::x_ResetValue ( CBlast4Field f)
inlineprivate

Remove values for a given Blast4 field.

Parameters
fField to search for and remove.

Definition at line 273 of file blast_options_cxx.cpp.

References f, and CBlastOptionsRemote::m_ReqOpts.

Referenced by CBlastOptionsRemote::ResetValue().

◆ x_Run()

int CMagicBlast::x_Run ( void  )
protected

◆ x_safe_memcmp()

int x_safe_memcmp ( const void *  a,
const void *  b,
size_t  size 
)
inline

◆ x_safe_strcmp()

int x_safe_strcmp ( const char *  a,
const char *  b 
)
inline

◆ x_ScreenByAlignLength()

void CIgBlast::x_ScreenByAlignLength ( CRef< CSearchResultSet > &  results,
int  length 
)
private

Definition at line 173 of file igblast.cpp.

References NON_CONST_ITERATE, result, and results.

Referenced by CIgBlast::Run().

◆ x_SearchErrors()

void CRemoteBlast::x_SearchErrors ( CRef< objects::CBlast4_reply >  reply)
private

◆ x_SendRequest()

CRef< objects::CBlast4_reply > CRemoteBlast::x_SendRequest ( CRef< objects::CBlast4_request_body >  body)
private

◆ x_SetAlgoOpts()

void CRemoteBlast::x_SetAlgoOpts ( void  )
private

Configure new search from options handle passed to constructor.

Definition at line 897 of file remote_blast.cpp.

References CBlast4_parameters::Add(), env, kEmptyStr, CRemoteBlast::m_CBOH, and CRemoteBlast::m_QSR.

Referenced by CRemoteBlast::x_GetBlast4SearchRequestBody().

◆ x_SetAnnotation()

void CIgBlast::x_SetAnnotation ( vector< CRef< CIgAnnotation > > &  annot,
CRef< CSearchResultSet > &  final_results 
)
private

◆ x_SetChainType()

void CIgBlast::x_SetChainType ( CRef< CSearchResultSet > &  results,
vector< CRef< CIgAnnotation > > &  annot 
)
private

◆ x_SetDatabase()

void CRemoteBlast::x_SetDatabase ( const string x)
private

◆ x_SetInfo()

void CMagicBlastResults::x_SetInfo ( int  first_length,
const TMaskedQueryRegions first_masks,
int  last_length = 0,
const TMaskedQueryRegions last_masks = NULL 
)
private

◆ x_SetMaskingLocationsForQueries()

void CRemoteBlast::x_SetMaskingLocationsForQueries ( const TSeqLocInfoVector masking_locations)
private

Set the masking locations AFTER the queries have been set in the m_QSR field.

Definition at line 1039 of file remote_blast.cpp.

References _ASSERT, CRemoteBlast::m_QSR, CRemoteBlast::m_QueryMaskingLocations, and NCBI_THROW.

Referenced by CRemoteBlast::SetQueries(), and CRemoteBlast::SetQueryMasks().

◆ x_SetMinusStrand() [1/3]

void CBlastSeqVectorFromCSeq_data::x_SetMinusStrand ( )
protectedvirtual

◆ x_SetMinusStrand() [2/3]

virtual void CBlastSeqVectorOM::x_SetMinusStrand ( )
inlineprotectedvirtual

@inheritDoc

Implements IBlastSeqVector.

Definition at line 533 of file blast_objmgr_tools.cpp.

References eNa_strand_minus, and CBlastSeqVectorOM::x_SetStrand().

◆ x_SetMinusStrand() [3/3]

virtual void IBlastSeqVector::x_SetMinusStrand ( )
protectedpure virtual

Method which does the work for setting the minus strand of the nucleotide sequence data.

Implemented in CBlastSeqVectorOM, and CBlastSeqVectorFromCSeq_data.

Referenced by IBlastSeqVector::GetStrandData(), and IBlastSeqVector::SetMinusStrand().

◆ x_SetOneParam() [1/12]

void CBlastOptionsRemote::x_SetOneParam ( CBlast4Field field,
const bool x 
)
inlineprivate

◆ x_SetOneParam() [2/12]

void CBlastOptionsRemote::x_SetOneParam ( CBlast4Field field,
const char **  x 
)
inlineprivate

◆ x_SetOneParam() [3/12]

void CBlastOptionsRemote::x_SetOneParam ( CBlast4Field field,
const double *  x 
)
inlineprivate

◆ x_SetOneParam() [4/12]

void CBlastOptionsRemote::x_SetOneParam ( CBlast4Field field,
const int x 
)
inlineprivate

◆ x_SetOneParam() [5/12]

void CBlastOptionsRemote::x_SetOneParam ( CBlast4Field field,
const Int8 x 
)
inlineprivate

◆ x_SetOneParam() [6/12]

void CBlastOptionsRemote::x_SetOneParam ( CBlast4Field field,
CRef< objects::CBlast4_cutoff > *  x 
)
inlineprivate

◆ x_SetOneParam() [7/12]

void CBlastOptionsRemote::x_SetOneParam ( CBlast4Field field,
objects::EBlast4_strand_type x 
)
inlineprivate

◆ x_SetOneParam() [8/12]

void CRemoteBlast::x_SetOneParam ( objects::CBlast4Field &  field,
const char **  value 
)
private

Set a string parameter.

Parameters
fieldCBlast4Field object corresponding to option.
valuePointer to pointer to null delimited string.

Definition at line 972 of file remote_blast.cpp.

References _ASSERT, CRemoteBlast::m_QSR, and CBlast4_value_Base::SetString().

◆ x_SetOneParam() [9/12]

void CRemoteBlast::x_SetOneParam ( objects::CBlast4Field &  field,
const int value 
)
private

◆ x_SetOneParam() [10/12]

void CRemoteBlast::x_SetOneParam ( objects::CBlast4Field &  field,
const list< int > *  value 
)
private

Set a list of integers.

Parameters
fieldCBlast4Field object corresponding to option.
valuePointer to list of integers to use.

Definition at line 943 of file remote_blast.cpp.

References _ASSERT, CRemoteBlast::m_QSR, and CBlast4_value_Base::SetInteger_list().

◆ x_SetOneParam() [11/12]

void CRemoteBlast::x_SetOneParam ( objects::CBlast4Field &  field,
const list< Int8 > *  value 
)
private

Set a list of 8 byte integers.

Parameters
fieldCBlast4Field object corresponding to option.
valuePointer to list of integers to use.

Definition at line 957 of file remote_blast.cpp.

References _ASSERT, CRemoteBlast::m_QSR, and CBlast4_value_Base::SetBig_integer_list().

◆ x_SetOneParam() [12/12]

void CRemoteBlast::x_SetOneParam ( objects::CBlast4Field &  field,
CRef< objects::CBlast4_mask >  mask 
)
private

Set a masking location for query.

Parameters
fieldCBlast4Field object corresponding to option.
maskmasking location [in]

Definition at line 928 of file remote_blast.cpp.

References _ASSERT, CRemoteBlast::m_QSR, mask, and CBlast4_value_Base::SetQuery_mask().

◆ x_SetParam()

template<class T >
void CBlastOptionsRemote::x_SetParam ( CBlast4Field name,
T value 
)
inlineprivate

◆ x_SetPlusStrand() [1/3]

void CBlastSeqVectorFromCSeq_data::x_SetPlusStrand ( )
protectedvirtual

◆ x_SetPlusStrand() [2/3]

virtual void CBlastSeqVectorOM::x_SetPlusStrand ( )
inlineprotectedvirtual

@inheritDoc

Implements IBlastSeqVector.

Definition at line 529 of file blast_objmgr_tools.cpp.

References eNa_strand_plus, and CBlastSeqVectorOM::x_SetStrand().

◆ x_SetPlusStrand() [3/3]

virtual void IBlastSeqVector::x_SetPlusStrand ( )
protectedpure virtual

Method which does the work for setting the plus strand of the nucleotide sequence data.

Implemented in CBlastSeqVectorOM, and CBlastSeqVectorFromCSeq_data.

Referenced by IBlastSeqVector::GetStrandData(), and IBlastSeqVector::SetPlusStrand().

◆ x_SetStrand()

void CBlastSeqVectorOM::x_SetStrand ( ENa_strand  s)
inlineprotected

◆ x_SetSubjectSequences()

void CRemoteBlast::x_SetSubjectSequences ( const list< CRef< objects::CBioseq > > &  subj)
private

Set a list of subject sequences to search against (only m_SubjectSequences)

Parameters
subjsubject bioseqs

Definition at line 1600 of file remote_blast.cpp.

References CRemoteBlast::m_Dbs, CRemoteBlast::m_SubjectSequences, and CRef< C, Locker >::Reset().

Referenced by CRemoteBlast::SetSubjectSequences(), and CRemoteBlast::x_GetSubjects().

◆ x_SetupCRegionSearch()

void CIgBlast::x_SetupCRegionSearch ( const vector< CRef< CIgAnnotation > > &  annots,
CRef< IQueryFactory > &  qf,
CRef< CBlastOptionsHandle > &  opts_hndl 
)
private

◆ x_SetupDbSearch()

void CIgBlast::x_SetupDbSearch ( vector< CRef< CIgAnnotation > > &  annot,
CRef< IQueryFactory > &  qf 
)
private

Prepare blast option handle and query for specified database search.

Definition at line 754 of file igblast.cpp.

References CBlastQueryVector::GetBlastSearchQuery(), ITERATE, len, CIgBlastOptions::m_FocusV, CIgBlast::m_IgOptions, CIgBlast::m_Query, mask, query, CRef< C, Locker >::Reset(), and CBlastQueryVector::SetMaskedRegions().

Referenced by CIgBlast::Run().

◆ x_SetupDJSearch()

void CIgBlast::x_SetupDJSearch ( const vector< CRef< CIgAnnotation > > &  annots,
CRef< IQueryFactory > &  qf,
CRef< CBlastOptionsHandle > &  opts_hndl,
int  db_type 
)
private

◆ x_SetupNoOverlapDSearch()

void CIgBlast::x_SetupNoOverlapDSearch ( const vector< CRef< CIgAnnotation > > &  annots,
CRef< CSearchResultSet > &  results,
CRef< IQueryFactory > &  qf,
CRef< CBlastOptionsHandle > &  opts_hndl,
int  db_type 
)
private

◆ x_SetupVSearch()

void CIgBlast::x_SetupVSearch ( CRef< IQueryFactory > &  qf,
CRef< CBlastOptionsHandle > &  opts_hndl 
)
private

◆ x_Size() [1/3]

TSeqPos CBlastSeqVectorFromCSeq_data::x_Size ( ) const
inlineprotectedvirtual

◆ x_Size() [2/3]

virtual TSeqPos CBlastSeqVectorOM::x_Size ( ) const
inlineprotectedvirtual

@inheritDoc

Implements IBlastSeqVector.

Definition at line 525 of file blast_objmgr_tools.cpp.

References CBlastSeqVectorOM::m_SeqVector, and CSeqVector::size().

◆ x_Size() [3/3]

virtual TSeqPos IBlastSeqVector::x_Size ( ) const
protectedpure virtual

Method which retrieves the size of the sequence vector, as described in the size() method above.

Implemented in CBlastSeqVectorOM, and CBlastSeqVectorFromCSeq_data.

Referenced by IBlastSeqVector::GetStrandData(), and IBlastSeqVector::size().

◆ x_SubmitSearch()

void CRemoteBlast::x_SubmitSearch ( void  )
private

◆ x_ThrowExceptionOnLogicError()

void CPsiBlastIterationState::x_ThrowExceptionOnLogicError ( )
private

After the iteration state object has converged or exhausted its iterations, it shouldn't be modified, so it throws a CBlastException if this happens.

Definition at line 100 of file psiblast_iteration.cpp.

References msg(), and NCBI_THROW.

Referenced by CPsiBlastIterationState::Advance().

◆ x_Throwx() [1/2]

void CBlastOptions::x_Throwx ( const string msg) const
private

Auxiliary to throw CBlastExceptions.

Parameters
msgmessage to pass in the exception [in]

Definition at line 2700 of file blast_options_cxx.cpp.

References msg(), and NCBI_THROW.

Referenced by CBlastOptions::GetBestHitOverhang(), CBlastOptions::GetBestHitScoreEdge(), CBlastOptions::GetChaining(), CBlastOptions::GetComplexityAdjMode(), CBlastOptions::GetCompositionBasedStats(), CBlastOptions::GetCullingLimit(), CBlastOptions::GetCutoffScore(), CBlastOptions::GetCutoffScoreCoeffs(), CBlastOptions::GetDbGeneticCode(), CBlastOptions::GetDbLength(), CBlastOptions::GetDbSeqNum(), CBlastOptions::GetDomainInclusionThreshold(), CBlastOptions::GetDustFiltering(), CBlastOptions::GetDustFilteringLevel(), CBlastOptions::GetDustFilteringLinker(), CBlastOptions::GetDustFilteringWindow(), CBlastOptions::GetEffectiveSearchSpace(), CBlastOptions::GetEvalueThreshold(), CBlastOptions::GetFilterString(), CBlastOptions::GetForceIndex(), CBlastOptions::GetFrameShiftPenalty(), CBlastOptions::GetGapExtensionCost(), CBlastOptions::GetGapExtnAlgorithm(), CBlastOptions::GetGapOpeningCost(), CBlastOptions::GetGappedMode(), CBlastOptions::GetGapTracebackAlgorithm(), CBlastOptions::GetGapTrigger(), CBlastOptions::GetGapXDropoff(), CBlastOptions::GetGapXDropoffFinal(), CBlastOptions::GetHitlistSize(), CBlastOptions::GetIgnoreMsaMaster(), CBlastOptions::GetInclusionThreshold(), CBlastOptions::GetIndexName(), CBlastOptions::GetIsOldStyleMBIndex(), CBlastOptions::GetLongestIntronLength(), CBlastOptions::GetLookupDbFilter(), CBlastOptions::GetLookupTableStride(), CBlastOptions::GetLookupTableType(), CBlastOptions::GetLowScorePerc(), CBlastOptions::GetMaskAtHash(), CBlastOptions::GetMaskLevel(), CBlastOptions::GetMatchReward(), CBlastOptions::GetMatrixName(), CBlastOptions::GetMaxDbWordCount(), CBlastOptions::GetMaxEditDistance(), CBlastOptions::GetMaxHspsPerSubject(), CBlastOptions::GetMaxMismatches(), CBlastOptions::GetMaxNumHspPerSequence(), CBlastOptions::GetMBIndexLoaded(), CBlastOptions::GetMBTemplateLength(), CBlastOptions::GetMBTemplateType(), CBlastOptions::GetMinDiagSeparation(), CBlastOptions::GetMismatchPenalty(), CBlastOptions::GetMismatchWindow(), CBlastOptions::GetOffDiagonalRange(), CBlastOptions::GetOutOfFrameMode(), CBlastOptions::GetPaired(), CBlastOptions::GetPercentIdentity(), CBlastOptions::GetPHIPattern(), CBlastOptions::GetProgram(), CBlastOptions::GetProgramType(), CBlastOptions::GetPseudoCount(), CBlastOptions::GetQueryCovHspPerc(), CBlastOptions::GetQueryGeneticCode(), CBlastOptions::GetReadMaxFractionAmbiguous(), CBlastOptions::GetReadMinDimerEntropy(), CBlastOptions::GetReadQualityFiltering(), CBlastOptions::GetRepeatFiltering(), CBlastOptions::GetRepeatFilteringDB(), CBlastOptions::GetSegFiltering(), CBlastOptions::GetSegFilteringHicut(), CBlastOptions::GetSegFilteringLocut(), CBlastOptions::GetSegFilteringWindow(), CBlastOptions::GetSmithWatermanMode(), CBlastOptions::GetSpliceAlignments(), CBlastOptions::GetStrandOption(), CBlastOptions::GetSubjectBestHit(), CBlastOptions::GetSumStatisticsMode(), CBlastOptions::GetUnifiedP(), CBlastOptions::GetUseIndex(), CBlastOptions::GetWindowMaskerDatabase(), CBlastOptions::GetWindowMaskerTaxId(), CBlastOptions::GetWindowSize(), CBlastOptions::GetWordSize(), CBlastOptions::GetWordThreshold(), CBlastOptions::GetXDropoff(), CBlastOptions::SetChaining(), CBlastOptions::SetCutoffScoreCoeffs(), CBlastOptions::SetLookupDbFilter(), CBlastOptions::SetLookupTableStride(), CBlastOptions::SetMaxDbWordCount(), CBlastOptions::SetMaxEditDistance(), CBlastOptions::SetMaxMismatches(), CBlastOptions::SetMBIndexLoaded(), CBlastOptions::SetMinDiagSeparation(), CBlastOptions::SetMismatchWindow(), CBlastOptions::SetPaired(), CBlastOptions::SetReadMaxFractionAmbiguous(), CBlastOptions::SetReadMinDimerEntropy(), CBlastOptions::SetReadQualityFiltering(), and CBlastOptions::SetSpliceAlignments().

◆ x_Throwx() [2/2]

void CBlastOptionsRemote::x_Throwx ( const string msg) const
inlineprivate

Definition at line 292 of file blast_options_cxx.cpp.

References msg(), and NCBI_THROW.

Referenced by CBlastOptionsRemote::SetValue().

◆ x_TranslateFilteringAlgorithm()

void CSearchDatabase::x_TranslateFilteringAlgorithm ( ) const
private

◆ x_UngappedHSPToDenseDiag()

CRef<CDense_diag> x_UngappedHSPToDenseDiag ( BlastHSP hsp,
CRef< CSeq_id query_id,
CRef< CSeq_id subject_id,
Int4  query_length,
Int4  subject_length,
const vector< string > &  seqid_list 
)

Creates a Dense-diag object from HSP information and sequence identifiers for a non-translated ungapped search.

Parameters
hspAn HSP structure [in]
query_idQuery sequence identifier [in]
subject_idSubject sequence identifier [in]
query_lengthLength of the query [in]
subject_lengthLength of the subject [in]
gi_listList of GIs for the subject sequence.
Returns
Resulting Dense-diag object.

Definition at line 1274 of file blast_seqalign.cpp.

References BlastSeg::end, BlastSeg::frame, kBlastAlignmentDim, BlastSeg::offset, BlastHSP::query, s_BuildScoreList(), s_Frame2Strand(), and BlastHSP::subject.

Referenced by BLASTUngappedHspListToSeqAlign().

◆ x_UngappedHSPToStdSeg()

CRef<CStd_seg> x_UngappedHSPToStdSeg ( BlastHSP hsp,
CRef< CSeq_id query_id,
CRef< CSeq_id subject_id,
Int4  query_length,
Int4  subject_length,
const vector< string > &  seqid_list 
)

Creates a Std-seg object from HSP information and sequence identifiers for a translated ungapped search.

Parameters
hspAn HSP structure [in]
query_idQuery sequence identifier [in]
subject_idSubject sequence identifier [in]
query_lengthLength of the query [in]
subject_lengthLength of the subject [in]
gi_listList of GIs for the subject sequence.
Returns
Resulting Std-seg object.

Definition at line 1324 of file blast_seqalign.cpp.

References CODON_LENGTH, BlastSeg::end, BlastSeg::frame, kBlastAlignmentDim, BlastSeg::offset, BlastHSP::query, s_BuildScoreList(), s_Frame2Strand(), CSeq_loc::SetInt(), and BlastHSP::subject.

Referenced by BLASTPrelminSearchHitListToStdSeg(), and BLASTUngappedHspListToSeqAlign().

◆ x_Validate() [1/3]

void CPsiBlastImpl::x_Validate ( void  )
private

◆ x_Validate() [2/3]

void CDeltaBlast::x_Validate ( void  )
protected

◆ x_Validate() [3/3]

void CMagicBlast::x_Validate ( void  )
protected

Perform sanity checks on input arguments.

Definition at line 190 of file magicblast.cpp.

References CRef< C, Locker >::Empty(), CMagicBlast::m_LocalDbAdapter, CMagicBlast::m_Options, CMagicBlast::m_Queries, and NCBI_THROW.

Referenced by CMagicBlast::CMagicBlast().

◆ x_ValidateHits()

bool CCddInputData::x_ValidateHits ( void  ) const
protected

Validate internal representation of RPS-BLAST hits.

Definition at line 431 of file cdd_pssm_input.cpp.

References _ASSERT, ITERATE, and CCddInputData::m_Hits.

Referenced by CCddInputData::Process().

◆ x_ValidateIndex()

void ILocalQueryData::x_ValidateIndex ( size_t  index)
private

◆ x_ValidateMaskingAlgorithm()

void CSearchDatabase::x_ValidateMaskingAlgorithm ( ) const
private

Validates that the specified filtering algorithm ID is supported by the specified BLAST database.

Exceptions
CBlastExceptionif validation fails

Definition at line 301 of file uniform_search.cpp.

References CRef< C, Locker >::Empty(), CSeqDB::GetAvailableMaskAlgorithms(), CSearchDatabase::GetDatabaseName(), CSearchDatabase::IsProtein(), CSearchDatabase::m_FilteringAlgorithmId, CSearchDatabase::m_SeqDb, msg(), and NCBI_THROW.

Referenced by CSearchDatabase::SetFilteringAlgorithm(), and CSearchDatabase::x_InitializeDb().

◆ x_ValidateMsa()

bool CCddInputData::x_ValidateMsa ( void  ) const
protected

◆ x_ValidateQueryInMsa()

void CPsiBlastInputClustalW::x_ValidateQueryInMsa ( )
private

Searches the query sequence (m_Query) in the aligned sequences (m_AsciiMsa) and moves the first instance it finds to the front of this data structure.

Exceptions
CBlastExceptionif the query sequence is not found.

Definition at line 226 of file msa_pssm_input.cpp.

References _ASSERT, AutoPtr< X, Del >::get(), CPsiBlastInputClustalW::GetQueryLength(), kGapChar(), kProtMask, CPsiBlastInputClustalW::m_AsciiMsa, CPsiBlastInputClustalW::m_Query, msg(), NCBI_THROW, NCBISTDAA_TO_AMINOACID, swap(), and toupper().

◆ x_VerifyFrame()

void CBlastQueryFilteredFrames::x_VerifyFrame ( int  frame)
private

◆ ~CAutomaticGenCodeSingleton()

CAutomaticGenCodeSingleton::~CAutomaticGenCodeSingleton ( )

destructor

Definition at line 645 of file blast_aux.cpp.

References GenCodeSingletonFini(), and CAutomaticGenCodeSingleton::m_RefCounter.

◆ ~CAutoNcbiConfigFile()

CAutoNcbiConfigFile::~CAutoNcbiConfigFile ( )
inline

◆ ~CBl2Seq()

CBl2Seq::~CBl2Seq ( )
virtual

Destructor.

Definition at line 135 of file bl2seq.cpp.

References CBl2Seq::x_ResetInternalDs().

◆ ~CBlast_ExtendWord()

virtual CBlast_ExtendWord::~CBlast_ExtendWord ( )
inlinevirtual

Definition at line 322 of file blast_aux.hpp.

◆ ~CBlast_Message()

virtual CBlast_Message::~CBlast_Message ( )
inlinevirtual

Definition at line 352 of file blast_aux.hpp.

◆ ~CBLAST_SequenceBlk()

virtual CBLAST_SequenceBlk::~CBLAST_SequenceBlk ( )
inlinevirtual

Definition at line 309 of file blast_aux.hpp.

◆ ~CBlastAncillaryData()

CBlastAncillaryData::~CBlastAncillaryData ( )

◆ ~CBlastAppDiagHandler()

CBlastAppDiagHandler::~CBlastAppDiagHandler ( )

Destructor.

Definition at line 1181 of file blast_aux.cpp.

References CBlastAppDiagHandler::m_handler, NULL, and SetDiagHandler().

◆ ~CBlastDatabaseOptions()

virtual CBlastDatabaseOptions::~CBlastDatabaseOptions ( )
inlinevirtual

Definition at line 331 of file blast_aux.hpp.

◆ ~CBlastEffectiveLengthsOptions()

virtual CBlastEffectiveLengthsOptions::~CBlastEffectiveLengthsOptions ( )
inlinevirtual

Definition at line 338 of file blast_aux.hpp.

◆ ~CBlastEffectiveLengthsParameters()

virtual CBlastEffectiveLengthsParameters::~CBlastEffectiveLengthsParameters ( )
inlinevirtual

Definition at line 340 of file blast_aux.hpp.

◆ ~CBlastExtensionOptions()

virtual CBlastExtensionOptions::~CBlastExtensionOptions ( )
inlinevirtual

Definition at line 323 of file blast_aux.hpp.

◆ ~CBlastExtensionParameters()

virtual CBlastExtensionParameters::~CBlastExtensionParameters ( )
inlinevirtual

Definition at line 324 of file blast_aux.hpp.

◆ ~CBlastGapAlignStruct()

virtual CBlastGapAlignStruct::~CBlastGapAlignStruct ( )
inlinevirtual

Definition at line 342 of file blast_aux.hpp.

◆ ~CBlastHitSavingOptions()

virtual CBlastHitSavingOptions::~CBlastHitSavingOptions ( )
inlinevirtual

Definition at line 326 of file blast_aux.hpp.

◆ ~CBlastHitSavingParameters()

virtual CBlastHitSavingParameters::~CBlastHitSavingParameters ( )
inlinevirtual

Definition at line 328 of file blast_aux.hpp.

◆ ~CBlastHSPListQueueData()

CBlastHSPListQueueData::~CBlastHSPListQueueData ( )

Destructor.

◆ ~CBlastHSPResults()

virtual CBlastHSPResults::~CBlastHSPResults ( )
inlinevirtual

Definition at line 343 of file blast_aux.hpp.

◆ ~CBlastInitialWordOptions()

virtual CBlastInitialWordOptions::~CBlastInitialWordOptions ( )
inlinevirtual

Definition at line 318 of file blast_aux.hpp.

◆ ~CBlastInitialWordParameters()

virtual CBlastInitialWordParameters::~CBlastInitialWordParameters ( )
inlinevirtual

Definition at line 320 of file blast_aux.hpp.

◆ ~CBlastMaskLoc()

virtual CBlastMaskLoc::~CBlastMaskLoc ( )
inlinevirtual

Definition at line 354 of file blast_aux.hpp.

◆ ~CBlastOptions()

CBlastOptions::~CBlastOptions ( )

Destructor.

Definition at line 315 of file blast_options_cxx.cpp.

References CBlastOptions::m_Local, and CBlastOptions::m_Remote.

◆ ~CBlastOptionsLocal()

CBlastOptionsLocal::~CBlastOptionsLocal ( )

Definition at line 70 of file blast_options_local_priv.cpp.

◆ ~CBlastOptionsMemento()

CBlastOptionsMemento::~CBlastOptionsMemento ( )
inline

Note the no-op destructor, this class does not own any of its data members!

Definition at line 61 of file blast_memento_priv.hpp.

◆ ~CBlastOptionsRemote()

CBlastOptionsRemote::~CBlastOptionsRemote ( )
inline

Definition at line 69 of file blast_options_cxx.cpp.

◆ ~CBlastpKmerOptionsHandle()

CBlastpKmerOptionsHandle::~CBlastpKmerOptionsHandle ( )
inline

Definition at line 60 of file blastp_kmer_options.hpp.

◆ ~CBlastQueryFilteredFrames()

CBlastQueryFilteredFrames::~CBlastQueryFilteredFrames ( )

Destructor; frees any BlastSeqLoc lists not released by the caller.

Definition at line 1570 of file blast_setup_cxx.cpp.

References BlastSeqLocFree(), ITERATE, and CBlastQueryFilteredFrames::m_Seqlocs.

◆ ~CBlastQueryInfo()

virtual CBlastQueryInfo::~CBlastQueryInfo ( )
inlinevirtual

Definition at line 311 of file blast_aux.hpp.

◆ ~CBlastQuerySourceOM()

CBlastQuerySourceOM::~CBlastQuerySourceOM ( )
virtual

dtor which determines if the internal pointer to its data should be deleted or not.

Definition at line 230 of file blast_objmgr_tools.cpp.

References CBlastQuerySourceOM::m_OwnTSeqLocVector, CBlastQuerySourceOM::m_TSeqLocVector, and NULL.

◆ ~CBlastRPSAuxInfo()

CBlastRPSAuxInfo::~CBlastRPSAuxInfo ( )

Destructor.

Definition at line 121 of file rps_aux.cpp.

References CBlastRPSAuxInfo::x_DoDestroy().

◆ ~CBlastRPSInfo()

CBlastRPSInfo::~CBlastRPSInfo ( )

Destructor.

Definition at line 610 of file rps_aux.cpp.

◆ ~CBlastScopeSourceWrapper()

CBlastScopeSourceWrapper::~CBlastScopeSourceWrapper ( )
inline

◆ ~CBlastScoreBlk()

virtual CBlastScoreBlk::~CBlastScoreBlk ( )
inlinevirtual

Definition at line 333 of file blast_aux.hpp.

◆ ~CBlastScoringOptions()

virtual CBlastScoringOptions::~CBlastScoringOptions ( )
inlinevirtual

Definition at line 334 of file blast_aux.hpp.

◆ ~CBlastScoringParameters()

virtual CBlastScoringParameters::~CBlastScoringParameters ( )
inlinevirtual

Definition at line 335 of file blast_aux.hpp.

◆ ~CBlastSeqLoc()

virtual CBlastSeqLoc::~CBlastSeqLoc ( )
inlinevirtual

Definition at line 355 of file blast_aux.hpp.

◆ ~CBlastSeqSrc()

virtual CBlastSeqSrc::~CBlastSeqSrc ( )
inlinevirtual

Definition at line 350 of file blast_aux.hpp.

◆ ~CBlastSeqSrcIterator()

virtual CBlastSeqSrcIterator::~CBlastSeqSrcIterator ( )
inlinevirtual

Definition at line 351 of file blast_aux.hpp.

◆ ~CBlastTracebackSearch()

CBlastTracebackSearch::~CBlastTracebackSearch ( )
virtual

Destructor.

Definition at line 108 of file traceback_stage.cpp.

References CBlastTracebackSearch::m_OptsMemento.

◆ ~CCddInputData()

CCddInputData::~CCddInputData ( )
virtual

Virtual destructor.

Definition at line 104 of file cdd_pssm_input.cpp.

References i, CCddInputData::m_Hits, and CCddInputData::m_Msa.

◆ ~CDeltaBlast()

CDeltaBlast::~CDeltaBlast ( )
inline

Destructor.

Definition at line 98 of file deltablast.hpp.

◆ ~CDeltaBlastOptionsHandle()

CDeltaBlastOptionsHandle::~CDeltaBlastOptionsHandle ( )
inline

Destructor.

Definition at line 59 of file deltablast_options.hpp.

◆ ~CEffectiveSearchSpacesMemento()

CEffectiveSearchSpacesMemento::~CEffectiveSearchSpacesMemento ( )
inline

◆ ~CFilteringMemento()

CFilteringMemento::~CFilteringMemento ( )
inline

Destructor.

Definition at line 68 of file effsearchspace_calc.cpp.

References SBlastFilterOptionsFree().

◆ ~CHit()

CCddInputData::CHit::~CHit ( )

Destructor.

Definition at line 394 of file cdd_pssm_input.cpp.

References ITERATE.

◆ ~CIgBlast()

CIgBlast::~CIgBlast ( )
inline

Destructor.

Definition at line 283 of file igblast.hpp.

◆ ~CIndexedDb()

CIndexedDb::~CIndexedDb ( )
virtual

Object destructor.

Definition at line 1031 of file blast_dbindex.cpp.

◆ ~CIndexedDb_New()

CIndexedDb_New::~CIndexedDb_New ( )
virtual

Object destructor.

Definition at line 806 of file blast_dbindex.cpp.

References IDX_TRACE.

◆ ~CLocalDbAdapter()

CLocalDbAdapter::~CLocalDbAdapter ( )
virtual

Destructor.

Definition at line 92 of file local_db_adapter.cpp.

References BlastSeqSrcFree(), and CLocalDbAdapter::m_SeqSrc.

◆ ~CLookupTableOptions()

virtual CLookupTableOptions::~CLookupTableOptions ( )
inlinevirtual

Definition at line 314 of file blast_aux.hpp.

◆ ~CLookupTableWrap()

virtual CLookupTableWrap::~CLookupTableWrap ( )
inlinevirtual

Definition at line 315 of file blast_aux.hpp.

◆ ~CMagicBlast()

CMagicBlast::~CMagicBlast ( )
inline

Destructor.

Definition at line 74 of file magicblast.hpp.

◆ ~CMultiSeqInfo()

CMultiSeqInfo::~CMultiSeqInfo ( )

Destructor.

Definition at line 187 of file seqsrc_multiseq.cpp.

References BlastSequenceBlkFree(), CMultiSeqInfo::m_ivSeqBlkVec, and NON_CONST_ITERATE.

◆ ~CPHIBlastNuclOptionsHandle()

CPHIBlastNuclOptionsHandle::~CPHIBlastNuclOptionsHandle ( )
inline

Definition at line 59 of file phiblast_nucl_options.hpp.

◆ ~CPHIBlastProtOptionsHandle()

CPHIBlastProtOptionsHandle::~CPHIBlastProtOptionsHandle ( )
inline

Definition at line 60 of file phiblast_prot_options.hpp.

◆ ~CPrelimSearchRunner()

CPrelimSearchRunner::~CPrelimSearchRunner ( )
inline

Definition at line 61 of file prelim_search_runner.hpp.

◆ ~CPrelimSearchThread()

virtual CPrelimSearchThread::~CPrelimSearchThread ( void  )
inlineprotectedvirtual

◆ ~CPsiBl2Seq()

CPsiBl2Seq::~CPsiBl2Seq ( )

Destructor.

Definition at line 84 of file psibl2seq.cpp.

References CPsiBl2Seq::m_Impl.

◆ ~CPsiBlast()

CPsiBlast::~CPsiBlast ( )

Destructor.

Definition at line 75 of file psiblast.cpp.

References CPsiBlast::m_Impl.

◆ ~CPsiBlastInputClustalW()

CPsiBlastInputClustalW::~CPsiBlastInputClustalW ( )
virtual

◆ ~CPsiBlastInputData()

CPsiBlastInputData::~CPsiBlastInputData ( )
virtual

virtual destructor

Definition at line 115 of file psi_pssm_input.cpp.

References CPsiBlastInputData::m_Msa, CPsiBlastInputData::m_Query, and PSIMsaFree().

◆ ~CPsiBlastIterationState()

CPsiBlastIterationState::~CPsiBlastIterationState ( )

Destructor.

Definition at line 54 of file psiblast_iteration.cpp.

◆ ~CPSIBlastOptions()

virtual CPSIBlastOptions::~CPSIBlastOptions ( )
inlinevirtual

Definition at line 330 of file blast_aux.hpp.

◆ ~CPSIBlastOptionsHandle()

CPSIBlastOptionsHandle::~CPSIBlastOptionsHandle ( )
inline

Destructor.

Definition at line 62 of file psiblast_options.hpp.

◆ ~CPSIDiagnosticsRequest()

virtual CPSIDiagnosticsRequest::~CPSIDiagnosticsRequest ( )
inlinevirtual

Definition at line 347 of file blast_aux.hpp.

◆ ~CPSIDiagnosticsResponse()

virtual CPSIDiagnosticsResponse::~CPSIDiagnosticsResponse ( )
inlinevirtual

Definition at line 348 of file blast_aux.hpp.

◆ ~CPSIMatrix()

virtual CPSIMatrix::~CPSIMatrix ( )
inlinevirtual

Definition at line 346 of file blast_aux.hpp.

◆ ~CPSIMsa()

virtual CPSIMsa::~CPSIMsa ( )
inlinevirtual

Definition at line 345 of file blast_aux.hpp.

◆ ~CPssmEngine()

CPssmEngine::~CPssmEngine ( )

Destructor.

Definition at line 213 of file pssm_engine.cpp.

◆ ~CQueryFactoryInfo()

CQueryFactoryInfo::~CQueryFactoryInfo ( )

◆ ~CQuerySetUpOptions()

virtual CQuerySetUpOptions::~CQuerySetUpOptions ( )
inlinevirtual

Definition at line 312 of file blast_aux.hpp.

◆ ~CRemoteBlast()

CRemoteBlast::~CRemoteBlast ( )

Destruct the search object.

Definition at line 1456 of file remote_blast.cpp.

◆ ~CRpsFreqRatiosFile()

virtual CRpsFreqRatiosFile::~CRpsFreqRatiosFile ( )
inlinevirtual

Definition at line 474 of file rps_aux.cpp.

◆ ~CRPSTBlastnOptionsHandle()

CRPSTBlastnOptionsHandle::~CRPSTBlastnOptionsHandle ( )
inline

Definition at line 59 of file rpstblastn_options.hpp.

◆ ~CSBlastProgress()

virtual CSBlastProgress::~CSBlastProgress ( )
inlinevirtual

Definition at line 357 of file blast_aux.hpp.

◆ ~CSearchResults()

CSearchResults::~CSearchResults ( )

Our destructor.

Definition at line 220 of file blast_results.cpp.

References CSearchResults::m_PhiQueryInfo, and SPHIQueryInfoFree().

◆ ~CSeqDbSeqInfoSrc()

CSeqDbSeqInfoSrc::~CSeqDbSeqInfoSrc ( )
virtual

Our destructor.

Definition at line 63 of file seqinfosrc_seqdb.cpp.

◆ ~CSeqVecSeqInfoSrc()

CSeqVecSeqInfoSrc::~CSeqVecSeqInfoSrc ( )
virtual

Destructor.

Definition at line 57 of file seqinfosrc_seqvec.cpp.

◆ ~CSplitQueryBlk()

CSplitQueryBlk::~CSplitQueryBlk ( )

Destructor.

Definition at line 54 of file split_query_blk.cpp.

References CSplitQueryBlk::m_SplitQueryBlk, and SplitQueryBlkFree().

◆ ~CStructWrapper()

template<class TData >
CStructWrapper< TData >::~CStructWrapper ( )
inline

Destructor.

Definition at line 111 of file setup_factory.hpp.

References CStructWrapper< TData >::m_Data, CStructWrapper< TData >::m_DeleteFunction, and NULL.

◆ ~CTBlastnOptionsHandle()

CTBlastnOptionsHandle::~CTBlastnOptionsHandle ( )
inline

Definition at line 60 of file tblastn_options.hpp.

◆ ~CTBlastxOptionsHandle()

CTBlastxOptionsHandle::~CTBlastxOptionsHandle ( )
inline

Definition at line 62 of file tblastx_options.hpp.

◆ ~CThreadable()

virtual CThreadable::~CThreadable ( void  )
inlinevirtual

Our virtual destructor.

Definition at line 171 of file setup_factory.hpp.

◆ ~IBlastQuerySource()

virtual IBlastQuerySource::~IBlastQuerySource ( )
inlinevirtual

Our no-op virtual destructor.

Definition at line 104 of file blast_setup.hpp.

◆ ~IBlastSeqInfoSrc()

virtual IBlastSeqInfoSrc::~IBlastSeqInfoSrc ( )
inlinevirtual

Definition at line 61 of file blast_seqinfosrc.hpp.

◆ ~IBlastSeqVector()

virtual IBlastSeqVector::~IBlastSeqVector ( )
inlinevirtual

Our no-op virtual destructor.

Definition at line 183 of file blast_setup.hpp.

◆ ~ILocalQueryData()

virtual ILocalQueryData::~ILocalQueryData ( )
inlinevirtual

virtual destructor

Definition at line 61 of file query_data.hpp.

◆ ~IPssmInput_Base()

virtual IPssmInput_Base::~IPssmInput_Base ( )
inlinevirtual

virtual destructor

Definition at line 58 of file pssm_input.hpp.

◆ ~IPssmInputCdd()

virtual IPssmInputCdd::~IPssmInputCdd ( )
inlinevirtual

Definition at line 76 of file cdd_pssm_input.hpp.

◆ ~IPssmInputData()

virtual IPssmInputData::~IPssmInputData ( )
inlinevirtual

virtual destructor

Definition at line 108 of file pssm_input.hpp.

◆ ~IPssmInputFreqRatios()

virtual IPssmInputFreqRatios::~IPssmInputFreqRatios ( )
inlinevirtual

virtual destructor

Definition at line 133 of file pssm_input.hpp.

◆ ~IQueryFactory()

virtual IQueryFactory::~IQueryFactory ( )
inlinevirtual

Definition at line 149 of file query_data.hpp.

◆ ~IRemoteQueryData()

virtual IRemoteQueryData::~IRemoteQueryData ( )
inlinevirtual

Definition at line 117 of file query_data.hpp.

◆ ~ISeqSearch()

virtual ISeqSearch::~ISeqSearch ( )
inlinevirtual

Destructor.

Definition at line 251 of file uniform_search.hpp.

◆ ~SNcbiMatrix2DoubleMatrix()

SNcbiMatrix2DoubleMatrix::~SNcbiMatrix2DoubleMatrix ( )
inline

Destructor.

Definition at line 322 of file pssm_engine.cpp.

References SNcbiMatrix2DoubleMatrix::m_Data, and SNcbiMatrix2DoubleMatrix::m_NumCols.

Variable Documentation

◆ allowed_letters

string SPatternUnit::allowed_letters

Definition at line 51 of file seedtop.hpp.

◆ AMINOACID_TO_NCBISTDAA

const Uint1 AMINOACID_TO_NCBISTDAA[]
extern

Translates between ncbieaa and ncbistdaa.

Definition at line 105 of file blast_encoding.c.

Referenced by _PSICalculateMatchWeights(), _PSICalculateNormalizedSequenceWeights(), _PSICheckSequenceWeights(), _PSIComputeAlignedRegionLengths(), _PSIComputeFreqRatios(), _PSIComputeFreqRatiosFromCDs(), _PSIComputeFrequenciesFromCDs(), _PSIComputePositionExtents(), _PSIComputeScoreProbabilities(), _PSIConvertFreqRatiosToPSSM(), _PSIGetAlignedSequencesForPosition(), _PSIGetLeftExtents(), _PSIGetRightExtents(), _PSISaveDiagnostics(), _PSISequenceLengthWithoutX(), _PSISpreadGapWeights(), _PSIValidateCdMSA(), Blast_FillResidueProbability(), Blast_GetStdAlphabet(), BLAST_ScoreSetAmbigRes(), BlastKmerGetCompressedTranslationTable(), BlastScoreBlkProteinMatrixLoad(), BlastScoreBlkProteinMatrixRead(), BOOST_AUTO_TEST_CASE(), TKmerMethods< TKmerCounts >::BuildCompressedTranslation(), CConservationScoringMethod::CalculateScores(), CPssmInputFlankingGaps::CPssmInputFlankingGaps(), CPssmInputGapsInQuery::CPssmInputGapsInQuery(), CPssmInputWithGapsInQuery::CPssmInputWithGapsInQuery(), CPssmInputWithNegativeFreqs::CPssmInputWithNegativeFreqs(), CPssmInputWithUnnormalizedFreqs::CPssmInputWithUnnormalizedFreqs(), CPssmInputTestData::FindNonIdenticalHighScoringResidue(), CScoreBuilder::GetBlastScoreProtToNucl(), GetSequenceProtein(), CBlastFormatUtil::PrintAsciiPssm(), RPSFillScores(), RPSRescalePssm(), s_BuildCompressedTranslation(), s_CodonToAA(), s_CreateBioseq(), s_IsResidueOnlyColumn(), s_PSIPurgeSimilarAlignments(), s_PSIValidateAlignedColumns(), s_PSIValidateNoFlankingGaps(), s_PSIValidateNoGapsInQuery(), s_TestCreatePssmFromFreqs(), CPssmInputTestData::SetupQueryAlignedWithInternalGaps(), SPHIPatternSearchBlkNew(), CPsiBlastInputClustalW::x_ExtractAlignmentData(), CPsiBlastInputClustalW::x_ExtractQueryFromMsa(), CPsiBlastInputData::x_ProcessDenseg(), CPhiblastTestFixture::x_SetupSequenceBlk(), and CCddInputData::x_ValidateMsa().

◆ at_least

size_t SPatternUnit::at_least

Definition at line 53 of file seedtop.hpp.

◆ at_most

size_t SPatternUnit::at_most

Definition at line 54 of file seedtop.hpp.

◆ BLASTNA_TO_IUPACNA

const char BLASTNA_TO_IUPACNA[]
extern

Translates between blastna and iupacna.

Definition at line 75 of file blast_encoding.c.

Referenced by MakeSplicedSeg(), and s_ComputeBtopAndIdentity().

◆ BLASTNA_TO_NCBI4NA

const Uint1 BLASTNA_TO_NCBI4NA[]
extern

Translates between blastna and ncbi4na.

Definition at line 56 of file blast_encoding.c.

Referenced by BlastScoreBlkNuclMatrixCreate().

◆ copied

bool SSeqDB_SeqSrc_Data::copied

Definition at line 96 of file seqsrc_seqdb.cpp.

◆ ctable

unsigned char ctable[16]
static
Initial value:
= {0xFF, 0x00, 0x01, 0xFF, 0x02, 0xFF, 0xFF, 0xFF,
0x03, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF }

Definition at line 424 of file blast_objmgr_tools.cpp.

Referenced by s_BuildNa4ToNa2Table(), s_Ncbi4naToNcbi2na(), and WriteDB_Ncbi4naToBinary().

◆ data

TAutoUint1Ptr SBlastSequence::data

◆ dbscan_mode

bool SMultiSeqSrcNewArgs::dbscan_mode

Database mode (not pairwise)

Definition at line 465 of file seqsrc_multiseq.cpp.

Referenced by s_MultiSeqSrcNew().

◆ disallowed_letters

string SPatternUnit::disallowed_letters

Definition at line 52 of file seedtop.hpp.

◆ extend_length3end

int extend_length3end = 15
static

Definition at line 59 of file igblast.cpp.

Referenced by CIgBlast::x_ExtendAlign3end().

◆ extend_length5end

int extend_length5end = 30
static

Definition at line 58 of file igblast.cpp.

Referenced by CIgBlast::x_ExtendAlign5end().

◆ has_index

bool CIndexedDb_New::SVolumeDescriptor::has_index

'true' if the volume is indexed.

Definition at line 347 of file blast_dbindex.cpp.

◆ index_

CRef< CDbIndex > CIndexedDb_Old::index_
private

Currently loaded index.

Definition at line 241 of file blast_dbindex.cpp.

Referenced by CIndexedDb_Old::PreSearch().

◆ index_names_

vector< string > CIndexedDb_Old::index_names_
private

List of index volume names.

Definition at line 240 of file blast_dbindex.cpp.

Referenced by CIndexedDb_Old::CIndexedDb_Old(), CIndexedDb_Old::MinIndexWordSize(), and CIndexedDb_Old::PreSearch().

◆ Index_Set_Instance

CRef< CIndexedDb > CIndexedDb::Index_Set_Instance
static

◆ is_x

bool SPatternUnit::is_x

Definition at line 55 of file seedtop.hpp.

◆ isProtein

bool SSeqDB_SeqSrc_Data::isProtein

Definition at line 97 of file seqsrc_seqdb.cpp.

◆ IUPACNA_TO_BLASTNA

const Uint1 IUPACNA_TO_BLASTNA[]
extern

Translates between iupacna and blastna.

Definition at line 85 of file blast_encoding.c.

Referenced by BLAST_ScoreSetAmbigRes(), BlastScoreBlkNucleotideMatrixRead(), and BlastScoreBlkProteinMatrixRead().

◆ IUPACNA_TO_NCBI4NA

const Uint1 IUPACNA_TO_NCBI4NA[]
extern

Translates between iupacna and ncbi4na.

Definition at line 95 of file blast_encoding.c.

Referenced by BLAST_ScoreSetAmbigRes(), and SPHIPatternSearchBlkNew().

◆ j_wordsize

int j_wordsize = 7
static

Definition at line 63 of file igblast.cpp.

Referenced by CIgBlast::x_FindDJAln(), and CIgBlast::x_SetupDJSearch().

◆ kAlphabetSize

const int CCddInputData::kAlphabetSize = 28
staticprivate

◆ kBlastAlignmentDim

const TSeqPos kBlastAlignmentDim = 2
static

BLAST alignments have always 2 dimensions (i.e.

: Pairwise alignment is 2 dimensional)

Definition at line 71 of file blast_seqalign.cpp.

Referenced by s_BlastHSP2SeqAlign(), s_CollectSeqAlignData(), s_CreateDenseg(), s_CreateSeqAlign(), s_CreateStdSegs(), s_OOFBlastHSP2SeqAlign(), x_NonTranslatedHSPToStdSeg(), x_UngappedHSPToDenseDiag(), and x_UngappedHSPToStdSeg().

◆ kDataLoaders

const char * CAutoNcbiConfigFile::kDataLoaders = "DATA_LOADERS"
static

◆ kExtension [1/6]

const string CRpsAuxFile::kExtension
static

Extension associated with the RPS-BLAST database auxiliary file.

Definition at line 162 of file rps_aux.cpp.

Referenced by CRpsAuxFile::CRpsAuxFile().

◆ kExtension [2/6]

const string CRpsLookupTblFile::kExtension
static

Extension associated with the RPS-BLAST database lookup table file.

Definition at line 275 of file rps_aux.cpp.

Referenced by CRpsLookupTblFile::CRpsLookupTblFile().

◆ kExtension [3/6]

const string CRpsPssmFile::kExtension
static

Extension associated with the RPS-BLAST database PSSM file.

Definition at line 322 of file rps_aux.cpp.

Referenced by CRpsPssmFile::CRpsPssmFile().

◆ kExtension [4/6]

const string CRpsFreqsFile::kExtension
static

Extension associated with the RPS-BLAST database PSSM file.

Definition at line 370 of file rps_aux.cpp.

Referenced by CRpsFreqsFile::CRpsFreqsFile().

◆ kExtension [5/6]

const string CRpsObsrFile::kExtension
static

Extension associated with the RPS-BLAST database PSSM file.

Definition at line 420 of file rps_aux.cpp.

Referenced by CRpsObsrFile::CRpsObsrFile().

◆ kExtension [6/6]

const string CRpsFreqRatiosFile::kExtension
static

Extension associated with the RPS-BLAST database PSSM file.

Definition at line 468 of file rps_aux.cpp.

Referenced by CRpsFreqRatiosFile::CRpsFreqRatiosFile().

◆ kInvalidFilterValue

const int kInvalidFilterValue = -1
static

◆ kNoPhiBlastPattern

const int SDatabaseScanData::kNoPhiBlastPattern

set to -1 in ctor, indicate that m_NumPatOccurInDB is unset or not applicable.

Definition at line 360 of file setup_factory.hpp.

Referenced by CBlastTracebackSearch::Run(), CBlastTracebackSearch::RunSimple(), and SDatabaseScanData::SDatabaseScanData().

◆ kNuclBlastDbDataLoader

const char * CAutoNcbiConfigFile::kNuclBlastDbDataLoader = "BLASTDB_NUCL_DATA_LOADER"
static

◆ kNuclSentinel

const Uint1 kNuclSentinel
extern

Sentinel nibble for nucleotide sequences.

Definition at line 121 of file blast_encoding.c.

Referenced by GetSentinelByte(), s_GetSeq4na(), s_GetSeq4naChunkSeq(), and s_GetSeq4naChunkSeq_PartialFetching().

◆ kProtBlastDbDataLoader

const char * CAutoNcbiConfigFile::kProtBlastDbDataLoader = "BLASTDB_PROT_DATA_LOADER"
static

◆ kProtSentinel

const Uint1 kProtSentinel
extern

Sentinel byte for protein sequences.

Definition at line 120 of file blast_encoding.c.

Referenced by GetSentinelByte().

◆ kPubMedUrls

const string kPubMedUrls[(int) CReference::eMaxPublications+1]
static
Initial value:
= {
"//www.ncbi.nlm.nih.gov/\
entrez/query.fcgi?db=PubMed&cmd=Retrieve&list_uids=9254694&dopt=Citation",
"//www.ncbi.nlm.nih.gov/\
entrez/query.fcgi?db=PubMed&cmd=Retrieve&list_uids=9705509&dopt=Citation",
"//www.ncbi.nlm.nih.gov/\
entrez/query.fcgi?db=PubMed&cmd=Retrieve&list_uids=10890397&dopt=Citation",
"//www.ncbi.nlm.nih.gov/\
entrez/query.fcgi?db=PubMed&cmd=Retrieve&list_uids=11452024&dopt=Citation",
"//www.ncbi.nlm.nih.gov/\
entrez/query.fcgi?db=PubMed&cmd=Retrieve&list_uids=16218944&dopt=Citation",
"//www.ncbi.nlm.nih.gov/pubmed/18567917",
"//www.ncbi.nlm.nih.gov/pubmed/22510480",
}
#define kEmptyStr
Definition: ncbistr.hpp:123

Pubmed URLs to retrieve the references defined above.

Definition at line 87 of file version.cpp.

Referenced by CReference::GetPubmedUrl().

◆ kReferences

const string kReferences[(int) CReference::eMaxPublications+1]
static

References for the various BLAST publications.

Definition at line 47 of file version.cpp.

Referenced by CReference::GetString().

◆ kRpsScaleFactor

const int CCddInputData::kRpsScaleFactor = 1000
staticprivate

Scale of residue frequencies and number of independent observations stored in CDD.

Definition at line 491 of file cdd_pssm_input.hpp.

Referenced by CPssmCddInputTest::GetProfilesDataScale(), and CCddInputData::CHitSegment::x_FillObservations().

◆ kSection

const char * CAutoNcbiConfigFile::kSection = "BLAST"
static

◆ length

TSeqPos SBlastSequence::length

◆ locs_wrap_

CRef< CBlastSeqLocWrap > CIndexedDb::locs_wrap_
protected

Current set of unmasked query locations.

Definition at line 145 of file blast_dbindex.cpp.

Referenced by CIndexedDb_Old::DoPreSearch(), CIndexedDb::SetQueryInfo(), and CIndexedDb_New::UpdateIndex().

◆ m_AbsoluteContexts

vector< vector<int> > CContextTranslator::m_AbsoluteContexts
private

Definition at line 167 of file split_query_aux_priv.hpp.

Referenced by CContextTranslator::CContextTranslator(), and operator<<().

◆ m_AirrField

list<string> CIgBlastOptions::m_AirrField

Definition at line 90 of file igblast.hpp.

Referenced by CIgBlastnApp::CIgFormatter::Main().

◆ m_AlgoOpts

CRef<objects::CBlast4_parameters> CRemoteBlast::m_AlgoOpts
private

Options relevant to the search algorithm.

Definition at line 794 of file remote_blast.hpp.

Referenced by CRemoteBlast::GetSearchOptions(), CRemoteBlast::x_GetRequestInfoFromFile(), and CRemoteBlast::x_GetRequestInfoFromRID().

◆ m_Alignment

CRef<objects::CSeq_align_set> CSearchResults::m_Alignment
protected

◆ m_Aligns

CRef<CSeq_align_set> CMagicBlastResults::m_Aligns
private

Alignments for a single or a pair of reads.

Definition at line 223 of file magicblast.hpp.

Referenced by CMagicBlastResults::GetSeqAlign(), CMagicBlastResults::SetSeqAlign(), CMagicBlastResults::SortAlignments(), and CMagicBlastResults::x_SetInfo().

◆ m_AncillaryData [1/2]

CSearchResultSet::TAncillaryVector CBl2Seq::m_AncillaryData
private

Ancillary BLAST data.

Definition at line 205 of file bl2seq.hpp.

Referenced by CBl2Seq::GetAncillaryResults(), CBl2Seq::x_BuildAncillaryData(), and CBl2Seq::x_ResetInternalDs().

◆ m_AncillaryData [2/2]

CRef<CBlastAncillaryData> CSearchResults::m_AncillaryData
protected

non-alignment ancillary data for this query

Definition at line 279 of file blast_results.hpp.

Referenced by CSearchResults::GetAncillaryData().

◆ m_Annotation

CRef<CIgAnnotation> CIgBlastResults::m_Annotation
private

◆ m_AnnotationInfo

CIgAnnotationInfo CIgBlast::m_AnnotationInfo
private

◆ m_App

CNcbiApplication* CAutoNcbiConfigFile::m_App
private

◆ m_Archive

CRef<objects::CBlast4_archive> CRemoteBlast::m_Archive
private

◆ m_AsciiMsa

vector<string> CPsiBlastInputClustalW::m_AsciiMsa
private

◆ m_AuxFile

CRef<CRpsAuxFile> CBlastRPSInfo::m_AuxFile
private

The auxiliary RPS-BLAST file (.aux)

Definition at line 146 of file rps_aux.hpp.

Referenced by CBlastRPSInfo::x_Init().

◆ m_AuxFilename

string CIgBlastOptions::m_AuxFilename

◆ m_AvailableDatabases

objects::CBlast4_get_databases_reply::Tdata CBlastServices::m_AvailableDatabases
private

◆ m_AvgLength

unsigned int CQueryFactoryInfo::m_AvgLength
private

Average length of sequences in this set.

Definition at line 79 of file seqsrc_query_factory.cpp.

Referenced by CQueryFactoryInfo::GetAvgLength(), and CQueryFactoryInfo::SetAvgLength().

◆ m_batch_num_str

std::string CLocalBlast::m_batch_num_str
private

Definition at line 148 of file local_blast.hpp.

Referenced by CLocalBlast::Run(), and CLocalBlast::SetBatchNumber().

◆ m_Bioseqs [1/3]

CConstRef<objects::CBioseq_set> CObjMgrFree_QueryFactory::m_Bioseqs
private

◆ m_Bioseqs [2/3]

CRef<objects::CBioseq_set> IRemoteQueryData::m_Bioseqs
protected

Data member to cache the CBioseq_set.

Definition at line 129 of file query_data.hpp.

Referenced by CObjMgr_RemoteQueryData::GetBioseqSet(), and CObjMgrFree_RemoteQueryData::GetBioseqSet().

◆ m_Bioseqs [3/3]

vector< CConstRef<objects::CBioseq> > CBlastQuerySourceBioseqSet::m_Bioseqs
private

◆ m_BioseqSet

CConstRef<CBioseq_set> CObjMgrFree_LocalQueryData::m_BioseqSet
private

◆ m_Blast

CRef<CLocalBlast> CBl2Seq::m_Blast
private

The actual BLAST instance.

Definition at line 184 of file bl2seq.hpp.

Referenced by CBl2Seq::RunEx(), and CBl2Seq::x_InitCLocalBlast().

◆ m_BlastDb

string CAutoNcbiConfigFile::m_BlastDb
private

◆ m_BtopSpliceSignals

bool CMagicBlast::m_BtopSpliceSignals
private

Should BTOP strings be formatted with splice signals.

Definition at line 131 of file magicblast.hpp.

Referenced by CMagicBlast::CMagicBlast(), CMagicBlast::x_BuildResultSet(), and CMagicBlast::x_BuildSeqAlignSet().

◆ m_CalculatedMasks

bool CBlastQuerySourceOM::m_CalculatedMasks
private

this flag allows for lazy initialization of the masking locations

Definition at line 180 of file blast_objmgr_priv.hpp.

Referenced by CBlastQuerySourceOM::x_CalculateMasks().

◆ m_Candidates

int CBlastpKmerOptionsHandle::m_Candidates
private

Number of target seqs to process with BLAST.

Definition at line 111 of file blastp_kmer_options.hpp.

◆ m_CBOH

CRef<blast::CBlastOptionsHandle> CRemoteBlast::m_CBOH
private

◆ m_CddData

PSICdMsa CCddInputData::m_CddData
private

MSA of CDs and CD data.

Definition at line 457 of file cdd_pssm_input.hpp.

Referenced by CCddInputData::GetData(), CCddInputData::Process(), and CCddInputData::x_CreateMsa().

◆ m_CDomain

int CIgAnnotation::m_CDomain[2]

Definition at line 113 of file igblast.hpp.

Referenced by CIgAnnotation::CIgAnnotation(), and CBlastFormat::PrintOneResultSet().

◆ m_ChainType

vector<string> CIgAnnotation::m_ChainType

◆ m_ChainTypeToShow

string CIgAnnotation::m_ChainTypeToShow

◆ m_ChunkSize

size_t CQuerySplitter::m_ChunkSize
private

Size of the query chunks.

Definition at line 119 of file split_query.hpp.

Referenced by CQuerySplitter::GetChunkSize(), and CQuerySplitter::x_ComputeChunkRanges().

◆ m_ClientBioseqSet

CConstRef<CBioseq_set> CObjMgrFree_RemoteQueryData::m_ClientBioseqSet
private

◆ m_ClientId [1/2]

string CRemoteBlast::m_ClientId
private

◆ m_ClientId [2/2]

string CExportStrategy::m_ClientId
private

Definition at line 262 of file search_strategy.hpp.

Referenced by CExportStrategy::GetSearchStrategy().

◆ m_Concordant

bool CMagicBlastResults::m_Concordant
private

True if results are concordant pair.

Definition at line 229 of file magicblast.hpp.

Referenced by CMagicBlastResults::IsConcordant(), and CMagicBlastResults::x_SetInfo().

◆ m_ContextsPerChunk

vector< vector<int> > CContextTranslator::m_ContextsPerChunk
private

Each element in this vector represents a chunk, and it contains the contexts numbers that correspond in the full concatenated query.

Definition at line 164 of file split_query_aux_priv.hpp.

Referenced by CContextTranslator::CContextTranslator(), CContextTranslator::GetAbsoluteContext(), CContextTranslator::GetContextInChunk(), and operator<<().

◆ m_CreatedBy

string CRemoteBlast::m_CreatedBy
private

Created-by attribution for this search.

Definition at line 788 of file remote_blast.hpp.

Referenced by CRemoteBlast::GetCreatedBy(), CRemoteBlast::x_GetRequestInfoFromFile(), and CRemoteBlast::x_GetRequestInfoFromRID().

◆ m_CurrentData

TSeqIds CPsiBlastIterationState::m_CurrentData
private

Identifiers for sequences found in the current iteration.

Definition at line 134 of file psiblast_iteration.hpp.

Referenced by CPsiBlastIterationState::Advance(), CPsiBlastIterationState::GetPreviouslyFoundSeqIds(), and CPsiBlastIterationState::HasConverged().

◆ m_CustomInternalData

string CIgBlastOptions::m_CustomInternalData

◆ m_D_penalty

int CIgBlastOptions::m_D_penalty

◆ m_Data [1/10]

unique_ptr<CImportStrategyData> CImportStrategy::m_Data
private

◆ m_Data [2/10]

template<class TData >
TData* CStructWrapper< TData >::m_Data
private

◆ m_Data [3/10]

double** SNcbiMatrix2DoubleMatrix::m_Data
private

◆ m_Data [4/10]

BlastRPSAuxInfo* CBlastRPSAuxInfo::m_Data
private

The data structure this class manages.

Definition at line 92 of file rps_aux.cpp.

Referenced by CBlastRPSAuxInfo::CBlastRPSAuxInfo(), CBlastRPSAuxInfo::operator()(), and CBlastRPSAuxInfo::x_DoDestroy().

◆ m_Data [5/10]

CRef<CBlastRPSAuxInfo> CRpsAuxFile::m_Data
private

Definition at line 175 of file rps_aux.cpp.

Referenced by CRpsAuxFile::CRpsAuxFile(), and CRpsAuxFile::operator()().

◆ m_Data [6/10]

BlastRPSLookupFileHeader* CRpsLookupTblFile::m_Data
private

The data structure this class manages.

Definition at line 286 of file rps_aux.cpp.

Referenced by CRpsLookupTblFile::CRpsLookupTblFile(), and CRpsLookupTblFile::operator()().

◆ m_Data [7/10]

BlastRPSProfileHeader* CRpsPssmFile::m_Data
private

The data structure this class manages.

Definition at line 333 of file rps_aux.cpp.

Referenced by CRpsPssmFile::CRpsPssmFile(), and CRpsPssmFile::operator()().

◆ m_Data [8/10]

BlastRPSProfileHeader* CRpsFreqsFile::m_Data
private

The data this class manages.

Definition at line 381 of file rps_aux.cpp.

Referenced by CRpsFreqsFile::CRpsFreqsFile(), and CRpsFreqsFile::operator()().

◆ m_Data [9/10]

BlastRPSProfileHeader* CRpsObsrFile::m_Data
private

Header.

Definition at line 431 of file rps_aux.cpp.

Referenced by CRpsObsrFile::CRpsObsrFile(), and CRpsObsrFile::operator()().

◆ m_Data [10/10]

BlastRPSFreqRatiosHeader* CRpsFreqRatiosFile::m_Data
private

The data this class manages.

Definition at line 481 of file rps_aux.cpp.

Referenced by CRpsFreqRatiosFile::CRpsFreqRatiosFile(), and CRpsFreqRatiosFile::operator()().

◆ m_Database

CConstRef<CSearchDatabase> CLocalSeqSearch::m_Database
private

BLAST database for the search class to use.

Definition at line 76 of file local_search.hpp.

Referenced by CLocalSeqSearch::Run(), and CLocalSeqSearch::SetSubject().

◆ m_DataSource

CBlastQuerySourceBioseqSet CBioseqSeqInfoSrc::m_DataSource
private

◆ m_Db

CRef<CLocalDbAdapter> CIgBlastOptions::m_Db[5]

◆ m_DbAdapter

CRef<CLocalDbAdapter> CBlastPrelimSearch::m_DbAdapter
private

Definition at line 168 of file prelim_stage.hpp.

Referenced by CBlastPrelimSearch::x_BuildStdSegList().

◆ m_DbFilteringAlgorithmId [1/2]

SOptional<int> CBlastOptionsBuilder::m_DbFilteringAlgorithmId
private

◆ m_DbFilteringAlgorithmId [2/2]

int CRemoteBlast::m_DbFilteringAlgorithmId
private

◆ m_DbFilteringAlgorithmKey [1/2]

SOptional<string> CBlastOptionsBuilder::m_DbFilteringAlgorithmKey
private

◆ m_DbFilteringAlgorithmKey [2/2]

string CRemoteBlast::m_DbFilteringAlgorithmKey
private

◆ m_DbInfo [1/2]

CRef<CSearchDatabase> CLocalDbAdapter::m_DbInfo
private

◆ m_DbInfo [2/2]

const CSearchDatabase* CBlastPrelimSearch::m_DbInfo
private

Definition at line 169 of file prelim_stage.hpp.

Referenced by CBlastPrelimSearch::x_BuildStdSegList().

◆ m_DbInitialized

bool CSearchDatabase::m_DbInitialized
mutableprivate

◆ m_DbName [1/4]

string CCddInputData::m_DbName
private

CDD database name.

Definition at line 447 of file cdd_pssm_input.hpp.

Referenced by CCddInputData::x_FillHitsData().

◆ m_DbName [2/4]

const string CLocalDbAdapter::m_DbName
private

This is initialized ONLY if this object represents a BLAST database.

Definition at line 152 of file local_db_adapter.hpp.

Referenced by CLocalDbAdapter::GetDatabaseName(), and CLocalDbAdapter::IsBlastDb().

◆ m_DbName [3/4]

string CSearchDatabase::m_DbName
private

◆ m_DbName [4/4]

string CSeqDbSrcNewArgs::m_DbName
private

Database name.

Definition at line 595 of file seqsrc_seqdb.cpp.

◆ m_DbOpts [1/2]

BlastDatabaseOptions* CBlastOptionsMemento::m_DbOpts
private

◆ m_DbOpts [2/2]

CBlastDatabaseOptions CBlastOptionsLocal::m_DbOpts
private

◆ m_Dbs

CRef<objects::CBlast4_database> CRemoteBlast::m_Dbs
private

◆ m_DBscanInfo

CRef<SDatabaseScanData> CBlastTracebackSearch::m_DBscanInfo
private

Tracks information from database scanning phase.

Right now only used for the number of occurrences of a pattern in phiblast run.

Definition at line 134 of file traceback_stage.hpp.

Referenced by CBlastTracebackSearch::Run(), CBlastTracebackSearch::RunSimple(), and CBlastTracebackSearch::SetDBScanInfo().

◆ m_DbScanMode [1/3]

bool CBl2Seq::m_DbScanMode
private

Scan like a databsase (as opposed to pairwise)

Definition at line 185 of file bl2seq.hpp.

Referenced by CBl2Seq::x_InitCLocalBlast().

◆ m_DbScanMode [2/3]

bool CLocalDbAdapter::m_DbScanMode
private

Specifies that bl2seq search run in database scan mode (not pairwise)

Definition at line 155 of file local_db_adapter.hpp.

Referenced by CLocalDbAdapter::IsDbScanMode(), and CLocalDbAdapter::MakeSeqSrc().

◆ m_DbScanMode [3/3]

bool CMultiSeqInfo::m_DbScanMode
private

Database scanning mode (not pairwise)

Definition at line 75 of file seqsrc_multiseq.cpp.

Referenced by CMultiSeqInfo::CMultiSeqInfo().

◆ m_DefaultsMode [1/2]

bool CBlastOptionsHandle::m_DefaultsMode
protected

Set to true when 'remote' options should ignore setters.

Definition at line 338 of file blast_options_handle.hpp.

◆ m_DefaultsMode [2/2]

bool CBlastOptionsRemote::m_DefaultsMode
private

◆ m_DeleteFunction

template<class TData >
TDelete* CStructWrapper< TData >::m_DeleteFunction
private

deallocation function for the pointer above

Definition at line 146 of file setup_factory.hpp.

Referenced by CStructWrapper< TData >::~CStructWrapper().

◆ m_DeltaBlastOpts

CPSIBlastOptions CBlastOptionsLocal::m_DeltaBlastOpts
private

◆ m_DetectOverlap

bool CIgBlastOptions::m_DetectOverlap

◆ m_DFrameFileName

string CIgBlastOptions::m_DFrameFileName

◆ m_DframeStart

int CIgAnnotation::m_DframeStart

Definition at line 114 of file igblast.hpp.

Referenced by CIgAnnotation::CIgAnnotation().

◆ m_Diagnostics

CRef<TBlastDiagnostics> SInternalData::m_Diagnostics

◆ m_DiagnosticsRequest [1/3]

PSIDiagnosticsRequest* CCddInputData::m_DiagnosticsRequest
private

PSSM engine Diagnostics request.

Definition at line 472 of file cdd_pssm_input.hpp.

Referenced by CCddInputData::GetDiagnosticsRequest().

◆ m_DiagnosticsRequest [2/3]

PSIDiagnosticsRequest* CPsiBlastInputClustalW::m_DiagnosticsRequest
private

Diagnostics request structure.

Definition at line 147 of file msa_pssm_input.hpp.

Referenced by CPsiBlastInputClustalW::~CPsiBlastInputClustalW().

◆ m_DiagnosticsRequest [3/3]

PSIDiagnosticsRequest* CPsiBlastInputData::m_DiagnosticsRequest
private

Diagnostics request structure.

Definition at line 247 of file psi_pssm_input.hpp.

Referenced by CPsiBlastInputData::CPsiBlastInputData(), and CPsiBlastInputData::GetDiagnosticsRequest().

◆ m_disk_cache_error_flag

bool CRemoteBlast::m_disk_cache_error_flag
private

◆ m_disk_cache_error_msg

string CRemoteBlast::m_disk_cache_error_msg
private

◆ m_DJChainType

map<string, string> CIgAnnotationInfo::m_DJChainType
private

◆ m_DomainChainType

map<string, string> CIgAnnotationInfo::m_DomainChainType
private

◆ m_DomainData

vector<int> CIgAnnotationInfo::m_DomainData
private

◆ m_DomainDb

CRef<CLocalDbAdapter> CDeltaBlast::m_DomainDb
private

Reference to a BLAST conserved domain database object.

Definition at line 138 of file deltablast.hpp.

Referenced by CDeltaBlast::Run(), CDeltaBlast::x_FindDomainHits(), and CDeltaBlast::x_Validate().

◆ m_DomainIndex

map<string, int> CIgAnnotationInfo::m_DomainIndex
private

◆ m_DomainInfo

int CIgAnnotation::m_DomainInfo[12]

◆ m_DomainInfo_S

int CIgAnnotation::m_DomainInfo_S[10]

◆ m_DomainResults

CRef<CSearchResultSet> CDeltaBlast::m_DomainResults
private

Conseved domain search (intermediate) results.

Definition at line 150 of file deltablast.hpp.

Referenced by CDeltaBlast::GetDomainResults(), and CDeltaBlast::Run().

◆ m_DomainSystem

string CIgBlastOptions::m_DomainSystem

◆ m_EffLenOpts [1/2]

BlastEffectiveLengthsOptions* CBlastOptionsMemento::m_EffLenOpts
private

◆ m_EffLenOpts [2/2]

CBlastEffectiveLengthsOptions CBlastOptionsLocal::m_EffLenOpts
private

◆ m_EffLenOrig

BlastEffectiveLengthsOptions* CEffectiveSearchSpacesMemento::m_EffLenOrig
private

◆ m_EffLenReplace

BlastEffectiveLengthsOptions* CEffectiveSearchSpacesMemento::m_EffLenReplace
private

Effective length that will be replaced in the BLAST options object.

Definition at line 146 of file blast_memento_priv.hpp.

Referenced by CEffectiveSearchSpacesMemento::CEffectiveSearchSpacesMemento(), and CEffectiveSearchSpacesMemento::~CEffectiveSearchSpacesMemento().

◆ m_Encoding

CSeqUtil::ECoding CBlastSeqVectorFromCSeq_data::m_Encoding
private

Encoding used in the data above.

Definition at line 97 of file bioseq_extract_data_priv.hpp.

Referenced by CBlastSeqVectorFromCSeq_data::SetCoding(), and CBlastSeqVectorFromCSeq_data::x_ComplementData().

◆ m_EntrezQuery [1/3]

SOptional<string> CBlastOptionsBuilder::m_EntrezQuery
private

◆ m_EntrezQuery [2/3]

string CRemoteBlast::m_EntrezQuery
private

Entrez Query, if any.

Definition at line 806 of file remote_blast.hpp.

Referenced by CRemoteBlast::GetSearchOptions(), and CRemoteBlast::SetEntrezQuery().

◆ m_EntrezQuery [3/3]

string CIgBlast::m_EntrezQuery
private

Definition at line 307 of file igblast.hpp.

Referenced by CIgBlast::Run().

◆ m_EntrezQueryLimitation

string CSearchDatabase::m_EntrezQueryLimitation
private

◆ m_ErrIgn

int CRemoteBlast::m_ErrIgn
private

Count of server glitches (communication errors) to ignore.

Definition at line 758 of file remote_blast.hpp.

Referenced by CRemoteBlast::x_CheckResults(), CRemoteBlast::x_CheckResultsDC(), and CRemoteBlast::x_Init().

◆ m_Errors

TQueryMessages CSearchResults::m_Errors
protected

◆ m_Errs

vector<string> CRemoteBlast::m_Errs
private

◆ m_Evalue

double CCddInputData::CHit::m_Evalue

E-value.

Definition at line 358 of file cdd_pssm_input.hpp.

◆ m_ExtendAlign3end

bool CIgBlastOptions::m_ExtendAlign3end

Definition at line 86 of file igblast.hpp.

Referenced by CIgBlastArgs::ExtractAlgorithmOptions(), and CIgBlast::Run().

◆ m_ExtendAlign5end

bool CIgBlastOptions::m_ExtendAlign5end

Definition at line 85 of file igblast.hpp.

Referenced by CIgBlastArgs::ExtractAlgorithmOptions(), and CIgBlast::Run().

◆ m_ExtnOpts [1/2]

BlastExtensionOptions* CBlastOptionsMemento::m_ExtnOpts
private

◆ m_ExtnOpts [2/2]

CBlastExtensionOptions CBlastOptionsLocal::m_ExtnOpts
private

◆ m_FilteringAlgoId

int CSeqDbSeqInfoSrc::m_FilteringAlgoId
private

Filtering algorithm ID used with these subjects, use -1 if not applicable.

Definition at line 121 of file seqinfosrc_seqdb.hpp.

Referenced by CSeqDbSeqInfoSrc::GetMasks(), and CSeqDbSeqInfoSrc::SetFilteringAlgorithmId().

◆ m_FilteringAlgorithmId

int CSearchDatabase::m_FilteringAlgorithmId
mutableprivate

◆ m_FilteringAlgorithmString

string CSearchDatabase::m_FilteringAlgorithmString
private

◆ m_FilteringID

int CImportStrategyData::m_FilteringID

Filtering ID.

Definition at line 69 of file search_strategy.hpp.

◆ m_FilteringKey

string CImportStrategyData::m_FilteringKey

Filtering key.

Definition at line 80 of file search_strategy.hpp.

◆ m_FilterOpts

SBlastFilterOptions* CFilteringMemento::m_FilterOpts
private

original filtering options specified in m_OptsMemento

Definition at line 79 of file effsearchspace_calc.cpp.

◆ m_FilterString

char* CFilteringMemento::m_FilterString
private

original filtering string specified in m_OptsMemento

Definition at line 77 of file effsearchspace_calc.cpp.

◆ m_FinalDbSeq [1/3]

SOptional<int> CBlastOptionsBuilder::m_FinalDbSeq
private

◆ m_FinalDbSeq [2/3]

string CRemoteBlast::m_FinalDbSeq
private

Final database sequence.

Definition at line 812 of file remote_blast.hpp.

Referenced by CRemoteBlast::GetSearchOptions().

◆ m_FinalDbSeq [3/3]

Uint4 CSeqDbSrcNewArgs::m_FinalDbSeq
private

Ordinal id of the last sequence to search.

Definition at line 598 of file seqsrc_seqdb.cpp.

◆ m_FirstDbSeq [1/3]

SOptional<int> CBlastOptionsBuilder::m_FirstDbSeq
private

◆ m_FirstDbSeq [2/3]

string CRemoteBlast::m_FirstDbSeq
private

First database sequence.

Definition at line 809 of file remote_blast.hpp.

Referenced by CRemoteBlast::GetSearchOptions().

◆ m_FirstDbSeq [3/3]

Uint4 CSeqDbSrcNewArgs::m_FirstDbSeq
private

Ordinal id of the first sequence to search.

Definition at line 597 of file seqsrc_seqdb.cpp.

◆ m_FirstInfo

TResultsInfo CMagicBlastResults::m_FirstInfo
private

Alignment flags for the query.

Definition at line 232 of file magicblast.hpp.

Referenced by CMagicBlastResults::FirstAligned(), CMagicBlastResults::GetFirstInfo(), and CMagicBlastResults::x_SetInfo().

◆ m_FnInterrupt

TInterruptFnPtr SInternalData::m_FnInterrupt

◆ m_FocusV

bool CIgBlastOptions::m_FocusV

Definition at line 83 of file igblast.hpp.

Referenced by CIgBlastArgs::ExtractAlgorithmOptions(), and CIgBlast::x_SetupDbSearch().

◆ m_ForceMbIndex

bool CBlastOptionsBuilder::m_ForceMbIndex
private

Should loading of the megablast BLAST DB index be required?

Definition at line 326 of file blast_options_builder.hpp.

Referenced by CBlastOptionsBuilder::x_ApplyInteractions(), and CBlastOptionsBuilder::x_ProcessOneOption().

◆ m_ForceMBIndex

bool CBlastOptionsLocal::m_ForceMBIndex
private

◆ m_FormatOpts

CRef<objects::CBlast4_parameters> CRemoteBlast::m_FormatOpts
private

◆ m_Frame

ETranslationFrame CFrameFinder::m_Frame
private

Frame to look for.

Definition at line 155 of file blast_aux.hpp.

Referenced by CFrameFinder::operator()().

◆ m_FrameInfo

int CIgAnnotation::m_FrameInfo[3]

◆ m_FrameOffset

map<string, int> CIgAnnotationInfo::m_FrameOffset
private

◆ m_Frames

set<ETranslationFrame> CBlastQueryFilteredFrames::m_Frames
private

Frames for masked locations.

Definition at line 525 of file blast_setup.hpp.

Referenced by CBlastQueryFilteredFrames::AddSeqLoc(), and CBlastQueryFilteredFrames::ListFrames().

◆ m_FreqRatios

CNcbiMatrix<double> CPsiBlastInputFreqRatios::m_FreqRatios
private

Frequency ratios.

Definition at line 148 of file psi_pssm_input.hpp.

◆ m_FreqRatiosFile

CRef<CRpsFreqRatiosFile> CBlastRPSInfo::m_FreqRatiosFile
private

Frequency ratios file (.freq) used for composition based statistics and cobalt.

Definition at line 162 of file rps_aux.hpp.

Referenced by CBlastRPSInfo::x_Init().

◆ m_FreqsFile

CRef<CRpsFreqsFile> CBlastRPSInfo::m_FreqsFile
private

Weighted residue frequencies file (.wcounts) used by delta-blast.

Definition at line 154 of file rps_aux.hpp.

Referenced by CBlastRPSInfo::x_Init().

◆ m_Fwr4EndOffset

map<string, int> CIgAnnotationInfo::m_Fwr4EndOffset
private

◆ m_GapExistence [1/4]

int CCddInputData::m_GapExistence
private

Gap existence for underlying scoring system.

Definition at line 482 of file cdd_pssm_input.hpp.

Referenced by CCddInputData::GetGapExistence().

◆ m_GapExistence [2/4]

int CPsiBlastInputClustalW::m_GapExistence
private

Gap existence parameter used.

Definition at line 151 of file msa_pssm_input.hpp.

◆ m_GapExistence [3/4]

int CPsiBlastInputFreqRatios::m_GapExistence
private

Gap existence penalty.

Definition at line 144 of file psi_pssm_input.hpp.

◆ m_GapExistence [4/4]

int CPsiBlastInputData::m_GapExistence
private

Gap existence paramter used.

Definition at line 251 of file psi_pssm_input.hpp.

Referenced by CPsiBlastInputData::GetGapExistence().

◆ m_GapExtension [1/4]

int CCddInputData::m_GapExtension
private

Gap extension for underlying scoring system.

Definition at line 485 of file cdd_pssm_input.hpp.

Referenced by CCddInputData::GetGapExtension().

◆ m_GapExtension [2/4]

int CPsiBlastInputClustalW::m_GapExtension
private

Gap extension parameter used.

Definition at line 153 of file msa_pssm_input.hpp.

◆ m_GapExtension [3/4]

int CPsiBlastInputFreqRatios::m_GapExtension
private

Gap extension penalty.

Definition at line 146 of file psi_pssm_input.hpp.

◆ m_GapExtension [4/4]

int CPsiBlastInputData::m_GapExtension
private

Gap extension paramter used.

Definition at line 253 of file psi_pssm_input.hpp.

Referenced by CPsiBlastInputData::GetGapExtension().

◆ m_GappedKarlinBlk

Blast_KarlinBlk* CBlastAncillaryData::m_GappedKarlinBlk
private

Gapped Karlin parameters for one query.

Definition at line 137 of file blast_results.hpp.

Referenced by CBlastAncillaryData::CBlastAncillaryData(), CBlastAncillaryData::do_copy(), and CBlastAncillaryData::~CBlastAncillaryData().

◆ m_GeneInfo

int CIgAnnotation::m_GeneInfo[8]

◆ m_GiList [1/3]

SOptional< list<TGi> > CBlastOptionsBuilder::m_GiList
private

◆ m_GiList [2/3]

list<TGi> CRemoteBlast::m_GiList
private

GI list.

Definition at line 815 of file remote_blast.hpp.

Referenced by CRemoteBlast::GetSearchOptions(), and CRemoteBlast::SetGIList().

◆ m_GiList [3/3]

CRef<CSeqDBGiList> CSearchDatabase::m_GiList
mutableprivate

◆ m_GiListSet

bool CSearchDatabase::m_GiListSet
private

◆ m_GumbelBlk

Blast_GumbelBlk* CBlastAncillaryData::m_GumbelBlk
private

◆ m_handler

CDiagHandler* CBlastAppDiagHandler::m_handler
private

◆ m_Hits

vector<CHit*> CCddInputData::m_Hits
private

◆ m_HitSaveOpts [1/2]

BlastHitSavingOptions* CBlastOptionsMemento::m_HitSaveOpts
private

◆ m_HitSaveOpts [2/2]

CBlastHitSavingOptions CBlastOptionsLocal::m_HitSaveOpts
private

Hit saving settings.

Definition at line 375 of file blast_options_local_priv.hpp.

Referenced by CBlastOptionsLocal::CBlastOptionsLocal(), CBlastOptionsMemento::CBlastOptionsMemento(), CBlastOptionsLocal::DebugDump(), CBlastOptionsLocal::GetBestHitOverhang(), CBlastOptionsLocal::GetBestHitScoreEdge(), CBlastOptionsLocal::GetCullingLimit(), CBlastOptionsLocal::GetCutoffScore(), CBlastOptionsLocal::GetCutoffScoreCoeffs(), CBlastOptionsLocal::GetEvalueThreshold(), CBlastOptionsLocal::GetHitlistSize(), CBlastOptionsLocal::GetHitSaveOpts(), CBlastOptionsLocal::GetLongestIntronLength(), CBlastOptionsLocal::GetLowScorePerc(), CBlastOptionsLocal::GetMaskLevel(), CBlastOptionsLocal::GetMaxEditDistance(), CBlastOptionsLocal::GetMaxHspsPerSubject(), CBlastOptionsLocal::GetMaxNumHspPerSequence(), CBlastOptionsLocal::GetMinDiagSeparation(), CBlastOptionsLocal::GetPaired(), CBlastOptionsLocal::GetPercentIdentity(), CBlastOptionsLocal::GetQueryCovHspPerc(), CBlastOptionsLocal::GetSplice(), CBlastOptionsLocal::GetSubjectBestHit(), CBlastOptionsLocal::GetSumStatisticsMode(), CBlastOptionsLocal::operator==(), CBlastOptionsLocal::SetBestHitOverhang(), CBlastOptionsLocal::SetBestHitScoreEdge(), CBlastOptionsLocal::SetCullingLimit(), CBlastOptionsLocal::SetCutoffScore(), CBlastOptionsLocal::SetCutoffScoreCoeffs(), CBlastOptionsLocal::SetEvalueThreshold(), CBlastOptionsLocal::SetHitlistSize(), CBlastOptionsLocal::SetLongestIntronLength(), CBlastOptionsLocal::SetLowScorePerc(), CBlastOptionsLocal::SetMaskLevel(), CBlastOptionsLocal::SetMaxEditDistance(), CBlastOptionsLocal::SetMaxHspsPerSubject(), CBlastOptionsLocal::SetMaxNumHspPerSequence(), CBlastOptionsLocal::SetMinDiagSeparation(), CBlastOptionsLocal::SetPaired(), CBlastOptionsLocal::SetPercentIdentity(), CBlastOptionsLocal::SetQueryCovHspPerc(), CBlastOptionsLocal::SetSplice(), CBlastOptionsLocal::SetSubjectBestHit(), CBlastOptionsLocal::SetSumStatisticsMode(), CBlastOptionsLocal::Validate(), and CBlastOptionsLocal::x_DoDeepCopy().

◆ m_HspRangeMax

int CBlastOptionsBuilder::m_HspRangeMax
private

How much culling to do.

Definition at line 288 of file blast_options_builder.hpp.

Referenced by CBlastOptionsBuilder::x_ApplyInteractions(), and CBlastOptionsBuilder::x_ProcessOneOption().

◆ m_HspStream

CRef<TBlastHSPStream> SInternalData::m_HspStream

◆ m_iAvgLength

unsigned int CMultiSeqInfo::m_iAvgLength
private

Average length of sequences in this set.

Definition at line 73 of file seqsrc_multiseq.cpp.

Referenced by CMultiSeqInfo::CMultiSeqInfo(), CMultiSeqInfo::GetAvgLength(), and CMultiSeqInfo::SetAvgLength().

◆ m_ibIsProt

bool CMultiSeqInfo::m_ibIsProt
private

Internal fields.

Are these sequences protein or nucleotide?

Definition at line 70 of file seqsrc_multiseq.cpp.

Referenced by CMultiSeqInfo::CMultiSeqInfo(), and CMultiSeqInfo::GetIsProtein().

◆ m_IgDataPath

string CIgBlastOptions::m_IgDataPath

◆ m_IgnoreQueryMasks

bool CBlastOptionsBuilder::m_IgnoreQueryMasks
private

Indicated that query masks have already been collected.

Definition at line 314 of file blast_options_builder.hpp.

Referenced by CBlastOptionsBuilder::GetSearchOptions(), and CBlastOptionsBuilder::x_ProcessOneOption().

◆ m_IgnoreUnsupportedOptions [1/2]

bool CBlastOptionsBuilder::m_IgnoreUnsupportedOptions
private

Should this class quietly ignore unsupported options.

Definition at line 323 of file blast_options_builder.hpp.

Referenced by CBlastOptionsBuilder::SetIgnoreUnsupportedOptions(), and CBlastOptionsBuilder::x_ProcessOneOption().

◆ m_IgnoreUnsupportedOptions [2/2]

bool CImportStrategy::m_IgnoreUnsupportedOptions
private

ignore unsupported options when creating blast options builder object

Definition at line 183 of file search_strategy.hpp.

Referenced by CImportStrategy::FetchData().

◆ m_IgOptions

CConstRef<CIgBlastOptions> CIgBlast::m_IgOptions
private

◆ m_iMaxLength

unsigned int CMultiSeqInfo::m_iMaxLength
private

Length of the longest sequence in this set.

Definition at line 72 of file seqsrc_multiseq.cpp.

Referenced by CMultiSeqInfo::CMultiSeqInfo(), CMultiSeqInfo::GetMaxLength(), and CMultiSeqInfo::SetMaxLength().

◆ m_ImpalaScaleFactor

double CPsiBlastInputFreqRatios::m_ImpalaScaleFactor
private

Definition at line 151 of file psi_pssm_input.hpp.

◆ m_Impl [1/2]

class CPsiBlastImpl* CPsiBl2Seq::m_Impl
private

Implementation class.

Definition at line 119 of file psibl2seq.hpp.

Referenced by CPsiBl2Seq::CPsiBl2Seq(), CPsiBl2Seq::Run(), and CPsiBl2Seq::~CPsiBl2Seq().

◆ m_Impl [2/2]

class CPsiBlastImpl* CPsiBlast::m_Impl
private

Implementation class.

Definition at line 130 of file psiblast.hpp.

Referenced by CPsiBlast::CPsiBlast(), CPsiBlast::GetPssm(), CPsiBlast::Run(), CPsiBlast::SetPssm(), and CPsiBlast::~CPsiBlast().

◆ m_InitWordOpts [1/2]

BlastInitialWordOptions* CBlastOptionsMemento::m_InitWordOpts
private

Definition at line 93 of file blast_memento_priv.hpp.

◆ m_InitWordOpts [2/2]

CBlastInitialWordOptions CBlastOptionsLocal::m_InitWordOpts
private

◆ m_InternalData [1/7]

CRef<SInternalData> CLocalBlast::m_InternalData
private

Internal core data structures which are used in the preliminary and traceback stages of the search.

Definition at line 129 of file local_blast.hpp.

Referenced by CLocalBlast::GetDiagnostics(), CLocalBlast::GetNumExtensions(), CLocalBlast::Run(), and CBl2Seq::RunEx().

◆ m_InternalData [2/7]

CRef<SInternalData> CMagicBlast::m_InternalData
private

◆ m_InternalData [3/7]

CRef<SInternalData> CBlastPrelimSearch::m_InternalData
private

◆ m_InternalData [4/7]

CRef<SInternalData> CBlastTracebackSearch::m_InternalData
private

◆ m_InternalData [5/7]

CRef<SInternalData> SBlastSetupData::m_InternalData

Definition at line 109 of file blast_aux_priv.hpp.

◆ m_InternalData [6/7]

SInternalData& CPrelimSearchRunner::m_InternalData
private

Data structure containing all the needed C structures for the preliminary stage of the BLAST search.

Definition at line 95 of file prelim_search_runner.hpp.

◆ m_InternalData [7/7]

SInternalData CPrelimSearchThread::m_InternalData
private

◆ m_InterruptFnx

TInterruptFnPtr CBl2Seq::m_InterruptFnx
private

Interrupt callback.

Definition at line 211 of file bl2seq.hpp.

Referenced by CBl2Seq::SetInterruptCallback(), and CBl2Seq::x_InitCLocalBlast().

◆ m_InterruptUserData

void* CBl2Seq::m_InterruptUserData
private

Interrupt user datacallback.

Definition at line 213 of file bl2seq.hpp.

Referenced by CBl2Seq::SetInterruptCallback(), and CBl2Seq::x_InitCLocalBlast().

◆ m_iSeqDb

CRef<CSeqDB> CSeqDbSeqInfoSrc::m_iSeqDb
mutableprivate

◆ m_IsLocal

bool CIgBlast::m_IsLocal
private

Definition at line 298 of file igblast.hpp.

Referenced by CIgBlast::Run().

◆ m_IsPhiBlast

bool CSearchResultSet::m_IsPhiBlast
private

True if this object contains PHI-BLAST results.

Definition at line 481 of file blast_results.hpp.

Referenced by CSearchResultSet::SetFilteredQueryRegions(), and CSearchResultSet::x_Init().

◆ m_IsProt [1/2]

bool CBlastQuerySourceBioseqSet::m_IsProt
private

◆ m_IsProt [2/2]

bool CQueryFactoryInfo::m_IsProt
private

Are these sequences protein or nucleotide?

Definition at line 75 of file seqsrc_query_factory.cpp.

Referenced by CQueryFactoryInfo::CQueryFactoryInfo(), and CQueryFactoryInfo::GetIsProtein().

◆ m_IsProtein [1/2]

bool CIgBlastOptions::m_IsProtein

◆ m_IsProtein [2/2]

bool CSeqDbSrcNewArgs::m_IsProtein
private

Is this database protein?

Definition at line 596 of file seqsrc_seqdb.cpp.

◆ m_IsSet

template<typename T >
bool CBlastOptionsBuilder::SOptional< T >::m_IsSet
private

True if the value has been specified.

Definition at line 246 of file blast_options_builder.hpp.

◆ m_IterationsDone

unsigned int CPsiBlastIterationState::m_IterationsDone
private

◆ m_iTotalLength

Int8 CMultiSeqInfo::m_iTotalLength
private

Total length of sequences in this set.

Definition at line 74 of file seqsrc_multiseq.cpp.

Referenced by CMultiSeqInfo::CMultiSeqInfo(), and CMultiSeqInfo::GetTotLength().

◆ m_ivSeqBlkVec

vector<BLAST_SequenceBlk*> CMultiSeqInfo::m_ivSeqBlkVec
private

◆ m_J_penalty

int CIgBlastOptions::m_J_penalty

◆ m_JDomain

int CIgAnnotation::m_JDomain[5]

◆ m_JDomainInfo

map<string, int> CIgAnnotationInfo::m_JDomainInfo
private

◆ m_LastChunkForQueryCache

vector<int> CQueryDataPerChunk::m_LastChunkForQueryCache
private

Lists the last chunk where the query can be found.

Definition at line 248 of file split_query_aux_priv.hpp.

Referenced by CQueryDataPerChunk::CQueryDataPerChunk(), and CQueryDataPerChunk::GetLastChunk().

◆ m_LastInfo

TResultsInfo CMagicBlastResults::m_LastInfo
private

Alignment flags for the mate.

Definition at line 235 of file magicblast.hpp.

Referenced by CMagicBlastResults::GetLastInfo(), CMagicBlastResults::LastAligned(), and CMagicBlastResults::x_SetInfo().

◆ m_LengthAdjustment

Int8 CBlastAncillaryData::m_LengthAdjustment
private

Length adjustment for boundary conditions.

Definition at line 150 of file blast_results.hpp.

Referenced by CBlastAncillaryData::CBlastAncillaryData().

◆ m_LocalBlast

CRef<CLocalBlast> CLocalSeqSearch::m_LocalBlast
private

Local database search class.

Definition at line 73 of file local_search.hpp.

Referenced by CLocalSeqSearch::Run().

◆ m_LocalDb

CRef<CLocalDbAdapter> CIgBlast::m_LocalDb
private

Definition at line 302 of file igblast.hpp.

Referenced by CIgBlast::Run().

◆ m_LocalDbAdapter [1/2]

CRef<CLocalDbAdapter> CLocalBlast::m_LocalDbAdapter
private

Local DB adaptor (if one was) passed to constructor.

Definition at line 138 of file local_blast.hpp.

Referenced by CLocalBlast::Run().

◆ m_LocalDbAdapter [2/2]

CRef<CLocalDbAdapter> CMagicBlast::m_LocalDbAdapter
private

Reference to a BLAST subject/database object.

Definition at line 116 of file magicblast.hpp.

Referenced by CMagicBlast::x_BuildResultSet(), CMagicBlast::x_BuildSeqAlignSet(), CMagicBlast::x_Run(), and CMagicBlast::x_Validate().

◆ m_Locality

CBlastOptions::EAPILocality CBlastOptionsBuilder::m_Locality
private

API Locality of resulting options.

Definition at line 320 of file blast_options_builder.hpp.

Referenced by CBlastOptionsBuilder::GetSearchOptions().

◆ m_LocalQueryData [1/2]

CRef<ILocalQueryData> IQueryFactory::m_LocalQueryData
protected

Definition at line 158 of file query_data.hpp.

Referenced by IQueryFactory::MakeLocalQueryData().

◆ m_LocalQueryData [2/2]

CRef<ILocalQueryData> CQuerySplitter::m_LocalQueryData
private

◆ m_Lookup

CLookupTableWrap CSeedTop::m_Lookup
private

Definition at line 154 of file seedtop.hpp.

Referenced by CSeedTop::Run(), and CSeedTop::x_MakeLookupTable().

◆ m_LookupTable

CRef<TLookupTableWrap> SInternalData::m_LookupTable

Lookup table, usually only needed in the preliminary stage of the search, but for PHI-BLAST it's also needed in the traceback stage.

Definition at line 329 of file setup_factory.hpp.

Referenced by CBlastTracebackSearch::Run(), CBlastTracebackSearch::RunSimple(), and CBlastTracebackSearch::x_Init().

◆ m_LutFile

CRef<CRpsLookupTblFile> CBlastRPSInfo::m_LutFile
private

The lookup table RPS-BLAST file (.loo)

Definition at line 150 of file rps_aux.hpp.

Referenced by CBlastRPSInfo::x_Init().

◆ m_LutOpts [1/2]

LookupTableOptions* CBlastOptionsMemento::m_LutOpts
private

Definition at line 92 of file blast_memento_priv.hpp.

Referenced by CSetupFactory::CreateLookupTable().

◆ m_LutOpts [2/2]

CLookupTableOptions CBlastOptionsLocal::m_LutOpts
private

◆ m_MaskAlgoId

Int4 CSeqDbSrcNewArgs::m_MaskAlgoId
private

filtering algorithm ID to use when retrieving sequence data

Definition at line 600 of file seqsrc_seqdb.cpp.

◆ m_Masks [1/2]

TMaskedQueryRegions CSearchResults::m_Masks
protected

this query's masked regions

Definition at line 273 of file blast_results.hpp.

Referenced by CSearchResults::GetMaskedQueryRegions(), and CSearchResults::SetMaskedQueryRegions().

◆ m_Masks [2/2]

TSeqLocInfoVector SBlastSetupData::m_Masks

Definition at line 111 of file blast_aux_priv.hpp.

◆ m_MasksForAllQueries

TSeqLocInfoVector CBlastPrelimSearch::m_MasksForAllQueries
private

Query masking information.

Definition at line 175 of file prelim_stage.hpp.

Referenced by CBlastPrelimSearch::GetFilteredQueryRegions(), and CBlastPrelimSearch::x_Init().

◆ m_MaskType [1/2]

ESubjectMaskingType CSearchDatabase::m_MaskType
private

◆ m_MaskType [2/2]

ESubjectMaskingType CSeqDbSrcNewArgs::m_MaskType
private

Definition at line 601 of file seqsrc_seqdb.cpp.

◆ m_MateId

CConstRef<CSeq_id> CMagicBlastResults::m_MateId
private

Mate id if results are for paired reads.

Definition at line 220 of file magicblast.hpp.

Referenced by CMagicBlastResults::GetLastId(), and CMagicBlastResults::x_SetInfo().

◆ m_MatrixName [1/4]

string CCddInputData::m_MatrixName
private

Scoring matrix name.

Definition at line 470 of file cdd_pssm_input.hpp.

Referenced by CCddInputData::GetMatrixName().

◆ m_MatrixName [2/4]

string CPsiBlastInputClustalW::m_MatrixName
private

Underlying matrix to use.

Definition at line 149 of file msa_pssm_input.hpp.

◆ m_MatrixName [3/4]

const char* CPsiBlastInputFreqRatios::m_MatrixName
private

Name of underlying scoring matrix.

Definition at line 142 of file psi_pssm_input.hpp.

◆ m_MatrixName [4/4]

string CPsiBlastInputData::m_MatrixName
private

Underlying matrix to use.

Definition at line 249 of file psi_pssm_input.hpp.

Referenced by CPsiBlastInputData::CPsiBlastInputData(), and CPsiBlastInputData::GetMatrixName().

◆ m_MaxLength

unsigned int CQueryFactoryInfo::m_MaxLength
private

Length of the longest sequence in this set.

Definition at line 77 of file seqsrc_query_factory.cpp.

Referenced by CQueryFactoryInfo::CQueryFactoryInfo(), and CQueryFactoryInfo::GetMaxLength().

◆ m_MBIndexLoaded

bool CBlastOptionsLocal::m_MBIndexLoaded
private

◆ m_MbIndexName

string CBlastOptionsBuilder::m_MbIndexName
private

Which megablast BLAST DB index name to load.

Definition at line 328 of file blast_options_builder.hpp.

Referenced by CBlastOptionsBuilder::x_ApplyInteractions(), and CBlastOptionsBuilder::x_ProcessOneOption().

◆ m_MBIndexName

string CBlastOptionsLocal::m_MBIndexName
private

◆ m_Messages [1/7]

TSearchMessages CBl2Seq::m_Messages
private

Stores any warnings emitted during query setup.

Definition at line 198 of file bl2seq.hpp.

Referenced by CBl2Seq::GetMessages(), CBl2Seq::RunEx(), and CBl2Seq::x_ResetInternalDs().

◆ m_messages

list<CRef<objects::CBlast4_error> > CBlastAppDiagHandler::m_messages
private

◆ m_Messages [2/7]

TSearchMessages CLocalBlast::m_Messages
private

Warnings and error messages.

Definition at line 145 of file local_blast.hpp.

Referenced by CLocalBlast::GetSearchMessages(), and CLocalBlast::Run().

◆ m_Messages [3/7]

TSearchMessages CMagicBlast::m_Messages
private

Warning and error messages.

Definition at line 128 of file magicblast.hpp.

Referenced by CMagicBlast::GetSearchMessages().

◆ m_Messages [4/7]

TSearchMessages CBlastPrelimSearch::m_Messages
private

Warnings and error messages.

Definition at line 172 of file prelim_stage.hpp.

Referenced by CBlastPrelimSearch::GetSearchMessages(), CBlastPrelimSearch::Run(), and CBlastPrelimSearch::x_Init().

◆ m_Messages [5/7]

TSearchMessages ILocalQueryData::m_Messages
protected

◆ m_Messages [6/7]

TSearchMessages CBlastTracebackSearch::m_Messages
private

◆ m_Messages [7/7]

TSearchMessages SBlastSetupData::m_Messages

Definition at line 112 of file blast_aux_priv.hpp.

◆ m_Min_D_match

int CIgBlastOptions::m_Min_D_match

◆ m_MinEvalue

double CCddInputData::m_MinEvalue
private

Min e-value threshold for all hits to be included in PSSM computation.

This is needed mostly for experiments.

Definition at line 476 of file cdd_pssm_input.hpp.

Referenced by CCddInputData::Process(), and CCddInputData::SetMinCddEvalue().

◆ m_MinHits

int CBlastpKmerOptionsHandle::m_MinHits
private

number of hits to initiate calculation of Jaccard distance in LSH

Definition at line 108 of file blastp_kmer_options.hpp.

◆ m_MinJLength

int CIgBlastOptions::m_MinJLength

◆ m_MinLength

unsigned int CQueryFactoryInfo::m_MinLength
private

Length of the longest sequence in this set.

Definition at line 78 of file seqsrc_query_factory.cpp.

Referenced by CQueryFactoryInfo::GetMinLength().

◆ m_MinusStrand

bool CIgAnnotation::m_MinusStrand

Definition at line 96 of file igblast.hpp.

Referenced by CIgBlast::x_AnnotateDomain().

◆ m_MinVLength

int CIgBlastOptions::m_MinVLength

Definition at line 87 of file igblast.hpp.

Referenced by CIgBlastArgs::ExtractAlgorithmOptions(), and CIgBlast::Run().

◆ m_MmappedFile

unique_ptr<CMemoryFile> CRpsMmappedFile::m_MmappedFile
protected

◆ m_MolType

EMoleculeType CSearchDatabase::m_MolType
private

molecule type

Definition at line 193 of file uniform_search.hpp.

Referenced by CSearchDatabase::GetMoleculeType(), and CSearchDatabase::SetMoleculeType().

◆ m_Msa [1/3]

PSICdMsaCell** CCddInputData::m_Msa
private

◆ m_Msa [2/3]

PSIMsa* CPsiBlastInputClustalW::m_Msa
private

◆ m_Msa [3/3]

PSIMsa* CPsiBlastInputData::m_Msa
private

◆ m_MsaData [1/2]

vector<PSICdMsaCellData> CCddInputData::CHitSegment::m_MsaData

Data used for PSSM computation.

Definition at line 273 of file cdd_pssm_input.hpp.

◆ m_MsaData [2/2]

vector<PSICdMsaCell> CCddInputData::m_MsaData
private

◆ m_MsaDimensions [1/3]

PSIMsaDimensions CCddInputData::m_MsaDimensions
private

MSA dimensions, used by PSSM engine.

Definition at line 459 of file cdd_pssm_input.hpp.

Referenced by CCddInputData::Process().

◆ m_MsaDimensions [2/3]

PSIMsaDimensions CPsiBlastInputClustalW::m_MsaDimensions
private

Multiple sequence alignment dimensions.

Definition at line 143 of file msa_pssm_input.hpp.

Referenced by CPsiBlastInputClustalW::Process(), and CPsiBlastInputClustalW::x_ExtractQueryFromMsa().

◆ m_MsaDimensions [3/3]

PSIMsaDimensions CPsiBlastInputData::m_MsaDimensions
private

◆ m_MsaIdx

int CCddInputData::CHit::m_MsaIdx

Hit index in MSA table.

Definition at line 361 of file cdd_pssm_input.hpp.

◆ m_Mutex

CFastMutex CBlastHSPListQueueData::m_Mutex
private

Mutex for writing to the queue.

Definition at line 73 of file hspstream_queue.hpp.

◆ m_NeedConfig

ENeedConfig CRemoteBlast::m_NeedConfig
private

Bitfield to track whether all necessary configuration is done.

Definition at line 767 of file remote_blast.hpp.

Referenced by CRemoteBlast::SetDatabase(), CRemoteBlast::SetQueries(), CRemoteBlast::SetSubjectSequences(), CRemoteBlast::x_CheckConfig(), and CRemoteBlast::x_Init().

◆ m_NeedsFilteringTranslation

bool CSearchDatabase::m_NeedsFilteringTranslation
mutableprivate

◆ m_NegativeGiList [1/3]

SOptional< list<TGi> > CBlastOptionsBuilder::m_NegativeGiList
private

◆ m_NegativeGiList [2/3]

list<TGi> CRemoteBlast::m_NegativeGiList
private

Negative GI list.

Definition at line 818 of file remote_blast.hpp.

Referenced by CRemoteBlast::GetSearchOptions(), and CRemoteBlast::SetNegativeGIList().

◆ m_NegativeGiList [3/3]

CRef<CSeqDBGiList> CSearchDatabase::m_NegativeGiList
mutableprivate

◆ m_NegativeTaxidList [1/2]

SOptional< list<TTaxId> > CBlastOptionsBuilder::m_NegativeTaxidList
private

◆ m_NegativeTaxidList [2/2]

set<TTaxId> CRemoteBlast::m_NegativeTaxidList
private

◆ m_NumActualC

int CIgBlastResults::m_NumActualC

Definition at line 204 of file igblast.hpp.

Referenced by CIgBlast::s_AppendResults(), and CIgBlast::x_SetChainType().

◆ m_NumActualD

int CIgBlastResults::m_NumActualD

Definition at line 202 of file igblast.hpp.

Referenced by CIgBlast::s_AppendResults(), and CIgBlast::x_SetChainType().

◆ m_NumActualJ

int CIgBlastResults::m_NumActualJ

Definition at line 203 of file igblast.hpp.

Referenced by CIgBlast::s_AppendResults(), and CIgBlast::x_SetChainType().

◆ m_NumActualV

int CIgBlastResults::m_NumActualV

Definition at line 201 of file igblast.hpp.

Referenced by CIgBlast::s_AppendResults(), and CIgBlast::x_SetChainType().

◆ m_NumAlign

int CIgBlastOptions::m_NumAlign[4]

◆ m_NumChunks

Uint4 CQuerySplitter::m_NumChunks
private

◆ m_NumCols

size_t SNcbiMatrix2DoubleMatrix::m_NumCols
private

number of columns in the matrix (for deallocation)

Definition at line 336 of file pssm_engine.cpp.

Referenced by SNcbiMatrix2DoubleMatrix::~SNcbiMatrix2DoubleMatrix().

◆ m_NumPatOccurInDB

int SDatabaseScanData::m_NumPatOccurInDB

Number of times pattern found to occur in database (for phi-blast only).

Definition at line 363 of file setup_factory.hpp.

Referenced by CBlastTracebackSearch::CBlastTracebackSearch(), CBlastTracebackSearch::Run(), CBlastTracebackSearch::RunSimple(), and SDatabaseScanData::SDatabaseScanData().

◆ m_NumQueries

size_type CSearchResultSet::m_NumQueries
private

◆ m_NumSeqs

Uint4 CQueryFactoryInfo::m_NumSeqs
private

Number of sequences.

Definition at line 82 of file seqsrc_query_factory.cpp.

Referenced by CQueryFactoryInfo::CQueryFactoryInfo(), and CQueryFactoryInfo::GetNumSeqs().

◆ m_NumThreads [1/2]

size_t CThreadable::m_NumThreads
protected

◆ m_NumThreads [2/2]

size_t CIgBlast::m_NumThreads
private

Definition at line 299 of file igblast.hpp.

Referenced by CIgBlast::Run(), and CIgBlast::SetNumberOfThreads().

◆ m_ObjectStream

unique_ptr<CObjectIStream> CRemoteBlast::m_ObjectStream
private

Use to ready CBlast4_archive.

Definition at line 743 of file remote_blast.hpp.

Referenced by CRemoteBlast::LoadFromArchive(), and CRemoteBlast::x_Init().

◆ m_ObjectType

CFormatGuess::EFormat CRemoteBlast::m_ObjectType
private

Type of object CBlast4_archive as determined by CFormatGuess.

Definition at line 746 of file remote_blast.hpp.

Referenced by CRemoteBlast::x_Init().

◆ m_ObsrFile

CRef<CRpsObsrFile> CBlastRPSInfo::m_ObsrFile
private

Number of independent observations file (.obsr) used by delta-blast.

Definition at line 158 of file rps_aux.hpp.

Referenced by CBlastRPSInfo::x_Init().

◆ m_OldStyleMBIndex

bool CBlastOptionsLocal::m_OldStyleMBIndex
private

◆ m_Options [1/10]

CConstRef<CDeltaBlastOptionsHandle> CDeltaBlast::m_Options
private

Delta Blast options.

Definition at line 141 of file deltablast.hpp.

Referenced by CDeltaBlast::Run(), CDeltaBlast::x_FindDomainHits(), and CDeltaBlast::x_Validate().

◆ m_Options [2/10]

CRef<CBlastOptions> CMagicBlast::m_Options
private

Options to configure the search.

Definition at line 119 of file magicblast.hpp.

Referenced by CMagicBlast::x_BuildResultSet(), CMagicBlast::x_BuildSeqAlignSet(), CMagicBlast::x_Run(), and CMagicBlast::x_Validate().

◆ m_Options [3/10]

CRef<CBlastOptions> CBlastPrelimSearch::m_Options
private

◆ m_Options [4/10]

CRef<CBlastOptions> CBlastTracebackSearch::m_Options
private

The options with which this search is configured.

Definition at line 113 of file traceback_stage.hpp.

Referenced by CBlastTracebackSearch::Run().

◆ m_Options [5/10]

CRef<CBlastOptionsHandle> CIgBlast::m_Options
private

Definition at line 304 of file igblast.hpp.

Referenced by CIgBlast::Run(), and CIgBlast::x_SetupVSearch().

◆ m_Options [6/10]

CBlastOptions* CEffectiveSearchSpacesMemento::m_Options
private

Snapshopt of BLAST options.

Definition at line 142 of file blast_memento_priv.hpp.

Referenced by CEffectiveSearchSpacesMemento::~CEffectiveSearchSpacesMemento().

◆ m_Options [7/10]

const CBlastOptions* CBlastQuerySourceOM::m_Options
protected

BLAST algorithm options.

Definition at line 176 of file blast_objmgr_priv.hpp.

Referenced by CBlastQuerySourceOM::x_AutoDetectGeneticCodes(), and CBlastQuerySourceOM::x_CalculateMasks().

◆ m_Options [8/10]

const CBlastOptions* CObjMgr_LocalQueryData::m_Options
private

◆ m_Options [9/10]

const CBlastOptions* CObjMgrFree_LocalQueryData::m_Options
private

◆ m_Options [10/10]

const CBlastOptions* CQuerySplitter::m_Options
private

◆ m_OptionsBuilder

unique_ptr<CBlastOptionsBuilder> CImportStrategy::m_OptionsBuilder
private

◆ m_OptionsHandle

CRef<blast::CBlastOptionsHandle> CImportStrategyData::m_OptionsHandle

BLAST options.

Definition at line 66 of file search_strategy.hpp.

◆ m_Opts [1/5]

CRef<CBlastOptions> CBlastOptionsHandle::m_Opts
protected

Data type this class controls access to.

Definition at line 335 of file blast_options_handle.hpp.

Referenced by CBlastOptionsHandle::ClearFilterOptions(), CBlastOptionsHandle::DoneDefaults(), CBlastOptionsHandle::GetComplexityAdjMode(), CBlastOptionsHandle::GetCullingLimit(), CBlastOptionsHandle::GetCutoffScore(), CBlastOptionsHandle::GetDbLength(), CBlastOptionsHandle::GetDbSeqNum(), CBlastOptionsHandle::GetEffectiveSearchSpace(), CBlastOptionsHandle::GetEvalueThreshold(), CBlastOptionsHandle::GetFilterString(), CBlastOptionsHandle::GetGappedMode(), CBlastOptionsHandle::GetGapTrigger(), CBlastOptionsHandle::GetGapXDropoff(), CBlastOptionsHandle::GetGapXDropoffFinal(), CBlastOptionsHandle::GetHitlistSize(), CBlastOptionsHandle::GetLowScorePerc(), CBlastOptionsHandle::GetMaskAtHash(), CBlastOptionsHandle::GetMaskLevel(), CBlastOptionsHandle::GetMaxHspsPerSubject(), CBlastOptionsHandle::GetMaxNumHspPerSequence(), CBlastOptionsHandle::GetMinDiagSeparation(), CBlastOptionsHandle::GetOffDiagonalRange(), CBlastOptionsHandle::GetOptions(), CBlastOptionsHandle::GetPercentIdentity(), CPHIBlastNuclOptionsHandle::GetPHIPattern(), CPHIBlastProtOptionsHandle::GetPHIPattern(), CBlastOptionsHandle::GetQueryCovHspPerc(), CBlastOptionsHandle::GetWindowSize(), CBlastOptionsHandle::SetComplexityAdjMode(), CBlastOptionsHandle::SetCullingLimit(), CBlastOptionsHandle::SetCutoffScore(), CBlastOptionsHandle::SetDbLength(), CBlastOptionsHandle::SetDbSeqNum(), CBlastNucleotideOptionsHandle::SetDefaults(), CBlastOptionsHandle::SetDefaults(), CMagicBlastOptionsHandle::SetDefaults(), CDeltaBlastOptionsHandle::SetDeltaBlastDefaults(), CMagicBlastOptionsHandle::SetEffectiveLengthsOptionsDefaults(), CBlastOptionsHandle::SetEffectiveSearchSpace(), CBlastOptionsHandle::SetEvalueThreshold(), CBlastOptionsHandle::SetFilterString(), CBlastAdvancedProteinOptionsHandle::SetGappedExtensionDefaults(), CBlastProteinOptionsHandle::SetGappedExtensionDefaults(), CBlastRPSOptionsHandle::SetGappedExtensionDefaults(), CBlastxOptionsHandle::SetGappedExtensionDefaults(), CDeltaBlastOptionsHandle::SetGappedExtensionDefaults(), CMagicBlastOptionsHandle::SetGappedExtensionDefaults(), CTBlastnOptionsHandle::SetGappedExtensionDefaults(), CTBlastxOptionsHandle::SetGappedExtensionDefaults(), CBlastOptionsHandle::SetGappedMode(), CBlastOptionsHandle::SetGapTrigger(), CBlastOptionsHandle::SetGapXDropoff(), CBlastOptionsHandle::SetGapXDropoffFinal(), CMagicBlastOptionsHandle::SetGenomeToGenomeDefaults(), CBlastOptionsHandle::SetHitlistSize(), CBlastRPSOptionsHandle::SetHitSavingOptionsDefaults(), CBlastxOptionsHandle::SetHitSavingOptionsDefaults(), CMagicBlastOptionsHandle::SetHitSavingOptionsDefaults(), CTBlastnOptionsHandle::SetHitSavingOptionsDefaults(), CTBlastxOptionsHandle::SetHitSavingOptionsDefaults(), CBlastNucleotideOptionsHandle::SetLookupTableDefaults(), CBlastProteinOptionsHandle::SetLookupTableDefaults(), CBlastRPSOptionsHandle::SetLookupTableDefaults(), CBlastxOptionsHandle::SetLookupTableDefaults(), CMagicBlastOptionsHandle::SetLookupTableDefaults(), CTBlastxOptionsHandle::SetLookupTableDefaults(), CBlastOptionsHandle::SetLowScorePerc(), CBlastOptionsHandle::SetMaskAtHash(), CBlastOptionsHandle::SetMaskLevel(), CBlastOptionsHandle::SetMaxHspsPerSubject(), CBlastOptionsHandle::SetMaxNumHspPerSequence(), CDiscNucleotideOptionsHandle::SetMBInitialWordOptionsDefaults(), CBlastNucleotideOptionsHandle::SetMBLookupTableDefaults(), CDiscNucleotideOptionsHandle::SetMBLookupTableDefaults(), CBlastNucleotideOptionsHandle::SetMBScoringOptionsDefaults(), CBlastOptionsHandle::SetMinDiagSeparation(), CBlastOptionsHandle::SetOffDiagonalRange(), CBlastOptionsHandle::SetOptions(), CBlastOptionsHandle::SetPercentIdentity(), CPHIBlastNuclOptionsHandle::SetPHIPattern(), CPHIBlastProtOptionsHandle::SetPHIPattern(), CPSIBlastOptionsHandle::SetPSIBlastDefaults(), CPSIBlastOptionsHandle::SetPSITblastnDefaults(), CBlastOptionsHandle::SetQueryCovHspPerc(), CBlastProteinOptionsHandle::SetQueryOptionDefaults(), CBlastRPSOptionsHandle::SetQueryOptionDefaults(), CBlastxOptionsHandle::SetQueryOptionDefaults(), CDeltaBlastOptionsHandle::SetQueryOptionDefaults(), CMagicBlastOptionsHandle::SetQueryOptionDefaults(), CPSIBlastOptionsHandle::SetQueryOptionDefaults(), CRPSTBlastnOptionsHandle::SetQueryOptionDefaults(), CTBlastxOptionsHandle::SetQueryOptionDefaults(), CMagicBlastOptionsHandle::SetRNAToGenomeDefaults(), CMagicBlastOptionsHandle::SetRNAToRNADefaults(), CBlastNucleotideOptionsHandle::SetScoringOptionsDefaults(), CBlastProteinOptionsHandle::SetScoringOptionsDefaults(), CBlastRPSOptionsHandle::SetScoringOptionsDefaults(), CMagicBlastOptionsHandle::SetScoringOptionsDefaults(), CTBlastxOptionsHandle::SetScoringOptionsDefaults(), CTBlastxOptionsHandle::SetSubjectSequenceOptionsDefaults(), CBlastNucleotideOptionsHandle::SetTraditionalBlastnDefaults(), CBlastNucleotideOptionsHandle::SetTraditionalMegablastDefaults(), CBlastNucleotideOptionsHandle::SetVecScreenDefaults(), CBlastOptionsHandle::SetWindowSize(), CBlastProteinOptionsHandle::SetWordSize(), and CBlastOptionsHandle::Validate().

◆ m_Opts [2/5]

PSIBlastOptions CCddInputData::m_Opts
private

Delta BLAST options for PSSM Engine.

Definition at line 468 of file cdd_pssm_input.hpp.

Referenced by CCddInputData::GetOptions(), and CCddInputData::Process().

◆ m_Opts [3/5]

CRef<CBlastOptions> CLocalBlast::m_Opts
private

Options to use.

Definition at line 125 of file local_blast.hpp.

Referenced by CLocalBlast::Run().

◆ m_Opts [4/5]

PSIBlastOptions CPsiBlastInputClustalW::m_Opts
private

Algorithm options.

Definition at line 145 of file msa_pssm_input.hpp.

◆ m_Opts [5/5]

PSIBlastOptions CPsiBlastInputData::m_Opts
private

◆ m_OptsHandle [1/3]

CRef<CBlastOptionsHandle> CBl2Seq::m_OptsHandle
private

◆ m_OptsHandle [2/3]

CConstRef<CBlastOptionsHandle> CLocalDbAdapter::m_OptsHandle
private

Options to be used when instantiating the subject sequences.

Definition at line 144 of file local_db_adapter.hpp.

Referenced by CLocalDbAdapter::IsProtein(), CLocalDbAdapter::MakeSeqInfoSrc(), and CLocalDbAdapter::MakeSeqSrc().

◆ m_OptsHandle [3/3]

CConstRef<CBlastOptionsHandle> CPsiBlastImpl::m_OptsHandle
private

◆ m_OptsMemento [1/4]

const CBlastOptionsMemento* CBlastTracebackSearch::m_OptsMemento
private

◆ m_OptsMemento [2/4]

CBlastOptionsMemento* CFilteringMemento::m_OptsMemento
private

snapshopt of BLAST options

Definition at line 76 of file effsearchspace_calc.cpp.

◆ m_OptsMemento [3/4]

const CBlastOptionsMemento* CPrelimSearchRunner::m_OptsMemento
private

Pointer to memento which this class doesn't own.

Definition at line 98 of file prelim_search_runner.hpp.

◆ m_OptsMemento [4/4]

const CBlastOptionsMemento* CPrelimSearchThread::m_OptsMemento
private

Definition at line 155 of file prelim_search_runner.hpp.

Referenced by CPrelimSearchThread::Main().

◆ m_Origin

string CIgBlastOptions::m_Origin

◆ m_OwnTSeqLocVector

bool CBlastQuerySourceOM::m_OwnTSeqLocVector
protected

flag to determine if the member above should or not be deleted in the destructor

Definition at line 173 of file blast_objmgr_priv.hpp.

Referenced by CBlastQuerySourceOM::~CBlastQuerySourceOM().

◆ m_Paired

bool CMagicBlastResults::m_Paired
private

True if results are for paired reads.

Definition at line 226 of file magicblast.hpp.

Referenced by CMagicBlastResults::IsPaired(), and CMagicBlastResults::x_SetInfo().

◆ m_Pattern

string CSeedTop::m_Pattern
private

Definition at line 153 of file seedtop.hpp.

Referenced by CSeedTop::x_MakeLookupTable(), and CSeedTop::x_ParsePattern().

◆ m_Pending

bool CRemoteBlast::m_Pending
private

◆ m_PerformCulling

bool CBlastOptionsBuilder::m_PerformCulling
private

Whether to perform culling.

Definition at line 285 of file blast_options_builder.hpp.

Referenced by CBlastOptionsBuilder::x_ApplyInteractions(), and CBlastOptionsBuilder::x_ProcessOneOption().

◆ m_PhiQueryInfo

SPHIQueryInfo* CSearchResults::m_PhiQueryInfo
protected

◆ m_PrelimSearch [1/2]

CRef<CBlastPrelimSearch> CLocalBlast::m_PrelimSearch
private

Object which runs the preliminary stage of the search.

Definition at line 132 of file local_blast.hpp.

Referenced by CLocalBlast::Run(), and CLocalBlast::SetInterruptCallback().

◆ m_PrelimSearch [2/2]

CRef<CBlastPrelimSearch> CMagicBlast::m_PrelimSearch
private

Object that runs BLAST search.

Definition at line 122 of file magicblast.hpp.

Referenced by CMagicBlast::x_BuildResultSet(), and CMagicBlast::x_Run().

◆ m_PreviousData

TSeqIds CPsiBlastIterationState::m_PreviousData
private

Identifiers for sequences found in the previous iteration.

Definition at line 131 of file psiblast_iteration.hpp.

Referenced by CPsiBlastIterationState::Advance(), and CPsiBlastIterationState::HasConverged().

◆ m_Program [1/8]

string CBlastOptionsBuilder::m_Program
private

Program value for blast4 protocol.

Definition at line 279 of file blast_options_builder.hpp.

Referenced by CBlastOptionsBuilder::GetSearchOptions().

◆ m_Program [2/8]

EBlastProgramType CEffectiveSearchSpaceCalculator::m_Program
private

◆ m_Program [3/8]

string CRemoteBlast::m_Program
private

◆ m_Program [4/8]

const EBlastProgramType CSeedTop::m_Program = eBlastTypePhiBlastp
staticprivate

Definition at line 152 of file seedtop.hpp.

Referenced by CSeedTop::x_MakeLookupTable(), and CSeedTop::x_MakeScoreBlk().

◆ m_Program [5/8]

EBlastProgramType CBlastQuerySourceOM::m_Program
private

BLAST program variable.

Definition at line 183 of file blast_objmgr_priv.hpp.

Referenced by CBlastQuerySourceOM::GetMaskedRegions(), and CBlastQuerySourceOM::x_AutoDetectGeneticCodes().

◆ m_Program [6/8]

EProgram CBlastOptionsLocal::m_Program
private

◆ m_Program [7/8]

EBlastProgramType CBlastQueryFilteredFrames::m_Program
private

◆ m_Program [8/8]

EBlastProgramType CQueryDataPerChunk::m_Program
private

BLAST program type.

Definition at line 238 of file split_query_aux_priv.hpp.

Referenced by CQueryDataPerChunk::x_ContextInChunkToQueryIndex().

◆ m_ProgramOpts

CRef<objects::CBlast4_parameters> CRemoteBlast::m_ProgramOpts
private

Options relevant to the search application.

Definition at line 797 of file remote_blast.hpp.

Referenced by CRemoteBlast::GetSearchOptions(), CRemoteBlast::x_GetRequestInfoFromFile(), and CRemoteBlast::x_GetRequestInfoFromRID().

◆ m_ProgramType

EBlastProgramType CBlastOptionsMemento::m_ProgramType
private

◆ m_ProgressMonitor

CRef<CSBlastProgress> SInternalData::m_ProgressMonitor

◆ m_PsiBlast

CRef<CPsiBlast> CLocalPssmSearch::m_PsiBlast
private

Search class.

Definition at line 104 of file local_search.hpp.

◆ m_PSIBlastOpts [1/2]

PSIBlastOptions* CBlastOptionsMemento::m_PSIBlastOpts
private

◆ m_PSIBlastOpts [2/2]

CPSIBlastOptions CBlastOptionsLocal::m_PSIBlastOpts
private

◆ m_PsiGappedKarlinBlk

Blast_KarlinBlk* CBlastAncillaryData::m_PsiGappedKarlinBlk
private

PSI-BLAST gapped Karlin parameters for one query (if applicable)

Definition at line 143 of file blast_results.hpp.

Referenced by CBlastAncillaryData::CBlastAncillaryData(), CBlastAncillaryData::do_copy(), and CBlastAncillaryData::~CBlastAncillaryData().

◆ m_PsiNumOfIterations

unsigned int CImportStrategyData::m_PsiNumOfIterations

Definition at line 77 of file search_strategy.hpp.

◆ m_PsiUngappedKarlinBlk

Blast_KarlinBlk* CBlastAncillaryData::m_PsiUngappedKarlinBlk
private

PSI-BLAST ungapped Karlin parameters for one query (if applicable)

Definition at line 140 of file blast_results.hpp.

Referenced by CBlastAncillaryData::CBlastAncillaryData(), CBlastAncillaryData::do_copy(), and CBlastAncillaryData::~CBlastAncillaryData().

◆ m_Pssm [1/4]

vector< CRef<CPssmWithParameters> > CDeltaBlast::m_Pssm
private

PSSMs computed for each query.

Definition at line 147 of file deltablast.hpp.

Referenced by CDeltaBlast::GetPssm(), and CDeltaBlast::Run().

◆ m_Pssm [2/4]

CRef<objects::CPssmWithParameters> CLocalPssmSearch::m_Pssm
private

Search queries.

Definition at line 107 of file local_search.hpp.

Referenced by CLocalPssmSearch::Run(), and CLocalPssmSearch::SetQuery().

◆ m_Pssm [3/4]

CRef<objects::CPssmWithParameters> CRemotePssmSearch::m_Pssm
private

Search queries.

Definition at line 117 of file remote_search.hpp.

Referenced by CRemotePssmSearch::SetQuery(), and CRemotePssmSearch::x_RemoteBlast().

◆ m_Pssm [4/4]

CRef<objects::CPssmWithParameters> CPsiBlastImpl::m_Pssm
private

◆ m_PssmFile

CRef<CRpsPssmFile> CBlastRPSInfo::m_PssmFile
private

The PSSM RPS-BLAST file (.rps)

Definition at line 148 of file rps_aux.hpp.

Referenced by CBlastRPSInfo::x_Init().

◆ m_PssmInput

IPssmInputData* CPssmEngine::m_PssmInput
private

◆ m_PssmInputCdd

IPssmInputCdd* CPssmEngine::m_PssmInputCdd
private

Pointer to strategy to process raw PSSM input data Note: Only one m_PssmInput* should be non-NULL.

Definition at line 145 of file pssm_engine.hpp.

Referenced by CPssmEngine::Run(), and CPssmEngine::x_CreatePssmFromCDD().

◆ m_PssmInputFreqRatios

IPssmInputFreqRatios* CPssmEngine::m_PssmInputFreqRatios
private

◆ m_Ptr [1/31]

BLAST_SequenceBlk* CBLAST_SequenceBlk::m_Ptr
private

Definition at line 309 of file blast_aux.hpp.

Referenced by CBLAST_SequenceBlk::DebugDump().

◆ m_Ptr [2/31]

BlastQueryInfo* CBlastQueryInfo::m_Ptr
private

Definition at line 311 of file blast_aux.hpp.

Referenced by CBlastQueryInfo::DebugDump().

◆ m_Ptr [3/31]

QuerySetUpOptions* CQuerySetUpOptions::m_Ptr
private

Definition at line 312 of file blast_aux.hpp.

Referenced by CQuerySetUpOptions::DebugDump().

◆ m_Ptr [4/31]

LookupTableOptions* CLookupTableOptions::m_Ptr
private

Definition at line 314 of file blast_aux.hpp.

Referenced by CLookupTableOptions::DebugDump().

◆ m_Ptr [5/31]

LookupTableWrap* CLookupTableWrap::m_Ptr
private

Definition at line 315 of file blast_aux.hpp.

Referenced by CLookupTableWrap::DebugDump().

◆ m_Ptr [6/31]

BlastInitialWordOptions* CBlastInitialWordOptions::m_Ptr
private

Definition at line 318 of file blast_aux.hpp.

Referenced by CBlastInitialWordOptions::DebugDump().

◆ m_Ptr [7/31]

BlastInitialWordParameters* CBlastInitialWordParameters::m_Ptr
private

Definition at line 320 of file blast_aux.hpp.

Referenced by CBlastInitialWordParameters::DebugDump().

◆ m_Ptr [8/31]

Blast_ExtendWord* CBlast_ExtendWord::m_Ptr
private

Definition at line 322 of file blast_aux.hpp.

Referenced by CBlast_ExtendWord::DebugDump().

◆ m_Ptr [9/31]

BlastExtensionOptions* CBlastExtensionOptions::m_Ptr
private

Definition at line 323 of file blast_aux.hpp.

Referenced by CBlastExtensionOptions::DebugDump().

◆ m_Ptr [10/31]

BlastExtensionParameters* CBlastExtensionParameters::m_Ptr
private

Definition at line 324 of file blast_aux.hpp.

Referenced by CBlastExtensionParameters::DebugDump().

◆ m_Ptr [11/31]

BlastHitSavingOptions* CBlastHitSavingOptions::m_Ptr
private

Definition at line 326 of file blast_aux.hpp.

Referenced by CBlastHitSavingOptions::DebugDump().

◆ m_Ptr [12/31]

BlastHitSavingParameters* CBlastHitSavingParameters::m_Ptr
private

Definition at line 328 of file blast_aux.hpp.

Referenced by CBlastHitSavingParameters::DebugDump().

◆ m_Ptr [13/31]

PSIBlastOptions* CPSIBlastOptions::m_Ptr
private

Definition at line 330 of file blast_aux.hpp.

Referenced by CPSIBlastOptions::DebugDump().

◆ m_Ptr [14/31]

BlastDatabaseOptions* CBlastDatabaseOptions::m_Ptr
private

Definition at line 331 of file blast_aux.hpp.

Referenced by CBlastDatabaseOptions::DebugDump().

◆ m_Ptr [15/31]

BlastScoreBlk* CBlastScoreBlk::m_Ptr
private

Definition at line 333 of file blast_aux.hpp.

Referenced by CBlastScoreBlk::DebugDump().

◆ m_Ptr [16/31]

BlastScoringOptions* CBlastScoringOptions::m_Ptr
private

Definition at line 334 of file blast_aux.hpp.

Referenced by CBlastScoringOptions::DebugDump().

◆ m_Ptr [17/31]

BlastScoringParameters* CBlastScoringParameters::m_Ptr
private

Definition at line 335 of file blast_aux.hpp.

Referenced by CBlastScoringParameters::DebugDump().

◆ m_Ptr [18/31]

BlastEffectiveLengthsOptions* CBlastEffectiveLengthsOptions::m_Ptr
private

Definition at line 338 of file blast_aux.hpp.

Referenced by CBlastEffectiveLengthsOptions::DebugDump().

◆ m_Ptr [19/31]

BlastEffectiveLengthsParameters* CBlastEffectiveLengthsParameters::m_Ptr
private

Definition at line 340 of file blast_aux.hpp.

Referenced by CBlastEffectiveLengthsParameters::DebugDump().

◆ m_Ptr [20/31]

BlastGapAlignStruct* CBlastGapAlignStruct::m_Ptr
private

Definition at line 342 of file blast_aux.hpp.

Referenced by CBlastGapAlignStruct::DebugDump().

◆ m_Ptr [21/31]

BlastHSPResults* CBlastHSPResults::m_Ptr
private

Definition at line 343 of file blast_aux.hpp.

Referenced by CBlastHSPResults::DebugDump().

◆ m_Ptr [22/31]

PSIMsa* CPSIMsa::m_Ptr
private

Definition at line 345 of file blast_aux.hpp.

Referenced by CPSIMsa::DebugDump().

◆ m_Ptr [23/31]

PSIMatrix* CPSIMatrix::m_Ptr
private

Definition at line 346 of file blast_aux.hpp.

Referenced by CPSIMatrix::DebugDump().

◆ m_Ptr [24/31]

PSIDiagnosticsRequest* CPSIDiagnosticsRequest::m_Ptr
private

Definition at line 347 of file blast_aux.hpp.

Referenced by CPSIDiagnosticsRequest::DebugDump().

◆ m_Ptr [25/31]

PSIDiagnosticsResponse* CPSIDiagnosticsResponse::m_Ptr
private

Definition at line 348 of file blast_aux.hpp.

Referenced by CPSIDiagnosticsResponse::DebugDump().

◆ m_Ptr [26/31]

BlastSeqSrc* CBlastSeqSrc::m_Ptr
private

Definition at line 350 of file blast_aux.hpp.

Referenced by CBlastSeqSrc::DebugDump().

◆ m_Ptr [27/31]

BlastSeqSrcIterator* CBlastSeqSrcIterator::m_Ptr
private

Definition at line 351 of file blast_aux.hpp.

Referenced by CBlastSeqSrcIterator::DebugDump().

◆ m_Ptr [28/31]

Blast_Message* CBlast_Message::m_Ptr
private

Definition at line 352 of file blast_aux.hpp.

Referenced by CBlast_Message::DebugDump().

◆ m_Ptr [29/31]

BlastMaskLoc* CBlastMaskLoc::m_Ptr
private

Definition at line 354 of file blast_aux.hpp.

Referenced by CBlastMaskLoc::DebugDump().

◆ m_Ptr [30/31]

BlastSeqLoc* CBlastSeqLoc::m_Ptr
private

Definition at line 355 of file blast_aux.hpp.

Referenced by CBlastSeqLoc::DebugDump().

◆ m_Ptr [31/31]

SBlastProgress* CSBlastProgress::m_Ptr
private

Definition at line 357 of file blast_aux.hpp.

Referenced by CSBlastProgress::DebugDump().

◆ m_QSR

CRef<objects::CBlast4_queue_search_request> CRemoteBlast::m_QSR
private

◆ m_Queries [1/7]

CRef<IQueryFactory> CDeltaBlast::m_Queries
private

Queries.

Definition at line 132 of file deltablast.hpp.

Referenced by CDeltaBlast::Run(), CDeltaBlast::x_FindDomainHits(), and CDeltaBlast::x_Validate().

◆ m_Queries [2/7]

CRef<IQueryFactory> CMagicBlast::m_Queries
private

◆ m_Queries [3/7]

CRef<objects::CBlast4_queries> CRemoteBlast::m_Queries
private

◆ m_Queries [4/7]

CRef<IRemoteQueryData> CRemoteSeqSearch::m_Queries
private

Search queries.

Definition at line 78 of file remote_search.hpp.

Referenced by CRemoteSeqSearch::SetQueryFactory(), and CRemoteSeqSearch::x_RemoteBlast().

◆ m_Queries [5/7]

BLAST_SequenceBlk* SInternalData::m_Queries

The query sequence data, these fields are "borrowed" from the query factory (which owns them)

Definition at line 320 of file setup_factory.hpp.

Referenced by CBlastPrelimSearch::Run(), CBlastTracebackSearch::Run(), CBlastTracebackSearch::RunSimple(), SInternalData::SInternalData(), and CBlastTracebackSearch::x_Init().

◆ m_Queries [6/7]

const TSeqLocVector* CObjMgr_LocalQueryData::m_Queries
private

Adaptee in adapter design pattern.

Definition at line 185 of file objmgr_query_data.cpp.

Referenced by CObjMgr_LocalQueryData::GetSequenceBlk().

◆ m_Queries [7/7]

const TSeqLocVector* CObjMgr_RemoteQueryData::m_Queries
private

Queries, if input representation is TSeqLocVector, or NULL.

Definition at line 280 of file objmgr_query_data.cpp.

Referenced by CObjMgr_RemoteQueryData::GetBioseqSet(), and CObjMgr_RemoteQueryData::GetSeqLocs().

◆ m_Query [1/5]

TAutoUint1ArrayPtr CPsiBlastInputClustalW::m_Query
private

◆ m_Query [2/5]

unsigned char* CPsiBlastInputFreqRatios::m_Query
private

Query sequence data.

Definition at line 138 of file psi_pssm_input.hpp.

◆ m_Query [3/5]

unsigned char* CPsiBlastInputData::m_Query
private

◆ m_Query [4/5]

CRef<CBlastQueryVector> CIgBlast::m_Query
private

◆ m_Query [5/5]

CRef<IQueryFactory> CPsiBlastImpl::m_Query
private

Query sequence (either extracted from PSSM or provided in constructor)

Definition at line 106 of file psiblast_impl.hpp.

Referenced by CPsiBlastImpl::Run(), CPsiBlastImpl::x_ExtractQueryFromPssm(), and CPsiBlastImpl::x_Validate().

◆ m_QueryBioseq [1/3]

CRef<objects::CBioseq> CCddInputData::m_QueryBioseq
private

Query as Bioseq.

Definition at line 479 of file cdd_pssm_input.hpp.

Referenced by CCddInputData::GetQueryForPssm(), and CCddInputData::x_ExtractQueryForPssm().

◆ m_QueryBioseq [2/3]

CRef<objects::CBioseq> CPsiBlastInputClustalW::m_QueryBioseq
private

Query as CBioseq for PSSM.

Definition at line 157 of file msa_pssm_input.hpp.

Referenced by CPsiBlastInputClustalW::x_ExtractQueryForPssm().

◆ m_QueryBioseq [3/3]

CRef<objects::CBioseq> CPsiBlastInputData::m_QueryBioseq
private

Query as CBioseq for PSSM.

Definition at line 255 of file psi_pssm_input.hpp.

Referenced by CPsiBlastInputData::GetQueryForPssm(), and CPsiBlastInputData::x_ExtractQueryForPssm().

◆ m_QueryChunkFactories

vector< CRef<IQueryFactory> > CQuerySplitter::m_QueryChunkFactories
private

◆ m_QueryData

vector<Uint1> CCddInputData::m_QueryData
private

◆ m_QueryFactory [1/6]

CRef<IQueryFactory> CEffectiveSearchSpaceCalculator::m_QueryFactory
private

source of query sequence(s)

Definition at line 84 of file effsearchspace_calc.hpp.

Referenced by CEffectiveSearchSpaceCalculator::CEffectiveSearchSpaceCalculator().

◆ m_QueryFactory [2/6]

CRef<IQueryFactory> CLocalBlast::m_QueryFactory
private

Query factory from which to obtain the query sequence data.

Definition at line 122 of file local_blast.hpp.

Referenced by CLocalBlast::Run().

◆ m_QueryFactory [3/6]

CRef<IQueryFactory> CLocalSeqSearch::m_QueryFactory
private

Factory which provides the query data to be populated in m_Queries.

Definition at line 79 of file local_search.hpp.

Referenced by CLocalSeqSearch::Run(), and CLocalSeqSearch::SetQueryFactory().

◆ m_QueryFactory [4/6]

CRef<IQueryFactory> CBlastPrelimSearch::m_QueryFactory
private

Query factory is retained to ensure the lifetime of the data (queries) produced by it.

Definition at line 163 of file prelim_stage.hpp.

Referenced by CBlastPrelimSearch::Run(), CBlastPrelimSearch::SetNumberOfThreads(), and CBlastPrelimSearch::x_BuildStdSegList().

◆ m_QueryFactory [5/6]

CRef<IQueryFactory> CBlastTracebackSearch::m_QueryFactory
private

The query to search for.

Definition at line 110 of file traceback_stage.hpp.

Referenced by CBlastTracebackSearch::Run().

◆ m_QueryFactory [6/6]

CRef<IQueryFactory> CQuerySplitter::m_QueryFactory
private

The original, unsplit query factory.

Definition at line 105 of file split_query.hpp.

Referenced by CQuerySplitter::Split(), and CQuerySplitter::x_ExtractCScopesAndMasks().

◆ m_QueryId [1/2]

CConstRef<objects::CSeq_id> CSearchResults::m_QueryId
protected

this query's id

Definition at line 264 of file blast_results.hpp.

Referenced by CSearchResults::GetSeqId().

◆ m_QueryId [2/2]

CConstRef<CSeq_id> CMagicBlastResults::m_QueryId
private

Query id.

Definition at line 217 of file magicblast.hpp.

Referenced by CMagicBlastResults::GetQueryId(), and CMagicBlastResults::x_SetInfo().

◆ m_QueryIndicesPerChunk

vector< vector<size_t> > CQueryDataPerChunk::m_QueryIndicesPerChunk
private

Each element in this vector represents a chunk, and it contains the query indices that correspond in the full concatenated query.

Definition at line 242 of file split_query_aux_priv.hpp.

Referenced by CQueryDataPerChunk::CQueryDataPerChunk(), CQueryDataPerChunk::GetLastChunk(), and CQueryDataPerChunk::GetQueryLength().

◆ m_QueryInfo [1/3]

BlastQueryInfo* CEffectiveSearchSpaceCalculator::m_QueryInfo
private

◆ m_QueryInfo [2/3]

CBlastQueryInfo ILocalQueryData::m_QueryInfo
protected

Data member to cache the BlastQueryInfo.

Definition at line 104 of file query_data.hpp.

Referenced by CObjMgr_LocalQueryData::GetQueryInfo(), and CObjMgrFree_LocalQueryData::GetQueryInfo().

◆ m_QueryInfo [3/3]

BlastQueryInfo* SInternalData::m_QueryInfo

◆ m_QueryLength

unsigned int CPsiBlastInputFreqRatios::m_QueryLength
private

Length of query sequence data.

Definition at line 140 of file psi_pssm_input.hpp.

◆ m_QueryLengths

vector<size_t> CQueryDataPerChunk::m_QueryLengths
private

Lengths of the queries.

Definition at line 245 of file split_query_aux_priv.hpp.

Referenced by CQueryDataPerChunk::CQueryDataPerChunk(), and CQueryDataPerChunk::GetQueryLength().

◆ m_QueryMaskingLocations

TSeqLocInfoVector CRemoteBlast::m_QueryMaskingLocations
private

◆ m_QueryMasks [1/2]

SOptional< TMaskList > CBlastOptionsBuilder::m_QueryMasks
private

◆ m_QueryMasks [2/2]

TSeqLocInfoVector CSearchResultSet::m_QueryMasks
private

Stores the masked query regions, for convenience and usage in CBl2Seq.

Definition at line 484 of file blast_results.hpp.

Referenced by CSearchResultSet::GetFilteredQueryRegions(), and CSearchResultSet::SetFilteredQueryRegions().

◆ m_QueryOpts [1/2]

QuerySetUpOptions* CBlastOptionsMemento::m_QueryOpts
private

◆ m_QueryOpts [2/2]

CQuerySetUpOptions CBlastOptionsLocal::m_QueryOpts
private

Query sequence settings.

Definition at line 363 of file blast_options_local_priv.hpp.

Referenced by CBlastOptionsLocal::CBlastOptionsLocal(), CBlastOptionsMemento::CBlastOptionsMemento(), CBlastOptionsLocal::DebugDump(), CBlastOptionsLocal::GetDustFiltering(), CBlastOptionsLocal::GetDustFilteringLevel(), CBlastOptionsLocal::GetDustFilteringLinker(), CBlastOptionsLocal::GetDustFilteringWindow(), CBlastOptionsLocal::GetFilterString(), CBlastOptionsLocal::GetMaskAtHash(), CBlastOptionsLocal::GetQueryGeneticCode(), CBlastOptionsLocal::GetQueryOpts(), CBlastOptionsLocal::GetReadMaxFractionAmbiguous(), CBlastOptionsLocal::GetReadMinDimerEntropy(), CBlastOptionsLocal::GetReadQualityFiltering(), CBlastOptionsLocal::GetRepeatFiltering(), CBlastOptionsLocal::GetRepeatFilteringDB(), CBlastOptionsLocal::GetSegFiltering(), CBlastOptionsLocal::GetSegFilteringHicut(), CBlastOptionsLocal::GetSegFilteringLocut(), CBlastOptionsLocal::GetSegFilteringWindow(), CBlastOptionsLocal::GetStrandOption(), CBlastOptionsLocal::GetWindowMaskerDatabase(), CBlastOptionsLocal::GetWindowMaskerTaxId(), CBlastOptionsLocal::operator==(), CBlastOptionsLocal::SetDustFiltering(), CBlastOptionsLocal::SetDustFilteringLevel(), CBlastOptionsLocal::SetDustFilteringLinker(), CBlastOptionsLocal::SetDustFilteringWindow(), CBlastOptionsLocal::SetFilterString(), CBlastOptionsLocal::SetMaskAtHash(), CBlastOptionsLocal::SetQueryGeneticCode(), CBlastOptionsLocal::SetReadMaxFractionAmbiguous(), CBlastOptionsLocal::SetReadMinDimerEntropy(), CBlastOptionsLocal::SetReadQualityFiltering(), CBlastOptionsLocal::SetRepeatFiltering(), CBlastOptionsLocal::SetRepeatFilteringDB(), CBlastOptionsLocal::SetSegFiltering(), CBlastOptionsLocal::SetSegFilteringHicut(), CBlastOptionsLocal::SetSegFilteringLocut(), CBlastOptionsLocal::SetSegFilteringWindow(), CBlastOptionsLocal::SetStrandOption(), CBlastOptionsLocal::SetWindowMaskerDatabase(), CBlastOptionsLocal::SetWindowMaskerTaxId(), and CBlastOptionsLocal::x_DoDeepCopy().

◆ m_QueryRange [1/3]

TSeqRange CBlastOptionsBuilder::m_QueryRange
private

The range to restrict the query sequence(s)

Definition at line 317 of file blast_options_builder.hpp.

Referenced by CBlastOptionsBuilder::x_ProcessOneOption().

◆ m_QueryRange [2/3]

TRange CCddInputData::CHitSegment::m_QueryRange

Segment range on query.

Definition at line 267 of file cdd_pssm_input.hpp.

Referenced by CCddInputData::CHitSegment::GetLength(), and CCddInputData::CHit::Subtract().

◆ m_QueryRange [3/3]

TSeqRange CImportStrategyData::m_QueryRange

Range of query.

Definition at line 72 of file search_strategy.hpp.

◆ m_QuerySource [1/3]

CRef<IBlastQuerySource> CObjMgr_LocalQueryData::m_QuerySource
private

◆ m_QuerySource [2/3]

CRef<IBlastQuerySource> CObjMgrFree_LocalQueryData::m_QuerySource
private

◆ m_QuerySource [3/3]

CRef<IBlastQuerySource> CQueryFactoryInfo::m_QuerySource
private

local query data obtained from the query factory

Definition at line 81 of file seqsrc_query_factory.cpp.

Referenced by CQueryFactoryInfo::CQueryFactoryInfo(), and CQueryFactoryInfo::~CQueryFactoryInfo().

◆ m_QuerySplitter

CRef<CQuerySplitter> SBlastSetupData::m_QuerySplitter

Definition at line 110 of file blast_aux_priv.hpp.

◆ m_QueryTitle [1/2]

string CCddInputData::m_QueryTitle
private

Query title (for PSSM)

Definition at line 443 of file cdd_pssm_input.hpp.

Referenced by CCddInputData::x_ExtractQueryForPssm().

◆ m_QueryTitle [2/2]

string CPsiBlastInputData::m_QueryTitle
private

◆ m_QueryVector [1/4]

CRef<CBlastQueryVector> CObjMgr_QueryFactory::m_QueryVector
private

◆ m_QueryVector [2/4]

CRef<CBlastQueryVector> CBlastQuerySourceOM::m_QueryVector
protected

◆ m_QueryVector [3/4]

CRef<CBlastQueryVector> CObjMgr_LocalQueryData::m_QueryVector
private

Definition at line 186 of file objmgr_query_data.cpp.

Referenced by CObjMgr_LocalQueryData::GetSequenceBlk().

◆ m_QueryVector [4/4]

const CRef<CBlastQueryVector> CObjMgr_RemoteQueryData::m_QueryVector
private

Queries, if input representation is a CBlastQueryVector, or NULL.

Definition at line 283 of file objmgr_query_data.cpp.

Referenced by CObjMgr_RemoteQueryData::GetBioseqSet(), and CObjMgr_RemoteQueryData::GetSeqLocs().

◆ m_QueueSearchRequest

CRef<CBlast4_queue_search_request> CExportStrategy::m_QueueSearchRequest
private

◆ m_ReadFile

bool CRemoteBlast::m_ReadFile
private

◆ m_RefCounter

Uint4 CAutomaticGenCodeSingleton::m_RefCounter = 0
staticprivate

◆ m_Registry

CNcbiRegistry* CAutoNcbiConfigFile::m_Registry
private

◆ m_RemoteBlast [1/2]

CRef<CRemoteBlast> CRemoteSeqSearch::m_RemoteBlast
private

Remote search management object.

Definition at line 75 of file remote_search.hpp.

Referenced by CRemoteSeqSearch::Run(), and CRemoteSeqSearch::x_RemoteBlast().

◆ m_RemoteBlast [2/2]

CRef<CRemoteBlast> CRemotePssmSearch::m_RemoteBlast
private

Remote search management object.

Definition at line 114 of file remote_search.hpp.

Referenced by CRemotePssmSearch::Run(), CRemotePssmSearch::SetOptions(), and CRemotePssmSearch::x_RemoteBlast().

◆ m_RemoteDb

CRef<CSearchDatabase> CIgBlast::m_RemoteDb
private

Definition at line 303 of file igblast.hpp.

Referenced by CIgBlast::Run().

◆ m_RemoteQueryData

CRef<IRemoteQueryData> IQueryFactory::m_RemoteQueryData
protected

Definition at line 159 of file query_data.hpp.

Referenced by IQueryFactory::MakeRemoteQueryData().

◆ m_Reply

CRef<objects::CBlast4_reply> CRemoteBlast::m_Reply
private

Results of BLAST search.

Definition at line 734 of file remote_blast.hpp.

Referenced by CRemoteBlast::x_CheckResults(), CRemoteBlast::x_CheckResultsDC(), and CRemoteBlast::x_GetGSRR().

◆ m_ReqOpts

CRef<objects::CBlast4_parameters> CBlastOptionsRemote::m_ReqOpts
private

◆ m_Request

CRef<objects::CBlast4_request> CImportStrategy::m_Request
private

◆ m_Results [1/5]

CRef<CSearchResultSet> CBl2Seq::m_Results
private

◆ m_Results [2/5]

vector< CRef<CSearchResults> > CSearchResultSet::m_Results
private

◆ m_Results [3/5]

CRef<CSearchResultSet> CDeltaBlast::m_Results
private

Pssm-protein search results.

Definition at line 153 of file deltablast.hpp.

Referenced by CDeltaBlast::Run().

◆ m_Results [4/5]

vector< CRef<CMagicBlastResults> > CMagicBlastResultSet::m_Results
private

◆ m_Results [5/5]

CRef<CSearchResultSet> CPsiBlastImpl::m_Results
private

Holds a reference to the results.

Definition at line 115 of file psiblast_impl.hpp.

Referenced by CPsiBlastImpl::Run().

◆ m_resultsQueue

std::list<BlastHSPList*> CBlastHSPListQueueData::m_resultsQueue
private

Queue in a form of a linked list of HSP lists.

Definition at line 70 of file hspstream_queue.hpp.

◆ m_ResultType [1/3]

EResultType CSearchResultSet::m_ResultType
private

◆ m_ResultType [2/3]

EResultType CBlastTracebackSearch::m_ResultType
private

Determines if BLAST database search or BLAST 2 sequences style of results should be produced.

Definition at line 130 of file traceback_stage.hpp.

Referenced by CBlastTracebackSearch::Run(), and CBlastTracebackSearch::SetResultType().

◆ m_ResultType [3/3]

EResultType CPsiBlastImpl::m_ResultType
private

Specifies how the results should be produced.

Definition at line 118 of file psiblast_impl.hpp.

Referenced by CPsiBlastImpl::Run(), and CPsiBlastImpl::SetResultType().

◆ m_RID [1/3]

string CSearchResults::m_RID
protected

The RID, if applicable (otherwise it's empty)

Definition at line 282 of file blast_results.hpp.

Referenced by CSearchResults::GetRID(), and CSearchResults::SetRID().

◆ m_RID [2/3]

string CRemoteBlast::m_RID
private

◆ m_RID [3/3]

string CIgBlast::m_RID
private

Definition at line 309 of file igblast.hpp.

Referenced by CIgBlast::CIgBlast(), CIgBlast::GetRid(), and CIgBlast::Run().

◆ m_RpsData

CRef<CBlastRPSInfo> SInternalData::m_RpsData

The RPS-BLAST related data.

Definition at line 341 of file setup_factory.hpp.

Referenced by CBlastTracebackSearch::Run(), CBlastTracebackSearch::RunSimple(), and CBlastTracebackSearch::x_Init().

◆ m_RpsInfo

unique_ptr<BlastRPSInfo> CBlastRPSInfo::m_RpsInfo
private

Pointer which contains pointers to data managed by the data members above.

Definition at line 167 of file rps_aux.hpp.

Referenced by CBlastRPSInfo::GetGapExtensionCost(), CBlastRPSInfo::GetGapOpeningCost(), CBlastRPSInfo::GetMatrixName(), CBlastRPSInfo::GetScalingFactor(), CBlastRPSInfo::operator()(), and CBlastRPSInfo::x_Init().

◆ m_RpsOptions

CRef<CBlastRPSOptionsHandle> CDeltaBlast::m_RpsOptions
private

RPS Blast options.

Definition at line 144 of file deltablast.hpp.

Referenced by CDeltaBlast::x_FindDomainHits().

◆ m_save

bool CBlastAppDiagHandler::m_save
private

◆ m_Scope [1/3]

CRef<objects::CScope> CPsiBlastInputData::m_Scope
private

Scope where to retrieve the sequences in the aligment from.

Definition at line 237 of file psi_pssm_input.hpp.

Referenced by CPsiBlastInputData::CPsiBlastInputData(), and CPsiBlastInputData::x_ProcessDenseg().

◆ m_Scope [2/3]

CRef<CScope> CIgBlast::m_Scope
private

◆ m_scope

CRef<CScope> ScorePositionSort::m_scope
private

◆ m_Scope [3/3]

CScope& CBlastSeqVectorOM::m_Scope
private

Definition at line 563 of file blast_objmgr_tools.cpp.

Referenced by CBlastSeqVectorOM::x_SetStrand().

◆ m_Scopes

TScopeVector CQuerySplitter::m_Scopes
private

◆ m_ScopeSrc

CRef<blast::CBlastScopeSource> CBlastScopeSourceWrapper::m_ScopeSrc
private

◆ m_ScoreBlk [1/3]

CBlastScoreBlk CPssmEngine::m_ScoreBlk
private

◆ m_ScoreBlk [2/3]

CBlastScoreBlk CSeedTop::m_ScoreBlk
private

Definition at line 155 of file seedtop.hpp.

Referenced by CSeedTop::x_MakeLookupTable(), and CSeedTop::x_MakeScoreBlk().

◆ m_ScoreBlk [3/3]

CRef<TBlastScoreBlk> SInternalData::m_ScoreBlk

◆ m_ScoringOpts [1/2]

BlastScoringOptions* CBlastOptionsMemento::m_ScoringOpts
private

◆ m_ScoringOpts [2/2]

CBlastScoringOptions CBlastOptionsLocal::m_ScoringOpts
private

◆ m_SearchOpts [1/4]

CRef<CBlastOptionsHandle> CLocalSeqSearch::m_SearchOpts
private

Search options.

Definition at line 70 of file local_search.hpp.

Referenced by CLocalSeqSearch::Run(), and CLocalSeqSearch::SetOptions().

◆ m_SearchOpts [2/4]

CRef<CBlastOptionsHandle> CLocalPssmSearch::m_SearchOpts
private

Search configuration.

Definition at line 101 of file local_search.hpp.

Referenced by CLocalPssmSearch::Run(), and CLocalPssmSearch::SetOptions().

◆ m_SearchOpts [3/4]

CRef<CBlastOptionsHandle> CRemoteSeqSearch::m_SearchOpts
private

Search configuration.

Definition at line 72 of file remote_search.hpp.

Referenced by CRemoteSeqSearch::SetOptions(), and CRemoteSeqSearch::x_RemoteBlast().

◆ m_SearchOpts [4/4]

CRef<CBlastOptionsHandle> CRemotePssmSearch::m_SearchOpts
private

Search configuration.

Definition at line 111 of file remote_search.hpp.

Referenced by CRemotePssmSearch::SetOptions(), and CRemotePssmSearch::x_RemoteBlast().

◆ m_SearchSpace

Int8 CBlastAncillaryData::m_SearchSpace
private

Search space used when calculating e-values for one query.

Definition at line 147 of file blast_results.hpp.

Referenced by CBlastAncillaryData::CBlastAncillaryData(), and CBlastAncillaryData::do_copy().

◆ m_SegmentList

vector<CHitSegment*> CCddInputData::CHit::m_SegmentList
private

List of hit segments.

Definition at line 365 of file cdd_pssm_input.hpp.

Referenced by CCddInputData::CHit::CHit(), and CCddInputData::CHit::GetSegments().

◆ m_Sema

CSemaphore* CBlastHSPListQueueData::m_Sema
private

Semaphore fore reading from the queue.

Definition at line 74 of file hspstream_queue.hpp.

◆ m_SeqalignSet

CConstRef<objects::CSeq_align_set> CCddInputData::m_SeqalignSet
private

RPS-BLAST hits for the query.

Definition at line 450 of file cdd_pssm_input.hpp.

Referenced by CCddInputData::x_ExtractQueryForPssm(), and CCddInputData::x_ProcessAlignments().

◆ m_SeqAlignSet

CConstRef<objects::CSeq_align_set> CPsiBlastInputData::m_SeqAlignSet
private

◆ m_SeqBlk

CBLAST_SequenceBlk ILocalQueryData::m_SeqBlk
protected

◆ m_SeqBlkVector

vector<BLAST_SequenceBlk*> CQueryFactoryInfo::m_SeqBlkVector
private

◆ m_SeqDb

CRef<CSeqDB> CSearchDatabase::m_SeqDb
mutableprivate

◆ m_SeqEntry

CRef<objects::CSeq_entry> CPsiBlastInputClustalW::m_SeqEntry
private

CSeq_entry obtained from the multiple sequence alignment.

Definition at line 155 of file msa_pssm_input.hpp.

Referenced by CPsiBlastInputClustalW::x_ExtractQueryForPssm(), and CPsiBlastInputClustalW::x_ReadAsciiMsa().

◆ m_SeqInfoSrc [1/3]

CRef<IBlastSeqInfoSrc> CLocalBlast::m_SeqInfoSrc
private

User-specified IBlastSeqInfoSrc implementation (may be used for non-standard databases, etc.)

Definition at line 142 of file local_blast.hpp.

Referenced by CLocalBlast::Run().

◆ m_SeqInfoSrc [2/3]

CRef<IBlastSeqInfoSrc> CLocalDbAdapter::m_SeqInfoSrc
private

Pointer to the IBlastSeqInfoSrc.

Definition at line 135 of file local_db_adapter.hpp.

Referenced by CLocalDbAdapter::MakeSeqInfoSrc().

◆ m_SeqInfoSrc [3/3]

CRef<IBlastSeqInfoSrc> CBlastTracebackSearch::m_SeqInfoSrc
private

Pointer to the IBlastSeqInfoSrc object to use to generate the Seq-aligns.

Definition at line 126 of file traceback_stage.hpp.

Referenced by CBlastTracebackSearch::Run().

◆ m_SeqLoc

const CSeq_loc& CBlastSeqVectorOM::m_SeqLoc
private

◆ m_SeqLocs

TSeqLocs IRemoteQueryData::m_SeqLocs
protected

Data member to cache the TSeqLocs.

Definition at line 131 of file query_data.hpp.

Referenced by CObjMgr_RemoteQueryData::GetSeqLocs(), and CObjMgrFree_RemoteQueryData::GetSeqLocs().

◆ m_Seqlocs

TFrameSet CBlastQueryFilteredFrames::m_Seqlocs
private

◆ m_SeqlocTails

TFrameSet CBlastQueryFilteredFrames::m_SeqlocTails
private

Frame and tail of BlastSeqLoc* linked list (to speed up appending)

Definition at line 522 of file blast_setup.hpp.

Referenced by CBlastQueryFilteredFrames::AddSeqLoc(), and CBlastQueryFilteredFrames::Release().

◆ m_SeqSrc [1/2]

BlastSeqSrc* CLocalDbAdapter::m_SeqSrc
private

◆ m_SeqSrc [2/2]

CRef<TBlastSeqSrc> SInternalData::m_SeqSrc

◆ m_SequenceData

vector<char> CBlastSeqVectorFromCSeq_data::m_SequenceData
private

◆ m_SequenceType

string CIgBlastOptions::m_SequenceType

Definition at line 69 of file igblast.hpp.

Referenced by CIgBlastArgs::ExtractAlgorithmOptions(), and CIgBlastnApp::Run().

◆ m_SeqVec

TSeqLocVector CSeqVecSeqInfoSrc::m_SeqVec
private

Vector of subject sequence locations to get information from.

Definition at line 105 of file seqinfosrc_seqvec.hpp.

Referenced by CSeqVecSeqInfoSrc::GetId(), CSeqVecSeqInfoSrc::GetLength(), CSeqVecSeqInfoSrc::GetMasks(), CSeqVecSeqInfoSrc::GetSeqLoc(), and CSeqVecSeqInfoSrc::Size().

◆ m_SeqVector

CSeqVector CBlastSeqVectorOM::m_SeqVector
private

◆ m_Service [1/3]

string CBlastOptionsBuilder::m_Service
private

Service value for blast4 protocol.

Definition at line 282 of file blast_options_builder.hpp.

Referenced by CBlastOptionsBuilder::GetSearchOptions().

◆ m_Service [2/3]

string CRemoteBlast::m_Service
private

◆ m_Service [3/3]

string CImportStrategy::m_Service
private

Definition at line 180 of file search_strategy.hpp.

◆ m_SplitBlk

CRef<CSplitQueryBlk> CQuerySplitter::m_SplitBlk
private

◆ m_SplitQueriesInChunk

TSplitQueryVector CQuerySplitter::m_SplitQueriesInChunk
private

◆ m_SplitQueryBlk

SSplitQueryBlk* CSplitQueryBlk::m_SplitQueryBlk
private

◆ m_SSeqLocVector

TSeqLocVector CObjMgr_QueryFactory::m_SSeqLocVector
private

◆ m_StartingChunks

vector< vector<int> > CContextTranslator::m_StartingChunks
private

Definition at line 166 of file split_query_aux_priv.hpp.

Referenced by CContextTranslator::CContextTranslator(), and operator<<().

◆ m_Strand

objects::ENa_strand IBlastSeqVector::m_Strand
protected

Maintains the state of the strand currently saved by the implementation of this class.

Definition at line 253 of file blast_setup.hpp.

Referenced by CBlastSeqVectorOM::CBlastSeqVectorOM(), IBlastSeqVector::GetStrand(), IBlastSeqVector::SetMinusStrand(), IBlastSeqVector::SetPlusStrand(), and CBlastSeqVectorOM::x_SetStrand().

◆ m_Subject [1/8]

CRef<CLocalDbAdapter> CDeltaBlast::m_Subject
private

Reference to a BLAST subject/database object.

Definition at line 135 of file deltablast.hpp.

Referenced by CDeltaBlast::Run(), and CDeltaBlast::x_Validate().

◆ m_Subject [2/8]

CConstRef<CSearchDatabase> CLocalPssmSearch::m_Subject
private

Subject database.

Definition at line 110 of file local_search.hpp.

Referenced by CLocalPssmSearch::Run(), and CLocalPssmSearch::SetSubject().

◆ m_Subject [3/8]

CRef<CLocalDbAdapter> CPsiBl2Seq::m_Subject
private

Reference to a BLAST subject/database object.

Definition at line 116 of file psibl2seq.hpp.

Referenced by CPsiBl2Seq::CPsiBl2Seq(), and CPsiBl2Seq::x_InitSubject().

◆ m_Subject [4/8]

CRef<CLocalDbAdapter> CPsiBlast::m_Subject
private

Reference to a BLAST subject/database object.

Definition at line 127 of file psiblast.hpp.

Referenced by CPsiBlast::CPsiBlast().

◆ m_Subject [5/8]

CConstRef<CSearchDatabase> CRemoteSeqSearch::m_Subject
private

Search subject.

Definition at line 81 of file remote_search.hpp.

Referenced by CRemoteSeqSearch::SetSubject(), and CRemoteSeqSearch::x_RemoteBlast().

◆ m_Subject [6/8]

CConstRef<CSearchDatabase> CRemotePssmSearch::m_Subject
private

Search subject.

Definition at line 120 of file remote_search.hpp.

Referenced by CRemotePssmSearch::SetSubject(), and CRemotePssmSearch::x_RemoteBlast().

◆ m_Subject [7/8]

CRef<IQueryFactory> CIgBlast::m_Subject
private

Definition at line 301 of file igblast.hpp.

Referenced by CIgBlast::Run().

◆ m_Subject [8/8]

CRef<CLocalDbAdapter> CPsiBlastImpl::m_Subject
private

PSI-BLAST subject abstraction.

Definition at line 109 of file psiblast_impl.hpp.

Referenced by CPsiBlastImpl::Run(), and CPsiBlastImpl::x_Validate().

◆ m_SubjectFactory

CRef<IQueryFactory> CLocalDbAdapter::m_SubjectFactory
private

IQueryFactory containing the subject sequences.

Definition at line 141 of file local_db_adapter.hpp.

Referenced by CLocalDbAdapter::CLocalDbAdapter(), CLocalDbAdapter::MakeSeqInfoSrc(), and CLocalDbAdapter::MakeSeqSrc().

◆ m_SubjectId

CConstRef<CSeq_id> CCddInputData::CHit::m_SubjectId

Seq_id of hit subject.

Definition at line 355 of file cdd_pssm_input.hpp.

◆ m_SubjectMaskingType [1/3]

SOptional<ESubjectMaskingType> CBlastOptionsBuilder::m_SubjectMaskingType
private

◆ m_SubjectMaskingType [2/3]

ESubjectMaskingType CRemoteBlast::m_SubjectMaskingType
private

◆ m_SubjectMaskingType [3/3]

ESubjectMaskingType CImportStrategyData::m_SubjectMaskingType

Subject Masking Type.

Definition at line 83 of file search_strategy.hpp.

◆ m_SubjectMasks

TSeqLocInfoVector CSearchResults::m_SubjectMasks
protected

the matching subjects masks

Definition at line 276 of file blast_results.hpp.

Referenced by CSearchResults::GetSubjectMasks(), and CSearchResults::SetSubjectMasks().

◆ m_SubjectRange

TRange CCddInputData::CHitSegment::m_SubjectRange

Segment range on subject.

Definition at line 270 of file cdd_pssm_input.hpp.

◆ m_Subjects

TSeqLocVector CLocalDbAdapter::m_Subjects
private

This is initialized ONLY if the m_SubjectFactory is of type CObjMgr_QueryFactory, case in which it's not empty.

This is needed to handle delta sequences as input and it uses the object manager APIs

Definition at line 149 of file local_db_adapter.hpp.

Referenced by CLocalDbAdapter::CLocalDbAdapter(), CLocalDbAdapter::MakeSeqInfoSrc(), and CLocalDbAdapter::MakeSeqSrc().

◆ m_SubjectSeqLocs

CBlast4_subject::TSeq_loc_list CRemoteBlast::m_SubjectSeqLocs
private

This field is populated when dealing with a remote bl2seq search (e.g.

: when formatting an RID using blast_formatter)

Definition at line 779 of file remote_blast.hpp.

Referenced by CRemoteBlast::GetSubjectSeqLocs(), CRemoteBlast::IsDbSearch(), CRemoteBlast::x_GetSubjects(), and CRemoteBlast::x_HasRetrievedSubjects().

◆ m_SubjectSequences

list< CRef<objects::CBioseq> > CRemoteBlast::m_SubjectSequences
private

◆ m_SumOfSequenceLengths

size_t ILocalQueryData::m_SumOfSequenceLengths
private

Definition at line 111 of file query_data.hpp.

Referenced by ILocalQueryData::GetSumOfSequenceLengths().

◆ m_Target2Find

CBlast4Field& SBlast4ParamFinder::m_Target2Find
private

Definition at line 582 of file blast_options_builder.cpp.

Referenced by SBlast4ParamFinder::operator()().

◆ m_Task [1/2]

string CRemoteBlast::m_Task
private

Task used when the search was submitted (recovered via CBlastOptionsBuilder)

Definition at line 830 of file remote_blast.hpp.

Referenced by CRemoteBlast::GetResultSet(), CRemoteBlast::GetSearchOptions(), and CRemoteBlast::GetTask().

◆ m_Task [2/2]

string CImportStrategyData::m_Task

Task, such as megablast, blastn, blastp, etc.

Definition at line 75 of file search_strategy.hpp.

◆ m_TaxidList [1/2]

SOptional< list<TTaxId> > CBlastOptionsBuilder::m_TaxidList
private

◆ m_TaxidList [2/2]

set<TTaxId> CRemoteBlast::m_TaxidList
private

Definition at line 842 of file remote_blast.hpp.

Referenced by CRemoteBlast::GetSearchOptions(), and CRemoteBlast::GetTaxidList().

◆ m_TbackSearch

CRef<CBlastTracebackSearch> CLocalBlast::m_TbackSearch
private

Object which runs the traceback stage of the search.

Definition at line 135 of file local_blast.hpp.

Referenced by CLocalBlast::Run().

◆ m_Thresh

double CBlastpKmerOptionsHandle::m_Thresh
private

Jaccard distance cutoff.

Definition at line 105 of file blastp_kmer_options.hpp.

◆ m_TopGeneIds

vector<string> CIgAnnotation::m_TopGeneIds

Definition at line 97 of file igblast.hpp.

Referenced by CIgAnnotation::CIgAnnotation(), and CIgBlast::x_AnnotateV().

◆ m_TotalNumIterationsToDo

unsigned int CPsiBlastIterationState::m_TotalNumIterationsToDo
private

Number of iterations to perform.

Definition at line 125 of file psiblast_iteration.hpp.

Referenced by CPsiBlastIterationState::HasMoreIterations().

◆ m_TotalQueryLength

size_t CQuerySplitter::m_TotalQueryLength
private

Length of the concatenated query.

Definition at line 117 of file split_query.hpp.

Referenced by CQuerySplitter::x_ComputeChunkRanges().

◆ m_tQueries

TSeqLocVector CBl2Seq::m_tQueries
private

◆ m_Translate

bool CIgBlastOptions::m_Translate

Definition at line 84 of file igblast.hpp.

Referenced by CIgBlastArgs::ExtractAlgorithmOptions().

◆ m_TranslateCoords

bool CBlastQueryFilteredFrames::m_TranslateCoords
private

True if this object's masked regions store DNA coordinates that will later be translated into protein coordinates.

Definition at line 529 of file blast_setup.hpp.

Referenced by CBlastQueryFilteredFrames::CBlastQueryFilteredFrames(), and CBlastQueryFilteredFrames::UseProteinCoords().

◆ m_TSeqLocVector

TSeqLocVector* CBlastQuerySourceOM::m_TSeqLocVector
protected

◆ m_tSubjects

TSeqLocVector CBl2Seq::m_tSubjects
private

◆ m_UngappedKarlinBlk

Blast_KarlinBlk* CBlastAncillaryData::m_UngappedKarlinBlk
private

Ungapped Karlin parameters for one query.

Definition at line 134 of file blast_results.hpp.

Referenced by CBlastAncillaryData::CBlastAncillaryData(), CBlastAncillaryData::do_copy(), and CBlastAncillaryData::~CBlastAncillaryData().

◆ m_Units

vector< struct SPatternUnit > CSeedTop::m_Units
private

◆ m_use_disk_cache

bool CRemoteBlast::m_use_disk_cache
private

◆ m_UseMBIndex

bool CBlastOptionsLocal::m_UseMBIndex
private

◆ m_UserSpecifiedMasks

TSeqLocInfoVector CQuerySplitter::m_UserSpecifiedMasks
private

Vector of masking locations.

Definition at line 123 of file split_query.hpp.

Referenced by CQuerySplitter::x_ComputeQueryIndicesForChunks(), and CQuerySplitter::x_ExtractCScopesAndMasks().

◆ m_V_penalty

int CIgBlastOptions::m_V_penalty

◆ m_Value

template<typename T >
T CBlastOptionsBuilder::SOptional< T >::m_Value
private

The value itself, valid only if m_IsSet is true.

Definition at line 249 of file blast_options_builder.hpp.

◆ m_Verbose [1/2]

EDebugMode CRemoteBlast::m_Verbose
private

◆ m_Verbose [2/2]

bool CBlastServices::m_Verbose
private

Display verbose output to stdout?

Definition at line 281 of file blast_services.hpp.

Referenced by CBlastServices::GetTaxIdWithWindowMaskerSupport().

◆ m_Warn

vector<string> CRemoteBlast::m_Warn
private

◆ m_Warnings [1/3]

vector<string> CLocalSeqSearch::m_Warnings
private

Warnings produced by the search.

Definition at line 82 of file local_search.hpp.

◆ m_Warnings [2/3]

vector<string> CRemoteSeqSearch::m_Warnings
private

Warnings produced by the search.

Definition at line 84 of file remote_search.hpp.

Referenced by CRemoteSeqSearch::Run().

◆ m_Warnings [3/3]

vector<string> CRemotePssmSearch::m_Warnings
private

Warnings produced by the search.

Definition at line 123 of file remote_search.hpp.

Referenced by CRemotePssmSearch::Run().

◆ m_WFreqsData

vector<double> CCddInputData::CHitSegment::m_WFreqsData
private

Buffer for residue frequencies from CDs.

Definition at line 277 of file cdd_pssm_input.hpp.

◆ m_WindowMaskedTaxIds

objects::CBlast4_get_windowmasked_taxids_reply::Tdata CBlastServices::m_WindowMaskedTaxIds
private

Taxonomy IDs for which there's windowmasker masking data at NCBI.

Definition at line 279 of file blast_services.hpp.

Referenced by CBlastServices::GetTaxIdWithWindowMaskerSupport().

◆ m_writingDone

bool CBlastHSPListQueueData::m_writingDone
private

Has writing to the queue finished?

Definition at line 72 of file hspstream_queue.hpp.

◆ mask_algo_id

int SSeqDB_SeqSrc_Data::mask_algo_id

Algorithm ID and type for mask data fetching.

Definition at line 94 of file seqsrc_seqdb.cpp.

Referenced by SSeqDB_SeqSrc_Data::clone().

◆ mask_type

ESubjectMaskingType SSeqDB_SeqSrc_Data::mask_type

Definition at line 95 of file seqsrc_seqdb.cpp.

Referenced by SSeqDB_SeqSrc_Data::clone().

◆ max_allowed_j_deletion

int max_allowed_j_deletion = 32
static

Definition at line 57 of file igblast.cpp.

Referenced by CIgBlast::x_FindDJAln().

◆ max_allowed_V_end_to_J_end

int max_allowed_V_end_to_J_end = max_allowed_VJ_distance_with_D + max_J_length
static

Definition at line 61 of file igblast.cpp.

Referenced by CIgBlast::x_SetupDJSearch(), and CIgBlast::x_SetupNoOverlapDSearch().

◆ max_allowed_VD_distance

int max_allowed_VD_distance = 120
static

Definition at line 56 of file igblast.cpp.

Referenced by CIgBlast::x_FindDJAln(), and CIgBlast::x_ProcessDGeneResult().

◆ max_allowed_VJ_distance_with_D

int max_allowed_VJ_distance_with_D = 225
static

Definition at line 54 of file igblast.cpp.

Referenced by CIgBlast::x_FindDJAln().

◆ max_allowed_VJ_distance_without_D

int max_allowed_VJ_distance_without_D = 50
static

Definition at line 55 of file igblast.cpp.

Referenced by CIgBlast::x_FindDJAln().

◆ max_J_length

int max_J_length = 70
static

Definition at line 60 of file igblast.cpp.

◆ max_v_j_overlap

int max_v_j_overlap = 7
static

Definition at line 62 of file igblast.cpp.

Referenced by CIgBlast::x_SetupDJSearch().

◆ mi_pDiagnostics

BlastDiagnostics* CBl2Seq::mi_pDiagnostics
private

Return search statistics data.

Definition at line 202 of file bl2seq.hpp.

Referenced by CBl2Seq::GetDiagnostics(), CBl2Seq::RunEx(), CBl2Seq::x_Init(), and CBl2Seq::x_ResetInternalDs().

◆ min_J_position_diff

int ScorePositionSort::min_J_position_diff = 100
private

Definition at line 425 of file igblast.hpp.

Referenced by ScorePositionSort::s_CompareSeqAlignByScoreAndPosition().

◆ mtx_

CFastMutex CIndexedDb_New::mtx_
private

mutex used for thread sync

Definition at line 471 of file blast_dbindex.cpp.

Referenced by CIndexedDb_New::EndSearchIndication(), and CIndexedDb_New::UpdateIndex().

◆ multiple_threads_

bool CIndexedDb_New::multiple_threads_
private

flag indicating that multithreading is in effect

Definition at line 474 of file blast_dbindex.cpp.

Referenced by CIndexedDb_New::SetMultipleThreads().

◆ n_oids

SIZE_TYPE CIndexedDb_New::SVolumeDescriptor::n_oids

Number of sequences in the volume.

Definition at line 345 of file blast_dbindex.cpp.

Referenced by CIndexedDb_New::GetNextUnusedOID(), and CIndexedDb_New::UpdateIndex().

◆ n_threads_

size_t CIndexedDb_New::n_threads_
private

number of search threads running

Definition at line 476 of file blast_dbindex.cpp.

Referenced by CIndexedDb_New::SetMultipleThreads(), CIndexedDb_New::SetNumThreads(), and CIndexedDb_New::UpdateIndex().

◆ name

std::string CIndexedDb_New::SVolumeDescriptor::name

Fully qualified name of the volume.

Definition at line 346 of file blast_dbindex.cpp.

◆ NCBI4NA_TO_BLASTNA

const Uint1 NCBI4NA_TO_BLASTNA[]
extern

Translates between ncbi4na and blastna.

The first four elements of this array match ncbi2na.

Definition at line 37 of file blast_encoding.c.

Referenced by BLAST_PackDNA(), GetSequenceSingleNucleotideStrand(), s_GetSeq4na(), s_GetSeq4naChunkSeq(), s_GetSeq4naChunkSeq_PartialFetching(), and CSequenceDataTester::x_CompareSequenceData().

◆ NCBI4NA_TO_IUPACNA

const char NCBI4NA_TO_IUPACNA[]
extern

Translates between ncbi4na and iupacna.

Definition at line 80 of file blast_encoding.c.

Referenced by VDBSRC_Convert4naToString().

◆ NCBISTDAA_TO_AMINOACID

const char NCBISTDAA_TO_AMINOACID[]
extern

◆ program [1/2]

EBlastProgramType SMultiSeqSrcNewArgs::program

BLAST program.

Definition at line 464 of file seqsrc_multiseq.cpp.

Referenced by s_MultiSeqSrcNew().

◆ program [2/2]

EBlastProgramType SQueryFactorySrcNewArgs::program

BLAST program.

Definition at line 442 of file seqsrc_query_factory.cpp.

Referenced by s_QueryFactorySrcNew().

◆ queries_

BLAST_SequenceBlk* CIndexedDb_New::queries_
private

query data (from BLAST)

Definition at line 472 of file blast_dbindex.cpp.

Referenced by CIndexedDb_New::DoPreSearch(), and CIndexedDb_New::UpdateIndex().

◆ query_factory

CRef<IQueryFactory> SQueryFactorySrcNewArgs::query_factory

The query factory.

Definition at line 440 of file seqsrc_query_factory.cpp.

Referenced by s_QueryFactorySrcNew().

◆ ref_count

int CIndexedDb_New::SVolResults::ref_count

How many threads still need the result set.

Definition at line 384 of file blast_dbindex.cpp.

Referenced by CIndexedDb_New::UpdateIndex().

◆ reliable_J_match_factor

double ScorePositionSort::reliable_J_match_factor = 0.5
private

Definition at line 426 of file igblast.hpp.

Referenced by ScorePositionSort::s_CompareSeqAlignByScoreAndPosition().

◆ res

TVolResults CIndexedDb_New::SVolResults::res

Seed set or null.

Definition at line 383 of file blast_dbindex.cpp.

Referenced by CIndexedDb_New::UpdateIndex().

◆ results_

TResultSet CIndexedDb_Old::results_
private

Set of result sets, one per loaded index.

Definition at line 235 of file blast_dbindex.cpp.

Referenced by CIndexedDb_Old::CheckOid(), CIndexedDb_Old::GetResults(), and CIndexedDb_Old::PreSearch().

◆ results_holder_

TResultsHolder CIndexedDb_New::results_holder_
private

◆ RunSearchFn

DbIndexRunSearchFnType RunSearchFn = &NullRunSearch
static

Global pointer to the appropriate callback to run indexed search, based on whether or not index search is enabled.

Definition at line 133 of file blast_dbindex.cpp.

Referenced by ClearDbIndexCallbacks(), GetDbIndexRunSearchFn(), and SetUpDbIndexCallbacks().

◆ seq_ranges

CSeqDB::TSequenceRanges SSeqDB_SeqSrc_Data::seq_ranges

Ranges of the sequence to include (for masking).

Definition at line 102 of file seqsrc_seqdb.cpp.

◆ seq_vector

TSeqLocVector SMultiSeqSrcNewArgs::seq_vector

Vector of sequences.

Definition at line 463 of file seqsrc_multiseq.cpp.

Referenced by s_MultiSeqSrcNew().

◆ seqdb

CRef<CSeqDBExpert> SSeqDB_SeqSrc_Data::seqdb

◆ seqmap_

TSeqMap CIndexedDb_Old::seqmap_
private

For each element of indices_ with index i seqmap_[i] contains one plus the last oid of that database index.

Definition at line 236 of file blast_dbindex.cpp.

Referenced by CIndexedDb_Old::CheckOid(), CIndexedDb_Old::GetResults(), CIndexedDb_Old::LocateIndex(), and CIndexedDb_Old::PreSearch().

◆ SetNumThreadsFn

DbIndexSetNumThreadsFnType SetNumThreadsFn = &NullSetNumThreads
static

Global pointer to the appropriate callback to set the number of threads.

Definition at line 123 of file blast_dbindex.cpp.

Referenced by ClearDbIndexCallbacks(), GetDbIndexSetNumThreadsFn(), and SetUpDbIndexCallbacks().

◆ SetQueryInfoFn

DbIndexSetQueryInfoFnType SetQueryInfoFn = &NullSetQueryInfo
static

Global pointer to the appropriate callback to set query info, based on whether or not index search is enabled.

Definition at line 128 of file blast_dbindex.cpp.

Referenced by ClearDbIndexCallbacks(), GetDbIndexSetQueryInfoFn(), and SetUpDbIndexCallbacks().

◆ SetUsingThreadsFn

Global pointer to the appropriate callback to set the state of concurrency.

Definition at line 120 of file blast_dbindex.cpp.

Referenced by ClearDbIndexCallbacks(), GetDbIndexSetUsingThreadsFn(), and SetUpDbIndexCallbacks().

◆ sopt_

CDbIndex::SSearchOptions CIndexedDb_New::sopt_
private

common search parameters

Definition at line 473 of file blast_dbindex.cpp.

Referenced by CIndexedDb_New::DoPreSearch(), and CIndexedDb_New::UpdateIndex().

◆ start_oid

SIZE_TYPE CIndexedDb_New::SVolumeDescriptor::start_oid

OId of the first sequence of the volume.

Definition at line 344 of file blast_dbindex.cpp.

Referenced by CIndexedDb_New::GetNextUnusedOID(), and CIndexedDb_New::UpdateIndex().

◆ subj_seqs

TSeqLocVector SQueryFactorySrcNewArgs::subj_seqs

The subject sequences.

Definition at line 441 of file seqsrc_query_factory.cpp.

Referenced by s_QueryFactorySrcNew().

◆ USING_NCBI_SCOPE [1/2]

USING_NCBI_SCOPE

Definition at line 47 of file seqsrc_seqdb.cpp.

◆ USING_NCBI_SCOPE [2/2]

USING_NCBI_SCOPE

Definition at line 46 of file blast_input_unit_test_aux.hpp.

◆ valid

bool CImportStrategyData::valid

Has the struct been properly filled in?

Definition at line 63 of file search_strategy.hpp.

◆ volumes_

TVolList CIndexedDb_New::volumes_
private

Friends

◆ ::CBlastFilterTest [1/2]

friend class ::CBlastFilterTest
friend

Definition at line 218 of file bl2seq.hpp.

◆ ::CBlastFilterTest [2/2]

friend class ::CBlastFilterTest
friend

Definition at line 150 of file local_blast.hpp.

◆ ::CPssmCddInputTest

friend class ::CPssmCddInputTest
friend

Definition at line 494 of file cdd_pssm_input.hpp.

◆ ::CPssmCreateTestFixture [1/2]

friend class ::CPssmCreateTestFixture
friend

unit test class

Definition at line 310 of file psi_pssm_input.hpp.

◆ ::CPssmCreateTestFixture [2/2]

friend class ::CPssmCreateTestFixture
friend

unit test class

Definition at line 247 of file pssm_engine.hpp.

◆ ::CSplitQueryTestFixture

friend class ::CSplitQueryTestFixture
friend

Declare unit test class as a friend.

Definition at line 153 of file split_query.hpp.

◆ CBl2Seq

friend class CBl2Seq
friend

Definition at line 151 of file local_blast.hpp.

◆ CBlastOptions [1/2]

friend class CBlastOptions
friend

Definition at line 79 of file blast_memento_priv.hpp.

◆ CBlastOptions [2/2]

friend class CBlastOptions
friend

Definition at line 406 of file blast_options_local_priv.hpp.

◆ CBlastOptionsMemento

friend class CBlastOptionsMemento
friend

Friend class which allows extraction of this class' data members for internal use in the C++ API APIs.

Definition at line 410 of file blast_options_local_priv.hpp.

◆ CBlastPrelimSearch

friend class CBlastPrelimSearch
friend

Definition at line 84 of file blast_memento_priv.hpp.

◆ CBlastTracebackSearch [1/2]

friend class CBlastTracebackSearch
friend

Friend declaration so that this class can access the CSeqDB object to enable partial subject sequence fetching.

Definition at line 125 of file seqinfosrc_seqdb.hpp.

◆ CBlastTracebackSearch [2/2]

friend class CBlastTracebackSearch
friend

Definition at line 85 of file blast_memento_priv.hpp.

◆ CEffectiveSearchSpaceCalculator

friend class CEffectiveSearchSpaceCalculator
friend

Definition at line 87 of file blast_memento_priv.hpp.

◆ CEffectiveSearchSpacesMemento

friend class CEffectiveSearchSpacesMemento
friend

Definition at line 411 of file blast_options_local_priv.hpp.

◆ CFilteringMemento

friend class CFilteringMemento
friend

Definition at line 86 of file blast_memento_priv.hpp.

◆ CPrelimSearchRunner

friend class CPrelimSearchRunner
friend

Definition at line 83 of file blast_memento_priv.hpp.

◆ CSetupFactory

friend class CSetupFactory
friend

Definition at line 82 of file blast_memento_priv.hpp.

◆ operator<

bool operator< ( const SVolumeDescriptor a,
const SVolumeDescriptor b 
)
friend

Volumes are compared by their starting ordinal ids.

Definition at line 350 of file blast_dbindex.cpp.

◆ operator<< [1/4]

ostream& operator<< ( ostream &  out,
const CContextTranslator rhs 
)
friend

Print this object so that its contents can be directly used to update split_query.ini (for unit testing)

Parameters
outstream to print this object [in|out]
rhsobject to print [in]

Definition at line 286 of file split_query_aux_priv.cpp.

◆ operator<< [2/4]

ostream& operator<< ( ostream &  out,
const CQuerySplitter rhs 
)
friend

Print this object so that its contents can be directly used to update split_query.ini (for unit testing)

Parameters
outstream to print this object [in|out]
rhsobject to print [in]

Definition at line 65 of file split_query_cxx.cpp.

◆ operator<< [3/4]

ostream& operator<< ( ostream &  out,
const CSplitQueryBlk rhs 
)
friend

Print this object so that its contents can be directly used to update split_query.ini (for unit testing)

Parameters
outstream to print this object [in|out]
rhsobject to print [in]

Definition at line 219 of file split_query_blk.cpp.

◆ operator<< [4/4]

std::ostream& operator<< ( std::ostream &  os,
const SVolumeDescriptor vd 
)
friend

This is only used for debug tracing.

Print out information about the volume.

Definition at line 359 of file blast_dbindex.cpp.

Modified on Fri Sep 20 14:57:34 2024 by modify_doxy.py rev. 669887