SEQanswers

Go Back   SEQanswers > Applications Forums > RNA Sequencing



Similar Threads
Thread Thread Starter Forum Replies Last Post
tophat Error running running 'prep_reads' victoryhe Bioinformatics 2 10-17-2011 04:53 AM
Tophat running error 1? day_sleeperz RNA Sequencing 2 10-04-2011 07:19 AM
Error when running TopHat clk RNA Sequencing 3 09-29-2011 12:10 PM
Tophat Running Error Wei-HD Bioinformatics 12 02-11-2010 02:42 PM
TopHat running error pfranchini Bioinformatics 2 08-10-2009 06:46 AM

Reply
 
Thread Tools
Old 07-20-2012, 10:28 AM   #1
Aholton
Member
 
Location: Mississippi, US

Join Date: Jul 2012
Posts: 23
Question Boost library error, running Tophat

Been fighting with Tophat installation and finally got everything setup (I think). Then I get an error about Boost (which I had the most problems with due to permissions being denied). This is the error I get at the end of the run

Error: segment-based junction search failed with err =127
/usr/local/bin/segment_juncs: error while loading shared libraries: libboost_thread.so.1.50.0: cannot open shared object file: No such file or directory

Not sure what I need to move from the Boost libraries. Was hoping ya'll could help me out a bit.

Thanks!
Aholton is offline   Reply With Quote
Old 07-20-2012, 10:50 AM   #2
alec
Member
 
Location: Cambridge, MA

Join Date: Apr 2011
Posts: 18
Default

Either that file does not exist or it is not on your library search path. Assuming it exists (it will normally be in boost/lib), the easiest way to change your library search path is:

LD_LIBRARY_PATH=/path/to/boost/lib:$LD_LIBRARY_PATH
alec is offline   Reply With Quote
Old 07-20-2012, 11:05 AM   #3
Aholton
Member
 
Location: Mississippi, US

Join Date: Jul 2012
Posts: 23
Default

Thanks for the quick response, I have Tophat, Boost, bowtie2, and samtools all located within my /usr/local folder, i installed them all from there and have all the libraries set to default (/usr/local/bin or /usr/local/lib)

I entered the command you typed to re assert that the libraries were in /usr/local/lib. I even went into the folder (/usr/local/lib) and saw that it had numerous libboost files in it.

I don't know if it was an error on the boost libraries fault or if Tophat can't find the libraries cause of a Tophat installation error
Aholton is offline   Reply With Quote
Old 07-20-2012, 03:23 PM   #4
alec
Member
 
Location: Cambridge, MA

Join Date: Apr 2011
Posts: 18
Default

I think you need to do "export LD_LIBRARY_PATH" as well to make it visible to tophat
alec is offline   Reply With Quote
Old 07-22-2012, 05:42 PM   #5
Aholton
Member
 
Location: Mississippi, US

Join Date: Jul 2012
Posts: 23
Default

Error: segment-based junction search failed with err =127
/usr/local/bin/segment_juncs: error while loading shared libraries: libboost_thread.so.1.50.0: cannot open shared object file: No such file or directory


I tried to use your new command and it still came up with that error. I know in the lib folder there is that libboost_thread.so.1.50.0 file. I just don't know why it's acting up all the sudden.
Aholton is offline   Reply With Quote
Old 07-23-2012, 10:53 AM   #6
Aholton
Member
 
Location: Mississippi, US

Join Date: Jul 2012
Posts: 23
Default

Nevermind everyone! The export command worked, I was really exhausted when I tried to fix one of the servers using the export command but I was using it in the wrong server (silly me). Thank you for your quick response time.

Hopefully soon I'll be making some guides based on my experiences with doing Bioinformatics so that the field can grow and attract more attention from undergrads looking to specialize.
Aholton is offline   Reply With Quote
Old 07-23-2012, 07:31 PM   #7
owwa
Member
 
Location: ak

Join Date: Jul 2012
Posts: 23
Default

Hi Aholton,

I encountered the same error. Could you please share your detailed way to solve this? Thank.
owwa is offline   Reply With Quote
Old 07-23-2012, 07:36 PM   #8
owwa
Member
 
Location: ak

Join Date: Jul 2012
Posts: 23
Default

I do "export PATH=$PATH:/usr/local/lib", but it don't work.

The file "libboost_thread.so.1.50.0" is also located in /usr/local/lib for me.
owwa is offline   Reply With Quote
Old 07-24-2012, 10:25 AM   #9
Aholton
Member
 
Location: Mississippi, US

Join Date: Jul 2012
Posts: 23
Default

LD_LIBRARY_PATH=/path/to/boost/lib:$LD_LIBRARY_PATH

Try typing that command, the "/path/to/boost/lib" for you would be "/usr/local/lib". The only other thing I can think that I did differently was release some of the permissions on the files because Boost was messing up. By that I mean that I changed permissions to read and write for all boost related files (either done through a GUI ftp service or through the command chmod ug+rwx <name_of_file>.
Aholton is offline   Reply With Quote
Old 07-24-2012, 02:02 PM   #10
owwa
Member
 
Location: ak

Join Date: Jul 2012
Posts: 23
Default

Quote:
Originally Posted by Aholton View Post
LD_LIBRARY_PATH=/path/to/boost/lib:$LD_LIBRARY_PATH

Try typing that command, the "/path/to/boost/lib" for you would be "/usr/local/lib". The only other thing I can think that I did differently was release some of the permissions on the files because Boost was messing up. By that I mean that I changed permissions to read and write for all boost related files (either done through a GUI ftp service or through the command chmod ug+rwx <name_of_file>.
Many thanks! Aholton

but the problem is still here. Actually, i don't know what "all boost related files" are. Could you please tell me the exact files or files folder?
owwa is offline   Reply With Quote
Old 07-24-2012, 02:05 PM   #11
owwa
Member
 
Location: ak

Join Date: Jul 2012
Posts: 23
Default

The error showed that libboost_thread.so.1.50.0: cannot open shared object file, I also don't know what the "shared object file" is.
owwa is offline   Reply With Quote
Old 07-27-2012, 06:05 AM   #12
Aholton
Member
 
Location: Mississippi, US

Join Date: Jul 2012
Posts: 23
Default

That means it's still not recognizing it, sorry it took so long to respond. Had to make an emergency trip to CDC.

All boost related files are all the files within the Boost folder with all the files in it (including the libraries".lib files"). I had some problems with permissions the first time I did it.

Did you run boostrap.sh or did you simply run bjam?
Aholton is offline   Reply With Quote
Old 07-29-2012, 05:16 PM   #13
owwa
Member
 
Location: ak

Join Date: Jul 2012
Posts: 23
Default

Many thanks! I'm a newer for tophat, just need the boost library files, I think I just symply run bjam. The error had dispeared, I had some problems with permissions too. Thank you again...
owwa is offline   Reply With Quote
Old 07-30-2012, 11:33 AM   #14
Aholton
Member
 
Location: Mississippi, US

Join Date: Jul 2012
Posts: 23
Default

No problem! If you need anything else feel free to private message me
Aholton is offline   Reply With Quote
Old 03-17-2015, 09:51 AM   #15
super0925
Senior Member
 
Location: UK

Join Date: Feb 2014
Posts: 206
Default

Quote:
Originally Posted by Aholton View Post
LD_LIBRARY_PATH=/path/to/boost/lib:$LD_LIBRARY_PATH

Try typing that command, the "/path/to/boost/lib" for you would be "/usr/local/lib". The only other thing I can think that I did differently was release some of the permissions on the files because Boost was messing up. By that I mean that I changed permissions to read and write for all boost related files (either done through a GUI ftp service or through the command chmod ug+rwx <name_of_file>.
Hi How do you solve the error?
I type "LD_LIBRARY_PATH=/path/to/boost/lib:$LD_LIBRARY_PATH" but it still get the error. And meanwhile I have got the output, e.g. accepted_hits.bam and the align_summart.txt, are they reliable?
super0925 is offline   Reply With Quote
Old 03-17-2015, 10:06 AM   #16
GenoMax
Senior Member
 
Location: East Coast USA

Join Date: Feb 2008
Posts: 7,062
Default

Can you post the error or refer to the post# that has error similar to yours?
GenoMax is offline   Reply With Quote
Old 03-20-2015, 03:44 AM   #17
super0925
Senior Member
 
Location: UK

Join Date: Feb 2014
Posts: 206
Default

Quote:
Originally Posted by GenoMax View Post
Can you post the error or refer to the post# that has error similar to yours?
Hi My fault is :

[FAILED]
[2015-03-19 21:56:35] Searching for junctions via segment mapping
[FAILED]
Error: segment-based junction search failed with err =127
/software/tophat-2.0.13/bin/segment_juncs: error while loading shared libraries: libboost_thread.so.1.55.0: cannot open shared object file: No such file or directory

Last edited by super0925; 03-20-2015 at 04:19 AM.
super0925 is offline   Reply With Quote
Old 03-20-2015, 05:20 AM   #18
GenoMax
Senior Member
 
Location: East Coast USA

Join Date: Feb 2008
Posts: 7,062
Default

Do you know where the boost libraries are installed on your server?

Look for a directory that looks like "boost-1.55.0/lib/".
GenoMax is offline   Reply With Quote
Reply

Tags
boost, error=127, tophat

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 06:46 PM.


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