How ncbi/amr works
AMRFinderPlus is a command-line bioinformatics tool for identifying acquired antimicrobial-resistance genes and point mutations, with additional stress, heat, biocide-resistance, and virulence-factor findings for some organisms. Its principal user workflow supplies protein and/or assembled nucleotide sequences to the finder, which uses a reference database and produces tabular findings. The repository also contains database maintenance, mutation analysis, sequence/GFF utilities, and shared analysis infrastructure. The excerpts establish module references but do not expose every runtime call, so uncertain links are omitted.
Main entry points: common.cpp Shared runtime · amrfinder.cpp AMR finder · amr_report.cpp AMR reporting · seq.cpp Sequence and translation
Components 20
AMR analysis
- AMR finder
amrfinder.cpp - AMR reporting
amr_report.cpp - DNA mutation analysis
dna_mutation.cpp
Reference data
- Database indexing
amrfinder_index.cpp - Database updates
amrfinder_update.cpp - HTTP transfer
curl_easy.cpp
Sequence utilities
- FASTA validation
fasta_check.cpp - FASTA extraction
fasta_extract.cpp - FASTA partitioning
fasta2parts.cpp - GFF validation
gff_check.cpp - Disruption mapping
disruption2genesymbol.cpp
Analysis infrastructure
- Sequence and translation
seq.cpp - Alignment engine
alignment.cpp - GFF annotations
gff.cpp - Graph algorithms
graph.cpp - TSV handling
tsv.cpp - Shared runtime
common.cpp
Other components
- Sequence user
- Tabular results
- AMR reference database
Connections 33
- Sequence user → AMR finder: submits sequences
README.md - AMR finder → Tabular results: reports findings
README.md - AMR finder → AMR reference database: uses reference data
amrfinder.cpp - AMR finder → Shared runtime: uses runtime
amrfinder.cpp - AMR finder → TSV handling: uses tables
amrfinder.cpp - AMR finder → GFF annotations: uses annotations
amrfinder.cpp - AMR finder → Sequence and translation: uses sequences
amrfinder.cpp - AMR reporting → Shared runtime: uses runtime
amr_report.cpp - AMR reporting → TSV handling: formats tables
amr_report.cpp - AMR reporting → Sequence and translation: uses sequences
amr_report.cpp - AMR reporting → GFF annotations: uses annotations
amr_report.cpp - AMR reporting → Alignment engine: uses alignments
amr_report.cpp - AMR reporting → Tabular results: emits results
- DNA mutation analysis → Shared runtime: uses runtime
dna_mutation.cpp - DNA mutation analysis → TSV handling: formats tables
dna_mutation.cpp - DNA mutation analysis → Alignment engine: uses alignments
dna_mutation.cpp - Database indexing → Shared runtime: uses runtime
amrfinder_index.cpp - Database updates → Shared runtime: uses runtime
amrfinder_update.cpp - Database updates → HTTP transfer: downloads data
amrfinder_update.cpp - HTTP transfer → Shared runtime: uses runtime
curl_easy.cpp - FASTA validation → Shared runtime: uses runtime
fasta_check.cpp - FASTA extraction → Shared runtime: uses runtime
fasta_extract.cpp - FASTA partitioning → Shared runtime: uses runtime
fasta2parts.cpp - GFF validation → Shared runtime: uses runtime
gff_check.cpp - GFF validation → GFF annotations: uses annotations
gff_check.cpp - Disruption mapping → Shared runtime: uses runtime
disruption2genesymbol.cpp - Disruption mapping → Sequence and translation: uses sequences
disruption2genesymbol.cpp - Sequence and translation → Shared runtime: uses runtime
seq.cpp - Alignment engine → Shared runtime: uses runtime
alignment.cpp - Alignment engine → Sequence and translation: uses sequence types
- GFF annotations → Shared runtime: uses runtime
gff.cpp - Graph algorithms → Shared runtime: uses runtime
graph.cpp - TSV handling → Shared runtime: uses runtime
tsv.cpp