Does anybody know how to do a local install of samtools on centos without using sudo?
4
0
Entering edit mode
6.2 years ago

I'm using a server at work and their version of samtools and bwa is way outdated. I asked the server guy to update them and he can't do it right now and told me to install these tools locally. I'm having trouble finding a way to install these items locally without using sudo. There's a few dependencies required for samtools- any tips would be greatly appreciated.

centos samtools • 5.5k views
ADD COMMENT
0
Entering edit mode
brew install samtools
ADD REPLY
3
Entering edit mode
6.2 years ago
GenoMax 147k

Take a look at conda. @finswimmer wrote a nice tutorial recently for it: Creating workflows with snakemake and conda No sudo should be needed. conda automatically installs necessary dependencies.

ADD COMMENT
0
Entering edit mode

This worked great! Thanks!

ADD REPLY
2
Entering edit mode
6.2 years ago
5heikki 11k

With Samtools just set /where/to/install somewhere where you can write

cd samtools-1.x    # and similarly for bcftools and htslib
./configure --prefix=/where/to/install
make
make install

With BWA you need to do even less, just clone it to somewhere where you can write

git clone https://github.com/lh3/bwa.git
cd bwa; make
ADD COMMENT
0
Entering edit mode
5.1 years ago
cmdcolin ★ 4.0k

Download linuxbrew https://docs.brew.sh/Homebrew-on-Linux

brew install samtools

ADD COMMENT

Login before adding your answer.

Traffic: 2857 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6