DiffBind dba.count Error in if (sum(tokeep) < length(tokeep))
1
0
Entering edit mode
@8697b6e2
Last seen 1 day ago
Hong Kong

When I used dba.cout with DiffBind, the following error occurred.

Code should be placed in three backticks as shown below

library(DiffBind)
library(parallel)
dbObj <- dba(sampleSheet="SampleSheet.csv")
dbObj <- dba.count(dbObj, bUseSummarizeOverlaps=TRUE)

The following error occurred

Error in if (sum(tokeep) < length(tokeep)) { : 
missing value where TRUE/FALSE needed

The bam files were obtained after bowtie2 alignment, and the bed files were obtained using AutoCirc. The last line of these bed files was not truancated.

Here are some related figures.

enter image description here

enter image description here

enter image description here

Here is the head of bed file enter image description here

DiffBind dba.count • 158 views
ADD COMMENT
0
Entering edit mode

Can anyone help?

ADD REPLY
1
Entering edit mode
jseg ▴ 10
@4cfcb545
Last seen 4 days ago
France

Hey,

Did you make the index of the BAM files?

If not, this can sometimes produce the error code you received.

ADD COMMENT
0
Entering edit mode

I have indexed the bam files using samtools, however this error still occurred.

enter image description here

enter image description here

ADD REPLY

Login before adding your answer.

Traffic: 491 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