Skip to content

Commit

Permalink
update examples
Browse files Browse the repository at this point in the history
  • Loading branch information
jrobinso committed Jul 5, 2022
1 parent eb54335 commit 83e3661
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 27 deletions.
47 changes: 34 additions & 13 deletions examples/BamFiles_Notebook.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -186,29 +186,25 @@
},
{
"cell_type": "markdown",
"metadata": {
"pycharm": {
"name": "#%% md\n"
}
},
"source": [
"### Load BAM file by file path (Jupyter Notebook Only)\n",
"### Load BAM file by file path (Jupyter Notebook only)\n",
"\n",
"* _**path**_ properties (```path``` and ```indexPath```) are used to specify data files.\n",
"* _**path**_ properties can be used to access files anywhere on the local filesystem. This example specifies\n",
"relative file paths (relative to the notebook) for portability of this demo, however the use of _**path**_\n",
"properties is not recommended if files are in the Jupyter file space, _**url**_ properties will in general\n",
"yield better performance."
]
],
"metadata": {
"collapsed": false,
"pycharm": {
"name": "#%% md\n"
}
}
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"pycharm": {
"name": "#%%\n"
}
},
"outputs": [],
"source": [
"import igv_notebook\n",
Expand All @@ -234,6 +230,31 @@
"\n",
"\n",
"b.zoom_in()"
],
"metadata": {
"collapsed": false,
"pycharm": {
"name": "#%%\n"
}
}
},
{
"cell_type": "markdown",
"source": [
"### Convert browser instance to static SVG image (Jupyter Notebook only)"
],
"metadata": {
"collapsed": false,
"pycharm": {
"name": "#%% md\n"
}
}
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### Convert browser instance to static SVG image (Jupyter Notebook only)"
]
},
{
Expand Down Expand Up @@ -271,4 +292,4 @@
},
"nbformat": 4,
"nbformat_minor": 4
}
}
17 changes: 3 additions & 14 deletions examples/Custom_Reference.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,8 @@
"execution_count": null,
"metadata": {
"pycharm": {
"name": "#%%\n",
"is_executing": true
"is_executing": true,
"name": "#%%\n"
}
},
"outputs": [],
Expand All @@ -198,17 +198,6 @@
" \"locus\": \"NC_045512v2:6,684-6,722\"\n",
" })\n"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"pycharm": {
"name": "#%%\n"
}
},
"outputs": [],
"source": []
}
],
"metadata": {
Expand All @@ -232,4 +221,4 @@
},
"nbformat": 4,
"nbformat_minor": 4
}
}

0 comments on commit 83e3661

Please sign in to comment.