Question: Samtools installation on Mac OS X problems
gravatar for Matt
8 weeks ago by
Queen's University Belfast
Matt10 wrote:

I am trying to install samtools-1.4.1 from on Mac OS X El Capitan 10.11.6.

I can run ./configure and make without any errors, but make install results in the following error:

mkdir -p -m 755 /usr/local/bin /usr/local/bin /usr/local/share/man/man1
install: /usr/local/bin/samtools
No such file or directory
make: *** [install] Error 71

I ran sudo make install to get around this, and this proceeds without any error messages, but it results in the following programs in the bin folder:

ace2sam* maq2sam-long* plot-bamstats**** maq2sam-short**** md5fa**** md5sum-lite* samtools* wgsim*****

To me this seems to be an incomplete list of programs, for example, faidx is missing.

Can anybody help on this?

samtools mac software error • 308 views
ADD COMMENTlink modified 7 weeks ago by James Bonfield110 • written 8 weeks ago by Matt10
gravatar for genomax
8 weeks ago by
United States
genomax32k wrote:

faidx is an option for the samtools program. If you run ./samtools (from the directory above) on its own, you should get all possible program options.

ADD COMMENTlink modified 8 weeks ago • written 8 weeks ago by genomax32k
gravatar for James Bonfield
7 weeks ago by
James Bonfield110 wrote:

The previous answer is indeed most likely the main answer to your question, but regarding other issues you can use "make install prefix=/some/dir" to install in places other than /usr/local (or better yet, ./configure --prefix=/some/dir).

Also if using the joint samtools+htslib tarball you may find things like bgzip are missing. If you use those tools, run "make install-htslib" too as these aren't installed by default from the joint tarball.

ADD COMMENTlink written 7 weeks ago by James Bonfield110
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 590 users visited in the last hour