Closed mspivakov closed 1 year ago
Update: I believe I have managed to solve this by the following:
pip install hdf5plugin
Then creating the /rds/general/user/mikhails/home/anaconda3/envs/print/lib/hdf5/plugin
folder and copying the files from ./anaconda3/envs/print/lib/python3.8/site-packages/hdf5plugin/plugins/
created by this package to this folder I created.
Update2: the issue I was mentioning in the earlier version of this posting was due to the fact that I forgot to untar/unzip the h5 file ;)
Update3: However, I'm now getting the following error:
project <- getPrecomputedBias(project, nCores = 8)
Error in seq.default(1, nData, chunkSize) : invalid '(to - from)/by'
traceback()
7: stop("invalid '(to - from)/by'")
6: seq.default(1, nData, chunkSize)
5: seq(1, nData, chunkSize) at utils.R#291
4: getChunkInterval(regions, chunkSize = chunkSize) at getBias.R#125
3: .local(project, nCores, chunkSize, ...)
2: getPrecomputedBias(project, nCores = 8) at getBias.R#88
1: getPrecomputedBias(project, nCores = 8)
Update4: This was easy to fix. In your tutorial you assume that regionsBed has column names, which it isn't. So this was resolved by the following:
regionsBed <- read.table(paste0(projectDataDir, "BMMCTutorialRegions.bed"))
### Added new command
names(regionsBed)<-c("chr", "start", "end")
I've solved the issue now - I suspect my solutions will be useful for other users as well.
Hello! I've got
hfd5r
installed, but I'm getting the following error when runninggetPrecomputedBias()
:project <- getPrecomputedBias(project, nCores = 8)
I checked and indeed there's not even an
hdf5
folder in that location, let alone theplugin
subfolder. Any advice on how to get this to work? Many thanks!