| Crates.io | mm2 |
| lib.rs | mm2 |
| version | 0.25.6 |
| created_at | 2024-11-18 05:26:53.613708+00 |
| updated_at | 2025-07-02 05:37:59.267341+00 |
| description | minimap2 frontend |
| homepage | |
| repository | https://github.com/keithyin/mm2 |
| max_upload_size | |
| id | 1451814 |
| size | 379,490 |
requirements
# install samtools
cd samtools-1.x # and similarly for bcftools and htslib
./configure --prefix=/usr/
make
make install
cargo install mm2
gsmm2 align -q query.fa --target target.fa -p query2target
gsmm2-aligned-metric
gsmm2-aligned-metric
// 1 -> 1000, 0.8 -> 0.2
aligner.mapopt.best_n = 10000; // Output at most INT secondary alignments
aligner.mapopt.pri_ratio = 0.2; // Minimal secondary-to-primary score ratio to output secondary mappings
np_range & rq_range.
discard multiple alignment reads