-
Notifications
You must be signed in to change notification settings - Fork 0
Installing AMRFinder
AMRFinder requires HMMER, BLAST+, Linux, and perl. We provide Linux binaries, and the source code is available if you want to compile it yourself, though we haven't extensively tested compiling AMRFinder on other systems and aren't supporting non-Linux systems at this time.
We recommend using Bioconda to install the prerequisites and provide instructions for how to do that below. The executables for BLAST, HMMER, and Perl will need to be in your path. See the Troubleshooting section below to test them. Note, it's not a prerequisite, but these instructions use Borne shell style syntax (e.g., that from bash). If you're using another shell syntax you might have to modify them slightly.
While not strictly a prerequisite Bioconda is how we recommend installing the prerequisites. If you don''t have bioconda already installed you should run the following
~$ curl -O https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
~$ bash ./Miniconda3-latest-Linux-x86_64.sh # Follow prompts to accept license, choose install path, and allow the new bin directory to be added to .bashrc
~$ export PATH=$HOME/miniconda3/bin:$PATH # Change to match installation location, if not default.
~$ conda config --add channels defaults
~$ conda config --add channels bioconda
~$ conda config --add channels conda-forge
With bioconda the three prerequisites can be installed in one command
~$ conda install -y blast hmmer libcurl
~$ mkdir amrfinder && cd amrfinder
~/amrfinder$ curl -sL https://ftp.ncbi.nlm.nih.gov/pathogen/Technical/AMRFinder_technical/amrfinder_binaries_v3.01b.tar.gz | tar xvz
~/amrfinder$ ./amrfinder -u
~/amrfinder$ ./amrfinder -p test_prot.fa
If you are still having trouble installing AMRFinder let us know by emailing us at pd-help@ncbi.nlm.nih.gov, and we'll do what we can to help.
- New in AMRFinderPlus
- Documentation for AMRFinder v1 (Depricated)
- Overview
- Install with bioconda (recommended)
- Docker Image
- Install with binary
- Compile from source
- Test your installation
- Usage (syntax/options)
- --organism option
- Examples
- Input file formats
- Output format
- Common errors
- Known issues
- Tips and tricks
- Database updates
- Software upgrades
- Genotypes vs. Phenotypes
- Scope: plus vs. core
- AMRFinderPlus "Method" column
- Element type and Subtype
- Class and Subclass
- StxTyper output