DiffBind count warning
1
0
Entering edit mode
ghosos • 0
@ghosos-15000
Last seen 6.4 years ago

Hello, I am trying to calculate the FRiP score through dba.count() method as following, and I've been continuously getting this warning:

> compareCount <- dba.count(compare, bParallel=FALSE)

Sample: trimmed_DKO_R1.fastq.gz.sam.sort.clean.bam125

Sample: trimmed_DKO_R2.fastq.gz.sam.sort.clean.bam125

Sample: trimmed_HCT116_R1.fastq.gz.sam.sort.clean.bam125

Warning message:

In dba.multicore.init(DBA$config) :

Parallel execution unavailable: executing serially.

Can someone answer why I am continuously getting this error even when I set the paramenter bParallel=FALSE?

samples <- read.csv("sample.csv", sep=",")

compare <- dba(sampleSheet=samples)

compareCount <- dba.count(compare, bParallel=FALSE)

 

Thank you for your help in advance.

 

diffbind parallel • 1.0k views
ADD COMMENT
0
Entering edit mode
Rory Stark ★ 5.2k
@rory-stark-5741
Last seen 8 weeks ago
Cambridge, UK

Yes, this warning does happen on Windows only.

If this really annoys you, there is a workaround. You can set a configuration option to a specific value, as in the following example:

data(tamoxifen_peaks)
tamoxifen$config$parallelPackage <- 4

You won't see the warning anymore, but you will get an error if you try to run anything in parallel, so you should also set:

tamoxifen$config$RunParallel <- FALSE

after which you don't need to explicitly set bParallel=FALSE.

 

 

 

ADD COMMENT

Login before adding your answer.

Traffic: 1048 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6