合并选择区域时出现错误,请教一下,要怎么解决呢?是不是把前面的- 删掉

[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


请先 登录 后评论

2 个回答

omicsgene - 生物信息
擅长:重测序,遗传进化,转录组,GWAS

没有排序吧,试试下面的命令


sed '1d' *.selected.region.txt |sort -k1 -k2n| bedtools merge -i - >fst_top0.5_selected_region.txt
请先 登录 后评论
红红火火

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

老师,又出现了这样的错误
请先 登录 后评论
  • 2 关注
  • 0 收藏,898 浏览
  • 红红火火 提出于 2023-11-08 10:11

相似问题