Go Back   SEQanswers > Bioinformatics > Bioinformatics

Similar Threads
Thread Thread Starter Forum Replies Last Post
tophat-fusion-post result empty emilyjia2000 Bioinformatics 40 10-11-2016 07:06 AM
problems getting started with tophat-fusion-post tankman Bioinformatics 1 08-07-2013 12:52 AM
Tophat-fusion-post error dadada4ever Bioinformatics 9 08-05-2013 07:40 PM
Tophat2 with fusion search and tophat-fusion-post problems seqfast Bioinformatics 9 07-30-2013 07:16 PM
tophat-fusion-post:known fusions? mrfox Bioinformatics 0 01-19-2012 09:04 AM

Thread Tools
Old 01-21-2013, 02:58 AM   #1
Location: KSA

Join Date: Dec 2011
Posts: 37
Default Tophat-fusion-post error

Hi all,

I know my question is a very naive and basic and I know, something is just wrong with the directories creation.

I am working with Tophat v2.0.6. I already ran tophat2 with bowtie1 and got the fusions.out file.

While using ./tophat-fusion-post, the error is arising at the first step.

The folder tree is as below:

TopHat Linux (Main directory)
  • hg19 bowtie1 index
    ./blast_human/human_genomic*, nt*, other_genomic*

The error message is:
[Mon Jan 21 13:09:33 2013] Beginning TopHat-Fusion post-processing run (v2.0.6)
[Mon Jan 21 13:09:33 2013] Extracting 23-mer around fusions and mapping them using Bowtie
Traceback (most recent call last):
File "./tophat-fusion-post", line 2091, in ?
File "./tophat-fusion-post", line 2059, in main
map_fusion_kmer(bwt_idx_prefix, params, sample_updated)
File "./tophat-fusion-post", line 315, in map_fusion_kmer, stdout=open(output_dir + 'fusion_seq.bwtout', 'w'), stderr=open('/dev/null', 'w'))
File "/usr/lib64/python2.4/", line 412, in call
return Popen(*args, **kwargs).wait()
File "/usr/lib64/python2.4/", line 542, in __init__
errread, errwrite)
File "/usr/lib64/python2.4/", line 975, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory

On the TopHat page, it is mentioned as:
Install BLAST binaries (blastall and blastn).
Make (top_dir)/blast directory, download human_genomic*, other_genomic*, and nt* from blast database, and extract them under (top_dir)/blast_human.

blastall and blastn should be in the blast folder? To be very honest, I am unable to understand the folders creation.

Thanking in advance.

Last edited by AsoBioInfo; 01-21-2013 at 03:03 AM. Reason: Completing it
AsoBioInfo is offline   Reply With Quote
Old 01-29-2013, 03:40 AM   #2
Location: KSA

Join Date: Dec 2011
Posts: 37

It's solved......
AsoBioInfo is offline   Reply With Quote
Old 02-21-2013, 04:59 PM   #3
Junior Member
Location: Pittsburgh

Join Date: Jan 2012
Posts: 3

Originally Posted by AsoBioInfo View Post
It's solved......
May I ask how to solve the problem. I got the same problem
dingying85 is offline   Reply With Quote
Old 07-13-2014, 03:40 AM   #4
Senior Member

Join Date: Jul 2013
Posts: 142

Originally Posted by AsoBioInfo View Post
It's solved......
Can you please post solution.. I have same error
thank you
jp. is offline   Reply With Quote
Old 12-23-2014, 02:19 AM   #5
Junior Member
Location: israel

Join Date: Jun 2013
Posts: 2

File "/apps/tophat2//tophat-fusion-post", line 937, in alignments_region
popen = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=open('/dev/null'))

Problem is related to subprocess module in python. Go to line 937 and add shell=True at the end.

subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=open('/dev/null'),shell=True)

This solved mine.
IdoSloma is offline   Reply With Quote

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 07:00 PM.

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