Skip to content

Commit f832176

Browse files
authored
feat!: Remove higlass.fuse (#175)
1 parent 6f37754 commit f832176

File tree

8 files changed

+11
-795
lines changed

8 files changed

+11
-795
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@ docs/_build/
1010
dist/
1111
.venv
1212
examples/test.mcool
13+
*.bigWig

examples/Examples.ipynb

Lines changed: 4 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
{
44
"cell_type": "code",
55
"execution_count": null,
6-
"id": "cfdd679e",
76
"metadata": {},
87
"outputs": [],
98
"source": [
@@ -14,7 +13,6 @@
1413
{
1514
"cell_type": "code",
1615
"execution_count": null,
17-
"id": "37383869",
1816
"metadata": {},
1917
"outputs": [],
2018
"source": [
@@ -23,7 +21,6 @@
2321
},
2422
{
2523
"cell_type": "markdown",
26-
"id": "f5a73851",
2724
"metadata": {},
2825
"source": [
2926
"## Synced heatmaps"
@@ -32,7 +29,6 @@
3229
{
3330
"cell_type": "code",
3431
"execution_count": null,
35-
"id": "ba0c9d3e",
3632
"metadata": {},
3733
"outputs": [],
3834
"source": [
@@ -69,7 +65,6 @@
6965
{
7066
"cell_type": "code",
7167
"execution_count": null,
72-
"id": "4b6c2629",
7368
"metadata": {},
7469
"outputs": [],
7570
"source": [
@@ -80,7 +75,6 @@
8075
{
8176
"cell_type": "code",
8277
"execution_count": null,
83-
"id": "1453f49f",
8478
"metadata": {},
8579
"outputs": [],
8680
"source": [
@@ -91,7 +85,6 @@
9185
{
9286
"cell_type": "code",
9387
"execution_count": null,
94-
"id": "4432d5d1",
9588
"metadata": {},
9689
"outputs": [],
9790
"source": [
@@ -110,7 +103,6 @@
110103
},
111104
{
112105
"cell_type": "markdown",
113-
"id": "637bcad2",
114106
"metadata": {},
115107
"source": [
116108
"## Value scale syncing"
@@ -119,7 +111,6 @@
119111
{
120112
"cell_type": "code",
121113
"execution_count": null,
122-
"id": "e89a03d7",
123114
"metadata": {},
124115
"outputs": [],
125116
"source": [
@@ -161,7 +152,6 @@
161152
},
162153
{
163154
"cell_type": "markdown",
164-
"id": "ef880b6c",
165155
"metadata": {},
166156
"source": [
167157
"## Remote heatmaps"
@@ -170,7 +160,6 @@
170160
{
171161
"cell_type": "code",
172162
"execution_count": null,
173-
"id": "4579c459",
174163
"metadata": {},
175164
"outputs": [],
176165
"source": [
@@ -207,7 +196,6 @@
207196
},
208197
{
209198
"cell_type": "markdown",
210-
"id": "74b22d9c",
211199
"metadata": {},
212200
"source": [
213201
"## Extract track from another view config"
@@ -216,7 +204,6 @@
216204
{
217205
"cell_type": "code",
218206
"execution_count": null,
219-
"id": "875260a4",
220207
"metadata": {},
221208
"outputs": [],
222209
"source": [
@@ -231,7 +218,6 @@
231218
{
232219
"cell_type": "code",
233220
"execution_count": null,
234-
"id": "f22d06ae",
235221
"metadata": {},
236222
"outputs": [],
237223
"source": [
@@ -244,7 +230,6 @@
244230
{
245231
"cell_type": "code",
246232
"execution_count": null,
247-
"id": "73c925a5",
248233
"metadata": {},
249234
"outputs": [],
250235
"source": [
@@ -257,64 +242,32 @@
257242
},
258243
{
259244
"cell_type": "markdown",
260-
"id": "0a9ad2fc",
261245
"metadata": {},
262246
"source": [
263-
"## Remote bigWig tiles\n",
264-
"The next section requires `fuse` and `simple-httpfs` to be installed"
247+
"## Local bigWig files"
265248
]
266249
},
267250
{
268251
"cell_type": "code",
269252
"execution_count": null,
270-
"id": "3d664bb6",
271253
"metadata": {},
272254
"outputs": [],
273255
"source": [
274-
"%pip install fusepy simple-httpfs clodius"
256+
"!wget http://hgdownload.cse.ucsc.edu/goldenpath/hg19/encodeDCC/wgEncodeSydhTfbs/wgEncodeSydhTfbsGm12878InputStdSig.bigWig"
275257
]
276258
},
277259
{
278260
"cell_type": "code",
279261
"execution_count": null,
280-
"id": "0e22f81d",
281262
"metadata": {},
282263
"outputs": [],
283264
"source": [
284-
"# set up FUSE\n",
285-
"import pathlib\n",
286-
"\n",
287-
"mount_dir = pathlib.Path.cwd() / \"mnt\"\n",
288-
"\n",
289-
"if not mount_dir.is_dir():\n",
290-
" mount_dir.mkdir()\n",
291-
"\n",
292-
"# mount directory and start fuse\n",
293-
"hg.fuse.start(mount_dir.absolute())"
294-
]
295-
},
296-
{
297-
"cell_type": "code",
298-
"execution_count": null,
299-
"id": "4133c1c3",
300-
"metadata": {},
301-
"outputs": [],
302-
"source": [
303-
"import hg\n",
304-
"\n",
305-
"# get mounted path\n",
306-
"bwpath = hg.fuse.path(\n",
307-
" \"http://hgdownload.cse.ucsc.edu/goldenpath/hg19/encodeDCC/\"\n",
308-
" \"wgEncodeSydhTfbs/wgEncodeSydhTfbsGm12878InputStdSig.bigWig\"\n",
309-
")\n",
310-
"\n",
311-
"track = hg.bigwig(bwpath).track(\"horizontal-bar\")\n",
312-
"hg.view(track)"
265+
"tileset = hg.bigwig(\"wgEncodeSydhTfbsGm12878InputStdSig.bigWig\")\n",
266+
"hg.view(tileset.track(\"horizontal-bar\"))"
313267
]
314268
},
315269
{
316270
"cell_type": "markdown",
317-
"id": "5844a303",
318271
"metadata": {},
319272
"source": [
320273
"## Local cooler files\n",
@@ -325,7 +278,6 @@
325278
{
326279
"cell_type": "code",
327280
"execution_count": null,
328-
"id": "0439622f",
329281
"metadata": {},
330282
"outputs": [],
331283
"source": [

examples/Fuse.ipynb

Lines changed: 0 additions & 467 deletions
This file was deleted.

pyproject.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,6 @@ dependencies = [
3333
requires-python = ">=3.8"
3434
urls = { homepage = "https://github.com/higlass/higlass-python" }
3535

36-
[project.optional-dependencies]
37-
fuse = ["fusepy", "simple-httpfs"]
38-
3936
[dependency-groups]
4037
dev = ["anywidget[dev]", "jupyterlab", "pytest", "ruff"]
4138

src/higlass/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,4 @@
1212

1313
import higlass.tilesets as tilesets
1414
from higlass.api import *
15-
from higlass.fuse import fuse
1615
from higlass.tilesets import bed2ddb, beddb, bigwig, cooler, hitile, multivec, remote

src/higlass/fuse/__init__.py

Lines changed: 0 additions & 94 deletions
This file was deleted.

src/higlass/fuse/_httpfs.py

Lines changed: 0 additions & 64 deletions
This file was deleted.

0 commit comments

Comments
 (0)