Roleren / ORFik

MIT License
32 stars 9 forks source link

BiocFileCache path is not easy to use #168

Closed SuhasSrinivasan closed 5 months ago

SuhasSrinivasan commented 5 months ago

Hi,

Would it be possible to change the default directory of BiocFileCache?

It is currently in a hidden directory and nested, and the file names are randomly generated.

Setting up config file for ORFik
This config defines where to save:
            fastq, bam files, references and experiments
Saving to:  /home/user1/.cache/R/BiocFileCache/fa8a388fb8_fa8a388fb8.csv
ORFik now uses BiocFileCache for config, moving your old config
Roleren commented 5 months ago

Hi, this was required by bioc, who did not like how I had it. All the logic is the same, just hidden files. You can still open and edit files, and get the path to file from R. I will see if there is anything I can do about it :)

Roleren commented 5 months ago

If default is not sufficient, set it by: BiocFileCache::setBFCOption("CACHE", "/I_want_it/here")