![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
error when installing GAPipeline-1.5.0 in ubuntu amd64 | sanzi | Bioinformatics | 5 | 01-17-2014 11:31 AM |
Installing GS FLX v2.6 in Ubuntu? | MissChristine | Bioinformatics | 2 | 07-20-2011 07:32 PM |
Newbler 2.5.3 (gsAssembler) on Ubuntu or Rocks cluster? | biojen | 454 Pyrosequencing | 0 | 03-01-2011 04:15 PM |
Newbler 2.3 on Ubuntu- Anyone? | WaltL | 454 Pyrosequencing | 2 | 12-03-2010 10:16 AM |
Maq make error on Ubuntu 9.04 64 bit | sbberes | Bioinformatics | 3 | 10-14-2009 07:36 AM |
![]() |
|
Thread Tools |
![]() |
#1 |
Member
Location: Athens, GA Join Date: Feb 2009
Posts: 17
|
![]()
Just wondering if anyone has managed a successful install of Newbler 2.5.3 on later versions of Ubuntu.
I have the previous version installed and working fine on Ubuntu 10.04. However, the latest version of Newbler uses a third party installer (Nixstaller ver. 0.5.1) which crashes very early on with the following error: Cannot execute command: type rocks2>&1 |
![]() |
![]() |
![]() |
#2 |
Senior Member
Location: Graz, Austria Join Date: Feb 2010
Posts: 219
|
![]()
I got the very same problem. I didn't resolve it (my knowledge of shell scripting is limited...). I resolved another error where Nixstaller tried to find lspci under /sbin which is under /usr/bin in Ubuntu but the type rocks problem didn't change...
Maybe I'll switch to a ReHat derived distribution as the Roche engineers seem to only bear that in mind. |
![]() |
![]() |
![]() |
#3 |
Senior Member
Location: Berlin, DE Join Date: May 2008
Posts: 628
|
![]()
... might be overkill .. but the result is what count :-)
- install a redhat in a virtual machine - install roche newbler on the redhat system - copy the roche directory tree on your "working" system Usually Roche's installer is a catastrophe; changing though from version to version .. :-) my 2p, Sven |
![]() |
![]() |
![]() |
#4 |
Member
Location: Athens, GA Join Date: Feb 2009
Posts: 17
|
![]()
I worked on it most of the day and finally got it installed.
![]() It is not too difficult, but you cannot use the installer. I am performing a test assembly this morning and I will post installation instructions a bit later today. Walt |
![]() |
![]() |
![]() |
#5 |
Member
Location: Athens, GA Join Date: Feb 2009
Posts: 17
|
![]()
Installation of Newbler version 2.5.3 on Ubuntu 10.04.1 (Lucid Lynx) without using the supplied Nixstaller.
Important Note: Do not cut and paste the commands below. Type them in. Important Note 2: This installation should also work with earlier versions of Ubuntu. Later versions of Ubuntu, 10.04.1 and 10.10 (Maverick Meerkat), did not come with Sun java as did previous versions. I have also tested this installation using java-6-openjdk that comes with 10.04 and 10.10 and it works just fine. I'm sure there are probably easier/faster ways to accomplish this install, however, this is a tested work around and I have tried and tested. I wrote this with detailed instructions so that those with little or limited unix/linux experience should be able install Newbler without too much difficulty. My apologies to those who find the step by step approach to be over-kill. 1) Everything needs to be done with root privileges so it's easier to just become root (if you can't this, better stop now and get someone to help you with the install). 2) If you have Newbler already installed, rename the directory opt/454 to something like opt/454_older.ver.number and go to step 3. If Newbler has never been installed, you will also need to add opt/454/bin to your path. Different ways to do this. I did it by creating an .sh file that contains the path and placing the file in /etc/profile_d Example: /etc/profile_d~# pico -w 454.sh Once in the pico editor type the following: export PATH=$PATH:/opt/454/bin exit editor with CtrlX and yes to save. You will need to log off and then log back on for the path change to take place. Now open a bash shell and enter echo $PATH at the prompt to verify that the path has been added and become root again. 3) Navigate to the indicated directories below and create the following directories in the indicated locations: opt/~# mkdir 454 opt/454~# mkdir apps opt/454/apps~# mkdir jre 4) Copy the Newbler tarball file DataAnalysis.tgz to directory /opt/454 and extract (either at command line using tar -xzvf DataAnalysis.tgz or with the Ubuntu GUI package manager) 5) Remove the file DataAnalysis.tgz after you have extracted it. 6) Navigate to the directory DataAnalysis_2.5.3/packages/ and copy the following .tgz files to the indicated destinations: /opt/454/DataAnalysis_2.5.3/packages~# cp newbler_CLI-2.5.3.x86_64.tgz ../../ /opt/454/DataAnalysis_2.5.3/packages~# cp assembly_GUI_2.5.3.noarch.tgz ../../apps /opt/454/DataAnalysis_2.5.3/packages~# cp mapper_GUI_2.5.3.noarch.tgz ../../apps /opt/454/DataAnalysis_2.5.3/packages~# cp amplicon_GUI_2.5.3.noarch.tgz ../../apps 7) Navigate to the directories shown below and extract the the four tarballs. You should remove each .tgz file after extracting it. opt/454~# tar -xzvf newbler_CLI-2.5.3.x86_64.tgz opt/454/apps~# tar -xzvf assembly_GUI_2.5.3.noarch.tgz opt/454/apps~# tar -xzvf mapper_GUI_2.5.3.noarch.tgz opt/454/apps~# tar -xzvf ampicon_GUI_2.5.3.noarch.tgz 8) Now remove the directory DataAnalysis_2.5.3 located in opt/454 If you've done everything correctly to this point, your directory structure will look like this: /opt/454~# ls apps bin config /opt/454/apps~# ls amplicons assembly jre mapper Now we need to make multiple symbolic links to get everything to run. You can do this two ways: A) Use the command gksudo nautilus which opens a GUI with root privileges and then create the the required symbolic links graphically by copying and pasting the target link to its appropriate destination directory. B) Make the symbolic links at command line (as I have shown). First make the primary java link: 9) Navigate to the directory /opt/454/apps/jre and create a symbolic link to the java that Ubuntu is using and give it the name of the java directory that Newbler wants to use: jre1.6.0_13 Use either A or B, not both! A) For early Ubuntu versions with Sun Java /opt/454/apps/jre~# ln -s /usr/lib/jvm/java-6-sun jre1.6.0_13 B) For later Ubuntu versions without Sun Java installed: /opt/454/apps/jre~# ln -s /usr/lib/jvm/java-6-openjdk jre1.6.0_13 You can check that the link was made by doing an ls command and you should see one of the following: jre1.6.0_13 -> usr/lib/jvm/java-6-sun/ OR jre1.6.0_13 -> usr/lib/jvm/java-6-openjdk/ Now, you need to make symbolic links for the three applications (amplicon, assembly, and mapper) back to the link that you just created in /opt/454/apps/jre (again, you can also do this in Nautilus by just copying the link you created in opt/454/apps/jre and then pasting into the appropriate directories below) 10) Navigate to the directories shown below and create the symbolic link in each as follows: /opt/454/apps/assembly/jre~# ln -s ../../jre/jre1.6.0_13 jre1.6.0_13 /opt/454/apps/amplicon/jre~# ln -s ../../jre/jre1.6.0_13 jre1.6.0_13 /opt/454/apps/mapper/jre~# ln -s ../../jre/jre1.6.0_13 jre1.6.0_13 Again, an ls command from within each jre directory should show the following: jre1.6.0_13 -> ../../jre/jre1.6.0_13 Now you need to create the final four symbolic links, these are all from within the /opt/454/bin directory, to the their respective application executables which listed below: 1) /opt/454/apps/assembly/bin/gsAssembler 2) /opt/454/apps/mapper/bin/gsMapper 3) /opt/454/apps/amplicon/bin/gsAmplicon 4) /opt/454/apps/amplicon/bin/doAmplicon 11) Navigate to opt/454/bin and create the following symbolic links: /opt/454/bin~# ln -s ../apps/assembly/bin/gsAssembler gsAssembler /opt/454/bin~# ln -s ../apps/mapper/bin/gsMapper gsMapper /opt/454/bin~# ln -s ../apps/amplicons/bin/gsAmplicon gsAmplicon /opt/454/bin~# ln -s ../apps/amplicons/bin/doAmplicon doAmplicon 12) Test each program at command line by typing the program name, e.g. gsAssemble, gsMapper, or gsAmplicon. In each case the GUI should launch. If it doesn't, it is likely due to an error in creation of the symbolic links for either java or the executables. Note: that doAmplicon is a command line program and does not launch a GUI but goes to a > prompt. Happy Assembling! |
![]() |
![]() |
![]() |
#6 |
Junior Member
Location: Finland Join Date: Aug 2009
Posts: 3
|
![]()
Thank you for manual installation instructions. I tried to follow them but still can't get gsAmplicon to work properly, the GUI does launch but then it won't create a new project and trying to open an old project results to an empty error dialog. Has anyone else tried to use gsAmplicon with this installation?
|
![]() |
![]() |
![]() |
#7 |
Member
Location: Netherlands Join Date: Sep 2008
Posts: 13
|
![]()
The Data Processing rpm's can be 'installed' like this:
First download the DataProcessing_2.5.3.tgz file. Extract that file in a place of your liking. In a terminal, go to the directory packages of the extracted file, and do this : for file in gsReporter-2.5.3-1.x86_64.rpm gsRunBrowser-2.5.3-1.i686.rpm gsRunProcessor-2.5.3-1.x86_64.rpm gsSupportTool-1.23-1.i386.rpm;do rpm2cpio $file | cpio -idmv ; done This will extract the contents of all the RPMs in the local directory, in a /opt subdirectory. Now simply move the different applications to the place where you want them, like this : mv -v ~/bin/454_2.5.3/DataProcessing_2.5.3_All/packages/opt/454/apps/* ~/bin/454_2.5.3/apps/ Then create links for the applications on a spot in your path : cd ~/bin/454_2.5.3/bin ; ln -vs ../apps/gs*/bin/* . |
![]() |
![]() |
![]() |
#8 |
Junior Member
Location: Germany Join Date: Jan 2011
Posts: 1
|
![]()
We just did it!
![]() It took us 45 min.Thanks for the installation instruction. |
![]() |
![]() |
![]() |
#9 |
Junior Member
Location: USA Join Date: May 2010
Posts: 1
|
![]()
Assuming you have a bin directory in your $HOME, and its in your $PATH
ln -s /bin/true ~/bin/rocks then run the installer. |
![]() |
![]() |
![]() |
#10 |
Senior Member
Location: Berlin, DE Join Date: May 2008
Posts: 628
|
![]()
In every installer of every version of the roche suite, they always introduce something weird, to remove it in the next version of the installer .. take a bet that in the next major release of the suite 'rocks' has been eliminated (but something new has been introduced) ..
![]() SCNR, Sven |
![]() |
![]() |
![]() |
#11 |
Member
Location: Netherlands Join Date: Sep 2008
Posts: 13
|
![]()
I have done a quick analysis of the basecalling differences between 2.3 and 2.5.3:
![]() The higher resolution pdf (with summary information on the reads) is available at http://db.tt/gbL9pYi |
![]() |
![]() |
![]() |
#12 |
Junior Member
Location: Kansas Join Date: Mar 2011
Posts: 6
|
![]()
I have installed the new software successfully but am now not able to use the sfffile command in the terminal, anyone else having this problem and know an easy fix?
|
![]() |
![]() |
![]() |
#13 | |
Senior Member
Location: Berlin, DE Join Date: May 2008
Posts: 628
|
![]() Quote:
What does it mean that you are "not able to use the sfffile command in the terminal"? You should probably set your (command) PATH (use your installation path): export PATH="/path/to/roche/datanalysis/bin:$PATH" and then type 'sfffile'. To make this permanent use e.g. .bashrc Sven |
|
![]() |
![]() |
![]() |
#14 | |||
Junior Member
Location: Kansas Join Date: Mar 2011
Posts: 6
|
![]() Quote:
Quote:
Quote:
This is what the terminal is spitting out: bash: /path/to/roche/datanalysis/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/opt/454/bin: No such file or directory If you could give me specifics that would be appreciated since I still dont understand Ubuntu all that great yet. Last edited by Dane; 03-08-2011 at 08:15 AM. |
|||
![]() |
![]() |
![]() |
#15 | |
Senior Member
Location: Berlin, DE Join Date: May 2008
Posts: 628
|
![]() Quote:
I suspect this is "/opt/454/bin". So you need to export this path, export PATH="/opt/454/bin:$PATH" on the other hand, /opt/454/bin has already been there. Have you installed the software to /opt/454? Have a look at /opt/454/bin and see what's inside, ls /opt/454/bin/ Do you see all programs? Is this a 64bit or 32bit Ubuntu? Did you install the correct i686 or x86_64 package? cheers, Sven |
|
![]() |
![]() |
![]() |
#16 |
Junior Member
Location: Kansas Join Date: Mar 2011
Posts: 6
|
![]()
I installed a new directory for a "local" install rather than system. So the new directory is home/dane/454/
The old directory is still in opt/454/bin with all the files. 64bit Ubuntu, Im not sure which package the installer used. However, I tried replacing any of the i686 tarballs that might have been installed instead of the x86 and then the programs wouldn't assemble and would come up with syntax errors. |
![]() |
![]() |
![]() |
#17 |
Senior Member
Location: Berlin, DE Join Date: May 2008
Posts: 628
|
![]()
No, do not mix files. If you see all the file in /opt/454/bin what gives you a
file /opt/454/bin/sfffile What gives you /opt/454/bin/sfffile Sven |
![]() |
![]() |
![]() |
#18 | |
Junior Member
Location: Kansas Join Date: Mar 2011
Posts: 6
|
![]() Quote:
I went ahead and tried /454 which is where my new install is located and its telling me that the directory doesn't exist. |
|
![]() |
![]() |
![]() |
#19 | |
Senior Member
Location: Berlin, DE Join Date: May 2008
Posts: 628
|
![]() Quote:
the permissions (as well with 'sudo') accordingly, so that you can access the files/progs. About your "new" install you wrote you have installed it in "/home/dane/454/"; where comes the "/454" from? If your installation is in "/home/dane/454/" (hopefully without 'sudo'), you should alter your PATH accordingly, export PATH="/home/dane/454/bin:$PATH" Sven |
|
![]() |
![]() |
![]() |
#20 |
Junior Member
Location: Kansas Join Date: Mar 2011
Posts: 6
|
![]() |
![]() |
![]() |
![]() |
Thread Tools | |
|
|