bedtools报错:ERROR: Sort order was unspecified,Please rerun with the -g option for a genome file

运行命令bedtools coverage -sorted -a ${path1}/input/gencode.v19.annotation.bed -b $file > ${result}/${tissueName}.coverage.txt出现的报错。
解决方案:删除bed文件的chr即可。如下所示:

${path1}/input/gencode.v19.annotation.bed

${path1}/input/gencode.v19.annotation.nochr.bed:

重新运行即可:
bedtools coverage -sorted -a ${path1}/input/gencode.v19.annotation.nochr.bed -b $file > ${result}/${tissueName}.coverage.txt

posted @   橙子牛奶糖  阅读(65)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 10年+ .NET Coder 心语 ── 封装的思维:从隐藏、稳定开始理解其本质意义
· 地球OL攻略 —— 某应届生求职总结
· 提示词工程——AI应用必不可少的技术
· Open-Sora 2.0 重磅开源!
· 字符编码:从基础到乱码解决
历史上的今天:
2021-05-28 本周最新文献速递20210528
点击右上角即可分享
微信分享提示