首页 > 其他 > 详细

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

时间:2021-06-12 01:17:44      阅读:17      评论:0      收藏:0      [点我收藏+]

跑命令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 sorted correctly报错

原文:https://www.cnblogs.com/chenwenyan/p/14877067.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!