error using standalone locuszoom (v1.4)
0
0
Entering edit mode
5.3 years ago
zf1718 • 0

Hi,

I'm trying to run locuszoom on the ubuntu but keep geting this error. I searched quite a bit but haven't found a solution.

Any idea or suggestion how to solve it? Thanks much!

Traceback (most recent call last):
    File "../software/locuszoom/bin/locuszoom", line 26, in <module>
    from m2zfast import main
ImportError: No module named m2zfast

Kind regard Fang

genome locuszoom • 2.9k views
ADD COMMENT
0
Entering edit mode

Looks like it could be a missing python module. Can you try pip- or conda- installing m2zfast if that's the case?

ADD REPLY
0
Entering edit mode

Thanks for the suggestions! However, it doesnot work. m2zfast.py is a file in the folder named src, which contains source code for locuszoom. I guess the programme cannot recognize m2zfast.py somehow.

ADD REPLY
0
Entering edit mode

Can you try adding the src directory to the $PYTHONPATH variable?

ADD REPLY
0
Entering edit mode

Many Thanks! I am kind of confused about how to add directory to the PYTHONPATH. I don't really understand the codes in other websites. Can you please help me about it? Thank you again for your patience. Happy New Year.

ADD REPLY
0
Entering edit mode

The github page states locuszoom-standalone is not under active development, and recommends using the Javascript version:

https://github.com/statgen/locuszoom

Do the scripts under the "src" folder have the correct permissions? See Cannot get standalone version to run .

ADD REPLY

Login before adding your answer.

Traffic: 2937 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6