I tried but it is not working, any other suggestion? Thanks for your help!
Hi all,
I am trying to convert a regular narrowPeak file into a BED file for use with diffBind... any ideas?
Thanks.
2 answers
Yes, describe how it is not working. What have you been trying? Errors you got?
the sample sheet is the more likely problem....the narrowPeak file doesnt need any editing.
But then how can I obtain the count matrix? For that reason I wanted to convert the narrowPeak to bed because i already established the pipeline in that way. Any suggestion is very appreciated.
It worked for me, thank you very much
DiffBind supports narrowPeak format directly, Just specify "narrow" as the value for PeakCaller in your samplesheet.
-Rory
I have the narrowPeak files, I want to extract the counts to use the matrix with DESeq or EdgeR. That is why I was trying to convert the narrowPeak files into bed files. Any suggestion?
Log in to answer this question.
I know this is an old ticket however I am not able to create a DBA object with a narrowPeak file as it complains about the first line in the narrow peak file not having 10 columns which is true because it has a header like this:
Only after removing the header, I was able to load it. Is this okay or something is off about my peak calling? Here's the code snippet
Please do not add an answer unless you're answering the top level question. You have a related question, which is best posted as either a comment on the top level question or as a new question referencing the existing question.
Also, please use the formatting bar (especially the
codeoption) to present your post better. You can use backticks for inline code (`text` becomestext), or select a chunk of text and use the highlighted button to format it as a code block. I've done it for you this time.