This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Getting error in running rMATS

Hi everyone,

I'm trying to run rMATS to get alternative splicing but encountered some errors.

Errors found:

==========
Done processing each gene from dictionary to compile AS events
Found 14962 exon skipping events
Found 1100 exon MX events
Found 28836 alt SS events
There are 16303 alt 3 SS events and 12533 alt 5 SS events.
Found 25486 RI events
==========

Running the statistical part.
/home/ABZ/rMATS.4.0.2/rMATS-turbo-Linux-UCS4/rMATS_C/rMATSexe: error while loading shared libraries: libgsl.so.0: cannot open shared object file: No such file or directory
Traceback (most recent call last):
  File "/home/ABZ/rMATS.4.0.2/rMATS-turbo-Linux-UCS4/rMATS_P/FDR.py", line 45, in <module>
    ifile=open(sys.argv[1]);title=ifile.readline();
IOError: [Errno 2] No such file or directory: '/tmp/tmpQ7Q7J5/JC_SE/rMATS_result_P-V.txt'
paste: /tmp/tmpQ7Q7J5/JC_SE/rMATS_result_FDR.txt: No such file or directory
/home/ABZ/rMATS.4.0.2/rMATS-turbo-Linux-UCS4/rMATS_C/rMATSexe: error while loading shared libraries: libgsl.so.0: cannot open shared object file: No such file or directory
Traceback (most recent call last):
  File "/home/ABZ/rMATS.4.0.2/rMATS-turbo-Linux-UCS4/rMATS_P/FDR.py", line 45, in <module>
    ifile=open(sys.argv[1]);title=ifile.readline();
IOError: [Errno 2] No such file or directory: '/tmp/tmpQ7Q7J5/JCEC_SE/rMATS_result_P-V.txt'
paste: /tmp/tmpQ7Q7J5/JCEC_SE/rMATS_result_FDR.txt: No such file or directory
/home/ABZ/rMATS.4.0.2/rMATS-turbo-Linux-UCS4/rMATS_C/rMATSexe: error while loading shared libraries: libgsl.so.0: cannot open shared object file: No such file or directory
Traceback (most recent call last):
  File "/home/ABZ/rMATS.4.0.2/rMATS-turbo-Linux-UCS4/rMATS_P/FDR.py", line 45, in <module>
    ifile=open(sys.argv[1]);title=ifile.readline();
IOError: [Errno 2] No such file or directory: '/tmp/tmpQ7Q7J5/JC_MXE/rMATS_result_P-V.txt'
paste: /tmp/tmpQ7Q7J5/JC_MXE/rMATS_result_FDR.txt: No such file or directory
/home/ABZ/rMATS.4.0.2/rMATS-turbo-Linux-UCS4/rMATS_C/rMATSexe: error while loading shared libraries: libgsl.so.0: cannot open shared object file: No such file or directory
Traceback (most recent call last):
  File "/home/ABZ/rMATS.4.0.2/rMATS-turbo-Linux-UCS4/rMATS_P/FDR.py", line 45, in <module>
    ifile=open(sys.argv[1]);title=ifile.readline();
IOError: [Errno 2] No such file or directory: '/tmp/tmpQ7Q7J5/JCEC_MXE/rMATS_result_P-V.txt'
paste: /tmp/tmpQ7Q7J5/JCEC_MXE/rMATS_result_FDR.txt: No such file or directory
/home/ABZ/rMATS.4.0.2/rMATS-turbo-Linux-UCS4/rMATS_C/rMATSexe: error while loading shared libraries: libgsl.so.0: cannot open shared object file: No such file or directory
Traceback (most recent call last):
  File "/home/ABZ/rMATS.4.0.2/rMATS-turbo-Linux-UCS4/rMATS_P/FDR.py", line 45, in <module>
    ifile=open(sys.argv[1]);title=ifile.readline();
IOError: [Errno 2] No such file or directory: '/tmp/tmpQ7Q7J5/JC_A3SS/rMATS_result_P-V.txt'
paste: /tmp/tmpQ7Q7J5/JC_A3SS/rMATS_result_FDR.txt: No such file or directory
/home/ABZ/rMATS.4.0.2/rMATS-turbo-Linux-UCS4/rMATS_C/rMATSexe: error while loading shared libraries: libgsl.so.0: cannot open shared object file: No such file or directory
Traceback (most recent call last):
  File "/home/ABZ/rMATS.4.0.2/rMATS-turbo-Linux-UCS4/rMATS_P/FDR.py", line 45, in <module>
    ifile=open(sys.argv[1]);title=ifile.readline();
IOError: [Errno 2] No such file or directory: '/tmp/tmpQ7Q7J5/JCEC_A3SS/rMATS_result_P-V.txt'
paste: /tmp/tmpQ7Q7J5/JCEC_A3SS/rMATS_result_FDR.txt: No such file or directory
/home/ABZ/rMATS.4.0.2/rMATS-turbo-Linux-UCS4/rMATS_C/rMATSexe: error while loading shared libraries: libgsl.so.0: cannot open shared object file: No such file or directory
Traceback (most recent call last):
  File "/home/ABZ/rMATS.4.0.2/rMATS-turbo-Linux-UCS4/rMATS_P/FDR.py", line 45, in <module>
    ifile=open(sys.argv[1]);title=ifile.readline();
IOError: [Errno 2] No such file or directory: '/tmp/tmpQ7Q7J5/JC_A5SS/rMATS_result_P-V.txt'
paste: /tmp/tmpQ7Q7J5/JC_A5SS/rMATS_result_FDR.txt: No such file or directory
/home/ABZ/rMATS.4.0.2/rMATS-turbo-Linux-UCS4/rMATS_C/rMATSexe: error while loading shared libraries: libgsl.so.0: cannot open shared object file: No such file or directory
Traceback (most recent call last):
  File "/home/ABZ/rMATS.4.0.2/rMATS-turbo-Linux-UCS4/rMATS_P/FDR.py", line 45, in <module>
    ifile=open(sys.argv[1]);title=ifile.readline();
IOError: [Errno 2] No such file or directory: '/tmp/tmpQ7Q7J5/JCEC_A5SS/rMATS_result_P-V.txt'
paste: /tmp/tmpQ7Q7J5/JCEC_A5SS/rMATS_result_FDR.txt: No such file or directory
/home/ABZ/rMATS.4.0.2/rMATS-turbo-Linux-UCS4/rMATS_C/rMATSexe: error while loading shared libraries: libgsl.so.0: cannot open shared object file: No such file or directory
Traceback (most recent call last):
  File "/home/ABZ/rMATS.4.0.2/rMATS-turbo-Linux-UCS4/rMATS_P/FDR.py", line 45, in <module>
    ifile=open(sys.argv[1]);title=ifile.readline();
IOError: [Errno 2] No such file or directory: '/tmp/tmpQ7Q7J5/JC_RI/rMATS_result_P-V.txt'
paste: /tmp/tmpQ7Q7J5/JC_RI/rMATS_result_FDR.txt: No such file or directory
/home/ABZ/rMATS.4.0.2/rMATS-turbo-Linux-UCS4/rMATS_C/rMATSexe: error while loading shared libraries: libgsl.so.0: cannot open shared object file: No such file or directory
Traceback (most recent call last):
  File "/home/ABZ/rMATS.4.0.2/rMATS-turbo-Linux-UCS4/rMATS_P/FDR.py", line 45, in <module>
    ifile=open(sys.argv[1]);title=ifile.readline();
IOError: [Errno 2] No such file or directory: '/tmp/tmpQ7Q7J5/JCEC_RI/rMATS_result_P-V.txt'
paste: /tmp/tmpQ7Q7J5/JCEC_RI/rMATS_result_FDR.txt: No such file or directory
The statistical part is done.

Can anybody suggest me how to fix this error?

Thanks

rna-seq software error rmats alternative splicing

Thanks for your information

Please use ADD COMMENT or ADD REPLY to answer to previous reactions, as such this thread remains logically structured and easy to follow. I have now moved your reaction but as you can see it's not optimal. Adding an answer should only be used for providing a solution to the question asked.

If an answer was helpful you should upvote it, if the answer resolved your question you should mark it as accepted.
Upvote|Bookmark|Accept

1 answer

According to the Google Groups thread, the issue relates to the fact that rMATS was developed on Ubuntu 14.04 whilst, I am guessing, you are using Ubuntu 16.04 (like me).

I was able to reproduce your error with rMATS:

rMATS.4.0.2/rMATS-turbo-Linux-UCS4/rMATS_C/rMATSexe
rMATS.4.0.2/rMATS-turbo-Linux-UCS4/rMATS_C/rMATSexe: error while loading shared libraries: libgsl.so.0: cannot open shared object file: No such file or directory

The solution is:

1, install libgsl libraries

sudo apt-get install libgsl-dev

2, create a link between the 16.04 library file with that expected by rMATS

sudo ln /usr/lib/x86_64-linux-gnu/libgsl.so.19 /usr/lib/x86_64-linux-gnu/libgsl.so.0

3, run rMATS

rMATS.4.0.2/rMATS-turbo-Linux-UCS4/rMATS_C/rMATSexe
number of thread=1; input file=input.txt; output folder=.; cutoff=0.0001;
Total Wallclock time taken 0 seconds 0 milliseconds
Wallclock time per thread taken 0 seconds 0 milliseconds

Kevin

@Kevin rocks, as usual !

Log in to answer this question.