4.2.2.2. Installing samtoolsΒΆ
Here is an example of installing samtools by building it from the source instead of using Miniconda2.
- Download the samtools packages in the Software space of the project:
wget https://github.com/samtools/samtools/releases/download/1.3.1/samtools-1.3.1.tar.bz2
tar -xf samtools-1.3.1.tar.bz2
cd samtools-1.3.1
./configure --prefix=/project/[PROJECTNAME]/Software/samtools
make
make install
- Add the following line to export the following path in your $HOME/.bashrc:
export PATH=/project/[PROJECTNAME]/Software/samtools/bin:$PATH
- Logout and login for the changes to take effect.
All the members in your project can now use this software by exporting the paths as shown in the step above.