Predict Antimicrobial Peptides
Overview
A toolkit to predict antimicrobial peptides from protein sequences on a genome-wide scale. It incorporates two support vector machine models ("precursor" and "mature") trained on publicly available antimicrobial peptide data using calculated physico-chemical and compositional sequence properties described in Meher et al. (2017) doi:10.1038/srep42362. In order to support genome-wide analyses, these models are designed to accept any type of protein as input and calculation of compositional properties has been optimised for high-throughput use. For best results it is important to select the model that accurately represents your sequence type: for full length proteins, it is recommended to use the default "precursor" model. The alternative, "mature", model is best suited for mature peptide sequences that represent the final antimicrobial peptide sequence after post-translational processing. For details see Fingerhut et al. (2020) doi:10.1093/bioinformatics/btaa653. The 'ampir' package is also available via a Shiny based GUI at https://ampir.marine-omics.net/.
- ampir now has a Shiny based web interface! <https://ampir.marine-omics.net/>
- updated both classification models (ampir_precursor and ampir_mature) with additional AMPs
- fixed an example in the README which resulted in NAs output (@Ebedthan, #20)
- converted input for
calculate_features.Rto a dataframe, in case it was not a dataframe
From NEWS.md in the release
Install
Health
NOTEdependencies in R coder-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Namespace in Imports field not imported from: ‘kernlab’ All declared Imports should be used.
- NOTE11 OK, 2 NOTE2026-09-08
- ERROR11 OK, 1 NOTE, 1 ERROR2026-09-07
- NOTE11 OK, 2 NOTE2026-06-09
- ERROR10 OK, 2 NOTE, 1 ERROR2026-06-08
- NOTE12 OK, 2 NOTE2026-04-22
Show 3 earlier changesHide 3 earlier changes
- ERROR11 OK, 2 NOTE, 1 ERROR2026-04-18
- NOTE12 OK, 2 NOTE2026-03-30
- ERROR11 OK, 2 NOTE, 1 ERROR2026-03-10
Documentation
- Help pages
- 14
- Examples that run
- 100%5 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 50%
Downloads
Repository
- PRs merged (all time)
- 81%
- Median days to close, 50 most recently updated closed issues
- 7
- Median days to close, 50 most recently updated closed PRs
- 1
Stars over time
Forks over time
Issues over time
PRs over time
5 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/legana/ampir on 2026-10-18.
Show all practicesHide 1 practice
Dependencies
Installing ampir adds 65 packages (36 with compiled code, 50 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, data.table 5.7 MB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- 1.1.0Latest
- RR 4.1.0 released · 2021-05-18
- 1.0.0
- RR 4.0.0 released · 2020-04-24
- 0.1.02019-12-06
- RR 3.6.0 released · 2019-04-26
Package metadata
- First published
- 2019-12-06
- Total releases
- 3 / 7 yrs
- License
- GPL-2 OSI
- Minimum R
- ≥ 3.5.0
- Download size
- 1.6 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("ampir")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-20, which the citation names so these numbers can be found later. More on citing and the projects behind them.