This is a test version of Biostars. For the public version, visit https://www.biostars.org.
rMATs error: unknown file type

I'm trying to analyzing splicing pattern between two groups. However, I have some errors when I try to test the below lines;

python rmats.py -b1 condition1_1.bam , condition1_2.bam -b2 condition2_1.bam , condition2_2.bam -gtf ASM223467v1.94.gtf -o rMATS -t paired -len 101 -c 0.0001 -analysis U -libType fr-firststrand -novelSS 1

And the error I got is below:

Traceback (most recent call last): File "rmats.py", line 17, in <module> from rmatspipeline import run_pipe ImportError: dlopen(/Users/rmatspipeline.so, 2): no suitable image found.  Did find: /Users/rmatspipeline.so: unknown file type, first eight bytes: 0x7F 0x45 0x4C 0x46 0x02 0x01 0x01 0x00
/Users/rmatspipeline.so: unknown file type, first eight bytes: 0x7F 0x45 0x4C 0x46 0x02 0x01 0x01 0x00

I would be most grateful if you could give me some advice. Thanks!

software error

What is your operating system, MacOsX? How did you install rMATS?

Thank you for your reply! Yes, MacOsX and I just put the rMATS files in the working directory. I think I didn't understand the basic things.

Thank you for your suggestion. I followed the installation guidelines and found installing gcc@5 seems to be failed. I got the below error:

xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
gcc@5: This formula either does not compile or function as expected on macOS
versions newer than High Sierra due to an upstream incompatibility.
Error: An unsatisfied requirement failed this build.

I'll try to install xcode.

gcc@5: This formula either does not compile or function as expected on macOS versions newer than High Sierra due to an upstream incompatibility.

You may try with a newer gcc, try installing gcc-6:

brew install gcc@6

Then proceed with rMATS install.

I tried gcc-6, however, I still have the same error (My operating system is macOS ver. 10.14.2). I also installed lumpy, Blas, lapack and gsl again but the result was same. Do I have to do something except moving rMATS.4.0.2 file to working directory for using rMATS correctly?

Also, does python version is important? When I checked my python version, it shows

Python 2.7.3 :: Continuum Analytics, Inc.

Thank you very much for your kind support! I figured out that rMATS 4.0.2 doesn't support MacOS now. So I decided to use the previous version (rMATS 3.2.5) and it works.

0 answers

No answers yet.

Log in to answer this question.