dba.count Can't count: some peaksets are not associated with a .bam file.
1
0
Entering edit mode
loretta • 0
@loretta-18286
Last seen 5.3 years ago

Hi, 

I am having some trouble with the dba.count function in Diffbind dba.count function. See below: 

DBA.count = dba.count(DBA, bUseSummarizeOverlaps = FALSE, mapQCth = 30, bCorPlot = FALSE, bParallel = TRUE, minOverlap = 2)
Error in pv.counts(DBA, peaks = peaks, minOverlap = minOverlap, defaultScore = score,  : 
  Can't count: some peaksets are not associated with a .bam file.

It previously worked on the same dataset doesn't seem to work anymore. 

Please help

 

 

 

 

 

diffbind • 2.2k views
ADD COMMENT
1
Entering edit mode
Rory Stark ★ 5.2k
@rory-stark-5741
Last seen 4 weeks ago
Cambridge, UK

This error arises when there is no bam file specified for a peakset. Check your sample sheet to ensure that there is a column named bamReads (case sensitive). you can check how your samplesheet looks after processing as follows:

> DBA$samples

You can also check all the bam file paths as follows:

> DBA$class[10,]

 

ADD COMMENT
0
Entering edit mode

Thank you Rory. Seems it was just the file path that had an error.

ADD REPLY

Login before adding your answer.

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