报错
bedtools intersect -a a.bed -b b.bed
报错:bed has inconsistent naming convention for record
分析
与a.bed和b.bed的chr列是否添加chr有关
解决
sed -i 's/^/chr/' a.bed
或者
sed -i 's/^/chr/' b.bed
bedtools intersect -a a.bed -b b.bed
报错:bed has inconsistent naming convention for record
与a.bed和b.bed的chr列是否添加chr有关
sed -i 's/^/chr/' a.bed
或者
sed -i 's/^/chr/' b.bed