biowasm-compile

Compile bioinformatics C/C++ tools to WebAssembly using Emscripten.

Updated Feb 23, 2026
One-click install
npx skills add https://github.com/happykhan/biowasm-compile-skill --skill biowasm-compile
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: biowasm-compile
Source: https://github.com/happykhan/biowasm-compile-skill/tree/main
Command: npx skills add https://github.com/happykhan/biowasm-compile-skill --skill biowasm-compile

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill simplifies the complex process of compiling bioinformatics C/C++ tools into WebAssembly (WASM) format, enabling them to run directly in web browsers.

Core Features & Use Cases

  • WASM Compilation: Compiles genomics tools (like SKESA, Mash, minimap2, samtools) to WebAssembly using Emscripten.
  • Browser-Based Pipelines: Facilitates running bioinformatics tools client-side for platforms like GenomicX, eliminating server-side dependencies.
  • Use Case: You need to integrate a command-line genomics tool into a web application. Use this Skill to generate the necessary compile.sh script and WASM output (.js and .wasm files).

Quick Start

Use the biowasm-compile skill to generate a compile.sh script for compiling the 'mash' tool to WebAssembly.

Frequently Asked Questions about biowasm-compile

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I compile bioinformatics C/C++ tools to WebAssembly?

You can compile bioinformatics tools like minimap2 and samtools to WebAssembly using Emscripten. This Skill generates a compile.sh script that builds C/C++ source code into .js and .wasm files, following the biowasm pattern to enable client-side execution.

Can I run command-line genomics tools like minimap2 and Mash directly in a web browser?

Yes, command-line genomics tools like minimap2 and Mash can run directly in a web browser by compiling them to WebAssembly. This eliminates server-side dependencies and enables client-side execution in browser-based genomics pipelines like GenomicX.

What is the biowasm pattern for porting genomics tools?

The biowasm pattern is an approach for porting genomics tools to WebAssembly using Emscripten. It involves creating compile.sh scripts for C/C++ scientific tools and building WASM versions that execute entirely client-side in web applications.

Do I need Emscripten to build WebAssembly versions of C/C++ scientific tools?

Yes, Emscripten is required to build WebAssembly versions of C/C++ scientific tools. It serves as the compiler backend that translates bioinformatics source code into the .js and .wasm files needed for browser-based execution.

What output files do I get when compiling bioinformatics tools to WASM?

Compiling bioinformatics tools to WASM produces a compile.sh script for the build process and WebAssembly output files, specifically .js and .wasm files. These files integrate directly into web applications for client-side execution.