Question: error using standalone locuszoom (v1.4)
0
gravatar for zf1718
3 months ago by
zf17180
zf17180 wrote:

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

locuszoom genome • 271 views
ADD COMMENTlink modified 11 weeks ago by Biostar ♦♦ 20 • written 3 months ago by zf17180

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

ADD REPLYlink modified 3 months ago • written 3 months ago by RamRS21k

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 REPLYlink written 3 months ago by zf17180

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

ADD REPLYlink written 3 months ago by RamRS21k

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 REPLYlink written 3 months ago by zf17180

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 REPLYlink written 11 weeks ago by h.mon24k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 925 users visited in the last hour