-
Notifications
You must be signed in to change notification settings - Fork 0
/
vdjml.thrift
244 lines (225 loc) · 4.5 KB
/
vdjml.thrift
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
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
namespace * vdjserver
enum Aminoacid
{
Aminoacid__,
Aminoacid_A,
Aminoacid_Ala,
Aminoacid_Arg,
Aminoacid_Asn,
Aminoacid_Asp,
Aminoacid_C,
Aminoacid_Cys,
Aminoacid_D,
Aminoacid_E,
Aminoacid_F,
Aminoacid_G,
Aminoacid_Gln,
Aminoacid_Glu,
Aminoacid_Gly,
Aminoacid_H,
Aminoacid_His,
Aminoacid_I,
Aminoacid_Ile,
Aminoacid_K,
Aminoacid_L,
Aminoacid_Leu,
Aminoacid_Lys,
Aminoacid_M,
Aminoacid_Met,
Aminoacid_N,
Aminoacid_P,
Aminoacid_Phe,
Aminoacid_Pro,
Aminoacid_Q,
Aminoacid_R,
Aminoacid_S,
Aminoacid_Ser,
Aminoacid_Stop,
Aminoacid_T,
Aminoacid_Thr,
Aminoacid_Trp,
Aminoacid_Tyr,
Aminoacid_V,
Aminoacid_Val,
Aminoacid_W,
Aminoacid_X,
Aminoacid_Y,
Aminoacid_a,
Aminoacid_c,
Aminoacid_d,
Aminoacid_e,
Aminoacid_f,
Aminoacid_g,
Aminoacid_h,
Aminoacid_i,
Aminoacid_k,
Aminoacid_l,
Aminoacid_m,
Aminoacid_n,
Aminoacid_p,
Aminoacid_q,
Aminoacid_r,
Aminoacid_s,
Aminoacid_t,
Aminoacid_v,
Aminoacid_w,
Aminoacid_x,
Aminoacid_y,
}
enum Nucleotide_ambiguous
{
Nucleotide_ambiguous_B,
Nucleotide_ambiguous_D,
Nucleotide_ambiguous_H,
Nucleotide_ambiguous_K,
Nucleotide_ambiguous_M,
Nucleotide_ambiguous_N,
Nucleotide_ambiguous_R,
Nucleotide_ambiguous_S,
Nucleotide_ambiguous_V,
Nucleotide_ambiguous_W,
Nucleotide_ambiguous_Y,
Nucleotide_ambiguous_b,
Nucleotide_ambiguous_d,
Nucleotide_ambiguous_h,
Nucleotide_ambiguous_k,
Nucleotide_ambiguous_m,
Nucleotide_ambiguous_n,
Nucleotide_ambiguous_r,
Nucleotide_ambiguous_s,
Nucleotide_ambiguous_v,
Nucleotide_ambiguous_w,
Nucleotide_ambiguous_y,
}
enum Nucleotide_defined
{
Nucleotide_defined_A,
Nucleotide_defined_C,
Nucleotide_defined_G,
Nucleotide_defined_T,
Nucleotide_defined_U,
Nucleotide_defined_a,
Nucleotide_defined_c,
Nucleotide_defined_g,
Nucleotide_defined_t,
Nucleotide_defined_u,
}
enum Segment_type
{
Segment_type_D,
Segment_type_J,
Segment_type_V,
}
struct UnspecifiedType
{
1 : required string baseObjectType,
2 : required binary object,
}
struct aa_substitutionType
{
1 : required Aminoacid gl_aa,
2 : required Aminoacid read_aa,
3 : required i64 read_pos0,
}
struct alignerType
{
1 : required i64 aligner_id,
2 : required string name,
3 : optional string parameters,
4 : optional i64 run_id,
5 : optional UnspecifiedType uri,
6 : optional string version,
}
struct generatorType
{
1 : required string name,
2 : required i64 time_gmt,
3 : required string version,
}
struct germline_dbType
{
1 : required i64 gl_db_id,
2 : required string name,
3 : required string species,
4 : optional UnspecifiedType uri,
5 : required string version,
}
struct gl_seg_matchType
{
1 : required i64 aligner_id,
2 : required i64 gl_db_id,
3 : required i64 gl_pos0,
4 : required i64 gl_seg_match_id,
5 : required string name,
6 : required string num_system,
7 : required Segment_type type,
}
struct metaType
{
1 : optional alignerType aligner,
2 : required generatorType generator,
3 : optional germline_dbType germline_db,
}
struct regionType
{
1 : required i64 aligner_id,
2 : optional i64 deletions,
3 : optional string identity,
4 : optional i64 insertions,
5 : optional bool inverted,
6 : optional bool mutated_invariant,
7 : required string name,
8 : optional string num_system,
9 : optional bool out_frame_indel,
10 : optional bool out_frame_vdj,
11 : required i64 read_len,
12 : required i64 read_pos0,
13 : optional i64 score,
14 : optional bool stop_codon,
15 : optional i64 substitutions,
}
struct segment_matchType
{
1 : optional list<aa_substitutionType> aa_substitution,
2 : required string btop,
3 : optional i64 deletions,
4 : required i64 gl_len,
5 : required list<gl_seg_matchType> gl_seg_match,
6 : optional string identity,
7 : optional i64 insertions,
8 : optional bool inverted,
9 : optional bool mutated_invariant,
10 : optional bool out_frame_indel,
11 : optional bool out_frame_vdj,
12 : required i64 read_len,
13 : required i64 read_pos0,
14 : optional i64 score,
15 : required i64 segment_match_id,
16 : optional bool stop_codon,
17 : optional i64 substitutions,
}
struct combinationType
{
1 : optional list<regionType> region,
2 : required list<i64> segments,
}
struct vdj_alignmentType
{
1 : required list<combinationType> combination,
2 : required list<segment_matchType> segment_match,
}
struct readType
{
1 : required string read_id,
2 : optional vdj_alignmentType vdj_alignment,
}
struct read_resultsType
{
1 : required readType read,
}
struct vdjmlType
{
1 : required metaType meta,
2 : required read_resultsType read_results,
3 : required double version,
}