Skip to content

Commit 59a529f

Browse files
author
github-action
committed
Github Action: Lint Notebooks
1 parent 77f560a commit 59a529f

3 files changed

Lines changed: 16 additions & 105 deletions

File tree

module_notebooks/00-environment-setup.ipynb

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -175,12 +175,6 @@
175175
}
176176
],
177177
"metadata": {
178-
"environment": {
179-
"kernel": "conda-env-nigms-pangenomics-nigms-pangenomics",
180-
"name": "workbench-notebooks.m129",
181-
"type": "gcloud",
182-
"uri": "us-docker.pkg.dev/deeplearning-platform-release/gcr.io/workbench-notebooks:m129"
183-
},
184178
"kernelspec": {
185179
"display_name": "nigms-pangenomics (Local)",
186180
"language": "python",

module_notebooks/02-building-graphs-with-pggb.ipynb

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -728,7 +728,7 @@
728728
},
729729
{
730730
"cell_type": "code",
731-
"execution_count": 5,
731+
"execution_count": null,
732732
"metadata": {},
733733
"outputs": [],
734734
"source": [
@@ -891,12 +891,6 @@
891891
}
892892
],
893893
"metadata": {
894-
"environment": {
895-
"kernel": "conda-env-nigms-pangenomics-nigms-pangenomics",
896-
"name": "workbench-notebooks.m129",
897-
"type": "gcloud",
898-
"uri": "us-docker.pkg.dev/deeplearning-platform-release/gcr.io/workbench-notebooks:m129"
899-
},
900894
"kernelspec": {
901895
"display_name": "nigms-pangenomics (Local)",
902896
"language": "python",

module_notebooks/05-indexing-graphs-with-vg.ipynb

Lines changed: 15 additions & 92 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@
120120
},
121121
{
122122
"cell_type": "code",
123-
"execution_count": 1,
123+
"execution_count": null,
124124
"metadata": {},
125125
"outputs": [],
126126
"source": [
@@ -168,7 +168,7 @@
168168
},
169169
{
170170
"cell_type": "code",
171-
"execution_count": 2,
171+
"execution_count": null,
172172
"metadata": {},
173173
"outputs": [],
174174
"source": [
@@ -187,7 +187,7 @@
187187
},
188188
{
189189
"cell_type": "code",
190-
"execution_count": 3,
190+
"execution_count": null,
191191
"metadata": {},
192192
"outputs": [],
193193
"source": [
@@ -215,24 +215,9 @@
215215
},
216216
{
217217
"cell_type": "code",
218-
"execution_count": 4,
219-
"metadata": {},
220-
"outputs": [
221-
{
222-
"name": "stdout",
223-
"output_type": "stream",
224-
"text": [
225-
"[vg autoindex] Executing command: vg autoindex --workflow giraffe -g graphs/yprp.chrVIII.pggb.vg -p graphs/yprp.chrVIII.pggb\n",
226-
"[IndexRegistry]: Checking for haplotype lines in GFA.\n",
227-
"[IndexRegistry]: Constructing VG graph from GFA input.\n",
228-
"[IndexRegistry]: Constructing XG graph from VG graph.\n",
229-
"[IndexRegistry]: Constructing a greedy path cover GBWT\n",
230-
"[IndexRegistry]: Constructing GBZ using NamedNodeBackTranslation.\n",
231-
"[IndexRegistry]: Constructing distance index for Giraffe.\n",
232-
"[IndexRegistry]: Constructing minimizer index.\n"
233-
]
234-
}
235-
],
218+
"execution_count": null,
219+
"metadata": {},
220+
"outputs": [],
236221
"source": [
237222
"!vg autoindex --workflow giraffe -g graphs/yprp.chrVIII.pggb.vg -p graphs/yprp.chrVIII.pggb"
238223
]
@@ -259,30 +244,9 @@
259244
},
260245
{
261246
"cell_type": "code",
262-
"execution_count": 6,
263-
"metadata": {},
264-
"outputs": [
265-
{
266-
"name": "stdout",
267-
"output_type": "stream",
268-
"text": [
269-
"-rw-r--r-- 1 jupyter jupyter 815936 Apr 29 16:46 graphs/yprp.chrVIII.pggb.dist\n",
270-
"-rw-r--r-- 1 jupyter jupyter 772909 Apr 28 21:33 graphs/yprp.chrVIII.pggb.fa\n",
271-
"-rw-r--r-- 1 jupyter jupyter 20480 Apr 28 21:33 graphs/yprp.chrVIII.pggb.fa.ndb\n",
272-
"-rw-r--r-- 1 jupyter jupyter 1317154 Apr 28 21:33 graphs/yprp.chrVIII.pggb.fa.nhr\n",
273-
"-rw-r--r-- 1 jupyter jupyter 231148 Apr 28 21:33 graphs/yprp.chrVIII.pggb.fa.nin\n",
274-
"-rw-r--r-- 1 jupyter jupyter 577 Apr 28 21:33 graphs/yprp.chrVIII.pggb.fa.njs\n",
275-
"-rw-r--r-- 1 jupyter jupyter 231032 Apr 28 21:33 graphs/yprp.chrVIII.pggb.fa.not\n",
276-
"-rw-r--r-- 1 jupyter jupyter 221019 Apr 28 21:33 graphs/yprp.chrVIII.pggb.fa.nsq\n",
277-
"-rw-r--r-- 1 jupyter jupyter 16384 Apr 28 21:33 graphs/yprp.chrVIII.pggb.fa.ntf\n",
278-
"-rw-r--r-- 1 jupyter jupyter 77012 Apr 28 21:33 graphs/yprp.chrVIII.pggb.fa.nto\n",
279-
"-rw-r--r-- 1 jupyter jupyter 1538338 Apr 28 20:18 graphs/yprp.chrVIII.pggb.gfa\n",
280-
"-rw-r--r-- 1 jupyter jupyter 794240 Apr 29 16:46 graphs/yprp.chrVIII.pggb.giraffe.gbz\n",
281-
"-rw-r--r-- 1 jupyter jupyter 8706216 Apr 29 16:46 graphs/yprp.chrVIII.pggb.min\n",
282-
"-rw-r--r-- 1 jupyter jupyter 1538338 Apr 29 03:33 graphs/yprp.chrVIII.pggb.vg\n"
283-
]
284-
}
285-
],
247+
"execution_count": null,
248+
"metadata": {},
249+
"outputs": [],
286250
"source": [
287251
"#This will list some of our original graphs as well.\n",
288252
"\n",
@@ -361,21 +325,9 @@
361325
},
362326
{
363327
"cell_type": "code",
364-
"execution_count": 8,
365-
"metadata": {},
366-
"outputs": [
367-
{
368-
"name": "stdout",
369-
"output_type": "stream",
370-
"text": [
371-
"nodes\t19252\n",
372-
"edges\t25908\n",
373-
"19252\n",
374-
"25908\n",
375-
"length\t622372\n"
376-
]
377-
}
378-
],
328+
"execution_count": null,
329+
"metadata": {},
330+
"outputs": [],
379331
"source": [
380332
"!vg stats -z -N -E -l graphs/yprp.chrVIII.pggb.vg"
381333
]
@@ -440,32 +392,9 @@
440392
},
441393
{
442394
"cell_type": "code",
443-
"execution_count": 10,
444-
"metadata": {},
445-
"outputs": [
446-
{
447-
"data": {
448-
"text/html": [
449-
"\n",
450-
" <iframe\n",
451-
" width=\"800\"\n",
452-
" height=\"400\"\n",
453-
" src=\"../html/flashcard_graphstats.html\"\n",
454-
" frameborder=\"0\"\n",
455-
" allowfullscreen\n",
456-
" \n",
457-
" ></iframe>\n",
458-
" "
459-
],
460-
"text/plain": [
461-
"<IPython.lib.display.IFrame at 0x7fd23bc45be0>"
462-
]
463-
},
464-
"execution_count": 10,
465-
"metadata": {},
466-
"output_type": "execute_result"
467-
}
468-
],
395+
"execution_count": null,
396+
"metadata": {},
397+
"outputs": [],
469398
"source": [
470399
"from IPython.display import IFrame\n",
471400
"IFrame('../html/flashcard_graphstats.html', width=800, height=400)"
@@ -494,12 +423,6 @@
494423
}
495424
],
496425
"metadata": {
497-
"environment": {
498-
"kernel": "conda-env-nigms-pangenomics-nigms-pangenomics",
499-
"name": "workbench-notebooks.m129",
500-
"type": "gcloud",
501-
"uri": "us-docker.pkg.dev/deeplearning-platform-release/gcr.io/workbench-notebooks:m129"
502-
},
503426
"kernelspec": {
504427
"display_name": "nigms-pangenomics (Local)",
505428
"language": "python",

0 commit comments

Comments
 (0)