SEQanswers

Go Back   SEQanswers > Bioinformatics > Bioinformatics



Similar Threads
Thread Thread Starter Forum Replies Last Post
Tophat - Error: gtf_to_fasta returned an error. papori Bioinformatics 8 09-03-2014 02:16 PM
Tophat Error: Error: segment-based junction search failed with err =-6 sjnewhouse RNA Sequencing 8 03-19-2013 04:14 AM
tophat error papori RNA Sequencing 0 02-04-2012 02:06 PM
tophat error muzz56 Bioinformatics 0 02-24-2011 10:43 AM
tophat error nunu_ping RNA Sequencing 0 01-11-2011 12:34 AM

Reply
 
Thread Tools
Old 03-19-2011, 08:31 AM   #1
ECHo
Member
 
Location: Taiwan

Join Date: Jan 2010
Posts: 17
Default Tophat error

I'm doing analysis with Solexa data, and I try to use Tophat.
However, I'm not sure why sometimes the system would throw out the error messages while sometimes it works correctly.

The error message would be as follows:
Traceback (most recent call last):
File "./tophat", line 2347, in ?
sys.exit(main())
File "./tophat", line 2252, in main
params.read_params = check_reads(params.read_params, reads_list)
File "./tophat", line 1045, in check_reads
observed_formats = set([])
NameError: global name 'set' is not defined

Is it a bug? Or something else?


Thanks.
ECHo is offline   Reply With Quote
Old 03-21-2011, 02:16 AM   #2
nicolallias
Member
 
Location: France

Join Date: Jan 2010
Posts: 23
Default

Wich is your python version ?
Code:
python -V
Edit: I think you are alternatively using 2 python versions:
- one older than 2.3 (which haven't the set command)
- another more recent (works)
I had a similar problem not so long ago, because in my .bashrc there were a $PATH problem: one path containing an old version of python was called first when I use a bash shell :-/

Last edited by nicolallias; 03-21-2011 at 02:24 AM.
nicolallias is offline   Reply With Quote
Old 03-30-2011, 01:13 AM   #3
ECHo
Member
 
Location: Taiwan

Join Date: Jan 2010
Posts: 17
Default

Ooops!
Actually, my .bashrc has a wrong $PATH direction for the Python settings.
Thanks!
ECHo is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off




All times are GMT -8. The time now is 10:14 PM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Single Sign On provided by vBSSO