|
120 | 120 | }, |
121 | 121 | { |
122 | 122 | "cell_type": "code", |
123 | | - "execution_count": 1, |
| 123 | + "execution_count": null, |
124 | 124 | "metadata": {}, |
125 | 125 | "outputs": [], |
126 | 126 | "source": [ |
|
168 | 168 | }, |
169 | 169 | { |
170 | 170 | "cell_type": "code", |
171 | | - "execution_count": 2, |
| 171 | + "execution_count": null, |
172 | 172 | "metadata": {}, |
173 | 173 | "outputs": [], |
174 | 174 | "source": [ |
|
187 | 187 | }, |
188 | 188 | { |
189 | 189 | "cell_type": "code", |
190 | | - "execution_count": 3, |
| 190 | + "execution_count": null, |
191 | 191 | "metadata": {}, |
192 | 192 | "outputs": [], |
193 | 193 | "source": [ |
|
215 | 215 | }, |
216 | 216 | { |
217 | 217 | "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": [], |
236 | 221 | "source": [ |
237 | 222 | "!vg autoindex --workflow giraffe -g graphs/yprp.chrVIII.pggb.vg -p graphs/yprp.chrVIII.pggb" |
238 | 223 | ] |
|
259 | 244 | }, |
260 | 245 | { |
261 | 246 | "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": [], |
286 | 250 | "source": [ |
287 | 251 | "#This will list some of our original graphs as well.\n", |
288 | 252 | "\n", |
|
361 | 325 | }, |
362 | 326 | { |
363 | 327 | "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": [], |
379 | 331 | "source": [ |
380 | 332 | "!vg stats -z -N -E -l graphs/yprp.chrVIII.pggb.vg" |
381 | 333 | ] |
|
440 | 392 | }, |
441 | 393 | { |
442 | 394 | "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": [], |
469 | 398 | "source": [ |
470 | 399 | "from IPython.display import IFrame\n", |
471 | 400 | "IFrame('../html/flashcard_graphstats.html', width=800, height=400)" |
|
494 | 423 | } |
495 | 424 | ], |
496 | 425 | "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 | | - }, |
503 | 426 | "kernelspec": { |
504 | 427 | "display_name": "nigms-pangenomics (Local)", |
505 | 428 | "language": "python", |
|
0 commit comments