What steps will reproduce the problem?
1.$ echo -e "chr1\t9\t10\nchr1\t10\t20" | mergeBed -i -
chr1 9 20
$ echo -e "chr1\t9\t9\nchr1\t10\t20" | mergeBed -i -
chr1 8 20
$ echo -e "chr1\t0\t0\nchr1\t10\t20" | mergeBed -i -
Error: malformed BED entry at line 1. Start was greater than end. Exiting.
$ echo -e "chr1\t9\t9" | mergeBed -i -
chr1 8 10
$ echo -e "chr1\t1\t9\nchr1\t9\t9" | mergeBed -i -
chr1 1 10
What is the expected output? What do you see instead?
Seems inconsistent handling of intervals for start=stop, which i guess should
be either invalid or zero length, since the base referred to by start coord "i"
is really the "i + 1"th base in the sequence.
What version of the product are you using? On what operating system?
v2.17.0
Please provide any additional information below.
Thanks very much for bedtools, which I have found very useful
Original issue reported on code.google.com by frankcui...@gmail.com on 3 Jul 2013 at 11:14
Original issue reported on code.google.com by
frankcui...@gmail.com
on 3 Jul 2013 at 11:14