Alex - thank you very much for this helpful feedback. The data are not currently in BED format, although I suppose I could put them in that format. Actually, the format I would use would likely be VCF file.
However I suppose what I was asking for would be for a tool that would do it without any input at all. A simple example: if I specify a given region that is 1 Mb in length, it might contain, say, 6 genes. The tool I am seeking would simply find another 1Mb region with 6 genes in it.