ay-lab / fithic

Fit-Hi-C is a tool for assigning statistical confidence estimates to chromosomal contact maps produced by genome-wide genome architecture assays such as Hi-C.
MIT License
79 stars 16 forks source link

not enough values to unpack (expected 5, got 1) #70

Open wangzhaohui-001 opened 8 months ago

wangzhaohui-001 commented 8 months ago

Hello , i get below error Reading the contact counts file to generate bins... Traceback (most recent call last): File "/home/ug1561/.conda/envs/py39/bin/fithic", line 10, in sys.exit(main()) File "/home/ug1561/.conda/envs/py39/lib/python3.9/site-packages/fithic/fithic.py", line 317, in main (mainDic,observedInterAllCount,observedInterAllSum,observedIntraAllSum,observedIntraInRangeSum) = read_Interactions(contactCountsFile, biasFile) File "/home/ug1561/.conda/envs/py39/lib/python3.9/site-packages/fithic/fithic.py", line 413, in read_Interactions ch1,mid1,ch2,mid2,contactCount=lines.split() ValueError: not enough values to unpack (expected 5, got 1)

aryakaul commented 8 months ago

Hello,

The error indicates that your contact counts file is incorrectly formatted. Can you show the first 5 lines of the file? I suspect it is because they are not tab separated.