class Minimap2::AlignerBuilder

Overview

Builder for creating a Minimap2::Aligner with preset and mapping options.

Defined in:

minimap2/builder.cr

Constant Summary

PRESETS = { map_ont: "map-ont", map_hifi: "map-hifi", map_pb: "map-pb", splice: "splice", splice_hq: "splice:hq", splice_sr: "splice:sr", asm5: "asm5", asm10: "asm10", asm20: "asm20", sr: "sr", }

Preset shortcuts mapped to minimap2 preset strings.

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def asm10 : self #

[View source]
def asm20 : self #

[View source]
def asm5 : self #

[View source]
def map_hifi : self #

[View source]
def map_ont : self #

[View source]
def map_pb : self #

[View source]
def preset(preset : String) : self #

Apply a minimap2 preset string (e.g. "map-ont", "map-hifi", "splice").


[View source]
def splice : self #

[View source]
def splice_hq : self #

[View source]
def splice_sr : self #

[View source]
def sr : self #

[View source]
def with_cigar : self #

Enable CIGAR generation and cs-tag output for mapped records.


[View source]
def with_index(path : String, output : String | Nil = nil) : Aligner #

Build an aligner from a reference FASTA/MMI path.

If output is provided, a built index is written to that path.


[View source]
def with_index_threads(threads : Int32) : self #

Set the number of threads used while building/loading the index.


[View source]