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
本文来自博客园,作者:橙子牛奶糖(陈文燕),转载请注明原文链接:https://www.cnblogs.com/chenwenyan/p/18218419