From c3607ee883e35923081b2c0e4af0a348cc51e2e6 Mon Sep 17 00:00:00 2001 From: Cameron Lloyd Date: Wed, 28 Jan 2026 20:01:13 +0000 Subject: [PATCH] fix: typo --- README.md | 2 +- src/lib/position/pileup_position.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index c74d762..91de321 100644 --- a/README.md +++ b/README.md @@ -69,7 +69,7 @@ perbase base-depth ./test/test.bam Example output ```text -REF POS DEPTH A C G T N R Y S W K M INS DEL REF_SKIP FAIL COUNT_OF_MATE_RESOUTIONS NEAR_MAX_DEPTH +REF POS DEPTH A C G T N R Y S W K M INS DEL REF_SKIP FAIL COUNT_OF_MATE_RESOLUTIONS NEAR_MAX_DEPTH chr1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 false chr1 2 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 false chr1 3 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 false diff --git a/src/lib/position/pileup_position.rs b/src/lib/position/pileup_position.rs index ca59710..a7476c6 100644 --- a/src/lib/position/pileup_position.rs +++ b/src/lib/position/pileup_position.rs @@ -61,7 +61,7 @@ pub struct PileupPosition { /// Number of reads failing filters at this position. pub fail: u32, /// Number of times a mate resolution was needed. - pub count_of_mate_resoutions: u32, + pub count_of_mate_resolutions: u32, /// Depth is within 1% of max_depth pub near_max_depth: bool, } @@ -143,7 +143,7 @@ impl PileupPosition { } if mates_resolved { - self.count_of_mate_resoutions += 1; + self.count_of_mate_resolutions += 1; } }