databio / geniml

Genomic interval machine learning
https://docs.bedbase.org/geniml/
BSD 2-Clause "Simplified" License
17 stars 1 forks source link

Using pybiocfilecache #3

Closed jwokaty closed 1 month ago

jwokaty commented 7 months ago

We discussed using interoperable caching for R/Python users on 4/10. @LiNk-NY checked that https://github.com/BiocPy/pyBiocFileCache doesn't use the same path for Python and R; however, we could agree to use the same path for bbclient and https://github.com/jwokaty/bedbaser. The default path appears to be ~/cache, which I could use for bedbaser to make it agnostic.

jkanche commented 4 months ago

Hi all, noticed this issue while I was looking for something else. I think one solution might be is to agree on a common directory and set the location using app dirs ?

khoroshevskyi commented 4 months ago

We added pyBiocFileCache to bbclient. So now both Python and R can use cached data from same folder. In Python and R you can specify where you store your cached files. Find more info here: https://docs.bedbase.org/geniml/tutorials/pyBiocFileCache/ .

I think this issue is solved, close it if you think so

khoroshevskyi commented 1 month ago

From my side it seems like this issue is solved, reopen if needed. thx