Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to change the path for downloading the remote bw files? #66

Open
Codezy99 opened this issue May 23, 2022 · 2 comments
Open

Comments

@Codezy99
Copy link

Hi Lawremi,

thanks for the super cool package. I am trying to do an analysis across the whole TCGA data set, so I am heavily using the import.bw function. The default path for store the remote bw is /tmp/udcCache. But now the data getting bigger and bigger, my home directory do not have enough space for all the bw files. So I was wondering if it is possible to change the path for the remote bw storage? Thanks : )

Best regards,
You

@sanchit-saini
Copy link
Contributor

Hi @Codezy99,

Value of default cache directory can be update with the

path <- "/any/path"
.Call(rtracklayer:::R_setUserUdcDir, path)

Note: To use a custom cache directory properly. Every time after loading rtracklayer, A call should be made to set the new cache directory path otherwise, it would fall back to using the default.

@Codezy99
Copy link
Author

@sanchit-saini thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants