39 #ifndef INTERNAL_GPIPE_OBJECTS_GENOMECOLL_GENOMIC_COLLECTIONS_CLI_HPP
40 #define INTERNAL_GPIPE_OBJECTS_GENOMECOLL_GENOMIC_COLLECTIONS_CLI_HPP
66 typedef objects::CGCClient_Error::EError_id
EErrCode;
148 (
const string& sequence_acc,
171 (
const list<string>& sequence_acc,
174 bool with_roles =
false);
195 (
const string& sequence_acc,
198 bool with_roles =
false);
219 (
const list<string>& sequence_acc,
222 bool with_roles =
false);
235 const list<string>& sequence_acc,
User-defined methods of the data storage class.
User-defined methods of the data storage class.
Incapsulate compile time information such as __FILE__, __LINE__, NCBI_MODULE, current function.
CGCClient_AssemblyInfo –.
CGCClient_AssemblySequenceInfo –.
CGCClient_EquivalentAssemblies –.
objects::CGCClient_Error::EError_id EErrCode
const char * GetErrCodeString(void) const override
Get error code interpreted as text.
NCBI_EXCEPTION_DEFAULT(CGCServiceException, CException)
CGCServiceException(const CDiagCompileInfo &diag, const objects::CGCClient_Error &srv_error)
CGenomicCollectionsService_Base –.
CRef< CGCClient_EquivalentAssemblies > GetEquivalentAssemblies(const string &acc, int equivalency)
CGenomicCollectionsService(const string &cache_file="")
CGenomicCollectionsService & operator=(const CGenomicCollectionsService &value)
CGenomicCollectionsService(const CGenomicCollectionsService &value)
unique_ptr< CSQLITE_Connection > m_CacheConn
static void AddArguments(CArgDescriptions &arg_desc)
CRef< CGCClient_AssembliesForSequences > FindAssembliesBySequences(const string &sequence_acc, int filter, CGCClient_GetAssemblyBySequenceRequest::ESort sort=CGCClient_GetAssemblyBySequenceRequest::eSort_default, bool with_roles=false)
Find assemblies by sequence accession.
CRef< CGC_Assembly > GetAssembly(const string &acc, const string &mode)
~CGenomicCollectionsService()
void x_ConfigureConnection()
CRef< CGCClient_AssemblyInfo > FindOneAssemblyBySequences(const string &sequence_acc, int filter, CGCClient_GetAssemblyBySequenceRequest::ESort sort=CGCClient_GetAssemblyBySequenceRequest::eSort_default)
Find assembly by sequence accession.
string ValidateChrType(const string &chrType, const string &chrLoc)
CRef< CGCClient_AssembliesForSequences > x_FindAssembliesBySequences(const list< string > &sequence_acc, int filter, CGCClient_GetAssemblyBySequenceRequest::ESort sort, bool top_only, bool with_roles)
void x_ConfigureCache(const string &cache_file)
Connection to SQLite database.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
constexpr auto sort(_Init &&init)
const GenericPointer< typename T::ValueType > T2 value
static string kAllSequencesWithAlignments()
static string kScaffolds()
static string kAllSequences()
static string kAssemblyOnly()
static string kScaffoldsWithAlignments()
static string kEntrezIndexing()