Question: DiffBind: Error in `.rowNamesDF<-`(x, value = value) : invalid 'row.names' length
gravatar for melnuesch
6 months ago by
melnuesch10 wrote:

Some background:

I am doing the differential binding analysis of some human histone ChIP-seq samples (bowtie2 mapping to hg19, duplicate marking, MACS2 narrow peak calling, blacklisted regions filtering with bedtools intersect and Anshul Kundaje's BED file for hg19). The samples are H, Y and Z and I'm comparing Y vs H and Z vs H (H is the control group). First, I did all that for with version hg38 and everything went fine. For some purpose, I needed to redo everything using the hg19 version of the genome. At the DiffBind step, the same script that did not have any problems before had only one error when dealing with the Y vs H comparison:

DiffBind: Error in `.rowNamesDF<-`(x, value = value) : invalid 'row.names' length

at the point of my script that I was doing a volcano plot (here you have the code I was using):

results=dba.analyze(results, method=DBA_DESEQ2)
pdf(paste(diffBindDir,"volc_plot.pdf",sep = ""))

(entry 2 in the Condition vector is Y and entry 1 is H). After the volcano plot code, there's MAplot code and this one was produced without any problems. I've tried with other data sets and also happens every now and then - particularly with some comparisons where the numbers are pretty similar (pair wise comparison between two conditions where there's no much change). So far I have never seen in comparisons with conditions that differ more.

The concrete problem:

How can it be that that sample is giving me this error? Since DiffBind has so many stuff inside each of its objects, does someone have some hints of what can be wrong? Thank you !


MacOS High Sierra v10.13.6, Rstudio Version 1.1.463, R version 3.5.2 (2018-12-20) -- "Eggshell Igloo", DiffBind version 2.10.0 I tried with the newest to date version of R and Diffbind and also happens. (R 3.6.0 and DiffBind 2.12.0)

diffbind • 144 views
ADD COMMENTlink modified 6 months ago • written 6 months ago by melnuesch10

Just for the record, I suggested to cross-post this question here at BioC which originally was posted at Biostars a few weeks ago.

ADD REPLYlink modified 6 months ago • written 6 months ago by ATpoint30
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 220 users visited in the last hour