songs1 commited on
Commit
7792455
·
1 Parent(s): ee15bda

port cohort builder clone to gradio

Browse files
Files changed (7) hide show
  1. .gitignore +3 -0
  2. README.md +1 -1
  3. app.py +367 -0
  4. config.yaml +2272 -0
  5. requirements.txt +5 -0
  6. schema.py +73 -0
  7. style.css +105 -0
.gitignore ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ __pycache__
2
+ dev.*
3
+
README.md CHANGED
@@ -1,6 +1,6 @@
1
  ---
2
  title: GDC Cohort Copilot
3
- emoji: 🏆
4
  colorFrom: green
5
  colorTo: indigo
6
  sdk: gradio
 
1
  ---
2
  title: GDC Cohort Copilot
3
+ emoji: 🧬
4
  colorFrom: green
5
  colorTo: indigo
6
  sdk: gradio
app.py ADDED
@@ -0,0 +1,367 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import json
2
+
3
+ import gradio as gr
4
+ import requests
5
+ import spaces
6
+ import yaml
7
+ from guidance import json as gen_json
8
+ from guidance.models import Transformers
9
+ from schema import GDCCohortSchema
10
+ from transformers import AutoTokenizer, GPT2LMHeadModel, set_seed
11
+
12
+ GDC_CASES_API_ENDPOINT = "https://api.gdc.cancer.gov/cases"
13
+ MODEL_NAME = "/opt/gpudata/gdc-cohort-data/models/gpt2-1m"
14
+ TOKENIZER_NAME = "openai-community/gpt2"
15
+
16
+ with open("config.yaml", "r") as f:
17
+ CONFIG = yaml.safe_load(f)
18
+
19
+ TAB_NAMES = [tab["name"] for tab in CONFIG["tabs"]]
20
+ CARD_NAMES = [card["name"] for tab in CONFIG["tabs"] for card in tab["cards"]]
21
+ CARD_FIELDS = [card["field"] for tab in CONFIG["tabs"] for card in tab["cards"]]
22
+ CARD_2_FIELD = dict(list(zip(CARD_NAMES, CARD_FIELDS)))
23
+ CARD_2_VALUES = {
24
+ card["name"]: card["values"] for tab in CONFIG["tabs"] for card in tab["cards"]
25
+ }
26
+
27
+ tok = AutoTokenizer.from_pretrained(TOKENIZER_NAME)
28
+ model = GPT2LMHeadModel.from_pretrained(MODEL_NAME)
29
+ model = model.to("cuda")
30
+ model = model.eval()
31
+
32
+
33
+ # Generate cohort filter JSON from free text
34
+ @spaces.GPU(duration=15)
35
+ def generate_filter(query):
36
+ set_seed(42)
37
+ lm = Transformers(
38
+ model=model,
39
+ tokenizer=tok,
40
+ # sampling_params=SamplingParams,
41
+ )
42
+ lm += query
43
+ lm += gen_json(
44
+ name="cohort", schema=GDCCohortSchema, temperature=0, max_tokens=1024
45
+ )
46
+ cohort_filter = lm["cohort"]
47
+ cohort_filter = json.dumps(json.loads(cohort_filter), indent=4)
48
+
49
+ # DUMMY FILTER
50
+ # cohort_filter = json.dumps({"op":"and","content":[{"op":"in","content":{"field":"cases.project.project_id","value":["TCGA-BRCA"]}}, {"op":"in","content":{"field":"cases.project.program.name","value":["TCGA"]}}]})
51
+ return cohort_filter
52
+
53
+
54
+ # Transform query to filter to checkbox selections (and update json box)
55
+ def process_query(query):
56
+ # Generate filter
57
+ cohort_filter_str = generate_filter(query)
58
+ cohort_filter = json.loads(cohort_filter_str)
59
+
60
+ # Map filter selections to checkboxes
61
+ generated_field_2_values = {
62
+ op["content"]["field"]: op["content"]["value"]
63
+ for op in cohort_filter["content"]
64
+ }
65
+ card_updates = []
66
+ for card_name, card_field in zip(CARD_NAMES, CARD_FIELDS):
67
+ # Need to update all cards so use all possible cards as ref
68
+ updated_values = []
69
+ updated_choices = CARD_2_VALUES[card_name] # reset value
70
+ possible_values = set(updated_choices)
71
+ if card_field in generated_field_2_values:
72
+ # check ref against generated
73
+ selected_values = generated_field_2_values.pop(card_field)
74
+ unmatched_values = []
75
+ for selected_value in selected_values:
76
+ if selected_value in possible_values:
77
+ updated_values.append(selected_value)
78
+ else:
79
+ # model hallucination?
80
+ unmatched_values.append(selected_value)
81
+ if len(unmatched_values) > 0:
82
+ generated_field_2_values[card_field] = unmatched_values
83
+ card_updates.append(
84
+ gr.update(
85
+ choices=updated_choices,
86
+ value=updated_values, # will override existing selections
87
+ ),
88
+ )
89
+ # TODO generated_field_2_values will have remaining, unmatched fields or values
90
+ return card_updates + [gr.update(value=cohort_filter_str)]
91
+
92
+
93
+ # Update JSON based on checkbox selections
94
+ def update_json_from_checkboxes(*selected_filters_per_card):
95
+ ops = []
96
+ for card_name, selected_filters in zip(CARD_NAMES, selected_filters_per_card):
97
+ if len(selected_filters) > 0:
98
+ base_values = []
99
+ for selected_value in selected_filters:
100
+ base_value = get_base_value(selected_value)
101
+ base_values.append(base_value)
102
+ card_field = CARD_2_FIELD[card_name]
103
+ content = {
104
+ "field": card_field,
105
+ "value": base_values,
106
+ }
107
+ op = {
108
+ "op": "in",
109
+ "content": content,
110
+ }
111
+ ops.append(op)
112
+ cohort_filter = {
113
+ "op": "and",
114
+ "content": ops,
115
+ }
116
+ filter_json = json.dumps(cohort_filter, indent=4)
117
+ return gr.update(value=filter_json)
118
+
119
+
120
+ # Execute GDC API query and prepare checkbox + case counter updates
121
+ # Preserve prior selections
122
+ def get_bin_counts(cohort_filter: str, *selected_filters_per_card):
123
+ card_2_selections = dict(list(zip(CARD_NAMES, selected_filters_per_card)))
124
+
125
+ # Execute GDC API query
126
+ params = {
127
+ "facets": ",".join([x.replace("cases.", "") for x in CARD_FIELDS]),
128
+ "pretty": "false",
129
+ "format": "JSON",
130
+ "size": 0,
131
+ }
132
+
133
+ if cohort_filter:
134
+ params["filters"] = cohort_filter
135
+
136
+ response = requests.get(GDC_CASES_API_ENDPOINT, params=params)
137
+ if not response.ok:
138
+ raise Exception(f"API error: {response.status_code}")
139
+ temp = response.json()
140
+
141
+ # Update checkboxes with bin counts
142
+ card_updates = []
143
+ all_counts = temp["data"]["aggregations"]
144
+ for card_name in CARD_NAMES:
145
+ card_field = CARD_2_FIELD[card_name]
146
+ card_field = card_field.replace("cases.", "")
147
+ choice_mapping = {}
148
+ updated_choices = []
149
+ card_counts = {
150
+ x["key"]: x["doc_count"] for x in all_counts[card_field]["buckets"]
151
+ }
152
+ for value_name in CARD_2_VALUES[card_name]:
153
+ if value_name in card_counts:
154
+ value_str = prepare_value_count(value_name, card_counts[value_name])
155
+ choice_mapping[value_name] = (
156
+ value_str # track possible choices to use as values
157
+ )
158
+ updated_choices.append(value_str)
159
+
160
+ # Align prior selections with new choices
161
+ updated_values = []
162
+ for selected_value in card_2_selections[card_name]:
163
+ base_value = get_base_value(selected_value)
164
+ if base_value not in choice_mapping:
165
+ # Re-add choices which now presumably have 0 counts
166
+ choice_mapping[base_value] = prepare_value_count(base_value, 0)
167
+ updated_values.append(choice_mapping[base_value])
168
+
169
+ card_updates.append(
170
+ gr.update(
171
+ choices=updated_choices,
172
+ value=updated_values,
173
+ ),
174
+ )
175
+
176
+ case_count = temp["data"]["pagination"]["total"]
177
+
178
+ return card_updates + [gr.update(value=f"Case Count: {case_count}")]
179
+
180
+
181
+ def prepare_value_count(value, count):
182
+ return f"{value} [{count}]"
183
+
184
+
185
+ def get_base_value(value):
186
+ if " [" in value:
187
+ value = value[: value.rfind(" [")]
188
+ return value
189
+
190
+
191
+ # Tab selection helper
192
+ def set_active_tab(selected_tab):
193
+ visibles = [gr.update(visible=(tab == selected_tab)) for tab in TAB_NAMES]
194
+ elem_classes = [
195
+ gr.update(variant="primary" if tab == selected_tab else "secondary")
196
+ for tab in TAB_NAMES
197
+ ]
198
+ return visibles + elem_classes
199
+
200
+
201
+ DOWNLOAD_CASES_JS = f"""
202
+ function download_cases(filter_str) {{
203
+ const params = new URLSearchParams();
204
+ params.set('fields', 'case_id');
205
+ params.set('format', 'JSON');
206
+ params.set('size', 100000);
207
+ params.set('filters', filter_str);
208
+ const url = "{GDC_CASES_API_ENDPOINT}?" + params.toString();
209
+
210
+ const button = document.getElementById("download-btn");
211
+ button.innerHTML = '<div class="spinner"><\div>';
212
+ button.disabled = true;
213
+
214
+ fetch(url).then(resp => {{
215
+ if (!resp.ok) throw new Error("Failed to fetch TSV.");
216
+ return resp.json();
217
+ }})
218
+ .then(data => {{
219
+ const ids = data.data.hits.map(item => item.id);
220
+ const text = ids.join("\\n");
221
+ const blob = new Blob([text], {{type: "text/plain"}});
222
+ return blob;
223
+ }})
224
+ .then(blob => {{
225
+ const url = URL.createObjectURL(blob);
226
+ const a = document.createElement('a');
227
+ a.href = url;
228
+ a.download = "gdc_cohort_case_ids.tsv";
229
+ document.body.appendChild(a);
230
+ a.click();
231
+ document.body.removeChild(a);
232
+ URL.revokeObjectURL(url);
233
+ button.innerHTML = 'Download Cases';
234
+ button.disabled = false;
235
+ }})
236
+ .catch(error => {{
237
+ alert("Download failed: " + error.message);
238
+ }});
239
+ }}
240
+ """
241
+
242
+ with gr.Blocks(css_paths="style.css") as demo:
243
+ gr.Markdown("# GDC Cohort Copilot")
244
+
245
+ with gr.Row(equal_height=True):
246
+ with gr.Column(scale=7):
247
+ text_input = gr.Textbox(
248
+ label="Describe the cohort you're looking for:",
249
+ submit_btn="Generate Cohort",
250
+ elem_id="description-input",
251
+ placeholder="Enter a cohort description to begin...",
252
+ )
253
+ with gr.Column(scale=1, min_width=150):
254
+ case_counter = gr.Text(
255
+ show_label=False,
256
+ interactive=False,
257
+ container=False,
258
+ elem_id="case-counter",
259
+ min_width=150,
260
+ )
261
+ case_download = gr.Button(
262
+ value="Download Cases",
263
+ min_width=150,
264
+ elem_id="download-btn",
265
+ )
266
+
267
+ with gr.Row(equal_height=True):
268
+ with gr.Column(scale=1, min_width=250):
269
+ gr.Examples(
270
+ examples=[
271
+ "bam files for TCGA-BRCA",
272
+ "kidney or adrenal gland cancers with alcohol history",
273
+ "tumor samples from male patients acute myeloid lymphoma",
274
+ ],
275
+ inputs=text_input,
276
+ )
277
+ with gr.Column(scale=4):
278
+ json_output = gr.Textbox(
279
+ label="Cohort Filter JSON",
280
+ info="Use the button in the top right corner to copy the cohort filter JSON.",
281
+ value=json.dumps({"op": "and", "content": []}, indent=4),
282
+ interactive=False,
283
+ show_copy_button=True,
284
+ show_label=True,
285
+ container=True,
286
+ lines=5,
287
+ elem_id="json-output",
288
+ )
289
+
290
+ with gr.Row():
291
+ # Tab selectors
292
+ tab_buttons = []
293
+ with gr.Column(scale=1, min_width=250):
294
+ for name in TAB_NAMES:
295
+ tab_button = gr.Button(
296
+ value=name,
297
+ variant="primary" if name == TAB_NAMES[0] else "secondary",
298
+ )
299
+ tab_buttons.append(tab_button)
300
+
301
+ # Filter cards
302
+ tab_containers = []
303
+ filter_cards = []
304
+ for tab in CONFIG["tabs"]:
305
+ visible = tab["name"] == TAB_NAMES[0] # default first card
306
+ with gr.Column(scale=4, visible=visible) as tab_container:
307
+ tab_containers.append(tab_container)
308
+ with gr.Row(elem_classes=["card-group"]):
309
+ for card in tab["cards"]:
310
+ filter_card = gr.CheckboxGroup(
311
+ choices=[],
312
+ label=card["name"],
313
+ interactive=True,
314
+ elem_classes=["filter-card"],
315
+ )
316
+ filter_cards.append(filter_card)
317
+
318
+ # Assign tab buttons to toggle visibility
319
+ for tab_button, name in zip(tab_buttons, TAB_NAMES):
320
+ tab_button.click(
321
+ fn=set_active_tab,
322
+ inputs=gr.State(name),
323
+ outputs=tab_containers + tab_buttons,
324
+ )
325
+
326
+ # Enable case download
327
+ case_download.click(
328
+ fn=None, # apparently this isn't the same as not specifying it
329
+ js=DOWNLOAD_CASES_JS,
330
+ inputs=json_output,
331
+ )
332
+
333
+ # Load initial counts on startup
334
+ demo.load(
335
+ fn=get_bin_counts,
336
+ inputs=[gr.State("")] + filter_cards,
337
+ outputs=filter_cards + [case_counter],
338
+ )
339
+
340
+ # Update checkboxes on filter generation
341
+ # Also update JSON based on checkboxes (relying on checkbox update to do this fires multiple times)
342
+ # Also this way it shows the model generated JSON
343
+ text_input.submit(
344
+ fn=process_query,
345
+ inputs=text_input,
346
+ outputs=filter_cards + [json_output],
347
+ )
348
+
349
+ # Update JSON based on checkboxes
350
+ # Keep checkboxes to user input otherwise will fire multiple times
351
+ # Seems like it should be cyclical, Gradio must have some logic to prevent infinite loops
352
+ for filter_card in filter_cards:
353
+ filter_card.input(
354
+ fn=update_json_from_checkboxes,
355
+ inputs=filter_cards,
356
+ outputs=json_output,
357
+ )
358
+
359
+ # Update checkboxes after executing filter query
360
+ json_output.change(
361
+ fn=get_bin_counts,
362
+ inputs=[json_output] + filter_cards,
363
+ outputs=filter_cards + [case_counter],
364
+ )
365
+
366
+ if __name__ == "__main__":
367
+ demo.launch()
config.yaml ADDED
@@ -0,0 +1,2272 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ tabs:
2
+ - name: General
3
+ cards:
4
+ - name: Program
5
+ field: cases.project.program.name
6
+ values:
7
+ - APOLLO
8
+ - BEATAML1.0
9
+ - CDDP EAGLE
10
+ - CGCI
11
+ - CMI
12
+ - CPTAC
13
+ - CTSP
14
+ - EXCEPTIONAL RESPONDERS
15
+ - FM
16
+ - HCMI
17
+ - MATCH
18
+ - MMRF
19
+ - MP2PRT
20
+ - NCICCR
21
+ - OHSU
22
+ - ORGANOID
23
+ - REBC
24
+ - TARGET
25
+ - TCGA
26
+ - TRIO
27
+ - VAREPOP
28
+ - WCDT
29
+ - name: Project
30
+ field: cases.project.project_id
31
+ values:
32
+ - APOLLO-LUAD
33
+ - BEATAML1.0-COHORT
34
+ - BEATAML1.0-CRENOLANIB
35
+ - CDDP EAGLE-1
36
+ - CGCI-BLGSP
37
+ - CGCI-HTMCP-CC
38
+ - CGCI-HTMCP-DLBCL
39
+ - CGCI-HTMCP-LC
40
+ - CMI-ASC
41
+ - CMI-MBC
42
+ - CMI-MPC
43
+ - CPTAC-2
44
+ - CPTAC-3
45
+ - CTSP-DLBCL1
46
+ - EXCEPTIONAL RESPONDERS-ER
47
+ - FM-AD
48
+ - HCMI-CMDC
49
+ - MATCH-B
50
+ - MATCH-C1
51
+ - MATCH-H
52
+ - MATCH-I
53
+ - MATCH-N
54
+ - MATCH-P
55
+ - MATCH-Q
56
+ - MATCH-R
57
+ - MATCH-S1
58
+ - MATCH-S2
59
+ - MATCH-U
60
+ - MATCH-W
61
+ - MATCH-Y
62
+ - MATCH-Z1A
63
+ - MATCH-Z1B
64
+ - MATCH-Z1D
65
+ - MATCH-Z1I
66
+ - MMRF-COMMPASS
67
+ - MP2PRT-ALL
68
+ - MP2PRT-WT
69
+ - NCICCR-DLBCL
70
+ - OHSU-CNL
71
+ - ORGANOID-PANCREATIC
72
+ - REBC-THYR
73
+ - TARGET-ALL-P1
74
+ - TARGET-ALL-P2
75
+ - TARGET-ALL-P3
76
+ - TARGET-AML
77
+ - TARGET-CCSK
78
+ - TARGET-NBL
79
+ - TARGET-OS
80
+ - TARGET-RT
81
+ - TARGET-WT
82
+ - TCGA-ACC
83
+ - TCGA-BLCA
84
+ - TCGA-BRCA
85
+ - TCGA-CESC
86
+ - TCGA-CHOL
87
+ - TCGA-COAD
88
+ - TCGA-DLBC
89
+ - TCGA-ESCA
90
+ - TCGA-GBM
91
+ - TCGA-HNSC
92
+ - TCGA-KICH
93
+ - TCGA-KIRC
94
+ - TCGA-KIRP
95
+ - TCGA-LAML
96
+ - TCGA-LGG
97
+ - TCGA-LIHC
98
+ - TCGA-LUAD
99
+ - TCGA-LUSC
100
+ - TCGA-MESO
101
+ - TCGA-OV
102
+ - TCGA-PAAD
103
+ - TCGA-PCPG
104
+ - TCGA-PRAD
105
+ - TCGA-READ
106
+ - TCGA-SARC
107
+ - TCGA-SKCM
108
+ - TCGA-STAD
109
+ - TCGA-TGCT
110
+ - TCGA-THCA
111
+ - TCGA-THYM
112
+ - TCGA-UCEC
113
+ - TCGA-UCS
114
+ - TCGA-UVM
115
+ - TRIO-CRU
116
+ - VAREPOP-APOLLO
117
+ - WCDT-MCRPC
118
+ - name: Disease Type
119
+ field: cases.disease_type
120
+ values:
121
+ - acinar cell neoplasms
122
+ - acute lymphoblastic leukemia
123
+ - adenomas and adenocarcinomas
124
+ - adnexal and skin appendage neoplasms
125
+ - basal cell neoplasms
126
+ - blood vessel tumors
127
+ - chronic myeloproliferative disorders
128
+ - complex epithelial neoplasms
129
+ - complex mixed and stromal neoplasms
130
+ - cystic, mucinous and serous neoplasms
131
+ - ductal and lobular neoplasms
132
+ - epithelial neoplasms, nos
133
+ - fibroepithelial neoplasms
134
+ - fibromatous neoplasms
135
+ - germ cell neoplasms
136
+ - gliomas
137
+ - leukemias, nos
138
+ - lipomatous neoplasms
139
+ - lymphoid leukemias
140
+ - mature b-cell lymphomas
141
+ - mature t- and nk-cell lymphomas
142
+ - meningiomas
143
+ - mesothelial neoplasms
144
+ - miscellaneous bone tumors
145
+ - miscellaneous tumors
146
+ - mucoepidermoid neoplasms
147
+ - myelodysplastic syndromes
148
+ - myeloid leukemias
149
+ - myomatous neoplasms
150
+ - neoplasms, nos
151
+ - nerve sheath tumors
152
+ - neuroepitheliomatous neoplasms
153
+ - nevi and melanomas
154
+ - not applicable
155
+ - not reported
156
+ - osseous and chondromatous neoplasms
157
+ - paragangliomas and glomus tumors
158
+ - plasma cell tumors
159
+ - soft tissue tumors and sarcomas, nos
160
+ - specialized gonadal neoplasms
161
+ - squamous cell neoplasms
162
+ - synovial-like neoplasms
163
+ - thymic epithelial neoplasms
164
+ - transitional cell papillomas and carcinomas
165
+ - unknown
166
+ - name: Primary Diagnosis
167
+ field: cases.diagnoses.primary_diagnosis
168
+ values:
169
+ - acinar adenocarcinoma
170
+ - acinar cell carcinoma
171
+ - acinar cell tumor
172
+ - acute leukemia, nos
173
+ - acute lymphoblastic leukemia, nos
174
+ - acute lymphocytic leukemia
175
+ - acute monoblastic and monocytic leukemia
176
+ - acute monocytic leukemia
177
+ - acute myeloid leukemia with inv(3)(q21q26.2) or t(3;3)(q21;q26.2); rpn1-evi1
178
+ - acute myeloid leukemia with maturation
179
+ - acute myeloid leukemia with mutated cebpa
180
+ - acute myeloid leukemia with mutated npm1
181
+ - acute myeloid leukemia with myelodysplasia-related changes
182
+ - acute myeloid leukemia with t(8;21)(q22;q22); runx1-runx1t1
183
+ - acute myeloid leukemia with t(9;11)(p22;q23); mllt3-mll
184
+ - acute myeloid leukemia without maturation
185
+ - acute myeloid leukemia, cbf-beta/myh11
186
+ - acute myeloid leukemia, minimal differentiation
187
+ - acute myeloid leukemia, nos
188
+ - acute myelomonocytic leukemia
189
+ - acute promyelocytic leukaemia, pml-rar-alpha
190
+ - acute promyelocytic leukaemia, t(15;17)(q22;q11-12)
191
+ - adenocarcinoma in tubulovillous adenoma
192
+ - adenocarcinoma with mixed subtypes
193
+ - adenocarcinoma, diffuse type
194
+ - adenocarcinoma, endocervical type
195
+ - adenocarcinoma, intestinal type
196
+ - adenocarcinoma, metastatic, nos
197
+ - adenocarcinoma, nos
198
+ - adenoid cystic carcinoma
199
+ - adenosquamous carcinoma
200
+ - adnexal carcinoma
201
+ - adrenal cortical carcinoma
202
+ - amelanotic melanoma
203
+ - angiosarcoma
204
+ - astrocytoma, anaplastic
205
+ - astrocytoma, nos
206
+ - atypical carcinoid tumor
207
+ - atypical chronic myeloid leukemia, bcr/abl negative
208
+ - basal cell carcinoma, nos
209
+ - basaloid squamous cell carcinoma
210
+ - bronchio-alveolar carcinoma, mucinous
211
+ - bronchiolo-alveolar carcinoma, non-mucinous
212
+ - burkitt lymphoma, nos (includes all variants)
213
+ - burkitt-like lymphoma
214
+ - carcinoid tumor, nos
215
+ - carcinoma in situ, nos
216
+ - carcinoma, anaplastic, nos
217
+ - carcinoma, diffuse type
218
+ - carcinoma, nos
219
+ - carcinoma, undifferentiated, nos
220
+ - carcinosarcoma, nos
221
+ - cholangiocarcinoma
222
+ - chordoma, nos
223
+ - chronic myelomonocytic leukemia, nos
224
+ - chronic neutrophilic leukemia
225
+ - clear cell adenocarcinoma, nos
226
+ - clear cell carcinoma
227
+ - clear cell sarcoma of kidney
228
+ - collecting duct carcinoma
229
+ - combined hepatocellular carcinoma and cholangiocarcinoma
230
+ - combined small cell carcinoma
231
+ - common precursor b all
232
+ - dedifferentiated liposarcoma
233
+ - diffuse large b-cell lymphoma, nos
234
+ - duct adenocarcinoma, nos
235
+ - duct carcinoma, nos
236
+ - ductal carcinoma in situ, nos
237
+ - embryonal carcinoma, nos
238
+ - endometrioid adenocarcinoma, nos
239
+ - ependymoma, nos
240
+ - epithelial tumor, malignant
241
+ - epithelioid cell melanoma
242
+ - epithelioid mesothelioma, malignant
243
+ - esthesioneuroblastoma
244
+ - extra-adrenal paraganglioma, malignant
245
+ - extra-adrenal paraganglioma, nos
246
+ - fibromyxosarcoma
247
+ - follicular carcinoma, nos
248
+ - ganglioneuroblastoma
249
+ - gastrointestinal stromal tumor, nos
250
+ - germ cell tumor, nos
251
+ - glioblastoma
252
+ - glioblastoma multiforme
253
+ - glioma, malignant
254
+ - granulosa cell tumor, nos
255
+ - hepatocellular carcinoma, clear cell type
256
+ - hepatocellular carcinoma, fibrolamellar
257
+ - hepatocellular carcinoma, nos
258
+ - hodgkin lymphoma, nos
259
+ - infiltrating duct and lobular carcinoma
260
+ - infiltrating duct carcinoma, nos
261
+ - infiltrating duct mixed with other types of carcinoma
262
+ - infiltrating lobular carcinoma, nos
263
+ - infiltrating lobular mixed with other types of carcinoma
264
+ - inflammatory carcinoma
265
+ - intraductal carcinoma, noninfiltrating, nos
266
+ - invasive mammary carcinoma
267
+ - invasive micropapillary carcinoma
268
+ - large cell carcinoma, nos
269
+ - large cell neuroendocrine carcinoma
270
+ - leiomyosarcoma, nos
271
+ - leukemia, nos
272
+ - lobular carcinoma, nos
273
+ - malignant fibrous histiocytoma
274
+ - malignant lymphoma, non-hodgkin, nos
275
+ - malignant melanoma, nos
276
+ - malignant peripheral nerve sheath tumor
277
+ - malignant rhabdoid tumor
278
+ - medullary carcinoma, nos
279
+ - medulloblastoma, nos
280
+ - melanoma, nos
281
+ - meningioma, nos
282
+ - merkel cell carcinoma
283
+ - mesothelioma, biphasic, malignant
284
+ - mesothelioma, malignant
285
+ - mesothelioma, nos
286
+ - metaplastic carcinoma, nos
287
+ - mixed epithelioid and spindle cell melanoma
288
+ - mixed germ cell tumor
289
+ - mixed glioma
290
+ - mucinous adenocarcinoma
291
+ - mucinous adenocarcinoma, endocervical type
292
+ - mucinous carcinoma
293
+ - mucoepidermoid carcinoma
294
+ - mullerian mixed tumor
295
+ - multiple myeloma
296
+ - myelodysplastic syndrome, unclassifiable
297
+ - myelodysplastic/myeloproliferative neoplasm, unclassifiable
298
+ - myeloid sarcoma
299
+ - myloproliferative neoplasm, unclassifiable
300
+ - myoepithelial carcinoma
301
+ - myxoid leiomyosarcoma
302
+ - neoplasm, malignant
303
+ - neoplasm, nos
304
+ - nephroblastoma, nos
305
+ - neuroblastoma, nos
306
+ - neuroendocrine carcinoma, nos
307
+ - nodular melanoma
308
+ - non-small cell carcinoma
309
+ - not reported
310
+ - oligodendroglioma, anaplastic
311
+ - oligodendroglioma, nos
312
+ - oncocytoma
313
+ - osteosarcoma, nos
314
+ - papillary adenocarcinoma, nos
315
+ - papillary carcinoma, columnar cell
316
+ - papillary carcinoma, follicular variant
317
+ - papillary carcinoma, nos
318
+ - papillary renal cell carcinoma
319
+ - papillary serous adenocarcinoma
320
+ - papillary serous cystadenocarcinoma
321
+ - papillary squamous cell carcinoma
322
+ - papillary transitional cell carcinoma
323
+ - papillary transitional cell carcinoma, non-invasive
324
+ - paraganglioma, nos
325
+ - pheochromocytoma, malignant
326
+ - pheochromocytoma, nos
327
+ - pituitary adenoma, nos
328
+ - precursor b-cell lymphoblastic leukemia
329
+ - precursor cell lymphoblastic leukemia, nos
330
+ - precursor cell lymphoblastic leukemia, not phenotyped
331
+ - renal cell carcinoma, chromophobe type
332
+ - renal cell carcinoma, nos
333
+ - sarcomatoid carcinoma
334
+ - seminoma, nos
335
+ - serous adenocarcinoma, nos
336
+ - serous carcinoma, nos
337
+ - serous cystadenocarcinoma, nos
338
+ - serous surface papillary carcinoma
339
+ - sex cord tumor, nos
340
+ - signet ring cell carcinoma
341
+ - small cell carcinoma, nos
342
+ - solid carcinoma, nos
343
+ - spindle cell carcinoma, nos
344
+ - spindle cell melanoma, nos
345
+ - spindle cell melanoma, type b
346
+ - squamous cell carcinoma, keratinizing, nos
347
+ - squamous cell carcinoma, large cell, nonkeratinizing, nos
348
+ - squamous cell carcinoma, nonkeratinizing, nos
349
+ - squamous cell carcinoma, nos
350
+ - superficial spreading melanoma
351
+ - synovial sarcoma, spindle cell
352
+ - teratocarcinoma
353
+ - therapy related myeloid neoplasm
354
+ - thymic carcinoma, nos
355
+ - thymoma, nos
356
+ - thymoma, type a, malignant
357
+ - thymoma, type ab, malignant
358
+ - thymoma, type ab, nos
359
+ - thymoma, type b1, malignant
360
+ - thymoma, type b2, malignant
361
+ - thymoma, type b3, malignant
362
+ - transitional cell carcinoma
363
+ - tubular adenocarcinoma
364
+ - tumor, nos
365
+ - undifferentiated sarcoma
366
+ - unknown
367
+ - urothelial carcinoma, nos
368
+ - wilms tumor
369
+ - name: Primary Site
370
+ field: cases.primary_site
371
+ values:
372
+ - accessory sinuses
373
+ - adrenal gland
374
+ - anus and anal canal
375
+ - base of tongue
376
+ - bladder
377
+ - bones, joints and articular cartilage of limbs
378
+ - bones, joints and articular cartilage of other and unspecified sites
379
+ - brain
380
+ - breast
381
+ - bronchus and lung
382
+ - cervix uteri
383
+ - colon
384
+ - connective, subcutaneous and other soft tissues
385
+ - corpus uteri
386
+ - esophagus
387
+ - eye and adnexa
388
+ - floor of mouth
389
+ - gallbladder
390
+ - gum
391
+ - heart, mediastinum, and pleura
392
+ - hematopoietic and reticuloendothelial systems
393
+ - hypopharynx
394
+ - kidney
395
+ - larynx
396
+ - lip
397
+ - liver and intrahepatic bile ducts
398
+ - lymph nodes
399
+ - meninges
400
+ - nasal cavity and middle ear
401
+ - nasopharynx
402
+ - not reported
403
+ - oropharynx
404
+ - other and ill-defined digestive organs
405
+ - other and ill-defined sites
406
+ - other and ill-defined sites in lip, oral cavity and pharynx
407
+ - other and ill-defined sites within respiratory system and intrathoracic organs
408
+ - other and unspecified female genital organs
409
+ - other and unspecified major salivary glands
410
+ - other and unspecified male genital organs
411
+ - other and unspecified parts of biliary tract
412
+ - other and unspecified parts of mouth
413
+ - other and unspecified parts of tongue
414
+ - other and unspecified urinary organs
415
+ - other endocrine glands and related structures
416
+ - ovary
417
+ - palate
418
+ - pancreas
419
+ - parotid gland
420
+ - penis
421
+ - peripheral nerves and autonomic nervous system
422
+ - prostate gland
423
+ - rectosigmoid junction
424
+ - rectum
425
+ - renal pelvis
426
+ - retroperitoneum and peritoneum
427
+ - skin
428
+ - small intestine
429
+ - spinal cord, cranial nerves, and other parts of central nervous system
430
+ - stomach
431
+ - testis
432
+ - thymus
433
+ - thyroid gland
434
+ - tonsil
435
+ - trachea
436
+ - unknown
437
+ - ureter
438
+ - uterus, nos
439
+ - vagina
440
+ - vulva
441
+ - name: Tissue or Organ of Origin
442
+ field: cases.diagnoses.tissue_or_organ_of_origin
443
+ values:
444
+ - abdomen, nos
445
+ - adrenal gland, nos
446
+ - ampulla of vater
447
+ - anal canal
448
+ - anterior floor of mouth
449
+ - anterior mediastinum
450
+ - anterior wall of bladder
451
+ - anus, nos
452
+ - aortic body and other paraganglia
453
+ - appendix
454
+ - ascending colon
455
+ - autonomic nervous system, nos
456
+ - base of tongue, nos
457
+ - biliary tract, nos
458
+ - bladder neck
459
+ - bladder, nos
460
+ - blood
461
+ - body of pancreas
462
+ - body of stomach
463
+ - bone marrow
464
+ - bone, nos
465
+ - bones of skull and face and associated joints
466
+ - border of tongue
467
+ - brain stem
468
+ - brain, nos
469
+ - breast, nos
470
+ - cardia, nos
471
+ - carotid body
472
+ - cecum
473
+ - cerebellum, nos
474
+ - cerebrum
475
+ - cervix uteri
476
+ - cheek mucosa
477
+ - choroid
478
+ - ciliary body
479
+ - colon, nos
480
+ - connective, subcutaneous and other soft tissues of abdomen
481
+ - connective, subcutaneous and other soft tissues of head, face, and neck
482
+ - connective, subcutaneous and other soft tissues of lower limb and hip
483
+ - connective, subcutaneous and other soft tissues of pelvis
484
+ - connective, subcutaneous and other soft tissues of thorax
485
+ - connective, subcutaneous and other soft tissues of trunk, nos
486
+ - connective, subcutaneous and other soft tissues of upper limb and shoulder
487
+ - connective, subcutaneous and other soft tissues, nos
488
+ - corpus uteri
489
+ - cortex of adrenal gland
490
+ - descending colon
491
+ - dome of bladder
492
+ - duodenum
493
+ - endocervix
494
+ - endocrine gland, nos
495
+ - endometrium
496
+ - esophagus, nos
497
+ - exocervix
498
+ - external ear
499
+ - external upper lip
500
+ - extrahepatic bile duct
501
+ - eye, nos
502
+ - eyelid
503
+ - fallopian tube
504
+ - female genital tract, nos
505
+ - floor of mouth, nos
506
+ - frontal lobe
507
+ - fundus of stomach
508
+ - fundus uteri
509
+ - gallbladder
510
+ - gastric antrum
511
+ - gastrointestinal tract, nos
512
+ - gum, nos
513
+ - hard palate
514
+ - head of pancreas
515
+ - head, face or neck, nos
516
+ - heart
517
+ - hematopoietic system, nos
518
+ - hepatic flexure of colon
519
+ - hypopharynx, nos
520
+ - ileum
521
+ - intestinal tract, nos
522
+ - intra-abdominal lymph nodes
523
+ - intrahepatic bile duct
524
+ - intrathoracic lymph nodes
525
+ - isthmus uteri
526
+ - jejunum
527
+ - kidney, nos
528
+ - larynx, nos
529
+ - lateral wall of bladder
530
+ - lesser curvature of stomach, nos
531
+ - lip, nos
532
+ - liver
533
+ - long bones of lower limb and associated joints
534
+ - long bones of upper limb, scapula and associated joints
535
+ - lower gum
536
+ - lower limb, nos
537
+ - lower lobe, lung
538
+ - lower third of esophagus
539
+ - lower-inner quadrant of breast
540
+ - lower-outer quadrant of breast
541
+ - lung, nos
542
+ - lymph node, nos
543
+ - lymph nodes of axilla or arm
544
+ - lymph nodes of head, face and neck
545
+ - lymph nodes of inguinal region or leg
546
+ - lymph nodes of multiple regions
547
+ - main bronchus
548
+ - major salivary gland, nos
549
+ - mandible
550
+ - mediastinum, nos
551
+ - medulla of adrenal gland
552
+ - meninges, nos
553
+ - middle lobe, lung
554
+ - middle third of esophagus
555
+ - mouth, nos
556
+ - myometrium
557
+ - nasal cavity
558
+ - nasopharynx, nos
559
+ - nervous system, nos
560
+ - not reported
561
+ - occipital lobe
562
+ - orbit, nos
563
+ - oropharynx, nos
564
+ - other ill-defined sites
565
+ - ovary
566
+ - overlapping lesion of brain
567
+ - overlapping lesion of breast
568
+ - overlapping lesion of colon
569
+ - overlapping lesion of eye and adnexa
570
+ - overlapping lesion of lip, oral cavity and pharynx
571
+ - overlapping lesion of lung
572
+ - overlapping lesion of nasopharynx
573
+ - overlapping lesion of pancreas
574
+ - overlapping lesion of retroperitoneum and peritoneum
575
+ - pancreas, nos
576
+ - parietal lobe
577
+ - parotid gland
578
+ - pelvic bones, sacrum, coccyx and associated joints
579
+ - pelvic lymph nodes
580
+ - pelvis, nos
581
+ - penis, nos
582
+ - peripheral nerves and autonomic nervous system of abdomen
583
+ - peripheral nerves and autonomic nervous system of head, face, and neck
584
+ - peripheral nerves and autonomic nervous system of thorax
585
+ - peripheral nerves and autonomic nervous system of trunk, nos
586
+ - peripheral nerves and autonomic nervous system of upper limb and shoulder
587
+ - peritoneum, nos
588
+ - pharynx, nos
589
+ - pituitary gland
590
+ - pleura, nos
591
+ - posterior mediastinum
592
+ - posterior wall of bladder
593
+ - prostate gland
594
+ - rectosigmoid junction
595
+ - rectum, nos
596
+ - renal pelvis
597
+ - retromolar area
598
+ - retroperitoneum
599
+ - rib, sternum, clavicle and associated joints
600
+ - scrotum, nos
601
+ - short bones of lower limb and associated joints
602
+ - sigmoid colon
603
+ - skin of lower limb and hip
604
+ - skin of other and unspecified parts of face
605
+ - skin of scalp and neck
606
+ - skin of trunk
607
+ - skin of upper limb and shoulder
608
+ - skin, nos
609
+ - small intestine, nos
610
+ - specified parts of peritoneum
611
+ - spinal cord
612
+ - spinal meninges
613
+ - spleen
614
+ - splenic flexure of colon
615
+ - stomach, nos
616
+ - submandibular gland
617
+ - supraglottis
618
+ - tail of pancreas
619
+ - temporal lobe
620
+ - testis, nos
621
+ - thoracic esophagus
622
+ - thorax, nos
623
+ - thymus
624
+ - thyroid gland
625
+ - tongue, nos
626
+ - tonsil, nos
627
+ - trachea
628
+ - transverse colon
629
+ - trigone of bladder
630
+ - unknown
631
+ - unknown primary site
632
+ - upper limb, nos
633
+ - upper lobe, lung
634
+ - upper third of esophagus
635
+ - upper-inner quadrant of breast
636
+ - upper-outer quadrant of breast
637
+ - ureter
638
+ - urethra
639
+ - urinary system, nos
640
+ - uterus, nos
641
+ - vagina, nos
642
+ - vertebral column
643
+ - vulva, nos
644
+ - name: Demographic
645
+ cards:
646
+ - name: Gender
647
+ field: cases.demographic.gender
648
+ values:
649
+ - female
650
+ - male
651
+ - not reported
652
+ - unknown
653
+ - unspecified
654
+ - name: Race
655
+ field: cases.demographic.race
656
+ values:
657
+ - american indian or alaska native
658
+ - asian
659
+ - black or african american
660
+ - native hawaiian or other pacific islander
661
+ - not allowed to collect
662
+ - not reported
663
+ - other
664
+ - unknown
665
+ - white
666
+ - name: Ethnicity
667
+ field: cases.demographic.ethnicity
668
+ values:
669
+ - hispanic or latino
670
+ - not hispanic or latino
671
+ - not reported
672
+ - unknown
673
+ # - name: Age at Diagnosis
674
+ # field: cases.diagnoses.age_at_diagnosis
675
+ # values:
676
+ # type: range+checkboxes
677
+ # min: 0
678
+ # max: 32872
679
+ # units: days
680
+ # min_label: From
681
+ # max_label: To
682
+ # popular:
683
+ # - label: "\u2265 18,263 to < 21,915 days"
684
+ # min: 18263
685
+ # max: 21915
686
+ # - label: "\u2265 14,610 to < 18,263 days"
687
+ # min: 14610
688
+ # max: 18263
689
+ # - label: "\u2265 10,958 to < 14,610 days"
690
+ # min: 10958
691
+ # max: 14610
692
+ # - label: "\u2265 7,305 to < 10,958 days"
693
+ # min: 7305
694
+ # max: 10958
695
+ # - label: "\u2265 3,653 to < 7,305 days"
696
+ # min: 3653
697
+ # max: 7305
698
+ # - label: "\u2265 0 to < 3,653 days"
699
+ # min: 0
700
+ # max: 3653
701
+ - name: Vital Status
702
+ field: cases.demographic.vital_status
703
+ values:
704
+ - alive
705
+ - dead
706
+ - not reported
707
+ - unknown
708
+ - name: General Diagnosis
709
+ cards:
710
+ - name: Ajcc Clinical Stage
711
+ field: cases.diagnoses.ajcc_clinical_stage
712
+ values:
713
+ - not reported
714
+ - stage 0
715
+ - stage i
716
+ - stage ia
717
+ - stage ia2
718
+ - stage ib
719
+ - stage ii
720
+ - stage iia
721
+ - stage iib
722
+ - stage iic
723
+ - stage iii
724
+ - stage iiia
725
+ - stage iiib
726
+ - stage iiic
727
+ - stage is
728
+ - stage iv
729
+ - stage iva
730
+ - stage ivb
731
+ - stage ivc
732
+ - stage x
733
+ - name: Ajcc Pathologic Stage
734
+ field: cases.diagnoses.ajcc_pathologic_stage
735
+ values:
736
+ - not reported
737
+ - stage 0
738
+ - stage 0a
739
+ - stage 0is
740
+ - stage i
741
+ - stage ia
742
+ - stage ia1
743
+ - stage ia2
744
+ - stage ia3
745
+ - stage ib
746
+ - stage ib1
747
+ - stage ic
748
+ - stage ii
749
+ - stage iia
750
+ - stage iib
751
+ - stage iic
752
+ - stage iii
753
+ - stage iiia
754
+ - stage iiia2
755
+ - stage iiib
756
+ - stage iiic
757
+ - stage iiic1
758
+ - stage iiic2
759
+ - stage is
760
+ - stage iv
761
+ - stage iva
762
+ - stage ivb
763
+ - stage ivc
764
+ - stage tis
765
+ - stage x
766
+ - unknown
767
+ - name: Uicc Clinical Stage
768
+ field: cases.diagnoses.uicc_clinical_stage
769
+ values:
770
+ - not reported
771
+ - stage 0
772
+ - stage i
773
+ - stage ia
774
+ - stage ib
775
+ - stage iia
776
+ - stage iib
777
+ - stage iic
778
+ - stage iii
779
+ - stage iiia
780
+ - stage iiib
781
+ - stage iiic
782
+ - stage iv
783
+ - stage iva
784
+ - name: Uicc Pathologic Stage
785
+ field: cases.diagnoses.uicc_pathologic_stage
786
+ values:
787
+ - not reported
788
+ - stage 0
789
+ - stage i
790
+ - stage ia
791
+ - stage ib
792
+ - stage iia
793
+ - stage iib
794
+ - stage iii
795
+ - stage iiia
796
+ - stage iiib
797
+ - stage iiic
798
+ - stage iv
799
+ - stage iva
800
+ - name: Tumor Grade
801
+ field: cases.diagnoses.tumor_grade
802
+ values:
803
+ - g1
804
+ - g2
805
+ - g3
806
+ - g4
807
+ - gb
808
+ - gx
809
+ - high grade
810
+ - low grade
811
+ - not reported
812
+ - unknown
813
+ - name: Morphology
814
+ field: cases.diagnoses.morphology
815
+ values:
816
+ - 8010/2
817
+ - 8010/3
818
+ - 8012/3
819
+ - 8013/3
820
+ - 8020/3
821
+ - 8021/3
822
+ - 8022/3
823
+ - 8032/3
824
+ - 8033/3
825
+ - 8041/3
826
+ - 8041/34
827
+ - 8045/3
828
+ - 8046/3
829
+ - 8050/3
830
+ - 8052/3
831
+ - 8070/2
832
+ - 8070/3
833
+ - 8071/3
834
+ - 8072/3
835
+ - 8083/3
836
+ - 8084/3
837
+ - 8090/3
838
+ - 8120/3
839
+ - 8123/3
840
+ - 8130/3
841
+ - 8140/3
842
+ - 8140/6
843
+ - 8144/3
844
+ - 8145/3
845
+ - 8160/3
846
+ - 8170/3
847
+ - 8171/3
848
+ - 8174/3
849
+ - 8180/3
850
+ - 8200/3
851
+ - 8211/3
852
+ - 8230/3
853
+ - 8240/3
854
+ - 8246/3
855
+ - 8247/3
856
+ - 8249/3
857
+ - 8250/3
858
+ - 8252/3
859
+ - 8253/3
860
+ - 8255/3
861
+ - 8260/3
862
+ - 8263/0
863
+ - 8263/3
864
+ - 8272/0
865
+ - 8290/0
866
+ - 8310/3
867
+ - 8312/3
868
+ - 8317/3
869
+ - 8319/3
870
+ - 8330/3
871
+ - 8340/3
872
+ - 8344/3
873
+ - 8350/3
874
+ - 8370/1
875
+ - 8370/3
876
+ - 8380/3
877
+ - 8384/3
878
+ - 8390/3
879
+ - 8430/3
880
+ - 8441/3
881
+ - 8452/1
882
+ - 8460/3
883
+ - 8461/3
884
+ - 8480/3
885
+ - 8482/3
886
+ - 8490/3
887
+ - 8500/2
888
+ - 8500/3
889
+ - 8500/6
890
+ - 8503/3
891
+ - 8507/3
892
+ - 8510/3
893
+ - 8520/2
894
+ - 8520/3
895
+ - 8522/3
896
+ - 8523/3
897
+ - 8524/3
898
+ - 8530/3
899
+ - 8541/3
900
+ - 8550/1
901
+ - 8550/3
902
+ - 8560/3
903
+ - 8575/3
904
+ - 8580/1
905
+ - 8581/1
906
+ - 8581/3
907
+ - 8582/1
908
+ - 8582/3
909
+ - 8583/1
910
+ - 8583/3
911
+ - 8584/1
912
+ - 8584/3
913
+ - 8585/3
914
+ - 8586/3
915
+ - 8590/1
916
+ - 8620/1
917
+ - 8680/1
918
+ - 8693/1
919
+ - 8693/3
920
+ - 8700/0
921
+ - 8700/3
922
+ - 8720/3
923
+ - 8720/6
924
+ - 8721/3
925
+ - 8730/3
926
+ - 8742/3
927
+ - 8743/3
928
+ - 8744/3
929
+ - 8770/3
930
+ - 8771/3
931
+ - 8772/3
932
+ - 8774/3
933
+ - 8800/3
934
+ - 8805/3
935
+ - 8811/3
936
+ - 8822/1
937
+ - 8830/3
938
+ - 8851/3
939
+ - 8858/3
940
+ - 8890/3
941
+ - 8896/3
942
+ - 8936/1
943
+ - 8950/3
944
+ - 8960/3
945
+ - 8963/3
946
+ - 8964/3
947
+ - 8980/3
948
+ - 8982/3
949
+ - 9020/3
950
+ - 9041/3
951
+ - 9050/3
952
+ - 9052/3
953
+ - 9053/3
954
+ - 9061/3
955
+ - 9064/3
956
+ - 9070/3
957
+ - 9071/3
958
+ - 9080/0
959
+ - 9080/3
960
+ - 9081/3
961
+ - 9085/3
962
+ - 9180/3
963
+ - 9370/3
964
+ - 9380/3
965
+ - 9382/3
966
+ - 9391/3
967
+ - 9400/3
968
+ - 9401/3
969
+ - 9440/3
970
+ - 9450/3
971
+ - 9451/3
972
+ - 9470/3
973
+ - 9490/3
974
+ - 9500/3
975
+ - 9522/3
976
+ - 9530/0
977
+ - 9540/3
978
+ - 9591/3
979
+ - 9650/3
980
+ - 9680/3
981
+ - 9687/3
982
+ - 9690/3
983
+ - 9728/3
984
+ - 9732/3
985
+ - 9800/3
986
+ - 9801/3
987
+ - 9809/3
988
+ - 9823/3
989
+ - 9835/3
990
+ - 9836/3
991
+ - 9840/3
992
+ - 9861/3
993
+ - 9865/3
994
+ - 9866/3
995
+ - 9867/3
996
+ - 9869/3
997
+ - 9871/3
998
+ - 9872/3
999
+ - 9873/3
1000
+ - 9874/3
1001
+ - 9876/3
1002
+ - 9891/3
1003
+ - 9895/3
1004
+ - 9896/3
1005
+ - 9897/3
1006
+ - 9910/3
1007
+ - 9920/3
1008
+ - 9930/3
1009
+ - 9945/3
1010
+ - 9963/3
1011
+ - 9975/3
1012
+ - 9983/3
1013
+ - 9989/3
1014
+ - not reported
1015
+ - unknown
1016
+ # - name: Year Of Diagnosis
1017
+ # field: cases.diagnoses.year_of_diagnosis
1018
+ # values:
1019
+ # type: range+checkboxes
1020
+ # min: 1900
1021
+ # max: 2050
1022
+ # units: years
1023
+ # min_label: From
1024
+ # max_label: To
1025
+ # popular:
1026
+ # - label: "\u2265 2020 to < 2030"
1027
+ # min: 2020
1028
+ # max: 2030
1029
+ # - label: "\u2265 2010 to < 2020"
1030
+ # min: 2010
1031
+ # max: 2020
1032
+ # - label: "\u2265 2000 to < 2010"
1033
+ # min: 2000
1034
+ # max: 2010
1035
+ # - label: "\u2265 1990 to < 2000"
1036
+ # min: 1990
1037
+ # max: 2000
1038
+ # - label: "\u2265 1980 to < 1990"
1039
+ # min: 1980
1040
+ # max: 1990
1041
+ # - label: "\u2265 1970 to < 1980"
1042
+ # min: 1970
1043
+ # max: 1980
1044
+ - name: Site Of Resection Or Biopsy
1045
+ field: cases.diagnoses.site_of_resection_or_biopsy
1046
+ values:
1047
+ - abdomen, nos
1048
+ - adrenal gland, nos
1049
+ - ampulla of vater
1050
+ - anal canal
1051
+ - anterior mediastinum
1052
+ - anus, nos
1053
+ - aortic body and other paraganglia
1054
+ - appendix
1055
+ - ascending colon
1056
+ - axillary tail of breast
1057
+ - base of tongue, nos
1058
+ - biliary tract, nos
1059
+ - bladder, nos
1060
+ - blood
1061
+ - body of pancreas
1062
+ - body of stomach
1063
+ - bone marrow
1064
+ - bone, nos
1065
+ - bones of skull and face and associated joints
1066
+ - border of tongue
1067
+ - brain stem
1068
+ - brain, nos
1069
+ - breast, nos
1070
+ - cardia, nos
1071
+ - cecum
1072
+ - cerebellum, nos
1073
+ - cerebrum
1074
+ - cervix uteri
1075
+ - cheek mucosa
1076
+ - choroid
1077
+ - ciliary body
1078
+ - colon, nos
1079
+ - connective, subcutaneous and other soft tissues of abdomen
1080
+ - connective, subcutaneous and other soft tissues of head, face, and neck
1081
+ - connective, subcutaneous and other soft tissues of lower limb and hip
1082
+ - connective, subcutaneous and other soft tissues of pelvis
1083
+ - connective, subcutaneous and other soft tissues of thorax
1084
+ - connective, subcutaneous and other soft tissues of trunk, nos
1085
+ - connective, subcutaneous and other soft tissues of upper limb and shoulder
1086
+ - connective, subcutaneous and other soft tissues, nos
1087
+ - corpus uteri
1088
+ - cortex of adrenal gland
1089
+ - descending colon
1090
+ - dome of bladder
1091
+ - duodenum
1092
+ - endometrium
1093
+ - esophagus, nos
1094
+ - external ear
1095
+ - extrahepatic bile duct
1096
+ - eye, nos
1097
+ - fallopian tube
1098
+ - floor of mouth, nos
1099
+ - frontal lobe
1100
+ - fundus uteri
1101
+ - gallbladder
1102
+ - gastric antrum
1103
+ - gastrointestinal tract, nos
1104
+ - glottis
1105
+ - gum, nos
1106
+ - head of pancreas
1107
+ - head, face or neck, nos
1108
+ - heart
1109
+ - hematopoietic system, nos
1110
+ - hepatic flexure of colon
1111
+ - ileum
1112
+ - intra-abdominal lymph nodes
1113
+ - intrathoracic lymph nodes
1114
+ - isthmus uteri
1115
+ - jejunum
1116
+ - kidney, nos
1117
+ - larynx, nos
1118
+ - lateral wall of bladder
1119
+ - lip, nos
1120
+ - liver
1121
+ - long bones of lower limb and associated joints
1122
+ - long bones of upper limb, scapula and associated joints
1123
+ - lower gum
1124
+ - lower lobe, lung
1125
+ - lower third of esophagus
1126
+ - lung, nos
1127
+ - lymph node, nos
1128
+ - lymph nodes of axilla or arm
1129
+ - lymph nodes of head, face and neck
1130
+ - lymph nodes of inguinal region or leg
1131
+ - main bronchus
1132
+ - major salivary gland, nos
1133
+ - mandible
1134
+ - mediastinum, nos
1135
+ - medulla of adrenal gland
1136
+ - middle lobe, lung
1137
+ - middle third of esophagus
1138
+ - mouth, nos
1139
+ - myometrium
1140
+ - nasal cavity
1141
+ - nervous system, nos
1142
+ - not reported
1143
+ - occipital lobe
1144
+ - orbit, nos
1145
+ - oropharynx, nos
1146
+ - other ill-defined sites
1147
+ - ovary
1148
+ - overlapping lesion of bladder
1149
+ - overlapping lesion of colon
1150
+ - overlapping lesion of connective, subcutaneous and other soft tissues
1151
+ - overlapping lesion of digestive system
1152
+ - overlapping lesion of eye and adnexa
1153
+ - overlapping lesion of female genital organs
1154
+ - overlapping lesion of ill-defined sites
1155
+ - overlapping lesion of lip, oral cavity and pharynx
1156
+ - overlapping lesion of rectum, anus and anal canal
1157
+ - pancreas, nos
1158
+ - pancreatic duct
1159
+ - pancreatic neck
1160
+ - parietal lobe
1161
+ - parotid gland
1162
+ - pelvic bones, sacrum, coccyx and associated joints
1163
+ - pelvic lymph nodes
1164
+ - pelvis, nos
1165
+ - penis, nos
1166
+ - peripheral nerves and autonomic nervous system of upper limb and shoulder
1167
+ - peritoneum, nos
1168
+ - pituitary gland
1169
+ - pleura, nos
1170
+ - prostate gland
1171
+ - rectosigmoid junction
1172
+ - rectum, nos
1173
+ - retroperitoneum
1174
+ - short bones of lower limb and associated joints
1175
+ - sigmoid colon
1176
+ - skin of lower limb and hip
1177
+ - skin of other and unspecified parts of face
1178
+ - skin of scalp and neck
1179
+ - skin of trunk
1180
+ - skin of upper limb and shoulder
1181
+ - skin, nos
1182
+ - small intestine, nos
1183
+ - specified parts of peritoneum
1184
+ - spermatic cord
1185
+ - spinal cord
1186
+ - spinal meninges
1187
+ - spleen
1188
+ - splenic flexure of colon
1189
+ - stomach, nos
1190
+ - submandibular gland
1191
+ - tail of pancreas
1192
+ - temporal lobe
1193
+ - testis, nos
1194
+ - thorax, nos
1195
+ - thymus
1196
+ - thyroid gland
1197
+ - tongue, nos
1198
+ - tonsil, nos
1199
+ - trachea
1200
+ - transverse colon
1201
+ - unknown
1202
+ - unknown primary site
1203
+ - upper lobe, lung
1204
+ - ureter
1205
+ - urethra
1206
+ - uterine adnexa
1207
+ - uterus, nos
1208
+ - vagina, nos
1209
+ - vertebral column
1210
+ - vestibule of mouth
1211
+ - vulva, nos
1212
+ - name: Sites Of Involvement
1213
+ field: cases.diagnoses.sites_of_involvement
1214
+ values:
1215
+ - abdomen
1216
+ - abdominal peritoneum
1217
+ - adnexa
1218
+ - adrenal gland, nos
1219
+ - anus, nos
1220
+ - appendix
1221
+ - ascites
1222
+ - bladder, nos
1223
+ - bone marrow
1224
+ - bone, nos
1225
+ - brain, brain stem
1226
+ - brain, cerebellum, nos
1227
+ - brain, cerebrum
1228
+ - brain, frontal lobe
1229
+ - brain, nos
1230
+ - brain, occipital lobe
1231
+ - brain, parietal
1232
+ - brain, temporal lobe
1233
+ - breast, left lower inner
1234
+ - breast, left lower outer
1235
+ - breast, left upper inner
1236
+ - breast, left upper outer
1237
+ - breast, nos
1238
+ - breast, right lower inner
1239
+ - breast, right lower outer
1240
+ - breast, right upper inner
1241
+ - breast, right upper outer
1242
+ - bronchus
1243
+ - central lung
1244
+ - central nervous system
1245
+ - cerebrospinal fluid
1246
+ - cervix
1247
+ - chest wall
1248
+ - colon, nos
1249
+ - common or superficial femoral vein
1250
+ - diaphragm
1251
+ - distant nodes
1252
+ - ear
1253
+ - epididymis
1254
+ - esophagus, lower third
1255
+ - esophagus, middle third
1256
+ - esophagus, nos
1257
+ - esophagus, upper third
1258
+ - eye
1259
+ - eye, choroid
1260
+ - eye, ciliary body
1261
+ - eye, iris
1262
+ - fallopian tube, left
1263
+ - fallopian tube, nos
1264
+ - fallopian tube, right
1265
+ - gallbladder
1266
+ - gastrointestinal tract
1267
+ - great blood vessel
1268
+ - groin
1269
+ - heart
1270
+ - hilar fat
1271
+ - inferior vena cava
1272
+ - kidney, nos
1273
+ - kidney, upper pole
1274
+ - liver
1275
+ - lung, nos
1276
+ - lymph node, axillary
1277
+ - lymph node, cervical
1278
+ - lymph node, femoral
1279
+ - lymph node, hilar
1280
+ - lymph node, iliac-common
1281
+ - lymph node, iliac-external
1282
+ - lymph node, inguinal
1283
+ - lymph node, mediastinal
1284
+ - lymph node, mesenteric
1285
+ - lymph node, nos
1286
+ - lymph node, para-aortic
1287
+ - lymph node, regional
1288
+ - lymph node, retroperitoneal
1289
+ - lymph node, splenic
1290
+ - lymph node, subcarinal
1291
+ - lymph node, submandibular
1292
+ - lymph node, supraclavicular
1293
+ - mandible
1294
+ - maxilla
1295
+ - mediastinal soft tissue
1296
+ - mesentery
1297
+ - mouth
1298
+ - nasopharynx
1299
+ - neck
1300
+ - not reported
1301
+ - ocular orbits
1302
+ - omentum
1303
+ - oropharynx
1304
+ - other
1305
+ - ovary, left
1306
+ - ovary, nos
1307
+ - ovary, right
1308
+ - pancreas body
1309
+ - pancreas head
1310
+ - pancreas tail
1311
+ - pancreas, nos
1312
+ - parametrium, left
1313
+ - parametrium, right
1314
+ - parotid gland
1315
+ - pelvic lymph node(s)
1316
+ - pelvic peritoneum
1317
+ - pelvic vein, common, external or iliac
1318
+ - pelvis
1319
+ - peri-aortic lymph node(s)
1320
+ - peri-orbital soft tissue
1321
+ - pericardium
1322
+ - perineum
1323
+ - peripheral blood
1324
+ - peripheral lung
1325
+ - peripheral nervous system
1326
+ - peritoneum, nos
1327
+ - pleura
1328
+ - prostate
1329
+ - rectum
1330
+ - renal vein
1331
+ - rete testis
1332
+ - retroperitoneum
1333
+ - scalp
1334
+ - sigmoid colon
1335
+ - sinus
1336
+ - skin
1337
+ - skin, extremities
1338
+ - skin, groin
1339
+ - skin, head and neck
1340
+ - skin, trunk
1341
+ - small intestine
1342
+ - soft tissue
1343
+ - spermatic cord
1344
+ - spleen
1345
+ - stomach
1346
+ - testes
1347
+ - thyroid
1348
+ - tongue
1349
+ - tonsil
1350
+ - transplanted kidney
1351
+ - transverse colon
1352
+ - tunica albuginea
1353
+ - tunica vaginalis
1354
+ - unknown
1355
+ - uterus
1356
+ - vagina
1357
+ - vertebrae
1358
+ - vulva, nos
1359
+ - name: Laterality
1360
+ field: cases.diagnoses.laterality
1361
+ values:
1362
+ - bilateral
1363
+ - left
1364
+ - midline
1365
+ - not reported
1366
+ - right
1367
+ - unknown
1368
+ - name: Disease Status and History
1369
+ cards:
1370
+ - name: Prior Malignancy
1371
+ field: cases.diagnoses.prior_malignancy
1372
+ values:
1373
+ - 'no'
1374
+ - not reported
1375
+ - unknown
1376
+ - 'yes'
1377
+ - name: Prior Treatment
1378
+ field: cases.diagnoses.prior_treatment
1379
+ values:
1380
+ - 'no'
1381
+ - not reported
1382
+ - unknown
1383
+ - 'yes'
1384
+ - name: Synchronous Malignancy
1385
+ field: cases.diagnoses.synchronous_malignancy
1386
+ values:
1387
+ - 'no'
1388
+ - not reported
1389
+ - unknown
1390
+ - 'yes'
1391
+ - name: Progression Or Recurrence
1392
+ field: cases.diagnoses.progression_or_recurrence
1393
+ values:
1394
+ - 'no'
1395
+ - not reported
1396
+ - unknown
1397
+ - 'yes'
1398
+ - name: Residual Disease
1399
+ field: cases.diagnoses.residual_disease
1400
+ values:
1401
+ - not reported
1402
+ - r0
1403
+ - r1
1404
+ - r2
1405
+ - rx
1406
+ - unknown
1407
+ - name: Child Pugh Classification
1408
+ field: cases.diagnoses.child_pugh_classification
1409
+ values:
1410
+ - a
1411
+ - b
1412
+ - c
1413
+ - unknown
1414
+ - name: Ishak Fibrosis Score
1415
+ field: cases.diagnoses.ishak_fibrosis_score
1416
+ values:
1417
+ - 0 - no fibrosis
1418
+ - 1,2 - portal fibrosis
1419
+ - 3,4 - fibrous septa
1420
+ - 5 - nodular formation and incomplete cirrhosis
1421
+ - 6 - established cirrhosis
1422
+ - unknown
1423
+ - name: Disease Specific Classifications
1424
+ cards:
1425
+ - name: Ann Arbor Clinical Stage
1426
+ field: cases.diagnoses.ann_arbor_clinical_stage
1427
+ values:
1428
+ - not reported
1429
+ - stage i
1430
+ - stage ii
1431
+ - stage iii
1432
+ - stage iv
1433
+ - unknown
1434
+ - name: Ann Arbor Pathologic Stage
1435
+ field: cases.diagnoses.ann_arbor_pathologic_stage
1436
+ values:
1437
+ - not reported
1438
+ - stage i
1439
+ - stage ii
1440
+ - stage iii
1441
+ - stage iv
1442
+ - name: Cog Renal Stage
1443
+ field: cases.diagnoses.cog_renal_stage
1444
+ values:
1445
+ - stage i
1446
+ - stage ii
1447
+ - stage iii
1448
+ - stage iv
1449
+ - name: Figo Stage
1450
+ field: cases.diagnoses.figo_stage
1451
+ values:
1452
+ - not reported
1453
+ - stage i
1454
+ - stage ia
1455
+ - stage ia1
1456
+ - stage ia2
1457
+ - stage ib
1458
+ - stage ib1
1459
+ - stage ib2
1460
+ - stage ic
1461
+ - stage ic2
1462
+ - stage ii
1463
+ - stage iia
1464
+ - stage iia1
1465
+ - stage iia2
1466
+ - stage iib
1467
+ - stage iic
1468
+ - stage iii
1469
+ - stage iiia
1470
+ - stage iiib
1471
+ - stage iiic
1472
+ - stage iiic1
1473
+ - stage iiic2
1474
+ - stage iv
1475
+ - stage iva
1476
+ - stage ivb
1477
+ - name: Igcccg Stage
1478
+ field: cases.diagnoses.igcccg_stage
1479
+ values:
1480
+ - good prognosis
1481
+ - intermediate prognosis
1482
+ - poor prognosis
1483
+ - name: Inss Stage
1484
+ field: cases.diagnoses.inss_stage
1485
+ values:
1486
+ - stage 1
1487
+ - stage 2a
1488
+ - stage 2b
1489
+ - stage 3
1490
+ - stage 4
1491
+ - stage 4s
1492
+ - unknown
1493
+ - name: Iss Stage
1494
+ field: cases.diagnoses.iss_stage
1495
+ values:
1496
+ - i
1497
+ - ii
1498
+ - iii
1499
+ - unknown
1500
+ - name: Masaoka Stage
1501
+ field: cases.diagnoses.masaoka_stage
1502
+ values:
1503
+ - stage i
1504
+ - stage iia
1505
+ - stage iib
1506
+ - stage iii
1507
+ - stage iva
1508
+ - stage ivb
1509
+ - name: Inpc Grade
1510
+ field: cases.diagnoses.inpc_grade
1511
+ values:
1512
+ - differentiating
1513
+ - poorly differentiated
1514
+ - undifferentiated or poorly differentiated
1515
+ - unknown
1516
+ - name: Who Cns Grade
1517
+ field: cases.diagnoses.who_cns_grade
1518
+ values:
1519
+ - grade iv
1520
+ - name: Cog Neuroblastoma Risk Group
1521
+ field: cases.diagnoses.cog_neuroblastoma_risk_group
1522
+ values:
1523
+ - high risk
1524
+ - intermediate risk
1525
+ - low risk
1526
+ - name: Cog Rhabdomyosarcoma Risk Group
1527
+ field: cases.diagnoses.cog_rhabdomyosarcoma_risk_group
1528
+ values:
1529
+ - high risk
1530
+ - name: Eln Risk Classification
1531
+ field: cases.diagnoses.eln_risk_classification
1532
+ values:
1533
+ - adverse
1534
+ - favorable
1535
+ - intermediate
1536
+ - not reported
1537
+ - unknown
1538
+ - name: International Prognostic Index
1539
+ field: cases.diagnoses.international_prognostic_index
1540
+ values:
1541
+ - high risk
1542
+ - high-intermediate risk
1543
+ - low risk
1544
+ - low-intermediate risk
1545
+ - name: Wilms Tumor Histologic Subtype
1546
+ field: cases.diagnoses.wilms_tumor_histologic_subtype
1547
+ values:
1548
+ - favorable
1549
+ - unfavorable
1550
+ - name: Weiss Assessment Score
1551
+ field: cases.diagnoses.weiss_assessment_score
1552
+ values:
1553
+ - 2
1554
+ - 3
1555
+ - 4
1556
+ - 5
1557
+ - 6
1558
+ - 7
1559
+ - 8
1560
+ - 9
1561
+ - name: Treatment
1562
+ cards:
1563
+ - name: Best Overall Response
1564
+ field: cases.diagnoses.best_overall_response
1565
+ values:
1566
+ - cr-complete response
1567
+ - cru-complete response unconfirmed
1568
+ - nr-no response
1569
+ - pr-partial response
1570
+ - name: Therapeutic Agents
1571
+ field: cases.diagnoses.treatments.therapeutic_agents
1572
+ values:
1573
+ - abiraterone
1574
+ - ae37 peptide/gm-csf vaccine
1575
+ - afatinib
1576
+ - afatinib dimaleate
1577
+ - aldesleukin
1578
+ - altretamine
1579
+ - amifostine
1580
+ - aminocamptothecin
1581
+ - anastrozole
1582
+ - antineoplastic vaccine
1583
+ - arsenic trioxide
1584
+ - asparaginase
1585
+ - axitinib
1586
+ - azathioprine
1587
+ - banoxantrone
1588
+ - bcg solution
1589
+ - bendamustine
1590
+ - bevacizumab
1591
+ - bicalutamide
1592
+ - bleomycin
1593
+ - bortezomib
1594
+ - braf inhibitor
1595
+ - cabazitaxel
1596
+ - cabozantinib
1597
+ - cabozantinib s-malate
1598
+ - capecitabine
1599
+ - carboplatin
1600
+ - carfilzomib
1601
+ - carmustine
1602
+ - carmustine implant
1603
+ - cediranib
1604
+ - celecoxib
1605
+ - cetuximab
1606
+ - cilengitide
1607
+ - cintredekin besudotox
1608
+ - cisplatin
1609
+ - clinical trial
1610
+ - clinical trial agent
1611
+ - clodronate disodium
1612
+ - cositecan
1613
+ - cyclophosphamide
1614
+ - cytarabine
1615
+ - dabrafenib
1616
+ - dacarbazine
1617
+ - dactinomycin
1618
+ - daratumumab
1619
+ - dasatinib
1620
+ - daunorubicin
1621
+ - degarelix
1622
+ - dendritic cell vaccine
1623
+ - denosumab
1624
+ - dexamethasone
1625
+ - didox
1626
+ - docetaxel
1627
+ - doxifluridine
1628
+ - doxorubicin
1629
+ - doxorubicin hydrochloride
1630
+ - elotuzumab
1631
+ - epirubicin
1632
+ - epirubicin hydrochloride
1633
+ - erlotinib
1634
+ - erlotinib hydrochloride
1635
+ - etoposide
1636
+ - everolimus
1637
+ - exemestane
1638
+ - filgrastim
1639
+ - floxuridine
1640
+ - fluorouracil
1641
+ - fotemustine
1642
+ - fulvestrant
1643
+ - gefitinib
1644
+ - gemcitabine
1645
+ - gemcitabine hydrochloride
1646
+ - gemtuzumab ozogamicin
1647
+ - gonadotropin-releasing hormone analog
1648
+ - goserelin
1649
+ - goserelin acetate
1650
+ - gossypol
1651
+ - halichondrin b
1652
+ - hormone therapy
1653
+ - hpph
1654
+ - hydroxyurea
1655
+ - ifosfamide
1656
+ - imatinib
1657
+ - imatinib mesylate
1658
+ - iniparib
1659
+ - interferon
1660
+ - interferon alfa-2b
1661
+ - iodine i 131 monoclonal antibody 81c6
1662
+ - ipilimumab
1663
+ - irinotecan
1664
+ - irinotecan hydrochloride
1665
+ - irofulven
1666
+ - isotretinoin
1667
+ - ixabepilone
1668
+ - ixazomib
1669
+ - ketoconazole
1670
+ - lapatinib
1671
+ - lenalidomide
1672
+ - letrozole
1673
+ - leucovorin
1674
+ - leucovorin calcium
1675
+ - leuprolide
1676
+ - leuprolide acetate
1677
+ - levetiracetam
1678
+ - levothyroxine
1679
+ - levothyroxine sodium
1680
+ - liothyronine sodium
1681
+ - lomustine
1682
+ - lonafarnib
1683
+ - mage-a3 peptide vaccine
1684
+ - megestrol acetate
1685
+ - melphalan
1686
+ - mercaptopurine
1687
+ - mesna
1688
+ - methotrexate
1689
+ - methylprednisolone
1690
+ - mitomycin
1691
+ - mitotane
1692
+ - mitoxantrone
1693
+ - mivobulin isethionate
1694
+ - monoclonal antibody 81c6
1695
+ - motesanib diphosphate
1696
+ - motexafin gadolinium
1697
+ - nab-paclitaxel
1698
+ - nelipepimut-s
1699
+ - nivolumab
1700
+ - not otherwise specified
1701
+ - not reported
1702
+ - o6-benzylguanine
1703
+ - oregovomab
1704
+ - other
1705
+ - oxaliplatin
1706
+ - oxcarbazepine
1707
+ - paclitaxel
1708
+ - paclitaxel poliglumex
1709
+ - palonosetron hydrochloride
1710
+ - pamidronate disodium
1711
+ - panitumumab
1712
+ - panobinostat
1713
+ - patupilone
1714
+ - pazopanib
1715
+ - pazopanib hydrochloride
1716
+ - pegfilgrastim
1717
+ - peginterferon alfa-2b
1718
+ - pegylated liposomal doxorubicin hydrochloride
1719
+ - pembrolizumab
1720
+ - pemetrexed
1721
+ - pemetrexed disodium
1722
+ - pep-3-klh conjugate vaccine
1723
+ - platinum
1724
+ - polysaccharide-k
1725
+ - pomalidomide
1726
+ - porfimer sodium
1727
+ - prednisone
1728
+ - procarbazine
1729
+ - ramucirumab
1730
+ - recombinant interferon alfa
1731
+ - recombinant interferon alfa-2b
1732
+ - recombinant interleukin-12
1733
+ - recombinant interleukin-2
1734
+ - regorafenib
1735
+ - rituximab
1736
+ - sargramostim
1737
+ - selumetinib
1738
+ - sirolimus
1739
+ - sorafenib
1740
+ - sorafenib tosylate
1741
+ - streptozocin
1742
+ - sunitinib
1743
+ - sunitinib malate
1744
+ - tamoxifen
1745
+ - tamoxifen citrate
1746
+ - tegafur-gimeracil-oteracil potassium
1747
+ - temozolomide
1748
+ - temsirolimus
1749
+ - tetrathiomolybdate
1750
+ - thalidomide
1751
+ - thioguanine
1752
+ - tipifarnib
1753
+ - topotecan
1754
+ - topotecan hydrochloride
1755
+ - toremifene citrate
1756
+ - trabectedin
1757
+ - trametinib
1758
+ - trastuzumab
1759
+ - tretinoin
1760
+ - triptorelin
1761
+ - unknown
1762
+ - vandetanib
1763
+ - veliparib
1764
+ - vemurafenib
1765
+ - vinblastine
1766
+ - vincristine
1767
+ - vinorelbine
1768
+ - vinorelbine tartrate
1769
+ - vitespen
1770
+ - vorinostat
1771
+ - ziv-aflibercept
1772
+ - zoledronic acid
1773
+ - name: Treatment Intent Type
1774
+ field: cases.diagnoses.treatments.treatment_intent_type
1775
+ values:
1776
+ - adjuvant
1777
+ - androgen deprivation therapy (adt)
1778
+ - consolidation therapy
1779
+ - cure
1780
+ - first-line therapy
1781
+ - induction
1782
+ - maintenance therapy
1783
+ - neoadjuvant
1784
+ - not reported
1785
+ - palliative
1786
+ - prevention
1787
+ - re-excision
1788
+ - salvage
1789
+ - unknown
1790
+ - name: Treatment Outcome
1791
+ field: cases.diagnoses.treatments.treatment_outcome
1792
+ values:
1793
+ - complete response
1794
+ - no measurable disease
1795
+ - no response
1796
+ - not reported
1797
+ - partial response
1798
+ - persistent disease
1799
+ - progressive disease
1800
+ - stable disease
1801
+ - treatment ongoing
1802
+ - treatment stopped due to toxicity
1803
+ - unknown
1804
+ - name: Treatment Type
1805
+ field: cases.diagnoses.treatments.treatment_type
1806
+ values:
1807
+ - ablation or embolization, nos
1808
+ - ablation, cryo
1809
+ - ablation, ethanol injection
1810
+ - ablation, microwave
1811
+ - ablation, nos
1812
+ - ablation, radiofrequency
1813
+ - ancillary treatment
1814
+ - antiseizure treatment
1815
+ - biopsy, excisional
1816
+ - bisphosphonate therapy
1817
+ - brachytherapy, high dose
1818
+ - brachytherapy, low dose
1819
+ - brachytherapy, nos
1820
+ - chemoembolization
1821
+ - chemotherapy
1822
+ - distal pancreatectomy
1823
+ - external beam radiation
1824
+ - hormone therapy
1825
+ - hysterectomy, nos
1826
+ - i-131 radiation therapy
1827
+ - immunotherapy (including vaccines)
1828
+ - isolated limb perfusion (ilp)
1829
+ - not reported
1830
+ - organ transplantation
1831
+ - peptide receptor radionuclide therapy (prrt)
1832
+ - pharmaceutical therapy, nos
1833
+ - pleurodesis, nos
1834
+ - radiation therapy, nos
1835
+ - radiation, 2d conventional
1836
+ - radiation, 3d conformal
1837
+ - radiation, combination
1838
+ - radiation, cyberknife
1839
+ - radiation, external beam
1840
+ - radiation, implants
1841
+ - radiation, intensity-modulated radiotherapy
1842
+ - radiation, internal
1843
+ - radiation, mixed photon beam
1844
+ - radiation, proton beam
1845
+ - radiation, radioisotope
1846
+ - radiation, stereotactic/gamma knife/srs
1847
+ - radiation, systemic
1848
+ - radioembolization
1849
+ - radiosensitizing agent
1850
+ - stem cell transplantation, allogeneic
1851
+ - stem cell transplantation, autologous
1852
+ - stem cell transplantation, nos
1853
+ - stereotactic radiosurgery
1854
+ - steroid therapy
1855
+ - surgery, minimally invasive
1856
+ - surgery, nos
1857
+ - surgery, open
1858
+ - targeted molecular therapy
1859
+ - total pancreatectomy
1860
+ - unknown
1861
+ - whipple
1862
+ - name: Exposure
1863
+ cards:
1864
+ - name: Alcohol History
1865
+ field: cases.exposures.alcohol_history
1866
+ values:
1867
+ - 'no'
1868
+ - not reported
1869
+ - unknown
1870
+ - 'yes'
1871
+ - name: Alcohol Intensity
1872
+ field: cases.exposures.alcohol_intensity
1873
+ values:
1874
+ - drinker
1875
+ - heavy drinker
1876
+ - lifelong non-drinker
1877
+ - non-drinker
1878
+ - occasional drinker
1879
+ - social drinker
1880
+ - unknown
1881
+ - name: Tobacco Smoking Status
1882
+ field: cases.exposures.tobacco_smoking_status
1883
+ values:
1884
+ - current reformed smoker for < or = 15 yrs
1885
+ - current reformed smoker for > 15 yrs
1886
+ - current reformed smoker, duration not specified
1887
+ - current smoker
1888
+ - lifelong non-smoker
1889
+ - not reported
1890
+ - smoking history not documented
1891
+ - unknown
1892
+ # - name: Cigarettes Per Day
1893
+ # field: cases.exposures.cigarettes_per_day
1894
+ # values:
1895
+ # type: range
1896
+ # min: 0
1897
+ # max: 99999
1898
+ # unit: days
1899
+ # min_label: From
1900
+ # max_label: To
1901
+ # - name: Pack Years Smoked
1902
+ # field: cases.exposures.pack_years_smoked
1903
+ # values:
1904
+ # type: range
1905
+ # min: 0
1906
+ # max: 999999
1907
+ # unit: years
1908
+ # min_label: From
1909
+ # max_label: To
1910
+ # - name: Tobacco Smoking Onset Year
1911
+ # field: cases.exposures.tobacco_smoking_onset_year
1912
+ # values:
1913
+ # type: range+checkboxes
1914
+ # min: 1950
1915
+ # max: 2050
1916
+ # min_label: From
1917
+ # max_label: To
1918
+ # popular:
1919
+ # - label: '>= 1970 to < 1980 yrs'
1920
+ # min: 1970
1921
+ # max: 1980
1922
+ # - label: '>= 1960 to < 1970 yrs'
1923
+ # min: 1960
1924
+ # max: 1970
1925
+ # - label: '>= 1950 to < 1960 yrs'
1926
+ # min: 1950
1927
+ # max: 1960
1928
+ # - label: '>= 1940 to < 1950 yrs'
1929
+ # min: 1940
1930
+ # max: 1950
1931
+ # - label: '>= 1930 to < 1940 yrs'
1932
+ # min: 1930
1933
+ # max: 1940
1934
+ # - label: '>= 1920 to < 1930 yrs'
1935
+ # min: 1920
1936
+ # max: 1930
1937
+ - name: Biospecimen
1938
+ cards:
1939
+ - name: Tissue Type
1940
+ field: cases.samples.tissue_type
1941
+ values:
1942
+ - normal
1943
+ - peritumoral
1944
+ - tumor
1945
+ - name: Biospecimen Anatomic Site
1946
+ field: cases.samples.biospecimen_anatomic_site
1947
+ values:
1948
+ - abdomen
1949
+ - abdominal wall
1950
+ - adrenal
1951
+ - anus
1952
+ - appendix
1953
+ - axilla
1954
+ - back
1955
+ - bladder
1956
+ - blood
1957
+ - bone
1958
+ - bone marrow
1959
+ - brain
1960
+ - breast
1961
+ - bronchus
1962
+ - brow
1963
+ - buccal mucosa
1964
+ - cerebral cortex
1965
+ - cerebrum
1966
+ - cervical spine
1967
+ - cervix
1968
+ - chest
1969
+ - chest wall
1970
+ - chin
1971
+ - colon
1972
+ - esophagus
1973
+ - fallopian tube
1974
+ - forearm
1975
+ - forehead
1976
+ - frontal cortex
1977
+ - frontal lobe
1978
+ - gallbladder
1979
+ - gastrointestinal tract
1980
+ - groin
1981
+ - gum
1982
+ - head & neck
1983
+ - head, face or neck, nos
1984
+ - heart
1985
+ - hepatic flexure
1986
+ - ilium
1987
+ - kidney
1988
+ - large bowel
1989
+ - leg
1990
+ - leptomeninges
1991
+ - liver
1992
+ - lung
1993
+ - lymph node
1994
+ - lymph node(s) axilla
1995
+ - lymph node(s) cervical
1996
+ - lymph node(s) hilar
1997
+ - lymph node(s) iliac-common
1998
+ - lymph node(s) inguinal
1999
+ - lymph node(s) mammary
2000
+ - lymph node(s) mesenteric
2001
+ - lymph node(s) paraaortic
2002
+ - lymph node(s) pelvic
2003
+ - lymph node(s) regional
2004
+ - lymph node(s) retroperitoneal
2005
+ - lymph node(s) splenic
2006
+ - lymph node(s) submandibular
2007
+ - lymph node(s) supraclavicular
2008
+ - lymph nodes(s) mediastinal
2009
+ - mandible
2010
+ - maxilla
2011
+ - mediastinal soft tissue
2012
+ - mediastinum
2013
+ - mesentery
2014
+ - muscle
2015
+ - neck
2016
+ - not reported
2017
+ - occipital cortex
2018
+ - omentum
2019
+ - oral cavity
2020
+ - other
2021
+ - ovary
2022
+ - pancreas
2023
+ - parotid gland
2024
+ - pelvis
2025
+ - peritoneal cavity
2026
+ - peritoneum
2027
+ - pleura
2028
+ - prostate
2029
+ - retroperitoneum
2030
+ - rib
2031
+ - scalp
2032
+ - shoulder
2033
+ - sigmoid colon
2034
+ - sinus
2035
+ - skeletal muscle
2036
+ - skin
2037
+ - skull
2038
+ - small bowel
2039
+ - soft tissue
2040
+ - spinal column
2041
+ - spleen
2042
+ - stomach
2043
+ - temporal cortex
2044
+ - testis
2045
+ - thorax
2046
+ - thyroid
2047
+ - tongue
2048
+ - unknown
2049
+ - uterus
2050
+ - vagina
2051
+ - vein
2052
+ - vulva
2053
+ - name: Specimen Type
2054
+ field: cases.samples.specimen_type
2055
+ values:
2056
+ - 2d modified conditionally reprogrammed cells
2057
+ - 3d air-liquid interface organoid
2058
+ - 3d neurosphere
2059
+ - 3d organoid
2060
+ - adherent cell line
2061
+ - bone marrow components nos
2062
+ - bone marrow nos
2063
+ - buccal cells
2064
+ - buffy coat
2065
+ - cell
2066
+ - derived cell line
2067
+ - fibroblasts from bone marrow
2068
+ - granulocytes
2069
+ - human original cells
2070
+ - lymphocytes
2071
+ - lymphoid
2072
+ - mixed adherent suspension
2073
+ - mononuclear cells from bone marrow
2074
+ - peripheral blood components nos
2075
+ - peripheral blood nos
2076
+ - peripheral whole blood
2077
+ - pleural effusion
2078
+ - saliva
2079
+ - solid tissue
2080
+ - sorted cells
2081
+ - unknown
2082
+ - whole bone marrow
2083
+ - name: Preservation Method
2084
+ field: cases.samples.preservation_method
2085
+ values:
2086
+ - cryopreserved
2087
+ - edta
2088
+ - ffpe
2089
+ - fresh
2090
+ - frozen
2091
+ - oct
2092
+ - snap frozen
2093
+ - unknown
2094
+ - name: Tumor Descriptor
2095
+ field: cases.samples.tumor_descriptor
2096
+ values:
2097
+ - metastatic
2098
+ - new primary
2099
+ - not applicable
2100
+ - not reported
2101
+ - premalignant
2102
+ - primary
2103
+ - recurrence
2104
+ - unknown
2105
+ - xenograft
2106
+ - name: Analyte Type
2107
+ field: cases.samples.portions.analytes.aliquots.analyte_type
2108
+ values:
2109
+ - cfdna
2110
+ - dna
2111
+ - ffpe dna
2112
+ - ffpe rna
2113
+ - nuclei rna
2114
+ - rna
2115
+ - total rna
2116
+ - name: Available Data
2117
+ cards:
2118
+ - name: Data Category
2119
+ field: files.data_category
2120
+ values:
2121
+ - biospecimen
2122
+ - clinical
2123
+ - combined nucleotide variation
2124
+ - copy number variation
2125
+ - dna methylation
2126
+ - proteome profiling
2127
+ - sequencing reads
2128
+ - simple nucleotide variation
2129
+ - somatic structural variation
2130
+ - structural variation
2131
+ - transcriptome profiling
2132
+ - name: Data Type
2133
+ field: files.data_type
2134
+ values:
2135
+ - Aggregated Somatic Mutation
2136
+ - Aligned Reads
2137
+ - Allele-specific Copy Number Segment
2138
+ - Annotated Somatic Mutation
2139
+ - Biospecimen Supplement
2140
+ - Clinical Supplement
2141
+ - Copy Number Segment
2142
+ - Differential Gene Expression
2143
+ - Gene Expression Quantification
2144
+ - Gene Level Copy Number
2145
+ - Intermediate Analysis Archive
2146
+ - Isoform Expression Quantification
2147
+ - Masked Copy Number Segment
2148
+ - Masked Intensities
2149
+ - Masked Somatic Mutation
2150
+ - Methylation Beta Value
2151
+ - miRNA Expression Quantification
2152
+ - Pathology Report
2153
+ - Protein Expression Quantification
2154
+ - Raw CGI Variant
2155
+ - Raw Intensities
2156
+ - Raw Simple Somatic Mutation
2157
+ - Simple Germline Variation
2158
+ - Single Cell Analysis
2159
+ - Slide Image
2160
+ - Splice Junction Quantification
2161
+ - Structural Rearrangement
2162
+ - Tissue Microarray Image
2163
+ - Transcript Fusion
2164
+ - name: Experimental Strategy
2165
+ field: files.experimental_strategy
2166
+ values:
2167
+ - ATAC-Seq
2168
+ - Diagnostic Slide
2169
+ - Expression Array
2170
+ - Genotyping Array
2171
+ - Methylation Array
2172
+ - miRNA-Seq
2173
+ - Reverse Phase Protein Array
2174
+ - RNA-Seq
2175
+ - scRNA-Seq
2176
+ - Targeted Sequencing
2177
+ - Tissue Slide
2178
+ - WGS
2179
+ - WXS
2180
+ - name: Workflow Type
2181
+ field: files.analysis.workflow_type
2182
+ values:
2183
+ - ABSOLUTE LiftOver
2184
+ - Aliquot Ensemble Somatic Variant Merging and Masking
2185
+ - Arriba
2186
+ - ASCAT2
2187
+ - ASCAT3
2188
+ - AscatNGS
2189
+ - BCGSC miRNA Profiling
2190
+ - Birdseed
2191
+ - BRASS
2192
+ - BWA
2193
+ - BWA with BQSR
2194
+ - BWA with Mark Duplicates and BQSR
2195
+ - BWA-aln
2196
+ - CaVEMan
2197
+ - CellRanger - 10x Chromium
2198
+ - CellRanger - 10x Filtered Counts
2199
+ - CellRanger - 10x Raw Counts
2200
+ - DNAcopy
2201
+ - FM Simple Somatic Mutation
2202
+ - FoundationOne Annotation
2203
+ - FoundationOne Variant Aggregation and Masking
2204
+ - GATK4 CNV
2205
+ - GATK4 MuTect2
2206
+ - GATK4 MuTect2 Annotation
2207
+ - GATK4 MuTect2 Tumor-Only
2208
+ - GATK4 MuTect2 Tumor-Only Annotation
2209
+ - Manta
2210
+ - MuSE
2211
+ - MuSE Annotation
2212
+ - MuTect2
2213
+ - MuTect2 Annotation
2214
+ - Pindel
2215
+ - Pindel Annotation
2216
+ - SeSAMe Methylation Beta Estimation
2217
+ - Seurat - 10x Chromium
2218
+ - STAR - Counts
2219
+ - STAR 2-Pass Chimeric
2220
+ - STAR 2-Pass Genome
2221
+ - STAR 2-Pass Transcriptome
2222
+ - STAR-Fusion
2223
+ - SvABA
2224
+ - SvABA Indel
2225
+ - SvABA Indel Annotation
2226
+ - Tumor-Only Somatic Variant Merging and Masking
2227
+ - VarScan2
2228
+ - VarScan2 Annotation
2229
+ - VCF LiftOver
2230
+ - name: Data Format
2231
+ field: files.data_format
2232
+ values:
2233
+ - bam
2234
+ - bcr auxiliary xml
2235
+ - bcr biotab
2236
+ - bcr omf xml
2237
+ - bcr pps xml
2238
+ - bcr ssf xml
2239
+ - bcr xml
2240
+ - bedpe
2241
+ - cdc json
2242
+ - cel
2243
+ - hdf5
2244
+ - idat
2245
+ - jpeg 2000
2246
+ - maf
2247
+ - mex
2248
+ - pdf
2249
+ - svs
2250
+ - tar
2251
+ - tsv
2252
+ - txt
2253
+ - vcf
2254
+ - xlsx
2255
+ - name: Platform
2256
+ field: files.platform
2257
+ values:
2258
+ - affymetrix snp 6.0
2259
+ - complete genomics
2260
+ - genechip u133 plus 2.0
2261
+ - genechip u133a
2262
+ - illumina
2263
+ - illumina human methylation 27
2264
+ - illumina human methylation 450
2265
+ - illumina methylation epic
2266
+ - illumina methylation epic v2
2267
+ - rppa
2268
+ - name: Access
2269
+ field: files.access
2270
+ values:
2271
+ - controlled
2272
+ - open
requirements.txt ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ torch==2.5.1
2
+ transformers==4.50.0
3
+ gradio==5.35.0
4
+ guidance==0.2.4
5
+ spaces
schema.py ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from enum import Enum
2
+ from typing import Annotated, Literal
3
+
4
+ from pydantic import BaseModel, Field, StringConstraints
5
+
6
+
7
+ class InnerOp(Enum):
8
+ IN = "in"
9
+ EQ = "="
10
+ LT = "<"
11
+ GT = ">"
12
+ LE = "<="
13
+ GE = ">="
14
+
15
+
16
+ class MiddleOp(Enum):
17
+ AND = "and"
18
+
19
+
20
+ class OuterOp(Enum):
21
+ AND = "and"
22
+
23
+
24
+ class InnerStrContent(BaseModel):
25
+ field: Annotated[str, StringConstraints(min_length=1, max_length=64)]
26
+ value: list[Annotated[str, StringConstraints(min_length=1, max_length=128)]]
27
+
28
+
29
+ class InnerAgeDxContent(BaseModel):
30
+ field: Literal["cases.diagnoses.age_at_diagnosis"]
31
+ value: Annotated[int, Field(ge=0, le=32872)]
32
+
33
+
34
+ class InnerYearDxContent(BaseModel):
35
+ field: Literal["cases.diagnoses.year_of_diagnosis"]
36
+ value: Annotated[int, Field(ge=1900, le=2050)]
37
+
38
+
39
+ class InnerCigDayContent(BaseModel):
40
+ field: Literal["cases.exposures.cigarettes_per_day"]
41
+ value: Annotated[int, Field(ge=0, le=999999)]
42
+
43
+
44
+ class InnerPackYrContent(BaseModel):
45
+ field: Literal["cases.exposures.pack_years_smoked"]
46
+ value: Annotated[int, Field(ge=0, le=999999)]
47
+
48
+
49
+ class InnerCigStrtContent(BaseModel):
50
+ field: Literal["cases.exposures.tobacco_smoking_onset_year"]
51
+ value: Annotated[int, Field(ge=1900, le=2050)]
52
+
53
+
54
+ class Inner(BaseModel):
55
+ op: InnerOp
56
+ content: (
57
+ InnerStrContent
58
+ | InnerAgeDxContent
59
+ | InnerYearDxContent
60
+ | InnerCigDayContent
61
+ | InnerPackYrContent
62
+ | InnerCigStrtContent
63
+ )
64
+
65
+
66
+ class Middle(BaseModel):
67
+ op: MiddleOp
68
+ content: list[Inner]
69
+
70
+
71
+ class GDCCohortSchema(BaseModel):
72
+ op: OuterOp
73
+ content: list[Inner | Middle]
style.css ADDED
@@ -0,0 +1,105 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ :root {
2
+ --card-min-width: 300px;
3
+ }
4
+
5
+ #description-input button {
6
+ background-color: var(--button-primary-background-fill);
7
+ color: var(--button-primary-text-color);
8
+ font-weight: var(--button-large-text-weight);
9
+ }
10
+
11
+ #description-input button:hover {
12
+ background-color: var(--button-primary-background-fill-hover);
13
+ color: var(--button-primary-text-color-hover);
14
+ }
15
+
16
+ #case-counter textarea {
17
+ text-align: center;
18
+ font-weight: 800;
19
+ font-size: calc(var(--block-title-text-size) + 2px);
20
+ }
21
+
22
+ #json-output textarea {
23
+ height: 96px !important;
24
+ }
25
+
26
+ .card-group, .card-group > div {
27
+ background-color: transparent;
28
+ border: 0px;
29
+ }
30
+
31
+ .card-group > div {
32
+ display: grid !important;
33
+ /* grid-template-columns: repeat(3, minmax(var(--card-min-width), 1fr)); */
34
+ grid-auto-rows: auto !important;
35
+ gap: 12px !important;
36
+ }
37
+
38
+ @media (min-width: 768px) {
39
+ .card-group > div {
40
+ grid-template-columns: repeat(1, minmax(var(--card-min-width), 1fr));
41
+ }
42
+ }
43
+
44
+ @media (min-width: 1024px) {
45
+ .card-group > div {
46
+ grid-template-columns: repeat(2, minmax(var(--card-min-width), 1fr));
47
+ }
48
+ }
49
+
50
+ @media (min-width: 1420px) {
51
+ .card-group > div {
52
+ grid-template-columns: repeat(3, minmax(var(--card-min-width), 1fr));
53
+ }
54
+ }
55
+
56
+ .filter-card {
57
+ min-width: min(var(--card-min-width), 100%) !important;
58
+ height: 254px; /* this height clips the option text to help indicate the need to scroll */
59
+ border: var(--block-border-width) solid var(--block-border-color) !important;
60
+ border-radius: var(--block-radius) !important;
61
+ overflow-y: scroll;
62
+ }
63
+
64
+ /* target the span with the card title */
65
+ .filter-card > span:first-of-type {
66
+ font-weight: 800;
67
+ font-size: calc(var(--block-title-text-size) + 2px);
68
+ text-decoration: underline;
69
+ }
70
+
71
+ /* target the div with the labels */
72
+ .filter-card div:last-of-type {
73
+ display: block;
74
+ }
75
+
76
+ .filter-card label {
77
+ border: 0;
78
+ }
79
+
80
+ .filter-card::-webkit-scrollbar, #json-output textarea::-webkit-scrollbar {
81
+ -webkit-appearance: none;
82
+ width: 7px;
83
+ }
84
+ .filter-card::-webkit-scrollbar-thumb, #json-output textarea::-webkit-scrollbar-thumb {
85
+ border-radius: 4px;
86
+ background-color: rgba(150,150,150,.5);
87
+ -webkit-box-shadow: 0 0 1px rgba(255,255,255,.5);
88
+ }
89
+
90
+ @keyframes spin {
91
+ to {
92
+ transform: rotate(360deg);
93
+ }
94
+ }
95
+
96
+ .spinner {
97
+ width: 24px;
98
+ height: 24px;
99
+ border: 4px solid rgba(0, 0, 0, 0.1);
100
+ border-top-color: #3498db;
101
+ border-radius: 50%;
102
+ animation: spin 1s linear infinite;
103
+ display: inline-block;
104
+ }
105
+