Structsยง
- Resistance
Variant ๐ - RrsSnp
Call - RrsSusceptibility
Calls - All rrs susceptibility evidence for one sample, ready for UI display.
Staticsยง
- RRS_
REFS ๐ - Parsed and substring-deduplicated rrs reference sequences, initialised once.
- RRS_
RESISTANCE_ ๐SNPS
Functionsยง
- call_
rrs_ ๐snps - identify_
sequence_ 16s - Align
queryagainst every Mycobacteriaceae 16S rRNA reference inREF_MYCO_RRSand return all hits sorted by identity (highest first). - is_
susceptible_ rrs - Returns
Some(false)if any observed SNP base is a resistance-conferring alt, orNoneif no resistance alt is observed. - is_
susceptible_ rrs_ by_ snp_ calls_ rare - Returns
Some(false)if any observed SNP base is a resistance-conferring alt, orNoneotherwise. Parallel tois_susceptible_rrl_by_snp_calls_rare: rrs has no position-based anchor call, so all SNP resistance here is inherently not explained by a position mutation. - parse_
rrs_ ๐resistance_ snps
Type Aliasesยง
- RrsSnp
Map ๐ - Maps a reference position to
(wt_base, alts)wherealtsmaps each resistance alt to(drugs, E.coli nomenclature).