Question: MToolBox.sh: line 173: check_files.py: command not found
0
gravatar for Cindy
16 months ago by
Cindy20
Cindy20 wrote:

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 • 414 views
ADD COMMENTlink modified 16 months ago • written 16 months ago by Cindy20
1

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

ADD REPLYlink modified 16 months ago • written 16 months ago by genomax55k
1
gravatar for Cindy
16 months ago by
Cindy20
Cindy20 wrote:

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 COMMENTlink written 16 months ago by Cindy20

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 REPLYlink modified 16 months ago • written 16 months ago by jrj.healey6.8k

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 REPLYlink written 16 months ago by Cindy20

Is that the exact (and only) error?

ADD REPLYlink written 16 months ago by genomax55k

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 REPLYlink written 16 months ago by Cindy20
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: 1883 users visited in the last hour