Find a path to STAR
1
0
Entering edit mode
4.1 years ago
sallyey2 • 0

Hi guys,

I am using a company's cluster system (SGE cluster) to run my codes & statistical programs. It's linux environment. I recently wrote a generating genome index in STAR and I was confirmed that the code should work fine, but the error file says "-bash: STAR: command not found."

Thus, I am trying to find a path to STAR so that I can specify the whole directory to STAR to run the index code, but since the cluster system is very complex and I am also new to the cluster/linux system, I am very struggling with finding a path to STAR.

Could you help me how to find the whole directory to STAR in the cluster?

Thank you very much.

star RNA-Seq alignment • 2.5k views
ADD COMMENT
1
Entering edit mode

Are you sure STAR is installed on the system? Your best bet may be to ask system admins since you are not very familiar with unix/clusters. While you could use find (a unix command) you would need to know if there are certain directories where programs are generally installed (on managed systems that is very likely the case), it may be a bit complicated to use.

ADD REPLY
0
Entering edit mode

Thanks for your tip. I am pretty sure STAR is installed on the system since my manager is using STAR in the same cluster.. I've already asked IT team about the issue, but it usually takes a long time for me to get their response. I am not sure why my shell cannot recognize the command STAR, while my manager's does.. He has no problem using STAR for years in the same cluster.

ADD REPLY
1
Entering edit mode

Ask your manager where STAR is located then. It should then be a simple matter of using the full path to STAR or appending that location to your $PATH by using export PATH=$PATH:/path_to_STAR to make it work.

ADD REPLY
2
Entering edit mode
4.1 years ago

Try locate -b '\STAR', if it's available in the cluster the full path will show up.

ADD COMMENT
2
Entering edit mode

Caveat: This only works if sys admins are running a process to update a database that stores this information regularly.

ADD REPLY
0
Entering edit mode

Neat - I did not know about this.

ADD REPLY

Login before adding your answer.

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