Biowasm minimap2/samtools integration #349
Labels
enhancement
New feature or request
hard
A major or complex undertaking
help wanted
Extra attention is needed
medium priority
The default priority for a new issue.
stale
Milestone
Minimap2 is probably the best alignment algorithm when aligning nanopore sequencing data, and samtools lets you work with those alignments to produce useful output information. In fact, 3 of the parsers I built with poly are just to work with the input and output of these pieces of software.
(nanopore sequencer) ->
slow5
-> (basecaller) ->fastq
-> (minimap2) ->sam
-> (samtools) ->pileup
To review:
slow5
contains raw data from a nanopore sequencer (electrical resistance squiggles)fastq
contains raw basecalled sequencing data (base pairs)sam
contains alignment data against a targetpileup
contains per-base pair alignment data, useful for validating a target sequenceAs such, minimap2 and samtools are essential to my sequence analysis pipeline. They're both C projects - so we could use CGo, but CGo is also kinda the worst. As an alternative, we could use wasm compiled samtools and minimap2. This has already worked for other projects integrating C code, using wazero, a zero dependency WebAssembly runtime in pure Golang.
A wonderful project, biowasm, by @robertaboukhalil has already compiled and tested both minimap2 and samtools in webassembly. We would need some software similar to biowasm's aioli, and then we could integrate these two pieces of software with Poly for a Golang-native experience.
The text was updated successfully, but these errors were encountered: