Genome looks fine to me, it could be a typo, but in your post you wrote:
bedtools makewindows -g mm9.genome -w 10000 > mm9.windows.bed ## note the mm9.genome file name
The name of the genome file is mouse.mm9.genome, not mm9.genome, could you please check that?
Using the correct commands
bedtools makewindows -g mouse.mm9.genome -w 10000 > mm9.windows.bed
$ head mm9.windows.bed
chr1 0 10000
chr1 10000 20000
chr1 20000 30000
chr1 30000 40000
chr1 40000 50000
chr1 50000 60000
chr1 60000 70000
chr1 70000 80000
chr1 80000 90000
chr1 90000 100000
so theoretically it works. can you check using
head mm9.windows.bed
how your file looks?
Also, unless it's an answer use the comments to reply :)
It could be a problem with your bed files. bedtools is very sensitive to carriage return characters. If you did something in i.e. excel with those files and then saved them, you likely have some unwanted characters that make the bed file illegible for bedtools.
Try from your shell/terminal to do
If you get something like
then you are ok and we need to look into something else. If you get a single line of overlapping data then do
and use
mySecondBedFile.bedwith bedtools...that did the trick for me a number of times