MToolBox.sh: line 173: check_files.py: command not found
1
0
Entering edit mode
7.6 years ago
Cindy ▴ 70

Anyone use MToolBox to analysis mtDNA sequencing data? When I run MToolBox, it always shows this error. "bash MToolBox.sh -i config.sh

setup.sh file not found. Setting MToolBox environment sourcing conf.sh file setting up MToolBox variables in config file ... ...done Check python version... (2.7 required) OK. Checking files to be used in MToolBox execution... MToolBox.sh: line 173: check_files.py: command not found"

But setup.sh is in the same folder. How can I fix this issue? Thanks

sequencing • 1.9k views
ADD COMMENT
1
Entering edit mode

Can you add at that folder to $PATH (export PATH=$PATH:/path_to/MToolBox_folder (replace with a real path)?

ADD REPLY
1
Entering edit mode
7.6 years ago
Cindy ▴ 70

Yes. It works now. I am so stupid, I did't know the PATH is the issue since I cd to the MToolBox folder. Thanks!

ADD COMMENT
0
Entering edit mode

Even if you are in the folder where the file exists, if the folder isn't in the PATH, you would have to call the script/program with a filepath, e.g. $ ./setup.sh or it's full path, $ setup.sh wouldn't be sufficient.

ADD REPLY
0
Entering edit mode

After a couple of hours running, it showed another error: IndelRealigner command not found. I have already cp theGenomeAnalysisTK.jar to MToolBox/ext_tools. Any idea? Thanks

ADD REPLY
0
Entering edit mode

Is that the exact (and only) error?

ADD REPLY
0
Entering edit mode

Yes. It is. GATK and SamToFastq.jar are in the same folder (ext_tools). fastq files have been successfully generated. But IndelRealigner command not found.

ADD REPLY

Login before adding your answer.

Traffic: 2165 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