File: scoremat.h

package info (click to toggle)
ncbi-tools6 6.1.20120620-8
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 241,628 kB
  • ctags: 101,236
  • sloc: ansic: 1,431,713; cpp: 6,248; pascal: 3,949; xml: 3,390; sh: 3,090; perl: 1,077; csh: 488; makefile: 449; ruby: 93; lisp: 81
file content (200 lines) | stat: -rw-r--r-- 9,176 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
/***********************************************************************
*
**
*        Automatic header module from ASNTOOL
*
************************************************************************/

#ifndef _ASNTOOL_
#include <asn.h>
#endif

static char * asnfilename = "scoremat.h";
static AsnValxNode avnx[14] = {
    {2,NULL,1,0.0,NULL } ,
    {2,NULL,0,0.0,NULL } ,
    {3,NULL,1,0.0,NULL } ,
    {20,"unassigned" ,0,0.0,&avnx[4] } ,
    {20,"threshold" ,1,0.0,&avnx[5] } ,
    {20,"minscore" ,2,0.0,&avnx[6] } ,
    {20,"maxscore" ,3,0.0,&avnx[7] } ,
    {20,"meanscore" ,4,0.0,&avnx[8] } ,
    {20,"variance" ,5,0.0,&avnx[9] } ,
    {20,"name" ,10,0.0,&avnx[10] } ,
    {20,"is-optional" ,20,0.0,&avnx[11] } ,
    {20,"other" ,255,0.0,NULL } ,
    {3,NULL,0,0.0,NULL } ,
    {3,NULL,100000,0.0,NULL } };

static AsnType atx[77] = {
  {401, "Pssm" ,1,0,0,0,0,1,0,0,NULL,&atx[34],&atx[1],0,&atx[16]} ,
  {0, "isProtein" ,128,0,0,0,1,0,0,0,&avnx[0],&atx[2],NULL,0,&atx[3]} ,
  {301, "BOOLEAN" ,0,1,0,0,0,0,0,0,NULL,NULL,NULL,0,NULL} ,
  {0, "identifier" ,128,1,0,1,0,0,0,0,NULL,&atx[4],NULL,0,&atx[5]} ,
  {406, "Object-id" ,1,0,0,0,0,0,1,0,NULL,NULL,NULL,0,&atx[14]} ,
  {0, "numRows" ,128,2,0,0,0,0,0,0,NULL,&atx[6],NULL,0,&atx[7]} ,
  {302, "INTEGER" ,0,2,0,0,0,0,0,0,NULL,NULL,NULL,0,NULL} ,
  {0, "numColumns" ,128,3,0,0,0,0,0,0,NULL,&atx[6],NULL,0,&atx[8]} ,
  {0, "rowLabels" ,128,4,0,1,0,0,0,0,NULL,&atx[11],&atx[9],0,&atx[12]} ,
  {0, NULL,1,-1,0,0,0,0,0,0,NULL,&atx[10],NULL,0,NULL} ,
  {323, "VisibleString" ,0,26,0,0,0,0,0,0,NULL,NULL,NULL,0,NULL} ,
  {312, "SEQUENCE OF" ,0,16,0,0,0,0,0,0,NULL,NULL,NULL,0,NULL} ,
  {0, "byRow" ,128,5,0,0,1,0,0,0,&avnx[1],&atx[2],NULL,0,&atx[13]} ,
  {0, "query" ,128,6,0,1,0,0,0,0,NULL,&atx[14],NULL,0,&atx[15]} ,
  {407, "Seq-entry" ,1,0,0,0,0,0,1,0,NULL,NULL,NULL,0,&atx[65]} ,
  {0, "intermediateData" ,128,7,0,1,0,0,0,0,NULL,&atx[16],NULL,0,&atx[35]} ,
  {402, "PssmIntermediateData" ,1,0,0,0,0,1,0,0,NULL,&atx[34],&atx[17],0,&atx[36]} ,
  {0, "resFreqsPerPos" ,128,0,0,1,0,0,0,0,NULL,&atx[11],&atx[18],0,&atx[19]} ,
  {0, NULL,1,-1,0,0,0,0,0,0,NULL,&atx[6],NULL,0,NULL} ,
  {0, "weightedResFreqsPerPos" ,128,1,0,1,0,0,0,0,NULL,&atx[11],&atx[20],0,&atx[22]} ,
  {0, NULL,1,-1,0,0,0,0,0,0,NULL,&atx[21],NULL,0,NULL} ,
  {309, "REAL" ,0,9,0,0,0,0,0,0,NULL,NULL,NULL,0,NULL} ,
  {0, "freqRatios" ,128,2,0,0,0,0,0,0,NULL,&atx[11],&atx[23],0,&atx[24]} ,
  {0, NULL,1,-1,0,0,0,0,0,0,NULL,&atx[21],NULL,0,NULL} ,
  {0, "informationContent" ,128,3,0,1,0,0,0,0,NULL,&atx[11],&atx[25],0,&atx[26]} ,
  {0, NULL,1,-1,0,0,0,0,0,0,NULL,&atx[21],NULL,0,NULL} ,
  {0, "gaplessColumnWeights" ,128,4,0,1,0,0,0,0,NULL,&atx[11],&atx[27],0,&atx[28]} ,
  {0, NULL,1,-1,0,0,0,0,0,0,NULL,&atx[21],NULL,0,NULL} ,
  {0, "sigma" ,128,5,0,1,0,0,0,0,NULL,&atx[11],&atx[29],0,&atx[30]} ,
  {0, NULL,1,-1,0,0,0,0,0,0,NULL,&atx[21],NULL,0,NULL} ,
  {0, "intervalSizes" ,128,6,0,1,0,0,0,0,NULL,&atx[11],&atx[31],0,&atx[32]} ,
  {0, NULL,1,-1,0,0,0,0,0,0,NULL,&atx[6],NULL,0,NULL} ,
  {0, "numMatchingSeqs" ,128,7,0,1,0,0,0,0,NULL,&atx[11],&atx[33],0,NULL} ,
  {0, NULL,1,-1,0,0,0,0,0,0,NULL,&atx[6],NULL,0,NULL} ,
  {311, "SEQUENCE" ,0,16,0,0,0,0,0,0,NULL,NULL,NULL,0,NULL} ,
  {0, "finalData" ,128,8,0,1,0,0,0,0,NULL,&atx[36],NULL,0,NULL} ,
  {403, "PssmFinalData" ,1,0,0,0,0,1,0,0,NULL,&atx[34],&atx[37],0,&atx[46]} ,
  {0, "scores" ,128,0,0,0,0,0,0,0,NULL,&atx[11],&atx[38],0,&atx[39]} ,
  {0, NULL,1,-1,0,0,0,0,0,0,NULL,&atx[6],NULL,0,NULL} ,
  {0, "lambda" ,128,1,0,0,0,0,0,0,NULL,&atx[21],NULL,0,&atx[40]} ,
  {0, "kappa" ,128,2,0,0,0,0,0,0,NULL,&atx[21],NULL,0,&atx[41]} ,
  {0, "h" ,128,3,0,0,0,0,0,0,NULL,&atx[21],NULL,0,&atx[42]} ,
  {0, "scalingFactor" ,128,4,0,0,1,0,0,0,&avnx[2],&atx[6],NULL,0,&atx[43]} ,
  {0, "lambdaUngapped" ,128,5,0,1,0,0,0,0,NULL,&atx[21],NULL,0,&atx[44]} ,
  {0, "kappaUngapped" ,128,6,0,1,0,0,0,0,NULL,&atx[21],NULL,0,&atx[45]} ,
  {0, "hUngapped" ,128,7,0,1,0,0,0,0,NULL,&atx[21],NULL,0,NULL} ,
  {404, "PssmParameters" ,1,0,0,0,0,1,0,0,NULL,&atx[34],&atx[47],0,&atx[74]} ,
  {0, "pseudocount" ,128,0,0,1,0,0,0,0,NULL,&atx[6],NULL,0,&atx[48]} ,
  {0, "rpsdbparams" ,128,1,0,1,0,0,0,0,NULL,&atx[49],NULL,0,&atx[53]} ,
  {412, "FormatRpsDbParameters" ,1,0,0,0,0,0,0,0,NULL,&atx[34],&atx[50],0,NULL} ,
  {0, "matrixName" ,128,0,0,0,0,0,0,0,NULL,&atx[10],NULL,0,&atx[51]} ,
  {0, "gapOpen" ,128,1,0,1,0,0,0,0,NULL,&atx[6],NULL,0,&atx[52]} ,
  {0, "gapExtend" ,128,2,0,1,0,0,0,0,NULL,&atx[6],NULL,0,NULL} ,
  {0, "constraints" ,128,2,0,1,0,0,0,0,NULL,&atx[54],NULL,0,NULL} ,
  {411, "CoreDef" ,1,0,0,0,0,0,0,0,NULL,&atx[34],&atx[55],0,&atx[49]} ,
  {0, "nblocks" ,128,0,0,0,0,0,0,0,NULL,&atx[6],NULL,0,&atx[56]} ,
  {0, "blocks" ,128,1,0,0,0,0,0,0,NULL,&atx[11],&atx[57],0,&atx[69]} ,
  {0, NULL,1,-1,0,0,0,0,0,0,NULL,&atx[58],NULL,0,NULL} ,
  {409, "CoreBlock" ,1,0,0,0,0,0,0,0,NULL,&atx[34],&atx[59],0,&atx[71]} ,
  {0, "start" ,128,0,0,0,0,0,0,0,NULL,&atx[6],NULL,0,&atx[60]} ,
  {0, "stop" ,128,1,0,0,0,0,0,0,NULL,&atx[6],NULL,0,&atx[61]} ,
  {0, "minstart" ,128,2,0,1,0,0,0,0,NULL,&atx[6],NULL,0,&atx[62]} ,
  {0, "maxstop" ,128,3,0,1,0,0,0,0,NULL,&atx[6],NULL,0,&atx[63]} ,
  {0, "property" ,128,4,0,1,0,0,0,0,NULL,&atx[11],&atx[64],0,NULL} ,
  {0, NULL,1,-1,0,0,0,0,0,0,NULL,&atx[65],NULL,0,NULL} ,
  {408, "BlockProperty" ,1,0,0,0,0,0,0,0,NULL,&atx[34],&atx[66],0,&atx[58]} ,
  {0, "type" ,128,0,0,0,0,0,0,0,NULL,&atx[6],&avnx[3],0,&atx[67]} ,
  {0, "intvalue" ,128,1,0,1,0,0,0,0,NULL,&atx[6],NULL,0,&atx[68]} ,
  {0, "textvalue" ,128,2,0,1,0,0,0,0,NULL,&atx[10],NULL,0,NULL} ,
  {0, "loops" ,128,2,0,0,0,0,0,0,NULL,&atx[11],&atx[70],0,NULL} ,
  {0, NULL,1,-1,0,0,0,0,0,0,NULL,&atx[71],NULL,0,NULL} ,
  {410, "LoopConstraint" ,1,0,0,0,0,0,0,0,NULL,&atx[34],&atx[72],0,&atx[54]} ,
  {0, "minlength" ,128,0,0,0,1,0,0,0,&avnx[12],&atx[6],NULL,0,&atx[73]} ,
  {0, "maxlength" ,128,1,0,0,1,0,0,0,&avnx[13],&atx[6],NULL,0,NULL} ,
  {405, "PssmWithParameters" ,1,0,0,0,0,1,0,0,NULL,&atx[34],&atx[75],0,&atx[4]} ,
  {0, "pssm" ,128,0,0,0,0,0,0,0,NULL,&atx[0],NULL,0,&atx[76]} ,
  {0, "params" ,128,1,0,1,0,0,0,0,NULL,&atx[46],NULL,0,NULL} };

static AsnModule ampx[1] = {
  { "NCBI-ScoreMat" , "scoremat.h",&atx[0],NULL,NULL,0,0} };

static AsnValxNodePtr avn = avnx;
static AsnTypePtr at = atx;
static AsnModulePtr amp = ampx;



/**************************************************
*
*    Defines for Module NCBI-ScoreMat
*
**************************************************/

#define PSSM &at[0]
#define PSSM_isProtein &at[1]
#define PSSM_identifier &at[3]
#define PSSM_numRows &at[5]
#define PSSM_numColumns &at[7]
#define PSSM_rowLabels &at[8]
#define PSSM_rowLabels_E &at[9]
#define PSSM_byRow &at[12]
#define PSSM_query &at[13]
#define PSSM_intermediateData &at[15]
#define PSSM_finalData &at[35]

#define PSSMINTERMEDIATEDATA &at[16]
#define PSSMINTERMEDIATEDATA_resFreqsPerPos &at[17]
#define PSSMINTERMEDIATEDATA_resFreqsPerPos_E &at[18]
#define PSSMINTERMEDIATEDATA_weightedResFreqsPerPos &at[19]
#define PSSMINTERMEDIATEDATA_weightedResFreqsPerPos_E &at[20]
#define PSSMINTERMEDIATEDATA_freqRatios &at[22]
#define PSSMINTERMEDIATEDATA_freqRatios_E &at[23]
#define PSSMINTERMEDIATEDATA_informationContent &at[24]
#define PSSMINTERMEDIATEDATA_informationContent_E &at[25]
#define PSSMINTERMEDIATEDATA_gaplessColumnWeights &at[26]
#define PSSMINTERMEDIATEDATA_gaplessColumnWeights_E &at[27]
#define PSSMINTERMEDIATEDATA_sigma &at[28]
#define PSSMINTERMEDIATEDATA_sigma_E &at[29]
#define PSSMINTERMEDIATEDATA_intervalSizes &at[30]
#define PSSMINTERMEDIATEDATA_intervalSizes_E &at[31]
#define PSSMINTERMEDIATEDATA_numMatchingSeqs &at[32]
#define PSSMINTERMEDIATEDATA_numMatchingSeqs_E &at[33]

#define PSSMFINALDATA &at[36]
#define PSSMFINALDATA_scores &at[37]
#define PSSMFINALDATA_scores_E &at[38]
#define PSSMFINALDATA_lambda &at[39]
#define PSSMFINALDATA_kappa &at[40]
#define PSSMFINALDATA_h &at[41]
#define PSSMFINALDATA_scalingFactor &at[42]
#define PSSMFINALDATA_lambdaUngapped &at[43]
#define PSSMFINALDATA_kappaUngapped &at[44]
#define PSSMFINALDATA_hUngapped &at[45]

#define PSSMPARAMETERS &at[46]
#define PSSMPARAMETERS_pseudocount &at[47]
#define PSSMPARAMETERS_rpsdbparams &at[48]
#define PSSMPARAMETERS_constraints &at[53]

#define PSSMWITHPARAMETERS &at[74]
#define PSSMWITHPARAMETERS_pssm &at[75]
#define PSSMWITHPARAMETERS_params &at[76]

#define BLOCKPROPERTY &at[65]
#define BLOCKPROPERTY_type &at[66]
#define BLOCKPROPERTY_intvalue &at[67]
#define BLOCKPROPERTY_textvalue &at[68]

#define COREBLOCK &at[58]
#define COREBLOCK_start &at[59]
#define COREBLOCK_stop &at[60]
#define COREBLOCK_minstart &at[61]
#define COREBLOCK_maxstop &at[62]
#define COREBLOCK_property &at[63]
#define COREBLOCK_property_E &at[64]

#define LOOPCONSTRAINT &at[71]
#define LOOPCONSTRAINT_minlength &at[72]
#define LOOPCONSTRAINT_maxlength &at[73]

#define COREDEF &at[54]
#define COREDEF_nblocks &at[55]
#define COREDEF_blocks &at[56]
#define COREDEF_blocks_E &at[57]
#define COREDEF_loops &at[69]
#define COREDEF_loops_E &at[70]

#define FORMATRPSDBPARAMETERS &at[49]
#define FORMATRPSDBPARAMETERS_matrixName &at[50]
#define FORMATRPSDBPARAMETERS_gapOpen &at[51]
#define FORMATRPSDBPARAMETERS_gapExtend &at[52]