Tophat - Bowtie 1: Index Error? What'S Wrong?
1
0
Entering edit mode
10.6 years ago
newDNASeqer ▴ 760

all off sudden, my tophat/bowtie run gives me this error:

Traceback (most recent call last):
  File "/usr/local/bin/tophat-2.0.6/tophat", line 4022, in <module>
    sys.exit(main())
  File "/usr/local/bin/tophat-2.0.6/tophat", line 3822, in main
    check_bowtie(params)
  File "/usr/local/bin/tophat-2.0.6/tophat", line 1490, in check_bowtie
    bowtie_version = get_bowtie_version()
  File "/usr/local/bin/tophat-2.0.6/tophat", line 1366, in get_bowtie_version
    bowtie_out = stdout_value.splitlines()[0]
IndexError: list index out of range

I use tophat 2.0.6 and bowtie 0.12.9 on the server. The index is mouse_ucsc_mm9.

what could be wrong? so frustrating, it has been a few days like this ....

bowtie • 4.9k views
ADD COMMENT
0
Entering edit mode

It's running bowtie --version there, so what's the output of running that? BTW, it'd be helpful if you maintained the error message format.

ADD REPLY
0
Entering edit mode

bowtie --version returns this result: Illegal instruction

Error message:

Traceback (most recent call last):
  File "/usr/local/bin/tophat-2.0.6/tophat", line 4022, in <module>
    sys.exit(main())
  File "/usr/local/bin/tophat-2.0.6/tophat", line 3822, in main
    check_bowtie(params)
  File "/usr/local/bin/tophat-2.0.6/tophat", line 1490, in check_bowtie
    bowtie_version = get_bowtie_version()
  File "/usr/local/bin/tophat-2.0.6/tophat", line 1366, in get_bowtie_version
    bowtie_out = stdout_value.splitlines()[0]
IndexError: list index out of range
ADD REPLY
0
Entering edit mode

Then your bowtie install is the problem. Try reinstalling it.

ADD REPLY
0
Entering edit mode

Yes, after installing a fresh copy of Bowtie, everything is working again. Thanks for help

ADD REPLY
1
Entering edit mode
10.6 years ago

What it most likely means that the tool cannot run bowtie and therefore cannot therefore extract the version number from its output.

ADD COMMENT

Login before adding your answer.

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