ERROR:hicexplorer.chicSignificantInteractions:'str' object has no attribute 'decode'Traceback (most recent call last):
File "/home/admin/anaconda3/envs/hicexplorer/lib/python3.8/site-packages/hicexplorer/chicSignificantInteractions.py", line 134, in compute_interaction_file
data = pViewpointObj.readInteractionFile(pFilePath, sample)
File "/home/admin/anaconda3/envs/hicexplorer/lib/python3.8/site-packages/hicexplorer/lib/viewpoint.py", line 149, in readInteractionFile
chromosome = interactionFileHDF5Object.get(internal_path + '/' + 'chromosome')[()].decode("utf-8")
AttributeError: 'str' object has no attribute 'decode
Dear Developers,
I'm trying to generate compiled 3C-like profiles for a tRNA and I encountered the following error message:
chicViewpointBackgroundModel --matrices CTR.h5 T1.h5 T2.h5 --referencePoints reference_point.bed --outFileName background_model.bed
chicViewpoint --matrices CTR.h5 T1.h5 T2.h5 --range 50000 50000 --referencePoint reference_point.bed --backgroundModelFile background_model.bed --threads 20
chicSignificantInteractions --interactionFile tRNAs_output_interaction.h5 --pValue 0.05 --backgroundModelFile background_model.bed --range 50000 50000 --threads 20
ERROR:hicexplorer.chicSignificantInteractions:'str' object has no attribute 'decode'Traceback (most recent call last): File "/home/admin/anaconda3/envs/hicexplorer/lib/python3.8/site-packages/hicexplorer/chicSignificantInteractions.py", line 134, in compute_interaction_file data = pViewpointObj.readInteractionFile(pFilePath, sample) File "/home/admin/anaconda3/envs/hicexplorer/lib/python3.8/site-packages/hicexplorer/lib/viewpoint.py", line 149, in readInteractionFile chromosome = interactionFileHDF5Object.get(internal_path + '/' + 'chromosome')[()].decode("utf-8") AttributeError: 'str' object has no attribute 'decode
Can you please help resolve this?
Many thanks in advance.
Best, Attila chicFiles.zip
Python 3.8.13 hicInfo 3.7.2