NCBI C++ ToolKit
Functions | Variables
snp_gui.cpp File Reference
#include <ncbi_pch.hpp>
#include <corelib/ncbireg.hpp>
#include <corelib/ncbiapp.hpp>
#include <misc/xmlwrapp/xmlwrapp.hpp>
#include <misc/xmlwrapp/event_parser.hpp>
#include <objects/variation/Variation.hpp>
#include <objects/variation/VariantPlacement.hpp>
#include <objects/general/Dbtag.hpp>
#include <objects/general/Object_id.hpp>
#include <objects/general/User_object.hpp>
#include <objects/seqfeat/VariantProperties.hpp>
#include <objects/seqres/Int_graph.hpp>
#include <objects/seqres/Byte_graph.hpp>
#include <objtools/snputil/snp_utils.hpp>
#include <objtools/snputil/snp_bins.hpp>
#include <gui/objutils/snp_gui.hpp>
#include <gui/objutils/utils.hpp>
#include <gui/utils/fetch_url.hpp>
#include <misc/jsonwrapp/jsonwrapp.hpp>
#include <cmath>
#include <sstream>
#include <objects/variation_libs/dbsnp/search_by_rsid/Placement.hpp>
#include <objects/variation_libs/dbsnp/search_by_rsid/SearchByRsIdReply.hpp>
+ Include dependency graph for snp_gui.cpp:

Go to the source code of this file.

Go to the SVN repository for this file.

Functions

 USING_SCOPE (objects)
 
static void s_GetVcfAttribute (const CSeq_feat &ref, const string &attr_name, string &attr_value)
 

Variables

const int kMaxDoublePrecision = 308
 
const int kMaxDoubleStringSize = 308 + 3 + kMaxDoublePrecision
 
static const char * sSearchByVarIdHost = "https://www.ncbi.nlm.nih.gov/projects/variation/viewer/search_by_varid/?format=json&varid="
 

Function Documentation

◆ s_GetVcfAttribute()

static void s_GetVcfAttribute ( const CSeq_feat ref,
const string attr_name,
string attr_value 
)
static

Definition at line 725 of file snp_gui.cpp.

References NStr::Find(), CSeq_feat::FindExt(), CUser_object::GetFieldRef(), info, and NPOS.

Referenced by NSnpGui::GetClinSigValue().

◆ USING_SCOPE()

USING_SCOPE ( objects  )

Variable Documentation

◆ kMaxDoublePrecision

const int kMaxDoublePrecision = 308

Definition at line 362 of file snp_gui.cpp.

◆ kMaxDoubleStringSize

const int kMaxDoubleStringSize = 308 + 3 + kMaxDoublePrecision

Definition at line 363 of file snp_gui.cpp.

Referenced by NSnpGui::PValueToString().

◆ sSearchByVarIdHost

const char* sSearchByVarIdHost = "https://www.ncbi.nlm.nih.gov/projects/variation/viewer/search_by_varid/?format=json&varid="
static

Definition at line 1080 of file snp_gui.cpp.

Referenced by NSNPWebServices::SearchByVarId().

Modified on Wed Sep 04 14:59:46 2024 by modify_doxy.py rev. 669887