Structsยง
- Erm41
LofCall - Erm41
LofRow ๐ - Erm41
Susceptibility Calls - All erm(41) susceptibility evidence for one sample, ready for UI display.
Enumsยง
Staticsยง
- ERM41_
LOF_ ๐SNPS
Functionsยง
- call_
erm41_ ๐lof_ snps - Maps each known loss-of-function SNP position to the base observed in the query sequence, adjusting for the alignment offset between reference and query coordinates.
- empty_
string_ ๐as_ none - find_
erm41_ ๐display_ window - identify_
sequence_ erm41 - Unlike identify_sequence_hsp65() and identify_sequence_rrl_ntm(), this only uses reference sequences extracted via sequences.toml and not the database fetched via fetch_myco_sequences().
- is_
susceptible_ erm41 - Returns susceptibility for an erm(41) call given the observed LOF SNP calls.
- is_
susceptible_ erm41_ by_ lof_ snps - Returns
Some(true)if any observed SNP base is a known LOF alt (erm(41) inactivated โ susceptible), orNoneif no LOF alt is observed. - is_
susceptible_ erm41_ by_ position28 - Returns susceptibility based on position 28 alone, without considering LOF SNP calls.
- parse_
erm41_ ๐lof_ snps - Parse loss-of-function SNPs for erm(41) from a ntm-db resistance CSV.
- three_
letter_ ๐to_ one - translate_
codon ๐
Type Aliasesยง
- Erm41
LofSnp ๐Map - Maps a reference position to
(wt_base, alts)wherealtsmaps each LoF alt base to(mutation_label, drug).