Hi, I want to use bedops to analyze some of the .bed files from ChIP-seq, but one of the files I can't go through the analysis, even can't sort-bed. It keeps saying the BED row length exceeds capacity at line 1. It doesn't help even after I deleted the first row of my .bed file.


```
unknownb8f6b1106ced:chip-seq fuxiaoyong$ sort-bed era_inpegf_mcf7_n3_hg18_f20_nr.bed
BED row length exceeds capacity at line 1 in era_inpegf_mcf7_n3_hg18_f20_nr.bed.
Check that you have unix newlines (cat -A) or increase TOKENS_MAX_LENGTH in BEDOPS.Constants.hpp and recompile BEDOPS.
```

I am very new for using tools to analyze NGS data, even for the Mac OS X system. So, please help me and your detailed explanation will be greatly appreciated!!
The issue is probably not blank lines, which the current version of `sort-bed` removes, but a lack of correct newline characters, since Excel (even the Mac version) adds Windows-specific line delimiters to the text files it exports.

If the file doesn't end with a UNIX newline character, then you will get an error message. The usual way to fix this is to use `dos2unix` on the output from Excel, or to avoid handling data in Excel where possible.

If clearing out empty lines fixes sorting for you, then look at upgrading your version of BEDOPS and `sort-bed` to the current release (presently v2.4.2), as you might be running an older binary.