-
Notifications
You must be signed in to change notification settings - Fork 38
Upgrading
This should be as easy as running:
amrfinder --update
Some users have reported errors with the automatic updating. You can automatically update to a directory different from the default by using amrfinder_update. Ex:
amrfinder_update -d <database_directory>
To use that directory when you run amrfinder
use the -d
option:
amrfinder -d <database_directory>/latest ...
Note that if you're running under sudo your path might change (e.g., https://github.com/ncbi/amr/issues/74). The following should work:
sudo PATH="$PATH" amrfinder --force_update
Instructions for upgrading AMRFinderPlus depend on how it was installed in the first place. A summary and new features for each release can be seen in the list of releases.
For Bioconda installations upgrading is simple:
If necessary
source ~/miniconda3/bin/activate
Then
conda update -c conda-forge -c bioconda ncbi-amrfinderplus
Basically just re-install, though you shouldn't have to install any prerequisites since presumably they're already installed so you just need to follow the instructions to download and untar the binary
You should update your sources to the latest release version of the software (e.g., git pull
)
or download the latest sources from the latest release. For example:
git pull
git submodule update
make clean
make
See Compile from source for more details.
- 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