NCBI C++ ToolKit
|
#include <ncbi_pch.hpp>
#include <gui/objutils/na_utils.hpp>
#include <gui/objutils/utils.hpp>
#include <objmgr/scope.hpp>
#include <objmgr/object_manager.hpp>
#include <objmgr/align_ci.hpp>
#include <objmgr/annot_ci.hpp>
#include <objmgr/util/sequence.hpp>
#include <objects/seqtable/Seq_table.hpp>
#include <objects/seqtable/SeqTable_column.hpp>
#include <objects/seqtable/SeqTable_column_info.hpp>
#include <objects/seq/Annot_descr.hpp>
#include <objects/seq/Annotdesc.hpp>
#include <gui/objutils/gui_eutils_client.hpp>
#include <misc/xmlwrapp/xmlwrapp.hpp>
Go to the source code of this file.
Go to the SVN repository for this file.
Classes | |
class | CNADocSumIterator |
help class for iterating through the NA DocSum one by one. More... | |
Macros | |
#define | USE_GI_CACHING |
Enumerations | |
enum | EAlignType { fAlign_DNA = 0x01 , fAlign_Protein = 0x02 , fAlign_Mixed = 0x04 , fAlign_Invalid = 0x80000000 } |
Functions | |
USING_SCOPE (objects) | |
DEFINE_CLASS_STATIC_FAST_MUTEX (CNAUtils::sm_NAAtoUidCacheMutex) | |
DEFINE_CLASS_STATIC_FAST_MUTEX (CNAUtils::sm_UidtoMetaDataCacheMutex) | |
DEFINE_CLASS_STATIC_FAST_MUTEX (CNAUtils::sm_UidtoGiCacheMutex) | |
static string | s_GetFeatSubtypeStr (int subtype) |
static bool | s_MatchHeaders (const char **header_names, const set< string > &headers) |
static string | s_EEDBToString (CNAUtils::EEntrezDB eedb) |
static string | s_MakeUidtoGiCacheKey (TEntrezId uid, CNAUtils::EEntrezDB eedb) |
Variables | |
static const int | kRetMax = 5000 |
static const char * | kSnpSubtypeStr = "variation_snp" |
const size_t | kChunkSize = 256 |
#define USE_GI_CACHING |
Definition at line 1011 of file na_utils.cpp.
enum EAlignType |
Enumerator | |
---|---|
fAlign_DNA | |
fAlign_Protein | |
fAlign_Mixed | |
fAlign_Invalid |
Definition at line 68 of file na_utils.cpp.
DEFINE_CLASS_STATIC_FAST_MUTEX | ( | CNAUtils::sm_NAAtoUidCacheMutex | ) |
DEFINE_CLASS_STATIC_FAST_MUTEX | ( | CNAUtils::sm_UidtoGiCacheMutex | ) |
DEFINE_CLASS_STATIC_FAST_MUTEX | ( | CNAUtils::sm_UidtoMetaDataCacheMutex | ) |
|
static |
Definition at line 756 of file na_utils.cpp.
References CNAUtils::EEDB_Nucleotide, and CNAUtils::EEDB_Protein.
Referenced by s_MakeUidtoGiCacheKey(), CNAUtils::x_GetAllGIs(), CNAUtils::x_GetAllNAIds(), and CNAUtils::x_GetAllNAIdsWithContext().
Definition at line 142 of file na_utils.cpp.
References CSeqFeatData::eSubtype_variation, CSeqFeatData::GetFeatList(), CFeatList::GetStoragekey(), and kSnpSubtypeStr.
Referenced by CDataTrackUtils::GetFeatSubtypes(), and CNAUtils::GetNATrackInfo().
|
static |
Definition at line 1091 of file na_utils.cpp.
References NStr::NumericToString(), and s_EEDBToString().
Referenced by CNAUtils::x_GetAllGIs().
Definition at line 241 of file na_utils.cpp.
Referenced by CDataTrackUtils::GetSeqTableSubtype().
USING_SCOPE | ( | objects | ) |
const size_t kChunkSize = 256 |
Definition at line 587 of file na_utils.cpp.
Referenced by BOOST_AUTO_TEST_CASE(), CNAUtils::GetAllNAMetaData(), CPileUpGraph::GetNumberOfReads(), CTestProtProd_EntrezNeighbors::RunTest(), sx_AddBits(), CFlatGatherer::x_GatherSequence(), and CSplitQueryTestFixture::x_ValidateChunkBounds().
Definition at line 55 of file na_utils.cpp.
Referenced by CNAUtils::x_GetNAId(), and CNAUtils::x_Init().
|
static |
Definition at line 56 of file na_utils.cpp.
Referenced by CDataTrackUtils::FeatSubtypes2TrackSubtypes(), and s_GetFeatSubtypeStr().