This is a test version of Biostars. For the public version, visit https://www.biostars.org.
How to install SortMeRNA tool on my university HPC cluster?

Hello,

For my RNA-seq analysis, I need to install SortMeRNA tool (for sudo alignment) on my university HPC cluster. As I am quite new in linux and cluster, I googled a lot, but I could not find how to do it. I would highly appreciate if you can help me in this regard.

Best wishes, Farah

rna-seq hpc cluster cluster computing

2 answers

Hi F. Golestan,

Did you find this manual? You can download the pre-compiled code by: wget http://bioinfo.lifl.fr/RNA/sortmerna/code/sortmerna-2.1-linux-64-multithread.tar.gz, and uncompress it using tar -zxvf sortmerna-2.1-linux-64-multithread.tar.gz. The program: sortmerna-2.1b/sortmerna is already executable.

You can add the path in your script for HPC when using it, for example: export PATH="/home/user/src/sortmerna-2.1b":$PATH, which is where the uncompressed folder is. Or, you can add export PATH="/home/user/src/sortmerna-2.1b":$PATH to ~/.bashrc directly, so that the executable indexdb_rna and sortmerna can be found in $PATH.

Hope it helps.

Thanks SMK. I could run the first two codes. But, after running export PATH=$HOME/.local/bin:$PATH , then, I ran $ sortmerna and I got

-bash: sortmerna: command not found

Do I need to specify my path to the script? If so, how to find which path I should add and where is sortmerna located in my HPC path?

Also, as you mentioned, how to add export PATH="/home/user/src/sortmerna-2.1b":$PATH to ~/.bashrc directly?

Thank you very much.
Best wishes,
Farah

Hi F. Golestan,

Is $HOME/.local/bin where you uncompressed sortmerna-2.1-linux-64-multithread.tar.gz? It has to be the path where the directory (sortmerna-2.1b) is.

how to add export PATH="/home/user/src/sortmerna-2.1b":$PATH to ~/.bashrc directly?

Check out To Set PATH on Linux.

That is great. Thank you so much.

I personally like to use the package manager Anaconda which allows local installation without root permission. See the documentation on how to install it. Once you have set it up, it is as easy as conda install -c biocore sortmerna.

Thanks. By using Anaconda, can I install other software and tools as well? for example, Kallisto and STAR.

Yes,basically everything and it takes full care of dependencies etc.

Oh that is great. Thank you very much.

Log in to answer this question.