bedtools icon indicating copy to clipboard operation
bedtools copied to clipboard

Update merge.rst

Open kzarns opened this issue 12 years ago • 2 comments

For sort, should chr9 be before chr10?

I Added a V to the end of the first sort criteria. V is for version. In this case V will sort the numeric section of the first field as a number so that chr9 comes before chr10. If the first field is just for grouping and the order of chr9 vs chr10 does not matter, then this can be left out.

kzarns avatar Sep 14 '13 21:09 kzarns

Well, version sort is not available for the default versions of many OS. I would rather assume -V is not present, but we could always make a note about the -V option in newer versions of coreutils.

arq5x avatar Sep 16 '13 14:09 arq5x

Doesn't bedtools sort assume that it's NOT sorted in "natural" order and assumes that chr9 comes after chr10?

brentp avatar Sep 16 '13 18:09 brentp