In short, afaik, DESeq2 cannot be used for differential peak expression analysis as required by DRIP seq.
Longer answer:
That doesn't mean that one could not somehow run DESeq(2) or other DE analysis packages on these data, e.g. after re-formatting, inserting 'pseudo'-transcript regions and counts for peaks, and get some p-values. But you can simply never be sure they are valid or meaningful, (edit) unless it has been properly tested for the recommended purpose.
I should note that I have no experience with that specific data type of yours, so this is to take with a grain of salt. See also Friederike's comment.
DESeq(2) has been developed for differential expression analysis in RNA-sequencing data. It hasn't been validated on the data you are trying to use it on and there is no established protocol (again afaik, if you can find a good, published paper describing one, please go ahead, and ignore me). I think you could apply peak calling and differential peak calling methods that apply to ChIP-seq because the data is rather similar.
As a bit of general advice and even though it might sound a bit dull: we are not really meant to cook up our own protocols each time we are seeing new data but use state-of-the-art methods that are published. Unless someone is really at the forefront of experimental sequencing tech, there is almost always a published study that has analyzed similar data. So look for published reviews, methods papers, and analyses on similar data, attempt to replicate their methods and go from there, in case modifications are necessary.
If running an analysis, it always makes sense to be able to state the following:
- I am running an analysis of DRIP-seq data
- My experimental design is this: ...
- My data looks like this: ...
- I am following the methods protocols as described in: Zeller et al. (2016) (this might fit).
How did you use BAM files in the past with DESeq2?
AFAIK, DESeq needs a table of counts, so if your BED file contains a column that contains read counts that follow the assumptions made for RNA-seq data, you should be able to use it.
Thanks for your comment and I am sorry for my explanations. I created an RNA-seq count table using bam files.(with functions such as BamFileList and csv files) My BED files have a column for read counts so I will try to use this.
I have added a link to the DRIP seq wikipedia entry. It should be quite clear what the implications are. I have also changed the title to more specific.