Skip to content

Commit 69d9d6b

Browse files
committed
Updating to match the current version of vg giraffe's use of zipcodes in indexing
1 parent 7a398dc commit 69d9d6b

2 files changed

Lines changed: 25 additions & 7 deletions

File tree

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

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -230,9 +230,11 @@
230230
"\n",
231231
"A. *yprp.chrVIII.pggb.giraffe.gbz* - a [GBZ](https://academic.oup.com/bioinformatics/article/38/22/5012/6731924?login=false) format graph that includes a [GBWT](https://github.com/jltsiren/gbwt) index and the corresponding GBWTGraph.\n",
232232
"\n",
233-
"B. *yprp.chrVIII.pggb.min* - minimizer index annotated with positions in the distance index.\n",
233+
"B. *yprp.chrVIII.pggb.shortread.withzip.min* - minimizer index annotated with positions in the distance index.\n",
234234
"\n",
235-
"C. *yprp.chrVIII.pggb.dist* - minimum distance index.\n"
235+
"C. *yprp.chrVIII.pggb.shortread.zipcodes* - zipcode file (distance hints).\n",
236+
"\n",
237+
"D. *yprp.chrVIII.pggb.dist* - minimum distance index.\n"
236238
]
237239
},
238240
{
@@ -300,7 +302,9 @@
300302
},
301303
{
302304
"cell_type": "markdown",
303-
"metadata": {},
305+
"metadata": {
306+
"jp-MarkdownHeadingCollapsed": true
307+
},
304308
"source": [
305309
"----------------------\n",
306310
"\n",
@@ -423,8 +427,14 @@
423427
}
424428
],
425429
"metadata": {
430+
"environment": {
431+
"kernel": "conda-env-nigms-pangenomics-nigms-pangenomics",
432+
"name": "workbench-notebooks.m127",
433+
"type": "gcloud",
434+
"uri": "us-docker.pkg.dev/deeplearning-platform-release/gcr.io/workbench-notebooks:m127"
435+
},
426436
"kernelspec": {
427-
"display_name": "nigms-pangenomics (Local)",
437+
"display_name": "nigms-pangenomics",
428438
"language": "python",
429439
"name": "conda-env-nigms-pangenomics-nigms-pangenomics"
430440
},

module_notebooks/06-read-mapping-with-vg.ipynb

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -186,9 +186,11 @@
186186
"\n",
187187
"The parameters: \n",
188188
"\n",
189+
"`-p` show progress \n",
189190
"`-Z` .gbz file \n",
190191
"`-m` .min file \n",
191-
"`-d` .dist file\n",
192+
"`-z` zipcode file \n",
193+
"`-d` .dist file \n",
192194
"`-f` fastq file (use more than once if feeding in paired-end read files)\n",
193195
"\n",
194196
"We will redirect the output into a gam file."
@@ -200,7 +202,7 @@
200202
"metadata": {},
201203
"outputs": [],
202204
"source": [
203-
"!vg giraffe -p -Z graphs/yprp.chrVIII.pggb.giraffe.gbz -m graphs/yprp.chrVIII.pggb.min -d graphs/yprp.chrVIII.pggb.dist -f reads/SK1.illumina_1.fastq.gz -f reads/SK1.illumina_2.fastq.gz > alignments/SK1xyprp.chrVIII.pggb.mapped.gam"
205+
"!vg giraffe -p -Z graphs/yprp.chrVIII.pggb.giraffe.gbz -m graphs/yprp.chrVIII.pggb.shortread.withzip.min -z graphs/yprp.chrVIII.pggb.shortread.zipcodes -d graphs/yprp.chrVIII.pggb.dist -f reads/SK1.illumina_1.fastq.gz -f reads/SK1.illumina_2.fastq.gz > alignments/SK1xyprp.chrVIII.pggb.mapped.gam"
204206
]
205207
},
206208
{
@@ -509,8 +511,14 @@
509511
}
510512
],
511513
"metadata": {
514+
"environment": {
515+
"kernel": "conda-env-nigms-pangenomics-nigms-pangenomics",
516+
"name": "workbench-notebooks.m127",
517+
"type": "gcloud",
518+
"uri": "us-docker.pkg.dev/deeplearning-platform-release/gcr.io/workbench-notebooks:m127"
519+
},
512520
"kernelspec": {
513-
"display_name": "nigms-pangenomics (Local)",
521+
"display_name": "nigms-pangenomics",
514522
"language": "python",
515523
"name": "conda-env-nigms-pangenomics-nigms-pangenomics"
516524
},

0 commit comments

Comments
 (0)