Minimap2::Aligner
High-level aligner API backed by minimap2 index and mapping routines.
Constructors
new(path : String, preset : String | Nil = nil, threads : Int32 = 1, output : String | Nil = nil, cigar : Bool = false)
Shortcut constructor using common options.
Prefer Aligner.build for explicit configuration chains.
Class methods
Instance methods
idx_opt
Sourcemap(seq : String, cs : Bool = false, md : Bool = false, ds : Bool = false, max_frag_len : Int32 | Nil = nil, extra_flags : Array(UInt64) | Nil = nil, query_name : String | Nil = nil) : Array(Mapping)
Map a query string against the loaded index.
Set cs, md, ds to include optional alignment tag strings.
map(seq : Bytes, cs : Bool = false, md : Bool = false, ds : Bool = false, max_frag_len : Int32 | Nil = nil, extra_flags : Array(UInt64) | Nil = nil, query_name : String | Nil = nil) : Array(Mapping)
Map a query byte slice against the loaded index.
extra_flags accepts raw minimap2 flag constants from LibMinimap2.
map_opt
Source