Skip to content

v1 Compile AMRFinder from source

Arjun Prasad edited this page Jun 19, 2019 · 1 revision

Manual installation summary

If you want to compile AMRFinder yourself you'll need gcc and GNU make to compile the software as well as the other prerequisites BLAST+, HMMER, and Perl. We have only tested compiling AMRFinder with GNU tools on Linux, so your mileage may vary.

AMRFinder was developed with g++ (GCC) 4.9.3.

Downloading

You can clone the repository using

git clone https://github.com/ncbi/amr.git

Or download the source from the AMRFinder github site.

Compiling

make 

Installation

make install

will copy the AMRFinder executables to /usr/local/share/amrfinder. To change the installation location add a INSTALL_DIR option to make e.g.:

make install INSTALL_DIR=$HOME/amrfinder
Clone this wiki locally