Entering edit mode
20 months ago
DARLOR
▴
10
Hello people, I need help
I have some coordinates:
coords
# A tibble: 6 × 3
Chr Start End
<chr> <int> <int>
1 chr12 73041827 73046712
2 chr15 93499114 93595891
3 chr7 51879145 51994458
4 chr13 88821472 89323225
5 chr19 14448072 14597983
6 chr1 21398403 21961942
And as you see, they have different length. So I would to divide it into equal number of bins (e.g. 200). Should I use deeptools. I appreciate some suggestions.
What have you tried? Did a Google search for "bin granges" reveal anything useful?
No, I didn't find anything useful for me
That is impossible. I'm pretty sure the first results page would contain the
tile
function mentioned by benformatics below. Invest a decent amount of effort before asking others to put in work for you.EDIT: My first Google result is to the link https://support.bioconductor.org/p/76875/ which has the answer you need. You invested zero effort. That is just lazy.
Sorry man, I found your first google result, and I think it is not what I was searching for. Of course I'm searching in internet before answer there. You cannot judge, I don't want that anyone does the work for me. What are you doing here, what's your job? judging other people? Maybe I did the question wrong, so apologize for this. Goodbye
It is, though. Your wording is unclear, you want to either tile each range into 200 bins or 200bp sized bins. Both can be achieved through
tile
, whose documentation states:The proper etiquette is to mention things you've tried when you ask the question. My job is to ensure questions follow an acceptable standard and the forum is being used properly, and when I spot a possible problem, I nudge things in the right direction. Again, invest effort both in trying to figure out the solution yourself AND in asking the question here.
Ok, thank you. I have to check better