cuffmerge script error
1
0
Entering edit mode
6.3 years ago

hello,

I am trying to use cuffmerge tool of cufflinks suite for differential analysis but it is showing error reports in python script. However, I am not good at python script. can you please suggest me what to do with that.

molbiolab@molbiolab:~/Documents/Juli/Practice/cufflinks-2.2.1.Linux_x86_64$ ./cuffmerge
  File "./cuffmerge", line 95
    except getopt.error, msg:
                       ^
SyntaxError: invalid syntax
RNA-Seq • 2.7k views
ADD COMMENT
0
Entering edit mode

Please avoid the term "dear" - it means different things in different cultures and can be perceived as inappropriate in certain cultures. Also, please use the formatting bar (especially the code option) to present your post better. I've done it for you this time.
code_formatting

ADD REPLY
0
Entering edit mode

thank you for your suggestions. can you please help me regarding the question I have asked??

ADD REPLY
0
Entering edit mode

You need to provide files as input for cuffmerge. If you want to look at the help then generally ./cuffmerge -h (or --help)` is the normal convention for that.

ADD REPLY
0
Entering edit mode

couple of things to check make sure you are using python 2.7

python --version
alias python=python2.7

Also, make sure you are not running out of some virtual env with different python version than the system

deactivate

I was able to get rid of the error with the above Hope this helps

ADD REPLY
0
Entering edit mode
6.3 years ago
Nitin Narwade ★ 1.6k

cuffmerge is written in python. if you run it with ./cuffmerge system will treat cuffmerge as a shell script.

You can run it by python /path/to/cufflink/src/folder/cuffmerge or you can add it in $PATH variable and call it directly like cuffmerge

ADD COMMENT

Login before adding your answer.

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