Skip to content
This repository was archived by the owner on Mar 31, 2023. It is now read-only.

Commit f3b18b9

Browse files
committed
upate AMY1A / HMC / SMN1/2 notebooks generating the GFA files in the new GFA_files directory
1 parent 6bf7abb commit f3b18b9

16 files changed

+163
-458
lines changed

04-AMY1A.ipynb

+17-15
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
{
3939
"data": {
4040
"text/plain": [
41-
"'pgrtk 0.3.3 (v0.3.3_dev:675e3c7, release build, linux [x86_64] [rustc 1.62.0 (a8314ef7d 2022-06-27)])'"
41+
"'pgrtk 0.3.4 (main:59af6a0, release build, linux [x86_64] [rustc 1.62.0 (a8314ef7d 2022-06-27)])'"
4242
]
4343
},
4444
"execution_count": 2,
@@ -92,8 +92,8 @@
9292
"name": "stdout",
9393
"output_type": "stream",
9494
"text": [
95-
"CPU times: user 22.4 s, sys: 6min 13s, total: 6min 35s\n",
96-
"Wall time: 31.9 s\n"
95+
"CPU times: user 24.2 s, sys: 5min 34s, total: 5min 58s\n",
96+
"Wall time: 35.2 s\n"
9797
]
9898
}
9999
],
@@ -726,10 +726,12 @@
726726
"new_sdb = pgrtk.SeqIndexDB() \n",
727727
"new_sdb.load_from_seq_list(seq_list, w=80, k=56, r=6, min_span=18)\n",
728728
"new_sdb.generate_mapg_gfa(0, \"/results/AMY1A_region_80_56_6.gfa\")\n",
729+
"new_sdb.write_mapg_idx(\"/results/AMY1A_region_80_56_6.gidx\")\n",
729730
"\n",
730731
"new_sdb = pgrtk.SeqIndexDB() \n",
731732
"new_sdb.load_from_seq_list(seq_list, w=80, k=56, r=2, min_span=18)\n",
732-
"new_sdb.generate_mapg_gfa(0, \"/results/AMY1A_region_80_56_2.gfa\")"
733+
"new_sdb.generate_mapg_gfa(0, \"/results/AMY1A_region_80_56_2.gfa\")\n",
734+
"new_sdb.write_mapg_idx(\"/results/AMY1A_region_80_56_2.gidx\")"
733735
]
734736
},
735737
{
@@ -1004,7 +1006,7 @@
10041006
"<div style=\"vertical-align: middle;\"><strong>nipy_spectral</strong> </div><div class=\"cmap\"><img alt=\"nipy_spectral colormap\" title=\"nipy_spectral\" style=\"border: 1px solid #555;\" src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAABACAYAAABsv8+/AAAAHHRFWHRUaXRsZQBuaXB5X3NwZWN0cmFsIGNvbG9ybWFwdk2oTgAAACJ0RVh0RGVzY3JpcHRpb24AbmlweV9zcGVjdHJhbCBjb2xvcm1hcOsdRgsAAAAwdEVYdEF1dGhvcgBNYXRwbG90bGliIHYzLjUuMSwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZ/e3zs8AAAAydEVYdFNvZnR3YXJlAE1hdHBsb3RsaWIgdjMuNS4xLCBodHRwczovL21hdHBsb3RsaWIub3Jn2RFR6AAAAe9JREFUeJzt1k1P21AQhtGxQUJJIz7+/88soFYFm8W9ocJqKGpu1MV7zmY040UWsaVnqqq1qmpX+2rzW1VV7Tf7ufeb2lVV1VRTVVXNfU41f+n++/nn9199f+r78/s+9r7UdTUXnrv6OPc19n7T59VmzoPv89LnS5vTZo66T6/9B7dzOXH/2/MT9+W5zfXp4xx1X3+2ean/49z7//79E/fbvt7Vn/dz74e1zevjXDb7oPtV34+v87zZR9/r5cLz8cz5/fPn6482//Fr/vL9uK8n9lH3OhzavOtv4MNDm/f3Q+fxMwIAgggAAAgkAAAgkAAAgEACAAACCQAACCQAACCQAACAQAIAAAIJAAAIJAAAIJAAAIBAAgAAAgkAAAgkAAAgkAAAgEACAAACCQAACCQAACCQAACAQAIAAAIJAAAIJAAAIJAAAIBAAgAAAgkAAAgkAAAgkAAAgEACAAACCQAACCQAACCQAACAQAIAAAIJAAAIJAAAIJAAAIBAAgAAAgkAAAgkAAAgkAAAgEACAAACCQAACCQAACCQAACAQAIAAAIJAAAIJAAAIJAAAIBAAgAAAgkAAAgkAAAgkAAAgEACAAACCQAACCQAACCQAACAQAIAAAIJAAAIJAAAIJAAAIBAAgAAAgkAAAgkAAAg0BvN45PjrFnnVAAAAABJRU5ErkJggg==\"></div><div style=\"vertical-align: middle; max-width: 514px; display: flex; justify-content: space-between;\"><div style=\"float: left;\"><div title=\"#000000ff\" style=\"display: inline-block; width: 1em; height: 1em; margin: 0; vertical-align: middle; border: 1px solid #555; background-color: #000000ff;\"></div> under</div><div style=\"margin: 0 auto; display: inline-block;\">bad <div title=\"#00000000\" style=\"display: inline-block; width: 1em; height: 1em; margin: 0; vertical-align: middle; border: 1px solid #555; background-color: #00000000;\"></div></div><div style=\"float: right;\">over <div title=\"#ccccccff\" style=\"display: inline-block; width: 1em; height: 1em; margin: 0; vertical-align: middle; border: 1px solid #555; background-color: #ccccccff;\"></div></div>"
10051007
],
10061008
"text/plain": [
1007-
"<matplotlib.colors.LinearSegmentedColormap at 0x7f77f04261c0>"
1009+
"<matplotlib.colors.LinearSegmentedColormap at 0x7fa63652eeb0>"
10081010
]
10091011
},
10101012
"execution_count": 29,
@@ -1051,7 +1053,7 @@
10511053
},
10521054
{
10531055
"cell_type": "code",
1054-
"execution_count": 33,
1056+
"execution_count": 32,
10551057
"metadata": {},
10561058
"outputs": [],
10571059
"source": [
@@ -1060,7 +1062,7 @@
10601062
},
10611063
{
10621064
"cell_type": "code",
1063-
"execution_count": 34,
1065+
"execution_count": 33,
10641066
"metadata": {},
10651067
"outputs": [],
10661068
"source": [
@@ -1116,7 +1118,7 @@
11161118
},
11171119
{
11181120
"cell_type": "code",
1119-
"execution_count": 35,
1121+
"execution_count": 34,
11201122
"metadata": {},
11211123
"outputs": [],
11221124
"source": [
@@ -1131,7 +1133,7 @@
11311133
},
11321134
{
11331135
"cell_type": "code",
1134-
"execution_count": 36,
1136+
"execution_count": 35,
11351137
"metadata": {},
11361138
"outputs": [
11371139
{
@@ -1290,7 +1292,7 @@
12901292
},
12911293
{
12921294
"cell_type": "code",
1293-
"execution_count": 37,
1295+
"execution_count": 36,
12941296
"metadata": {},
12951297
"outputs": [
12961298
{
@@ -1364,14 +1366,14 @@
13641366
},
13651367
{
13661368
"cell_type": "code",
1367-
"execution_count": 38,
1369+
"execution_count": 37,
13681370
"metadata": {},
13691371
"outputs": [
13701372
{
13711373
"name": "stderr",
13721374
"output_type": "stream",
13731375
"text": [
1374-
"/tmp/ipykernel_2794/3154699274.py:39: RuntimeWarning: More than 20 figures have been opened. Figures created through the pyplot interface (`matplotlib.pyplot.figure`) are retained until explicitly closed and may consume too much memory. (To control this warning, see the rcParam `figure.max_open_warning`).\n",
1376+
"/tmp/ipykernel_127/3154699274.py:39: RuntimeWarning: More than 20 figures have been opened. Figures created through the pyplot interface (`matplotlib.pyplot.figure`) are retained until explicitly closed and may consume too much memory. (To control this warning, see the rcParam `figure.max_open_warning`).\n",
13751377
" plt.figure(figsize=(16,2))\n"
13761378
]
13771379
},
@@ -2501,7 +2503,7 @@
25012503
},
25022504
{
25032505
"cell_type": "code",
2504-
"execution_count": 39,
2506+
"execution_count": 38,
25052507
"metadata": {},
25062508
"outputs": [],
25072509
"source": [
@@ -2510,7 +2512,7 @@
25102512
},
25112513
{
25122514
"cell_type": "code",
2513-
"execution_count": 40,
2515+
"execution_count": 39,
25142516
"metadata": {},
25152517
"outputs": [],
25162518
"source": [
@@ -2576,7 +2578,7 @@
25762578
},
25772579
{
25782580
"cell_type": "code",
2579-
"execution_count": 41,
2581+
"execution_count": 40,
25802582
"metadata": {},
25812583
"outputs": [
25822584
{

10-MHC-HLA-II-GraphDecomposition.ipynb

+70-374
Large diffs are not rendered by default.

11-SMN12_repeat_region.ipynb

+76-69
Large diffs are not rendered by default.

GFA_files/AMY1A_region_80_56_2.gfa.gz

190 KB
Binary file not shown.
3.84 MB
Binary file not shown.

GFA_files/AMY1A_region_80_56_6.gfa.gz

51.9 KB
Binary file not shown.
974 KB
Binary file not shown.

GFA_files/AMY1A_region_seq.fa.gz

10.2 MB
Binary file not shown.
53.2 KB
Binary file not shown.
432 KB
Binary file not shown.

GFA_files/HLA-ClassII_seq.fa.gz

22.2 MB
Binary file not shown.
36.4 KB
Binary file not shown.
550 KB
Binary file not shown.
Binary file not shown.
5.08 MB
Binary file not shown.

GFA_files/SMN1_SMN2_region_seq.fa.gz

16.3 MB
Binary file not shown.

0 commit comments

Comments
 (0)