I am currently working on an analysis of two factors with two replicates each. I have called peaks using three different peaks callers, and would like to first derive a consensus of the peak callers for each factor before generating a consensus across the factors. Is there any way i can achieve this without having to create multiple DBA's?
My current workflow is: - create DBA with ALL samples, replicates and peak calls (2 x 2 x 3 = 12) - generate consensus for each factor - export and save consensus peaks as bed file - create new DBA with ALL samples, but using consensus peaks for appropriate factor - count - analyse - plot data ...
Hi Rory Your advice is very useful. But now I want to use the consensus bed file generated by WT group and KO group respectively for the next step of analysis. I will footprinting analysis using the rgt-hint. He asked me to generate a bed file with an integer score for the fifth column. I wonder whether diffbind can extract the two consensus bed files. And the fifth column is an integer. now i had run the code below
i get the output
I want to get KO's consensus bed which contain 63479 lines and WT's consensus bed which contain 57950 lines Thank you