src/gui/widgets/snp/snp_table_col_names.hpp

Go to the documentation of this file.
00001 #ifndef GUI_WIDGETS_SNP___SNP_TABLE_COL_NAMES__HPP
00002 #define GUI_WIDGETS_SNP___SNP_TABLE_COL_NAMES__HPP
00003 
00004 /*  $Id: snp_table_col_names.hpp 16089 2008-02-21 13:04:52Z dicuccio $
00005  * ===========================================================================
00006  *
00007  *                            PUBLIC DOMAIN NOTICE
00008  *               National Center for Biotechnology Information
00009  *
00010  *  This software/database is a "United States Government Work" under the
00011  *  terms of the United States Copyright Act.  It was written as part of
00012  *  the author's official duties as a United States Government employee and
00013  *  thus cannot be copyrighted.  This software/database is freely available
00014  *  to the public for use. The National Library of Medicine and the U.S.
00015  *  Government have not placed any restriction on its use or reproduction.
00016  *
00017  *  Although all reasonable efforts have been taken to ensure the accuracy
00018  *  and reliability of the software and data, the NLM and the U.S.
00019  *  Government do not and cannot warrant the performance or results that
00020  *  may be obtained by using this software or data. The NLM and the U.S.
00021  *  Government disclaim all warranties, express or implied, including
00022  *  warranties of performance, merchantability or fitness for any particular
00023  *  purpose.
00024  *
00025  *  Please cite the author in any work or product based on this material.
00026  *
00027  * ===========================================================================
00028  *
00029  * Authors:  Melvin Quintos
00030  *
00031  * File Description:
00032  *  This file lists the names of the columns used in the SNP Table View.
00033  *  It is only intended to be included by snp_table_ds.cpp
00034  *
00035  */
00036 
00037 enum EUserColNames {
00038     eRsId = 0,
00039     eStudyName,
00040     eStudyValue,
00041     eSequence,
00042     ePosition,
00043     eSnp3d,
00044     eGene,
00045     eWeight,
00046     eGtyAvailable,
00047     eOmim,
00048     eDiseaseInfo,
00049     eVariationClass,
00050     eBitString
00051 };
00052 
00053 static const char * USER_COL_NAMES[] =
00054 {
00055 "RS ID",
00056 "Study Name",
00057 "Study Value",
00058 "Sequence",
00059 "Location",
00060 "Snp3D",
00061 "FXN Class",
00062 "Weight",
00063 "Pop Freq",
00064 "OMIM/OMIA",
00065 "Disease",
00066 "Variation Class",
00067 "Bitfield"
00068 };
00069 
00070 /* Order must match SNP bitfield format version TODO */
00071 static const char * BIT_COL_NAMES[] =
00072 {
00073 // Link
00074 "LinkOut",
00075 //"Snp3D",
00076 "STS",
00077 "Entrez",
00078 "ProbeDB",
00079 "GEO",
00080 "Assembly",
00081 "Trace",
00082 "MgcClone",
00083 "Organism",
00084 
00085 // Gene
00086 /*
00087 "GeneInt",
00088 "Exon",
00089 "CDS",
00090 "Nonsense",
00091 "Missense",
00092 "Frameshift",
00093 */
00094 
00095 // Map
00096 "AsmSpecific",
00097 "AsmConflict",
00098 "OtherSNP",
00099 
00100 // Freq
00101 "5Pct 1+",
00102 "5Pct ALL",
00103 "DoubleHit",
00104 "Mutation",
00105 
00106 // GTY
00107 //"Genotype",  Special case
00108 "Haplotype",
00109 "GenotypeKit",
00110 
00111 // Hapmap
00112 "Phase1 Attempted",
00113 "Phase1 Genotyped",
00114 "Phase2 Attempted",
00115 "Phase2 Genotyped",
00116 "Phase3 Attempted",
00117 "Phase3 Genotyped",
00118 
00119 // Phenotype
00120 "OMIM/OMIA",
00121 "SnpRIF",
00122 "LodScore",
00123 "PhenoDB",
00124 "DiseaseInfo",
00125 "Transcription Factor",
00126 "Clinical Assay",
00127 "MeSH",
00128 
00129 // Quality Check
00130 "GTY Conflict",
00131 "Strain Specific",
00132 "Mendel Error",
00133 "Hardy-WeinberDeviation",
00134 "Member SS Conflict",
00135 "Withdrawn"
00136 };
00137 
00138 static const CSnpBitfield::EProperty BIT_TYPE[] =
00139 {
00140 // F1, Link
00141 CSnpBitfield::eHasLinkOut,
00142 //SNP_BIT(CSnpBitfield::eLink, CSnpBitfield::eHasSnp3D        ),
00143 CSnpBitfield::eHasSTS          ,
00144 CSnpBitfield::eHasEntrez       ,
00145 CSnpBitfield::eHasProbeDB      ,
00146 CSnpBitfield::eHasGEO          ,
00147 CSnpBitfield::eHasAssembly     ,
00148 CSnpBitfield::eHasTrace        ,
00149 CSnpBitfield::eFromMgcClone    ,
00150 CSnpBitfield::eHasOrganism     ,
00151 
00152 // F2, Gene
00153 /*
00154 SNP_BIT(CSnpBitfield::eGene, CSnpBitfield::eInGeneInterval  ),
00155 SNP_BIT(CSnpBitfield::eGene, CSnpBitfield::eInExon          ),
00156 SNP_BIT(CSnpBitfield::eGene, CSnpBitfield::eInCDS           ),
00157 SNP_BIT(CSnpBitfield::eGene, CSnpBitfield::eInNonsense      ),
00158 SNP_BIT(CSnpBitfield::eGene, CSnpBitfield::eInMissense      ),
00159 SNP_BIT(CSnpBitfield::eGene, CSnpBitfield::eIsFrameshift    ),
00160 */
00161 
00162 // F3, Map
00163 CSnpBitfield::eIsAssemblySpecific       ,
00164 CSnpBitfield::eHasAssemblyConflict      ,
00165 CSnpBitfield::eHasOtherSameSNP          ,
00166 
00167 // F4, Freq
00168 CSnpBitfield::e5PctMinorAllele1Plus    ,
00169 CSnpBitfield::e5PctMinorAlleleAll      ,
00170 CSnpBitfield::eIsDoubleHit             ,
00171 CSnpBitfield::eIsMutation              ,
00172 
00173 // F5, GTY
00174 //SNP_BIT(CSnpBitfield::eGty, CSnpBitfield::eHasGenotype              ),
00175 CSnpBitfield::eInHaplotypeSet           ,
00176 CSnpBitfield::eInGenotypeKit            ,
00177 
00178 // F6, Hapmap
00179 CSnpBitfield::ePhase1Attempted       ,
00180 CSnpBitfield::ePhase1Genotyped       ,
00181 CSnpBitfield::ePhase2Attempted       ,
00182 CSnpBitfield::ePhase2Genotyped       ,
00183 CSnpBitfield::ePhase3Attempted       ,
00184 CSnpBitfield::ePhase3Genotyped       ,
00185 
00186 // F7, Phenotype
00187 CSnpBitfield::eHasOMIM_OMIA               ,
00188 CSnpBitfield::eHasSnpRIF                  ,
00189 CSnpBitfield::eHasLodScore                ,
00190 CSnpBitfield::eHasPhenoDB                 ,
00191 CSnpBitfield::eHasDiseaseInfo             ,
00192 CSnpBitfield::eHasTranscriptionFactor     ,
00193 CSnpBitfield::eHasClinicalAssay           ,
00194 CSnpBitfield::eHasMeSH                    ,
00195 
00196 // F9, Quality Check
00197 CSnpBitfield::eHasGenotypeConflict         ,
00198 CSnpBitfield::eIsStrainSpecific            ,
00199 CSnpBitfield::eHasMendelError              ,
00200 CSnpBitfield::eHasHardyWeinbergDeviation   ,
00201 CSnpBitfield::eHasMemberSsConflict         ,
00202 CSnpBitfield::eIsWithdrawn
00203 
00204 };
00205 
00206 static const int NUM_USER_COLUMNS   = sizeof(USER_COL_NAMES)/sizeof(char *);
00207 static const int NUM_BIT_COLUMNS    = sizeof(BIT_COL_NAMES )/sizeof(char *);
00208 static const int NUM_COLUMNS        = NUM_BIT_COLUMNS + NUM_USER_COLUMNS;
00209 
00210 
00211 #endif // GUI_WIDGETS_SNP___SNP_TABLE_COL_NAMES__HPP
00212 
00213 
00214 

Generated on Sun Mar 15 19:33:36 2009 for NCBI C++ ToolKit by  doxygen 1.4.6
Modified on Mon Mar 16 12:50:13 2009 by modify_doxy.py rev. 117643