Expand description
Genus Classifier Module
Classifies the source genus of detected ARGs using flanking sequence analysis. Compares extracted flanking regions against a pre-built database of known gene-genus associations.
§Classification Method
- Extract upstream and downstream flanking sequences from contig
- Query the flanking database for the detected ARG
- Align query flanking sequences against reference flanking sequences
- Score genus candidates based on alignment identity and coverage
- Report top genus with confidence and specificity metrics
§Key Metrics
- Confidence: Alignment identity score (0-100%)
- Specificity: Gene-genus association strength in the database (0-100%)
Structs§
- ArgPosition
- ARG hit with position information for flanking extraction.
- Flanking
Database - Reader for compressed flanking database (.fdb) files.
- Flanking
Record - Flanking database record from FDB file.
- Genus
Classifier - Minimap2-based genus classifier using flanking sequence alignment.
- Genus
Result
Constants§
- GENUS_
TIE_ PCT - Genus classification result for a single ARG. Two genera are “tied” (indistinguishable) when their scores are within this many identity points. Used to decide multi-genus reporting.