I'm trying to use the bedtools closest function to compare a couple of datasets. It works fine however when trying to compare ranges from chromosomes with double digits, it seems not be able to make the comparison. For example:
chr9 222268 30116164 chr9 29909450 29909600 0
chr9 222268 30116164 chr9 29926499 29926649 0
chr9 222268 30116164 chr9 30050824 30050974 0
chr10 214399 8156391 . -1 -1 -1
chr15 19138465 20536973 . -1 -1 -1
chr15 83671081 100021943 . -1 -1 -1
Has anyone else had this problem and what can I do to fix it?