class

Minimap2::Aligner

Inherits Reference < Object


High-level Aligner convenience class

Constructors

from_strings(seqs : Array(String), names : Array(String) | Nil = nil, preset : String | Nil = nil) : Aligner

Build an Aligner from sequence strings.

Source
new(idx_opt : MmIdxOpt, map_opt : MmMapOpt, indices : Array(MmIdx))
Source

Class methods

from_file(fn : String, preset : String | Nil = nil, n_threads : Int32 = 1) : Aligner | Nil

Build an Aligner from a FASTA/FASTQ file.

Source

Instance methods

idx_opt
Source
indices
Source
map(seq : String, qname : String | Nil = nil, & : MmReg1 -> Nil) : Nil

Map a query string; yields MmReg1 hits.

Source
map(seq : String, qname : String | Nil = nil) : Array(MmReg1)

Map a query string; returns Array of hits.

Source
map_opt
Source
seq_lengths

Return the index sequence lengths.

Source
seq_names

Return the index sequences.

Source