Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install HiCPlus #13

Open
ghost opened this issue May 24, 2023 · 1 comment
Open

Install HiCPlus #13

ghost opened this issue May 24, 2023 · 1 comment

Comments

@ghost
Copy link

ghost commented May 24, 2023

I am attempting to install HiCPlus by following the steps outlined in the tutorial :

conda config --add channels pytorch
conda create -n plus python=3.6 numpy pytorch torchvision scipy
python3 -m pip install hic-straw
source activate plus
git clone https://github.com/wangjuan001/hicplus.git
cd hicplus
python setup.py install

After this, I tried running the command :

hicplus -h

I received the following error :

Traceback (most recent call last):
File "/home/miniconda3/envs/plus/bin/hicplus", line 4, in
import('pkg_resources').run_script('hicplus==1.1.0', 'hicplus')
File "/home/miniconda3/envs/plus/lib/python3.6/site-packages/pkg_resources/init.py", line 651, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/home/miniconda3/envs/plus/lib/python3.6/site-packages/pkg_resources/init.py", line 1448, in run_script
exec(code, namespace, namespace)
File "/home/miniconda3/envs/plus/lib/python3.6/site-packages/hicplus-1.1.0-py3.6.egg/EGG-INFO/scripts/hicplus", line 3, in
from hicplus import pred_chromosome, train_models, pred_genome
File "/home/miniconda3/envs/plus/lib/python3.6/site-packages/hicplus-1.1.0-py3.6.egg/hicplus/pred_chromosome.py", line 8, in
import straw
ModuleNotFoundError: No module named 'straw'

Even though I tried manually adding " import straw " in pred_chromosome.py, I continue to encounter the same error.

@gotouerina
Copy link

gotouerina commented Jun 8, 2023

I guess it is beacause hic-straw has updated and remove straw.py...
Maybe download an old package is useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant