Skip to content

Commit e30229f

Browse files
committed
stripped output manually
1 parent d474de4 commit e30229f

1 file changed

Lines changed: 18 additions & 219 deletions

File tree

notebooks/Untitled.ipynb

Lines changed: 18 additions & 219 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
"cells": [
33
{
44
"cell_type": "code",
5-
"execution_count": 9,
6-
"id": "3a5ff52e",
5+
"execution_count": null,
6+
"id": "0",
77
"metadata": {},
88
"outputs": [],
99
"source": [
@@ -107,115 +107,10 @@
107107
},
108108
{
109109
"cell_type": "code",
110-
"execution_count": 23,
111-
"id": "f034aae3",
112-
"metadata": {
113-
"scrolled": false
114-
},
115-
"outputs": [
116-
{
117-
"name": "stdout",
118-
"output_type": "stream",
119-
"text": [
120-
"hit Hemochromatosis (disorder) count_subject_present\n",
121-
"hit Bronze cirrhosis (disorder) count_subject_present\n",
122-
"hit Bronze diabetes (disorder) count_subject_present\n",
123-
"hit Hereditary hemochromatosis (disorder) count_subject_present\n",
124-
"hit Autosomal dominant hereditary hemochromatosis (disorder) count_subject_present\n",
125-
"hit 1186847009 count_subject_present\n",
126-
"hit Hemochromatosis type 3 (disorder) count_subject_present\n",
127-
"hit Juvenile hemochromatosis (disorder) count_subject_present\n",
128-
"hit 1186849007 count_subject_present\n",
129-
"hit 1186844002 count_subject_present\n",
130-
"hit Idiopathic hemochromatosis (disorder) count_subject_present\n",
131-
"hit Neonatal hemochromatosis (disorder) count_subject_present\n",
132-
"hit Primary hemochromatosis (disorder) count_subject_present\n",
133-
"hit Secondary hemochromatosis (disorder) count_subject_present\n",
134-
"hit African nutritional hemochromatosis (disorder) count_subject_present\n",
135-
"hit Erythropoietic hemochromatosis (disorder) count_subject_present\n",
136-
"hit Hemochromatosis following repeated red blood cell transfusion (disorder) count_subject_present\n",
137-
"hit Homozygous For The C . 845G A P . Cys282Tyr Variant count_subject_present\n",
138-
"hit Hfe Ph63D Heterozygous Normal Variant count_subject_present\n",
139-
"hit Homozygous For Haemochromatosis Gene Mutation count_subject_present\n",
140-
"hit Homozygous For The C . 845G A P . Cys282Tyr Variant count_subject_present\n",
141-
"hit Homozygous For The C2828Y Mutation Of The Hfe Gene count_subject_present\n",
142-
"hit Hfe Ph63D Heterozygous Normal Variant count_subject_present\n",
143-
"hit Homozygous For The H63D Mutation count_subject_present\n",
144-
"hit This Patient Is A Carrier For The Mutation In The Hfe Gene At Position 282 C Y This Patient Is A Carrier For The Mutation In The Hfe Gene At Position 63 H D count_subject_present\n",
145-
"hit Homozygous For Haemochromatosis Gene Mutation count_subject_present\n",
146-
"hit Heterozygous For The Haemochromatosis Gene count_subject_present\n",
147-
"hit Haemochromatosis gene screening test (observable entity) count_subject_present\n",
148-
"hit Carrier of hemochromatosis (finding) count_subject_present\n",
149-
"hit Hemochromatosis gene screening test (procedure) count_subject_present\n",
150-
"hit Iron overload (disorder) count_subject_present\n",
151-
"hit Family history of hemochromatosis (situation) count_subject_present\n",
152-
"Hemochromatosis (disorder)_count_subject_not_present\n",
153-
"Hemochromatosis (disorder)_count_relative_not_present\n",
154-
"Bronze cirrhosis (disorder)_count_subject_not_present\n",
155-
"Bronze cirrhosis (disorder)_count_relative_not_present\n",
156-
"Bronze diabetes (disorder)_count_subject_not_present\n",
157-
"Bronze diabetes (disorder)_count_relative_not_present\n",
158-
"Hereditary hemochromatosis (disorder)_count_subject_not_present\n",
159-
"Hereditary hemochromatosis (disorder)_count_relative_not_present\n",
160-
"Autosomal dominant hereditary hemochromatosis (disorder)_count_subject_not_present\n",
161-
"Autosomal dominant hereditary hemochromatosis (disorder)_count_relative_not_present\n",
162-
"1186847009_count_subject_not_present\n",
163-
"1186847009_count_relative_not_present\n",
164-
"Hemochromatosis type 3 (disorder)_count_subject_not_present\n",
165-
"Hemochromatosis type 3 (disorder)_count_relative_not_present\n",
166-
"Juvenile hemochromatosis (disorder)_count_subject_not_present\n",
167-
"Juvenile hemochromatosis (disorder)_count_relative_not_present\n",
168-
"1186849007_count_subject_not_present\n",
169-
"1186849007_count_relative_not_present\n",
170-
"1186844002_count_subject_not_present\n",
171-
"1186844002_count_relative_not_present\n",
172-
"Idiopathic hemochromatosis (disorder)_count_subject_not_present\n",
173-
"Idiopathic hemochromatosis (disorder)_count_relative_not_present\n",
174-
"Neonatal hemochromatosis (disorder)_count_subject_not_present\n",
175-
"Neonatal hemochromatosis (disorder)_count_relative_not_present\n",
176-
"Primary hemochromatosis (disorder)_count_subject_not_present\n",
177-
"Primary hemochromatosis (disorder)_count_relative_not_present\n",
178-
"Secondary hemochromatosis (disorder)_count_subject_not_present\n",
179-
"Secondary hemochromatosis (disorder)_count_relative_not_present\n",
180-
"African nutritional hemochromatosis (disorder)_count_subject_not_present\n",
181-
"African nutritional hemochromatosis (disorder)_count_relative_not_present\n",
182-
"Erythropoietic hemochromatosis (disorder)_count_subject_not_present\n",
183-
"Erythropoietic hemochromatosis (disorder)_count_relative_not_present\n",
184-
"Hemochromatosis following repeated red blood cell transfusion (disorder)_count_subject_not_present\n",
185-
"Hemochromatosis following repeated red blood cell transfusion (disorder)_count_relative_not_present\n",
186-
"Homozygous For The C . 845G A P . Cys282Tyr Variant_count_subject_not_present\n",
187-
"Homozygous For The C . 845G A P . Cys282Tyr Variant_count_relative_not_present\n",
188-
"Hfe Ph63D Heterozygous Normal Variant_count_subject_not_present\n",
189-
"Hfe Ph63D Heterozygous Normal Variant_count_relative_not_present\n",
190-
"Homozygous For Haemochromatosis Gene Mutation_count_subject_not_present\n",
191-
"Homozygous For Haemochromatosis Gene Mutation_count_relative_not_present\n",
192-
"Homozygous For The C . 845G A P . Cys282Tyr Variant_count_subject_not_present\n",
193-
"Homozygous For The C . 845G A P . Cys282Tyr Variant_count_relative_not_present\n",
194-
"Homozygous For The C2828Y Mutation Of The Hfe Gene_count_subject_not_present\n",
195-
"Homozygous For The C2828Y Mutation Of The Hfe Gene_count_relative_not_present\n",
196-
"Hfe Ph63D Heterozygous Normal Variant_count_subject_not_present\n",
197-
"Hfe Ph63D Heterozygous Normal Variant_count_relative_not_present\n",
198-
"Homozygous For The H63D Mutation_count_subject_not_present\n",
199-
"Homozygous For The H63D Mutation_count_relative_not_present\n",
200-
"This Patient Is A Carrier For The Mutation In The Hfe Gene At Position 282 C Y This Patient Is A Carrier For The Mutation In The Hfe Gene At Position 63 H D_count_subject_not_present\n",
201-
"This Patient Is A Carrier For The Mutation In The Hfe Gene At Position 282 C Y This Patient Is A Carrier For The Mutation In The Hfe Gene At Position 63 H D_count_relative_not_present\n",
202-
"Homozygous For Haemochromatosis Gene Mutation_count_subject_not_present\n",
203-
"Homozygous For Haemochromatosis Gene Mutation_count_relative_not_present\n",
204-
"Heterozygous For The Haemochromatosis Gene_count_subject_not_present\n",
205-
"Heterozygous For The Haemochromatosis Gene_count_relative_not_present\n",
206-
"Haemochromatosis gene screening test (observable entity)_count_subject_not_present\n",
207-
"Haemochromatosis gene screening test (observable entity)_count_relative_not_present\n",
208-
"Carrier of hemochromatosis (finding)_count_subject_not_present\n",
209-
"Carrier of hemochromatosis (finding)_count_relative_not_present\n",
210-
"Hemochromatosis gene screening test (procedure)_count_subject_not_present\n",
211-
"Hemochromatosis gene screening test (procedure)_count_relative_not_present\n",
212-
"Iron overload (disorder)_count_subject_not_present\n",
213-
"Iron overload (disorder)_count_relative_not_present\n",
214-
"Family history of hemochromatosis (situation)_count_subject_not_present\n",
215-
"Family history of hemochromatosis (situation)_count_relative_not_present\n"
216-
]
217-
}
218-
],
110+
"execution_count": null,
111+
"id": "1",
112+
"metadata": {},
113+
"outputs": [],
219114
"source": [
220115
"def add_not_present_strings(input_list):\n",
221116
" result_list = []\n",
@@ -252,29 +147,18 @@
252147
},
253148
{
254149
"cell_type": "code",
255-
"execution_count": 17,
256-
"id": "acabb4fb",
150+
"execution_count": null,
151+
"id": "2",
257152
"metadata": {},
258-
"outputs": [
259-
{
260-
"data": {
261-
"text/plain": [
262-
"[]"
263-
]
264-
},
265-
"execution_count": 17,
266-
"metadata": {},
267-
"output_type": "execute_result"
268-
}
269-
],
153+
"outputs": [],
270154
"source": [
271155
"result"
272156
]
273157
},
274158
{
275159
"cell_type": "code",
276-
"execution_count": 7,
277-
"id": "e5738017",
160+
"execution_count": null,
161+
"id": "3",
278162
"metadata": {},
279163
"outputs": [],
280164
"source": [
@@ -283,113 +167,28 @@
283167
},
284168
{
285169
"cell_type": "code",
286-
"execution_count": 8,
287-
"id": "1cec846d",
170+
"execution_count": null,
171+
"id": "4",
288172
"metadata": {},
289-
"outputs": [
290-
{
291-
"data": {
292-
"text/plain": [
293-
"('Hemochromatosis (disorder)', 'count')"
294-
]
295-
},
296-
"execution_count": 8,
297-
"metadata": {},
298-
"output_type": "execute_result"
299-
}
300-
],
173+
"outputs": [],
301174
"source": [
302175
"prefix, suffix"
303176
]
304177
},
305178
{
306179
"cell_type": "code",
307-
"execution_count": 24,
308-
"id": "8a2ace44",
180+
"execution_count": null,
181+
"id": "5",
309182
"metadata": {},
310-
"outputs": [
311-
{
312-
"data": {
313-
"text/plain": [
314-
"['Hemochromatosis (disorder)_count_subject_not_present',\n",
315-
" 'Hemochromatosis (disorder)_count_relative_not_present',\n",
316-
" 'Bronze cirrhosis (disorder)_count_subject_not_present',\n",
317-
" 'Bronze cirrhosis (disorder)_count_relative_not_present',\n",
318-
" 'Bronze diabetes (disorder)_count_subject_not_present',\n",
319-
" 'Bronze diabetes (disorder)_count_relative_not_present',\n",
320-
" 'Hereditary hemochromatosis (disorder)_count_subject_not_present',\n",
321-
" 'Hereditary hemochromatosis (disorder)_count_relative_not_present',\n",
322-
" 'Autosomal dominant hereditary hemochromatosis (disorder)_count_subject_not_present',\n",
323-
" 'Autosomal dominant hereditary hemochromatosis (disorder)_count_relative_not_present',\n",
324-
" '1186847009_count_subject_not_present',\n",
325-
" '1186847009_count_relative_not_present',\n",
326-
" 'Hemochromatosis type 3 (disorder)_count_subject_not_present',\n",
327-
" 'Hemochromatosis type 3 (disorder)_count_relative_not_present',\n",
328-
" 'Juvenile hemochromatosis (disorder)_count_subject_not_present',\n",
329-
" 'Juvenile hemochromatosis (disorder)_count_relative_not_present',\n",
330-
" '1186849007_count_subject_not_present',\n",
331-
" '1186849007_count_relative_not_present',\n",
332-
" '1186844002_count_subject_not_present',\n",
333-
" '1186844002_count_relative_not_present',\n",
334-
" 'Idiopathic hemochromatosis (disorder)_count_subject_not_present',\n",
335-
" 'Idiopathic hemochromatosis (disorder)_count_relative_not_present',\n",
336-
" 'Neonatal hemochromatosis (disorder)_count_subject_not_present',\n",
337-
" 'Neonatal hemochromatosis (disorder)_count_relative_not_present',\n",
338-
" 'Primary hemochromatosis (disorder)_count_subject_not_present',\n",
339-
" 'Primary hemochromatosis (disorder)_count_relative_not_present',\n",
340-
" 'Secondary hemochromatosis (disorder)_count_subject_not_present',\n",
341-
" 'Secondary hemochromatosis (disorder)_count_relative_not_present',\n",
342-
" 'African nutritional hemochromatosis (disorder)_count_subject_not_present',\n",
343-
" 'African nutritional hemochromatosis (disorder)_count_relative_not_present',\n",
344-
" 'Erythropoietic hemochromatosis (disorder)_count_subject_not_present',\n",
345-
" 'Erythropoietic hemochromatosis (disorder)_count_relative_not_present',\n",
346-
" 'Hemochromatosis following repeated red blood cell transfusion (disorder)_count_subject_not_present',\n",
347-
" 'Hemochromatosis following repeated red blood cell transfusion (disorder)_count_relative_not_present',\n",
348-
" 'Homozygous For The C . 845G A P . Cys282Tyr Variant_count_subject_not_present',\n",
349-
" 'Homozygous For The C . 845G A P . Cys282Tyr Variant_count_relative_not_present',\n",
350-
" 'Hfe Ph63D Heterozygous Normal Variant_count_subject_not_present',\n",
351-
" 'Hfe Ph63D Heterozygous Normal Variant_count_relative_not_present',\n",
352-
" 'Homozygous For Haemochromatosis Gene Mutation_count_subject_not_present',\n",
353-
" 'Homozygous For Haemochromatosis Gene Mutation_count_relative_not_present',\n",
354-
" 'Homozygous For The C . 845G A P . Cys282Tyr Variant_count_subject_not_present',\n",
355-
" 'Homozygous For The C . 845G A P . Cys282Tyr Variant_count_relative_not_present',\n",
356-
" 'Homozygous For The C2828Y Mutation Of The Hfe Gene_count_subject_not_present',\n",
357-
" 'Homozygous For The C2828Y Mutation Of The Hfe Gene_count_relative_not_present',\n",
358-
" 'Hfe Ph63D Heterozygous Normal Variant_count_subject_not_present',\n",
359-
" 'Hfe Ph63D Heterozygous Normal Variant_count_relative_not_present',\n",
360-
" 'Homozygous For The H63D Mutation_count_subject_not_present',\n",
361-
" 'Homozygous For The H63D Mutation_count_relative_not_present',\n",
362-
" 'This Patient Is A Carrier For The Mutation In The Hfe Gene At Position 282 C Y This Patient Is A Carrier For The Mutation In The Hfe Gene At Position 63 H D_count_subject_not_present',\n",
363-
" 'This Patient Is A Carrier For The Mutation In The Hfe Gene At Position 282 C Y This Patient Is A Carrier For The Mutation In The Hfe Gene At Position 63 H D_count_relative_not_present',\n",
364-
" 'Homozygous For Haemochromatosis Gene Mutation_count_subject_not_present',\n",
365-
" 'Homozygous For Haemochromatosis Gene Mutation_count_relative_not_present',\n",
366-
" 'Heterozygous For The Haemochromatosis Gene_count_subject_not_present',\n",
367-
" 'Heterozygous For The Haemochromatosis Gene_count_relative_not_present',\n",
368-
" 'Haemochromatosis gene screening test (observable entity)_count_subject_not_present',\n",
369-
" 'Haemochromatosis gene screening test (observable entity)_count_relative_not_present',\n",
370-
" 'Carrier of hemochromatosis (finding)_count_subject_not_present',\n",
371-
" 'Carrier of hemochromatosis (finding)_count_relative_not_present',\n",
372-
" 'Hemochromatosis gene screening test (procedure)_count_subject_not_present',\n",
373-
" 'Hemochromatosis gene screening test (procedure)_count_relative_not_present',\n",
374-
" 'Iron overload (disorder)_count_subject_not_present',\n",
375-
" 'Iron overload (disorder)_count_relative_not_present',\n",
376-
" 'Family history of hemochromatosis (situation)_count_subject_not_present',\n",
377-
" 'Family history of hemochromatosis (situation)_count_relative_not_present']"
378-
]
379-
},
380-
"execution_count": 24,
381-
"metadata": {},
382-
"output_type": "execute_result"
383-
}
384-
],
183+
"outputs": [],
385184
"source": [
386185
"result"
387186
]
388187
},
389188
{
390189
"cell_type": "code",
391190
"execution_count": null,
392-
"id": "156971d5",
191+
"id": "6",
393192
"metadata": {},
394193
"outputs": [],
395194
"source": []

0 commit comments

Comments
 (0)