bedops wig2bed 'Row begins with a tab or space' error


Hi everyone,

I've been trying to convert a .wig file to a .bed file using bedops' wig2bed function and I get the following error:

Row begins with a tab or space at line 1 in -.

I have tried running it with and without the --zero-indexed option, as well as alternatively running convert2bed instead, but the error message remains unchanged. I'm not sure what the error message refers to, as line 1, as far as I can see, doesn't begin with a tab or space:

head <file.wig>

Is there anything apparently wrong with the format of the .wig file that's leading to this error message, and can you suggest a way to fix it? Thank you!





Source link