Samtools path
0
1
Entering edit mode
3.0 years ago
ICfc97 ▴ 20

Hi!

I'm trying to use RDXplorer so as to detect CNVs in genome data but I'm having some problems setting the Samtools path in the shell script called globals.py.

#!/usr/bin/env python

###########################################
# EDIT PATHS ACCORDING THE LOCAL PATHS
# BEFORE RUNNING FIRST TIME
###########################################

SAMTOOLS_PATH="/usr/local/bin/samtools"
APP_HOME='/home/alumno04/TFM/rdxplorer'    

When I run the script the program says:

Samtools is essential. Please install it and/or configure globals.py
Doing this took 0 seconds 
DONE.

Can anybody tell me how to set SAMTOOLS_PATH to make it work? Thanks!

CNVs NGS sequencing samtools • 946 views
ADD COMMENT
0
Entering edit mode

Can you paste the output of which samtools command??

ADD REPLY
0
Entering edit mode

Yes, the output is:

/usr/local/bin/samtools
ADD REPLY
0
Entering edit mode

I am having this same issue, please could you advise how you resolved it? could it be a permissions restriction?

ADD REPLY
0
Entering edit mode

You can do export PATH=$PATH:/path_to_samtools_binary to fix this in general for bash shell.

If you are having the "same problem" as in original post the use the following setting

SAMTOOLS_PATH="/usr/local/bin/"

if the samtools binary is in that directory.

ADD REPLY

Login before adding your answer.

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