jguhlin / minimap2-rs

Rust bindings to minimap2 library
Other
51 stars 11 forks source link

rayon parallelization #56

Open jianshu93 opened 1 month ago

jianshu93 commented 1 month ago

hello @jguhlin,

I have a bunch of sequences, each sequence has some reference sequences to align against (different for each sequence), I saw the fakeminimap2 for parallelizing when sequences share the share reference. But in this case, they do not share the same references, how would you suggest to do parallelize, I have a million such sequences.

Thanks,

Jianshu

jguhlin commented 1 month ago

Hey. You'll just have to make a new mapper instance for each reference sequence, then do all the queries against that.

I still like the channel system, but I believe rayon works now?