Hi, Biostars.
I have a bed file, containing positions with 1bp interval. These positions express a feature in genome we focus.
I would like to analysis density of above bed file. "density" means accumulation of these position, like "hotspot".
Anyone have a solution? thanks.
Did you try bedtools?
http://bedtools.readthedocs.org/en/latest/
You say bedtools cluster? http://bedtools.readthedocs.org/en/latest/content/tools/cluster.html
What do you exactly mean with "density"?
I would like to analysis whether some of bed positions exist in specific region of genome.
For example,
The number of positions : 10000
Whole genome length : 1.0E+9 [bp]
Assuming the above, 10 positions cluster in 1.0E+6 may be random distribution.
On the other hand, 10 positions cluster in 1.0E+3 may be "density" or "hotspot".
Sorry about my poor English and vague goal.