Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
wjwei-handsome committed Nov 5, 2024
1 parent 860925d commit e3069b3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions precellar/src/align.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ use std::ops::Range;
use std::sync::{Arc, Mutex};

// GenomeAligner and TranscriptomeAligner
pub trait Alinger {
pub trait Aligner {
type AlignOutput;
type ModRecordBuf;

Expand Down Expand Up @@ -59,7 +59,7 @@ pub trait Alinger {

pub struct DummyAligner;

impl Alinger for DummyAligner {
impl Aligner for DummyAligner {
type AlignOutput = sam::Record;
type ModRecordBuf = RecordBuf;
fn chunk_size(&self) -> usize {
Expand Down Expand Up @@ -97,7 +97,7 @@ impl Alinger for DummyAligner {
}
}

impl Alinger for StarAligner {
impl Aligner for StarAligner {
type AlignOutput = Vec<sam::Record>;
type ModRecordBuf = Vec<RecordBuf>;

Expand Down Expand Up @@ -168,7 +168,7 @@ impl Alinger for StarAligner {
}
}

impl Alinger for BurrowsWheelerAligner {
impl Aligner for BurrowsWheelerAligner {
type AlignOutput = sam::Record;
type ModRecordBuf = RecordBuf;

Expand Down Expand Up @@ -242,7 +242,7 @@ pub struct FastqProcessor<A> {
mismatch_in_barcode: usize, // The number of mismatches allowed in barcode
}

impl<A: Alinger> FastqProcessor<A> {
impl<A: Aligner> FastqProcessor<A> {
pub fn new(assay: Assay, aligner: A) -> Self {
Self {
assay,
Expand Down

0 comments on commit e3069b3

Please sign in to comment.