installing blat for homer on os x
2
0
Entering edit mode
9.6 years ago
tonja.r ▴ 600

I have downloaded blat from here. I have also added in to executable path. PATH=$PATH:/Users/katja/Desktop/MyDocuments/Programms/blat

But I can run the program only from the folder where it is situated and only by typing ./blat and not simple blat, therefore homer does not recognize it. What should I do in order to be able to run a program just blat.

software-error blast • 3.3k views
ADD COMMENT
1
Entering edit mode
9.6 years ago

When you say "recognize", does that mean that Homer doesn't like the version it finds (too old?), or that it can't find blat at all? What is the error message?

Run which blat and echo $PATH to double-check that 1) blat can be found and 2) that the version that is running is from the specific folder you specify.

One tip when modifying PATH is to put your custom folders first in line, since you might already have some other, older version of the binary in question. When your shell looks for a binary, it will search those custom folders, before all others.

ADD COMMENT
0
Entering edit mode

which blat gave nothing.

echo $PATH:

/Users/katja/Desktop/MyDocuments/Programms/blat:/Users/katja/Desktop/MyDocuments/Programms/homer/bin/:/Users/katja/Desktop/MyDocuments/Programms/samtools-0.1.19/:/Users/katja/Desktop/MyDocuments/Programms/ghostscript-9.16/bin/:/Users/katja/Desktop/MyDocuments/Programms/weblogo/:/Users/katja/Desktop/MyDocuments/Programms/blat

Homer does not find beat at all.So, I still do not understand what is wrong.

ADD REPLY
2
Entering edit mode

Is /Users/katja/Desktop/MyDocuments/Programms/blat a folder called blat, which then contains an executable called blat, or is that part of PATH the actual executable itself? You should only put folders into PATH.

ADD REPLY
0
Entering edit mode
ADD COMMENT

Login before adding your answer.

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