Skip to content

Commit b8d7b7b

Browse files
authored
Merge pull request #225 from monarch-initiative/update-tutorial
Update tutorial
2 parents 6cc296e + acb8e55 commit b8d7b7b

33 files changed

Lines changed: 1223 additions & 541 deletions

‎docs/_static/genophenocorr.css‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
.wy-nav-content {
2-
max-width: 55% !important;
2+
max-width: 1200px !important;
33
}
62.3 KB
Loading

‎docs/index.rst‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
=============
2-
genophenocorr
3-
=============
1+
=====
2+
GPSEA
3+
=====
44

55

66
The concept of phenotype denote the observable attributes of an individual, but in
@@ -10,9 +10,9 @@ A key question in biology and human genetics concerns the relationships between
1010
genetics, the focus is generally placed on the study of whether specific disease-causing alleles are associated with specific phenotypic
1111
manifestations of the disease.
1212

13-
`genophenocorr` is a Python package designed to support genotype-phenotype correlation analysis.
14-
The input to `genophenocorr` is a collection of `Global Alliance for Genomics and Health (GA4GH) Phenopackets <https://pubmed.ncbi.nlm.nih.gov/35705716/>`_.
15-
`genophenocorr` ingests data from these phenopackets and performs analysis of the correlation of specific variants,
13+
`GPSEA` (genotypes and phenotypes - study and evaluation of associations) is a Python package designed to support genotype-phenotype correlation analysis.
14+
We pronounce GPSEA as "G"-"P"-"C". The input to `GPSEA` is a collection of `Global Alliance for Genomics and Health (GA4GH) Phenopackets <https://pubmed.ncbi.nlm.nih.gov/35705716/>`_.
15+
`gpsea` ingests data from these phenopackets and performs analysis of the correlation of specific variants,
1616
variant types (e.g., missense vs. premature termination codon), or variant location in protein motifs or other features.
1717
The phenotypic abnormalities are represented by `Human Phenotype Ontology (HPO) <https://hpo.jax.org/app/>`_ terms.
1818
Statistical analysis is performed using a `Fisher Exact Test <https://en.wikipedia.org/wiki/Fisher%27s_exact_test>`_,
@@ -35,11 +35,11 @@ We provide recommended reading for background on the study of genotype-phenotype
3535
Feedback
3636
--------
3737

38-
The best place to leave feedback, ask questions, and report bugs is the `genophenocorr Issue Tracker <https://github.com/monarch-initiative/genophenocorr/issues>`_.
38+
The best place to leave feedback, ask questions, and report bugs is the `GPSEA Issue Tracker <https://github.com/monarch-initiative/genophenocorr/issues>`_.
3939

4040
.. toctree::
4141
:caption: Installation & Tutorial
42-
:name: tutorial
42+
:name: index-toc
4343
:maxdepth: 1
4444
:hidden:
4545

‎docs/report/tbx5_cohort_info.html‎

Lines changed: 334 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,334 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8">
5+
<title>Cohort</title>
6+
<style>
7+
table {
8+
border-collapse: collapse;
9+
margin: 25px 0;
10+
font-size: 0.9em;
11+
font-family: sans-serif;
12+
min-width: 400px;
13+
box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
14+
}
15+
16+
.table .column-1 {
17+
text-align: left;
18+
}
19+
th {
20+
background-color: LightSkyBlue;
21+
border: 1px solid #dddddd;
22+
text-align: left;
23+
padding: 2px;
24+
font-weight: bold;
25+
font-size: 120%;
26+
}
27+
28+
tr {
29+
border: 1px solid #dddddd;
30+
}
31+
32+
td {
33+
padding: 2px;
34+
font-weight: bold;
35+
}
36+
37+
tr:nth-child(even) {
38+
background-color: #f2f2f2;
39+
}
40+
41+
.table td, tr {
42+
text-align: right;
43+
}
44+
45+
.lft {
46+
text-align: left;
47+
}
48+
49+
div {
50+
display: block;
51+
width: 100%;
52+
padding-right: 1%;
53+
margin-bottom: 20px; /* Add margin to separate divs */
54+
}
55+
56+
caption {
57+
caption-side: top;
58+
text-align: left;
59+
padding-bottom: 10px;
60+
font-weight: bold;
61+
}
62+
</style>
63+
</head>
64+
65+
<body>
66+
<h1>genophenocorr cohort analysis</h1>
67+
<p>Successfully ingested 156 individuals.</p>
68+
69+
<p>No errors encountered.</p>
70+
71+
72+
<table>
73+
<caption style="color: black;">
74+
<h3>Top 10 HPO Terms</h3>
75+
A total of 116 HPO terms were used to annotated the cohort.
76+
</caption>
77+
<tbody>
78+
<tr class="strng">
79+
<th class="lft">HPO Term</th>
80+
<th>ID</th>
81+
<th>Seen in <em>n</em> individuals</th>
82+
</tr>
83+
84+
<tr>
85+
<td class="lft">Atrial septal defect</td>
86+
<td>HP:0001631</td>
87+
<td>50</td>
88+
</tr>
89+
90+
<tr>
91+
<td class="lft">Ventricular septal defect</td>
92+
<td>HP:0001629</td>
93+
<td>41</td>
94+
</tr>
95+
96+
<tr>
97+
<td class="lft">Hypoplasia of the radius</td>
98+
<td>HP:0002984</td>
99+
<td>40</td>
100+
</tr>
101+
102+
<tr>
103+
<td class="lft">Triphalangeal thumb</td>
104+
<td>HP:0001199</td>
105+
<td>36</td>
106+
</tr>
107+
108+
<tr>
109+
<td class="lft">Absent thumb</td>
110+
<td>HP:0009777</td>
111+
<td>32</td>
112+
</tr>
113+
114+
<tr>
115+
<td class="lft">Short thumb</td>
116+
<td>HP:0009778</td>
117+
<td>32</td>
118+
</tr>
119+
120+
<tr>
121+
<td class="lft">Abnormal carpal morphology</td>
122+
<td>HP:0001191</td>
123+
<td>30</td>
124+
</tr>
125+
126+
<tr>
127+
<td class="lft">Secundum atrial septal defect</td>
128+
<td>HP:0001684</td>
129+
<td>27</td>
130+
</tr>
131+
132+
<tr>
133+
<td class="lft">Absent radius</td>
134+
<td>HP:0003974</td>
135+
<td>15</td>
136+
</tr>
137+
138+
<tr>
139+
<td class="lft">Cardiac conduction abnormality</td>
140+
<td>HP:0031546</td>
141+
<td>14</td>
142+
</tr>
143+
144+
</tbody>
145+
</table>
146+
147+
<table>
148+
<caption style="color: black;">
149+
<h3>Top 10 Variants</h3>
150+
Variants are shown according to NM_181486.4. A total of 156 unique variants were identified in the cohort.
151+
</caption>
152+
<tbody>
153+
<tr class="strng">
154+
<th>Count</th>
155+
<th class="lft">Variant key</th>
156+
<th>Variant Name</th>
157+
<th>Protein Variant</th>
158+
<th>Variant Class</th>
159+
</tr>
160+
161+
<tr>
162+
<td>22</td>
163+
<td class="lft">12_114385521_114385521_C_T</td>
164+
<td>c.710G>A</td>
165+
<td>p.Arg237Gln</td>
166+
<td>MISSENSE_VARIANT</td>
167+
</tr>
168+
169+
<tr>
170+
<td>20</td>
171+
<td class="lft">12_114401830_114401830_C_T</td>
172+
<td>c.238G>A</td>
173+
<td>p.Gly80Arg</td>
174+
<td>MISSENSE_VARIANT</td>
175+
</tr>
176+
177+
<tr>
178+
<td>8</td>
179+
<td class="lft">12_114385563_114385563_G_A</td>
180+
<td>c.668C>T</td>
181+
<td>p.Thr223Met</td>
182+
<td>MISSENSE_VARIANT</td>
183+
</tr>
184+
185+
<tr>
186+
<td>6</td>
187+
<td class="lft">12_114398675_114398675_G_T</td>
188+
<td>c.408C>A</td>
189+
<td>p.Tyr136Ter</td>
190+
<td>STOP_GAINED</td>
191+
</tr>
192+
193+
<tr>
194+
<td>5</td>
195+
<td class="lft">12_114398682_114398682_C_CG</td>
196+
<td>c.400dup</td>
197+
<td>p.Arg134ProfsTer49</td>
198+
<td>FRAMESHIFT_VARIANT</td>
199+
</tr>
200+
201+
<tr>
202+
<td>5</td>
203+
<td class="lft">12_114403792_114403792_C_CG</td>
204+
<td>c.106_107insC</td>
205+
<td>p.Ser36ThrfsTer25</td>
206+
<td>FRAMESHIFT_VARIANT</td>
207+
</tr>
208+
209+
<tr>
210+
<td>5</td>
211+
<td class="lft">12_114399514_114399514_A_C</td>
212+
<td>c.361T>G</td>
213+
<td>p.Trp121Gly</td>
214+
<td>MISSENSE_VARIANT, SPLICE_REGION_VARIANT</td>
215+
</tr>
216+
217+
<tr>
218+
<td>4</td>
219+
<td class="lft">12_114385474_114385474_A_G</td>
220+
<td>c.755+2T>C</td>
221+
<td>None</td>
222+
<td>SPLICE_DONOR_VARIANT</td>
223+
</tr>
224+
225+
<tr>
226+
<td>4</td>
227+
<td class="lft">12_114398656_114398656_C_CG</td>
228+
<td>c.426dup</td>
229+
<td>p.Ala143ArgfsTer40</td>
230+
<td>FRAMESHIFT_VARIANT</td>
231+
</tr>
232+
233+
<tr>
234+
<td>4</td>
235+
<td class="lft">12_114366360_114366360_C_T</td>
236+
<td>c.787G>A</td>
237+
<td>p.Val263Met</td>
238+
<td>MISSENSE_VARIANT</td>
239+
</tr>
240+
241+
</tbody>
242+
</table>
243+
<table>
244+
<caption style="color: black;">
245+
<h3>Diseases</h3>
246+
</caption>
247+
<tbody>
248+
<tr class="strng">
249+
<th class="lft">Disease Name</th>
250+
<th >Disease ID</th>
251+
<th>Annotation Count</th>
252+
</tr>
253+
254+
<tr>
255+
<td class="lft">Holt-Oram syndrome</td>
256+
<td>OMIM:142900</td>
257+
<td>156</td>
258+
</tr>
259+
260+
</tbody>
261+
</table>
262+
263+
<table>
264+
<caption style="color: black;">
265+
<h3>Variant categories for NM_181486.4</h3>
266+
</caption>
267+
<tbody>
268+
<tr class="strng">
269+
<th class="lft">Variant effect</th>
270+
<th>Annotation Count</th>
271+
</tr>
272+
273+
<tr>
274+
<td class="lft">FRAMESHIFT_VARIANT</td>
275+
<td>38</td>
276+
</tr>
277+
278+
<tr>
279+
<td class="lft">MISSENSE_VARIANT</td>
280+
<td>85</td>
281+
</tr>
282+
283+
<tr>
284+
<td class="lft">STOP_GAINED</td>
285+
<td>19</td>
286+
</tr>
287+
288+
<tr>
289+
<td class="lft">SPLICE_REGION_VARIANT</td>
290+
<td>10</td>
291+
</tr>
292+
293+
<tr>
294+
<td class="lft">SPLICE_ACCEPTOR_VARIANT</td>
295+
<td>2</td>
296+
</tr>
297+
298+
<tr>
299+
<td class="lft">SPLICE_DONOR_VARIANT</td>
300+
<td>7</td>
301+
</tr>
302+
303+
<tr>
304+
<td class="lft">SPLICE_DONOR_5TH_BASE_VARIANT</td>
305+
<td>2</td>
306+
</tr>
307+
308+
<tr>
309+
<td class="lft">INTRON_VARIANT</td>
310+
<td>2</td>
311+
</tr>
312+
313+
<tr>
314+
<td class="lft">INFRAME_INSERTION</td>
315+
<td>2</td>
316+
</tr>
317+
318+
<tr>
319+
<td class="lft">STOP_RETAINED_VARIANT</td>
320+
<td>2</td>
321+
</tr>
322+
323+
<tr>
324+
<td class="lft">INFRAME_DELETION</td>
325+
<td>1</td>
326+
</tr>
327+
328+
</tbody>
329+
</table>
330+
331+
332+
333+
</body>
334+
</html>
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
"Genotype group: Missense, Frameshift",Missense,Missense,Frameshift,Frameshift,,
2+
,Count,Percent,Count,Percent,p value,Corrected p value
3+
Ventricular septal defect [HP:0001629],31/60,52%,19/19,100%,5.6190936213143254e-05,0.0008990549794102921
4+
Abnormal atrioventricular conduction [HP:0005150],0/22,0%,3/3,100%,0.00043478260869565214,0.003478260869565217
5+
Atrioventricular block [HP:0001678],0/22,0%,2/2,100%,0.0036231884057971015,0.014492753623188406
6+
Heart block [HP:0012722],0/22,0%,2/2,100%,0.0036231884057971015,0.014492753623188406
7+
Absent thumb [HP:0009777],12/71,17%,14/31,45%,0.005628510156750059,0.018011232501600187
8+
Patent ductus arteriosus [HP:0001643],3/37,8%,2/2,100%,0.01349527665317139,0.03598740440845704
9+
Triphalangeal thumb [HP:0001199],13/72,18%,13/32,41%,0.02560162393963452,0.058517997576307476
10+
Cardiac conduction abnormality [HP:0031546],14/36,39%,3/3,100%,0.07440639019586388,0.14881278039172777
11+
Secundum atrial septal defect [HP:0001684],14/35,40%,4/22,18%,0.1424522583078588,0.2532484592139712
12+
Muscular ventricular septal defect [HP:0011623],6/59,10%,6/25,24%,0.1687456462342971,0.2699930339748754
13+
Pulmonary arterial hypertension [HP:0002092],4/6,67%,0/2,0%,0.42857142857142855,0.6233766233766234
14+
Hypoplasia of the ulna [HP:0003022],1/12,8%,2/10,20%,0.5714285714285713,0.7619047619047618
15+
Hypoplasia of the radius [HP:0002984],30/62,48%,6/14,43%,0.7735491022101784,0.9520604334894502
16+
Absent radius [HP:0003974],7/32,22%,6/25,24%,1.0,1.0
17+
Short humerus [HP:0005792],7/17,41%,4/9,44%,1.0,1.0
18+
Atrial septal defect [HP:0001631],42/44,95%,20/20,100%,1.0,1.0

0 commit comments

Comments
 (0)