NCBI C++ ToolKit
Classes | Functions
gc_cli.cpp File Reference
#include <ncbi_pch.hpp>
#include <corelib/ncbiapp.hpp>
#include <corelib/ncbienv.hpp>
#include <corelib/ncbiargs.hpp>
#include <serial/serial.hpp>
#include <serial/objostr.hpp>
#include <objects/genomecoll/genomic_collections_cli.hpp>
#include <objects/genomecoll/GC_Assembly.hpp>
#include <objects/genomecoll/GC_AssemblySet.hpp>
#include <objects/genomecoll/GC_AssemblyUnit.hpp>
#include <objects/genomecoll/GC_AssemblyDesc.hpp>
#include <objects/genomecoll/GCClient_ValidateChrTypeLo.hpp>
#include <objects/genomecoll/GCClient_AssemblyInfo.hpp>
#include <objects/genomecoll/GCClient_AssemblySequenceI.hpp>
#include <objects/genomecoll/GCClient_AssembliesForSequ.hpp>
#include <objects/genomecoll/GCClient_EquivalentAssembl.hpp>
#include <objects/genomecoll/GCClient_GetEquivalentAsse.hpp>
#include <objects/genomecoll/GCClient_GetAssemblyBlobRe.hpp>
#include <objects/general/User_object.hpp>
#include <objects/general/Object_id.hpp>
#include <objects/seq/Seq_descr.hpp>
#include <sstream>
#include <numeric>
+ Include dependency graph for gc_cli.cpp:

Go to the source code of this file.

Go to the SVN repository for this file.

Classes

class  CGencollService
 
class  CDirectCGIExec
 
class  CClientGenomicCollectionsSvcApplication
 

Functions

static CGC_AssemblyDescGetAssebmlyDesc (CRef< CGC_Assembly > &assembly)
 
static bool isVersionsObject (CRef< CSeqdesc > desc)
 
static CRef< CGC_AssemblyRemoveVersions (CRef< CGC_Assembly > assembly)
 
static list< stringGetIDs (const string &ids)
 
static list< stringGetIDsFromFile (CNcbiIstream &istr)
 
static list< stringGetAccessions (const CArgs &args)
 
static list< stringGetReleaseIds (const CArgs &args)
 
int main (int argc, const char *argv[])
 

Function Documentation

◆ GetAccessions()

static list<string> GetAccessions ( const CArgs args)
static

Definition at line 348 of file gc_cli.cpp.

References GetIDs(), and GetIDsFromFile().

Referenced by CClientGenomicCollectionsSvcApplication::RunWithService().

◆ GetAssebmlyDesc()

static CGC_AssemblyDesc* GetAssebmlyDesc ( CRef< CGC_Assembly > &  assembly)
static

◆ GetIDs()

static list<string> GetIDs ( const string ids)
static

Definition at line 318 of file gc_cli.cpp.

References NStr::fSplit_Tokenize, and NStr::Split().

Referenced by GetAccessions(), GetIDsFromFile(), and GetReleaseIds().

◆ GetIDsFromFile()

static list<string> GetIDsFromFile ( CNcbiIstream istr)
static

Definition at line 327 of file gc_cli.cpp.

References GetIDs(), NcbiGetlineEOL(), and NStr::TruncateSpacesInPlace().

Referenced by GetAccessions(), and GetReleaseIds().

◆ GetReleaseIds()

static list<string> GetReleaseIds ( const CArgs args)
static

Definition at line 354 of file gc_cli.cpp.

References GetIDs(), and GetIDsFromFile().

Referenced by CClientGenomicCollectionsSvcApplication::RunWithService().

◆ isVersionsObject()

static bool isVersionsObject ( CRef< CSeqdesc desc)
static

◆ main()

int main ( int  argc,
const char *  argv[] 
)

◆ RemoveVersions()

static CRef<CGC_Assembly> RemoveVersions ( CRef< CGC_Assembly assembly)
static
Modified on Wed Sep 04 15:04:09 2024 by modify_doxy.py rev. 669887