没有排序吧,试试下面的命令
sed '1d' *.selected.region.txt |sort -k1 -k2n| bedtools merge -i - >fst_top0.5_selected_region.txt
[root@c2d1f4f23ca0 09:47:04 /work/3.map/vcf]# sed '1d' *.selected.region.txt | bedtools merge -i - >fst_top0.5_selected_region.txt
Error: Sorted input specified, but the file - has the following out of order record
hic_scaffold_13100014100002.170817908590890.004903580.00525442 -0.0996961085700556FS_D selected region
sed '1d' *.selected.region.txt |sort -k1 -k2n| bedtools merge -i - >fst_top0.5_selected_region.txt
Error: Sorted input specified, but the file - has the following out of order record
hic_scaffold_100311000002.363965291583930.0008481630.00186525-1.13695555453789FS_F selected region