gersteinlab / HiC-spector

Spectral and reproducibility analysis of Hi-C contact maps
10 stars 7 forks source link

LoadError: UndefVarError: spones not defined #11

Open ShallyLai opened 2 years ago

ShallyLai commented 2 years ago

Hello, This package is really helpful to my research.

I also try to use Julia and Python versions of reproducibility calculation, and both of them need to be modified for work.

Python version can run successfully when adding max_index = int(max_index) in both _Parse_matrixlieberman and _Parse_matrixhic functions.

But Julia script still appears LoadError: UndefVarError: spones not defined, and I'm not sure how to fix it. This occurs when I try to use the sample files in data.

julia run_reproducibility.jl data/examples_hicpro/reads_500000_1.matrix data/examples_hicpro/reads_500000_2.matrix

I am a newbie of Julia. Do I forget to import any packages??

Julia version: 1.7 (The latest).

Hope for your reply.

Thank you