This is a test version of Biostars. For the public version, visit https://www.biostars.org.
How can I upgrade bowtie2-2.2.6 to bowtie2-2.2.9 or uninstall this old version?

Hi,

I am using CentOS release 6.8 server through my user account. I have Bowtie2-2.2.6 in my user account. How can I

  1. upgrade it to bowtie2-2.2.9 or
  2. uninstall the bowtie2-2.2.6 version to install the newer version
bowtie2-2.2.9 centos server uninstall

3 answers

Find out where the bowtie2 executables are located in your account using command which bowtie2. Once you have identified the location just replace the bowtie2 executables with the newer version of the program.

You can also download and use a newer bowtie2 executable from within your own account by amending $PATH to point to the new executable (this would allow you to keep the older version for reference/archival purposes). Make sure the older version is not in the $PATH to avoid any confusion.

@genomax2

and how to do this? :( how to add it to the path??

Assuming you are using bash shell; export PATH=$PATH:/path_to_new/bowtie2

@ genomax2 thanks a ton

If you r using the Linux binary version of bowtie2, the simplest way might be to remove the bowtie2-2.2.6 folder and replace it with bowtie2-2.2.9 folder.

cd /path/to/bowtie2-2.2.6
rm -rf  bowtie2-2.2.6
cp -r /path/to/bowtie2-2.2.9_folder .

and then modify you PATH to include the new bowtie2-2.2.9 folder.

thanks a lot Jackie!

Log in to answer this question.