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.
How do I get translate the new bedtools merge command to get:
bedtools merge -i file.bed -nms
Thanks for bringing this up. I will try to improve the docs...