Diffbind raw read counts
1
0
Entering edit mode
18 months ago
Beth ▴ 10

Hi all,

I'm trying to obtain a raw read counts from Diffbind, using the following command:

H3K27ac<- dba.count(matrix_all, minOverlap=3,
                score = "DBA_SCORE_READS")

And then

peaks<-dba.peakset(H3K27ac, bRetrieve=TRUE, DataType=DBA_DATA_FRAME, writeFile = "H3K27ac.txt")

But the result is looking like as non-integer values, is it normal for this type of output (because, for, example, raw read counts is integer in RNA-seq data)?

enter image description here

Thank you!

Diffbind ChIP-seq • 1.1k views
ADD COMMENT
1
Entering edit mode
18 months ago
Rory Stark ★ 2.0k

Yes, these should be integers when score=DBA_SCORE_READS.

I can not reproduce this in the currently released version (DiffBind_3.6.5) using the sample dataset:

tam <- dba(sampleSheet="tamoxifen.csv")
tam <- dba.count(tam, minOverlap=3, score=DBA_SCORE_READS)
peaks <- dba.peakset(tam, bRetrieve=TRUE, DataType=DBA_DATA_FRAME, writeFile="tam.txt")
peaks[1:5, 1:8]
read.table("tam.txt")[1:5,1:8]

Giving:

> peaks[1:5, 1:8]
    CHR  START    END BT4741 BT4742 MCF71 MCF72 MCF73
1 chr18 111395 111795     21     19   127    63   112
2 chr18 150222 150622     15     13    22    11    27
3 chr18 189192 189592     11     22    20    12    38
4 chr18 215629 216029     25     49    10    12    15
5 chr18 311744 312144     48     39    13    10     7
> read.table("tam.txt")[1:5,1:8]
     V1     V2     V3 V4 V5  V6 V7  V8
1 chr18 111395 111795 21 19 127 63 112
2 chr18 150222 150622 15 13  22 11  27
3 chr18 189192 189592 11 22  20 12  38
4 chr18 215629 216029 25 49  10 12  15
5 chr18 311744 312144 48 39  13 10   7
ADD COMMENT
0
Entering edit mode

Thank you!

ADD REPLY

Login before adding your answer.

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