I'd like to merge bed files and preserve the names of the merged features using bedtools -nms option.
However, this option (-nms) is deprecated in the newer bedtools.
The documentation says I can use -o option to get -nms behavior, but the documentation is not very clear.
How do I get translate the new bedtools merge command to get:
bedtools merge -i file.bed -nms