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!!
Hello,

As discussed, the problem was owing to Excel messing up your BED file. To delete blank rows from your BED file, use the following command:

    sed '/^$/d' <era_inpegf_mcf7_n3_hg18_f20_nr.bed >era_inpegf_mcf7_n3_hg18_f20_nr_NoBlanks.bed

Or, you could also manually remove blank lines (a tedious process) by opening the file in TextWrangler.