Hello all, I saw that there is a new version of DiffBind from Bioconductor out with many updates and I wanted to test it out. I installed the package but am not able to run through the vignette because the reads directory is missing and there are no bam files. I downloaded using BiocManager.
The R version I'm running is 4.0.3 on linux.
My code so far:
setwd(system.file('extra',package='DiffBind'))
samples <- read.csv(file.path(system.file("extra", package="DiffBind"),"tamoxifen.csv"))
tamoxifen <- dba(sampleSheet=samples)
tamoxifen.count <- dba.count(tamoxifen)
Then I get a warning message that says the bam files are not accessible.
1: reads/Chr18_BT474_ER_1.bam not accessible 2: reads/Chr18_BT474_ER_2.bam not accessible 3: reads/Chr18_MCF7_ER_1.bam not accessible
I checked and the files are not accessible.
file.exists("reads/Chr18_BT474_ER_1.bam")
[1] FALSE
There is no 'reads' directory in '~/R/x86_64-pc-linux-gnu-library/4.0/DiffBind/extra/' which is where the 'peaks' directory is that contains the bed files. Can anyone please help me out so I can install and use the new DiffBind 3.0?
Thanks very much, Tesa
Can you double check you have the correct version first with
sessionInfo()
.session info gives: