ALLHiC
ALLHiC copied to clipboard
ALLHiC_plot: error
[14:52:18] Step1: Get chromosome length
[14:52:18] Step2: Get signal matrix
[15:57:46] Step3: Draw heatmap
[15:57:46] Drawing with bin size 500k
Traceback (most recent call last):
File "/home/xb/ALLHiC/ALLHiC/bin/ALLHiC_plot", line 250, in
It seems that the "data" is an empty list, the first thing need be checked is that whether the chromosome list file empty or not, then remove npz file or not use npz parameter, and for large genome, the min_size should be set larger.
It seems that the "data" is an empty list, the first thing need be checked is that whether the chromosome list file empty or not, then remove npz file or not use npz parameter, and for large genome, the min_size should be set larger.
Problem solved,Thank you! The chromosome list file is empty cased by the "cut -f1,2 groups.asm.fasta.fai|grep sample > chrn.list" in the line 111 of AllHiC.pep.sh, which should be "cut -f 1,2 groups.asm.fasta.fai > chrn.list". By the way, the line 112 "ALLHiC_plot sample.bwa_mem.bam groups.agp chrn.list $bin_size pdf" should be "ALLHiC_plot -b sample.bwa_mem.bam -a groups.agp -l chrn.list -s $bin_size"