Data Integrator (Python API)
Namespaces | Functions | Variables
Globals.py File Reference

Namespaces

 common.Globals
 Provides global variables used all over the project.
 

Functions

def common.Globals.GetConfig ()
 Get the global configuration object. More...
 

Variables

int common.Globals.PY_VER = 10*sys.version_info[0] + sys.version_info[1];
 This interpreter's version as a two digit number, major and minor release. More...
 
string common.Globals.CSV_SEP = "\t";
 Default separator for tabular-like (ie. More...
 
string common.Globals.CELL_NO_DATA = "--";
 Indicator for empty cell when writing out tables. More...
 
string common.Globals.VCF_NO_DATA = "."
 Default empty cell value of the VCF format, as defined by the 1000 Genomes project. More...
 
string common.Globals.GATK_NO_DATA = "./."
 Empty cell value put by the GATK tools. More...
 
string common.Globals.DEFAULT_DATA_VERSION = "v-00";
 Default section name, also used for requesting default path configuration. More...
 
string common.Globals.ENSEMBL_HSGENE_DB = "hsgene-0";
 Ensembl protein database, used by multiple conversion modules. More...
 
 common.Globals.DI_ROOT = os.path.normpath(os.path.join(_dirNm, "..", "..", ".."));
 Top level directory for the D-integrator project. More...
 
 common.Globals.DI_PY_ROOT = os.path.normpath(os.path.join(DI_ROOT, "src", "python"));
 Directory for python sources. More...
 
 common.Globals.idx = sys.argv.index("--config")
 
string common.Globals.errMsg = "Cannot open configuration file ``{0}''.\n".format(_configFN);
 
 common.Globals.DI_VERSION = _Config.get("DEFAULT", "di.version");
 The Data Integrator software and data version, an overall tag. More...
 
string common.Globals.CFG_HS_GENOME_BUILD_VERSION = "ensembl.hs.genome.build.version";
 Current Ensembl genome build version token for config file. More...
 
string common.Globals.TAXID_HUMAN = "9606"
 
tuple common.Globals.GO_NAMESPACES
 Gene ontology namespace abbreviations, their long names, and as they appear in GO annotation corpora. More...
 
int common.Globals.GO_MF_IDX = 0;
 Index into GO_NAMESPACES for molecular function. More...
 
int common.Globals.GO_BP_IDX = 1;
 Index into GO_NAMESPACES for biological process. More...
 
int common.Globals.GO_CC_IDX = 2;
 Index into GO_NAMESPACES for cellular component. More...
 
int common.Globals.GO_NS2L_IDX = 0;
 Gene ontology two letter abbreviation index into GO_NAMESPACES. More...
 
int common.Globals.GO_NSFULL_IDX = 1;
 Gene ontology full namespace text index into GO_NAMESPACES. More...
 
int common.Globals.GO_NS1L_IDX = 2;
 Gene ontology one letter abbreviation index into GO_NAMESPACES. More...
 
string common.Globals.OP_AND = "AND"
 
string common.Globals.OP_OR = "OR"