Entering edit mode
4.2 years ago
bioinfo89
▴
60
Hi All,
I am using Chia-pipe to run chia-pet (cell line) data. I followed the installation process and modified the config file to run the tool. All the modules (pigz,perl,java,samtools,bedtools) are also installed in the chia-pipe folder. However, the program terminates with the following error:
Such error is repeated for all the modules mentioned in the config file:
Lmod has detected the following error: The following module(s) are unknown:
"pigz"
Please check the spelling or version number. Also try "module spider ..."
It is also possible your cache file is out-of-date; it may help to try:
$ module --ignore-cache load "pigz"
Also make sure that all modulefiles written in TCL start with the string
#%Module
I also get the following errors:
/WGS_tools/ChIA-PIPE/0.chia_pipe_shell.sh: line 208: pigz: command not found
/WGS_tools/ChIA-PIPE/0.chia_pipe_shell.sh: line 307: pigz: command not found
/WGS_tools/ChIA-PIPE/0.chia_pipe_shell.sh: line 406: pigz: command not found
mv: cannot stat ‘rep1.e500.clusters.cis.chiasig.gz’: No such file or directory
mv: cannot stat ‘rep1.e500.clusters.trans.chiasig.gz’: No such file or directory
gzip: rep1.e500.clusters.cis.gz: No such file or directory
Can't open input bam file rep1.singlelinker.paired.UU.nr.bam
/WGS_tools/ChIA-PIPE/0.chia_pipe_shell.sh: line 498: java: command not found
/WGS_tools/ChIA-PIPE/0.chia_pipe_shell.sh: line 528: samtools: command not found
/WGS_tools/ChIA-PIPE/0.chia_pipe_shell.sh: line 530: samtools: command not found
/WGS_tools/ChIA-PIPE/0.chia_pipe_shell.sh: line 532: samtools: command not found
/WGS_tools/ChIA-PIPE/0.chia_pipe_shell.sh: line 535: samtools: command not found
/WGS_tools/ChIA-PIPE/0.chia_pipe_shell.sh: line 541: samtools: command not found
[E::hts_open_format_impl] Failed to open file rep1.for.BROWSER.bam
Failed to open BAM file rep1.for.BROWSER.bam
needLargeMem: trying to allocate 0 bytes (limit: 100000000000)
ls: cannot access rep1.singlelinker.paired.*.bam: No such file or directory
Traceback (most recent call last):
File "/WGS_tools/ChIA-PIPE/util/scripts/annotate_loops_with_peak_support.py", line 2, in <module>
import commands
ModuleNotFoundError: No module named 'commands'
It seems that the tool is not able to find the modules/tools from the config file, however I have mentioned the path. Any help for resolving this issue would be great. Thanks!
This appears to be case of
$PATH
not correctly set to account for the location of the programs you mention.That said what do you mean by all the
modules
are present?modules
is a software program that is used for managing version of programs on larger compute servers/clusters. Are you using thatmodules
or something else?Yes, I did set the $PATH to the location of the programs.
I mean that the modules are present in the ChIA-PIPE folder as suggested by the installation guide. I am just running the shell script of the tool which is using these modules:
The above mentioned lines are provided in the config file which I am running.
I took a look at the config file they mention. I think the
module
commands are for Jackson Lab HPC. So if you are running this on a stand-alone machine they shouldn't apply.Did the following part work without any errors?
It did not throw any errors as such. I guess I should have mentioned the dir path for dep_dir, I think I missed that. Now it makes more sense why I am getting this error. I'll try to install it again.
Thanks @genomax!
Can you check the contents of
echo $PATH
and verify that all program directories appear there? It would help to confirm withwhich samtools
,which pigz
(you get the idea) once you verify$PATH
.It looks like only bedtools path is correct. Though the $PATH includes other tools, it does not match with which command output. What should I do to resolve this?
Even if you set
$PATH
to point to your local directories it looks like the system installed programs (that are in/use/bin
) are ones found by your OS.Can you check if there are other sub-dir under
/scratch/krc190002/WGS_tools/ChIA-PIPE/samtools
that contain the actual executable? You may need to add that full path added (e.g./scratch/krc190002/WGS_tools/ChIA-PIPE/samtools/bin
).Right ok. There are no sub dir under /scratch/krc190002/WGS_tools/ChIA-PIPE/samtools
Is that the actual executable? Does it have execute permissions?
Yes it is the actual executable and it has execute permissions.
How are you launching the pipeline? As they show in on help page?
If so you are starting a new
bash
shell which no longer has your personal$PATH
settings but can still access programs that are installed in system default$PATH
.Hi bioinfo89
/WGS_tools/ChIA-PIPE/0.chia_pipe_shell.sh: line 208: pigz: command not found
I could also see this error in your original post; were you able to resolve this?
Yes I resolved it. Thanks!