纠正错误 / Fix 添加实例 / Add example
文件格式 / Formats

minimap2

长读长、组装序列和 spliced RNA/cDNA 比对的高性能工具。High-performance aligner for long reads, assemblies, and spliced RNA/cDNA alignments.

速览 | Quick Look

安装 | Install

mamba install -c bioconda minimap2

常用命令 | Common Commands

ONT reads 到参考基因组:

minimap2 -ax map-ont -t 16 reference.fa reads.fq.gz | samtools sort -o ont.sorted.bam

PacBio HiFi reads:

minimap2 -ax map-hifi -t 16 reference.fa hifi_reads.fq.gz > hifi.sam

assembly 对参考:

minimap2 -x asm5 -t 16 reference.fa assembly.fa > assembly_vs_ref.paf

cDNA 或 direct RNA spliced alignment:

minimap2 -ax splice -uf -k14 -t 16 genome.fa cdna_reads.fq.gz > splice.sam

关键参数 | Key Options

常见坑 | Pitfalls

参考 | References