I am very new to all of this so I apologise for any simple mistakes. Today I have been trying to merge 2 files at 500bp using Bedtools. I have both files in the format of:
chr1 812283 812293 chr1 812566 812576 chr1 811236 811246
As far as I'm aware each column is separated by tabs, and I have tried using test .bed files with only a few rows.
bedtools merge -i test1.bed test2.bed -d 500 < sorted.bed
or even just trying to access the bed files using a different command (
bedtools merge -i test1.bed), I am receiving 'Error: Unable to open the test1.bed. exiting.'
Does anyone know why this could be happening? Any help is greatly appreciated.