danbing-tk icon indicating copy to clipboard operation
danbing-tk copied to clipboard

Error in Build RPGG for my own datasets

Open BrendaLee1 opened this issue 1 year ago • 5 comments

Hi, I use 35 hyplotypes to build RPGG for my VNTR sets, I find that the program always reports the following error when I run /soft/danbing-tk-1.1//script/preMBE.py /35Hyplto/genome.bam.tsv pan.tr.mbe.v0.bed: beds[hi,m] = np.loadtxt(f"{g}/tmp1.{h}.bed", dtype=object, usecols=[0,1,2,6], ndmin=2) ValueError: shape mismatch: value array of shape (101497,4) could not be broadcast to indexing result of shape (37920,4) I checked f"{g}/tmp1.{h}.bed" file, it's seems that every hyplotype file have different number of mapping locations, what should I do to solve this problem, any suggestion will be appreciated.

Best wishes Lee

BrendaLee1 avatar Jun 13 '23 15:06 BrendaLee1