Nextomics / NextPolish

Fast and accurately polish the genome generated by long reads.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ImportError

mergi-2674 opened this issue · comments

Describe the bug
I was trying to run NextPolish on a cluster on six nodes each with 128GB of RAM. I installed according to the instruction explained on the read the io page. However, it always gives me an error that says,

Error message
Traceback (most recent call last):
File "/home/users/piwczyn/miniconda3/envs/nextpolish/NextPolish/nextPolish", line 11, in
from paralleltask import Task
ImportError: No module named "paralleltask",

even if the module is there.
I was using a cluster with

Operating system
Which operating system and version are you using?
redhat-linux-x86_64

GCC
What version of GCC are you using?
gcc version 4.8.5

Python
What version of Python are you using?
Python 3.9.12

NextPolish
What version of NextPolish are you using?
NextPolish version 1.4.1

Thanks!

Hello, this is usually caused by using different Pythons between the main and computer nodes. To fix this problem, just use the absolute path of python, try like this /path_to_python/python nextPolish input.cfg

It's better to set it like this:

parallel_jobs = 4
multithread_jobs = 48

see here for Parameter introduction.