Closed m03077yhtnt closed 2 days ago
Hi,
Apologies for the late reply. What is the genome are you using when you create the footprintingProject objet?
If you are using hg38, dm6, or mm10, you should only be needing the precomputed bias file like hg38Tn5Bias.h5 and I think you are putting them in the right directory. Could you also show me the absolute path of your current working directory and the absolute path to your data/shared/precomputedTn5Bias directory?
Thanks!
Thank you for your reply and sorry for my super late reply. I have restarted it again, and have faced the same issue. The genome I am using is hg38. My directory is as follows. projectMainDir <- "E:/R/RNAandATAC3_d30RNAUMAP/ATAC_R/PRINT/" projectDataDir is "E:/R/RNAandATAC3_d30RNAUMAP/ATAC_R/PRINT/data/Tutorial/" absolute path to my data/shared/precomputedTn5Bias directory is "E:/R/RNAandATAC3_d30RNAUMAP/ATAC_R/PRINT/data/shared/precomputedTn5Bias"
Many thanks
This seems correct. Maybe we can try simplifying the issue. Seems like you are having problem accessing this h5 file.
Inside the getPrecomputedBias function, the line of code that accesses the h5 files is this
library(hdf5r)
H5File$new(h5_path, mode="r")
Coud you try using the H5File$new function to directly load the hg38 file and see if it works?
If this doesn't work I'm also happy to do a zoom meeting with you to try to figure this out. Feel free to email me at yanhu@g.harvard.edu to schedule a chat!
Thanks!
Thank you very much for developing the excellent ATAC-seq package. I'm encountering an issue with the part “the function loads the pre-computed bias in the regions of interest”. I'm following your tutorial and using my own single-cell RNA and ATAC-seq data, which is from human samples. I've downloaded the files "dispModel", "TFBS_model.h5", "Tn5_NN_model.h5", "cisBP_human_pwms_2021.rds", "dm6Tn5Bias.h5", "hg38Tn5Bias.h5", and "files-archive" from https://zenodo.org/records/7121027. I placed them in the ../../data/shared/precomputedTn5Bias/ directory as instructed, but I'm encountering an error when running the following command.
Called from: H5File.open(filename, mode, file_create_pl, file_access_pl)
Yu Hatano