Input error: Chromosome xxx found in non-sequential lines. This suggests that the input file is not

Posted 橙子牛奶糖

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Input error: Chromosome xxx found in non-sequential lines. This suggests that the input file is not 相关的知识,希望对你有一定的参考价值。

跑命令bedtools genomecov -ibam file.bam -bga -split -trackline > file.wig时出现的报错。

解决方案:

samtools sort file.bam -T /tmep -o file.sorted.bam #/tmep指的是新建一个tmep的文件夹, 对file.bam进行sort,生成file.sorted.bam
bedtools genomecov -ibam file.sorted.bam -bga -split -trackline > file.wig

以上是关于Input error: Chromosome xxx found in non-sequential lines. This suggests that the input file is not 的主要内容,如果未能解决你的问题,请参考以下文章