TEsorter icon indicating copy to clipboard operation
TEsorter copied to clipboard

ModuleNotFoundError: No module named 'RunCmdsMP'

Open 2eYu opened this issue 1 year ago • 2 comments

Hi, rengang

TEsorter is very cool!!!but I have a problem: I use `conda install -c bioconda tesorter` to install TEsorter in my linux server, I installed it successfully. The output of `TEsorter input_file -db rexdb-plant` is normal, but when I ran `concatenate_domains.py HFgenome.fa.mod.LTR.intact.fa.rexdb-plant.cls.pep GAG PROT RH RT INT > HFgenome.fa.mod.LTR.intact.fa.rexdb-plant.cls.pep.full.aln` command, error occurred: `Traceback (most recent call last):

File "~/miniconda3/envs/TEsorter/bin/concatenate_domains.py", line 7, in from RunCmdsMP import run_cmd ModuleNotFoundError: No module named 'RunCmdsMP'`. Could you kind enough to tell me why this occurs and how to run the command correctly?

best wishes

2eYu avatar Oct 18 '22 08:10 2eYu

Hi @2eYu. Please refer to https://github.com/zhangrengang/TEsorter/issues/34 (the last comment). RunCmdsMP.py is in ~/miniconda3/envs/TEsorter/lib/python*/site-packages/TEsorter*/TEsorter/modules/, but is not found from PYTHONPATH. You can link it into PYTHONPATH or ~/miniconda3/envs/TEsorter/bin/. It should work.

zhangrengang avatar Oct 18 '22 10:10 zhangrengang

Hi @zhangrengang

Thanks for your quick reply, I used this command ~/miniconda3/pkgs/tesorter-1.3.0-py_0/site-packages/TEsorter/modules/concatenate_domains.py HFgenome.fa.mod.LTR.intact.fa.rexdb-plant.cls.pep GAG PROT RH RT INT > HFgenome.fa.mod.LTR.intact.fa.rexdb-plant.cls.pep.full.aln2 It finally worked. Thank you!!!

2eYu avatar Oct 19 '22 11:10 2eYu