Question: Tophat Error "segment-based junction search failed"
0
gravatar for AyehSadr
4.5 years ago by
AyehSadr0
Iran
AyehSadr0 wrote:

Dear All

I have  an error when run the tophat in some of samples, " segment-based junction search failed with err =-9 ". I would appreciate to guide me to solve it.

[2015-06-14 03:30:56] Searching for junctions via segment mapping
    [FAILED]
Error: segment-based junction search failed with err =-9
    found 0 potential small insertions

ADD COMMENTlink modified 4.5 years ago by Sukhdeep Singh9.9k • written 4.5 years ago by AyehSadr0
1
gravatar for Sukhdeep Singh
4.5 years ago by
Sukhdeep Singh9.9k
Netherlands
Sukhdeep Singh9.9k wrote:

Check segment_juncs.log in your tophat output dir that you gave with the current command. This will give you some hints.
Also, try running each command from run.log, to see where the halt is exactly coming from and why.

ADD COMMENTlink written 4.5 years ago by Sukhdeep Singh9.9k

unfortunately  I couldn't find the problem, however I checked the segment-juncs run-log and tophat-log

ADD REPLYlink written 4.5 years ago by AyehSadr0

I got a similar error, in the segment_juncs.log, the error was on the end:

Loading left segment hits.

open: Too many open files

 

And found that, as in the: http://yagays.github.io/blog/2013/06/23/tophat-too-many-open-files/

 

"This usually happens when using “-p” option with a large value (many threads). TopHat may produce many intermediate files, the number of which is proportional to this value; sometimes the number of the files may go over the maximum number of files a process is allowed to open. The solution is to raise the limit to a higher number (e.g. 10000). For Mac, you can change this using a command, “sudo sysctl -w kern.maxfiles=10240”."

ADD REPLYlink modified 4.3 years ago • written 4.3 years ago by tiago2112871.1k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 878 users visited in the last hour