Labsco
bio-mcp logo

BWA (Burrows-Wheeler Aligner)

from bio-mcp

An MCP server for the BWA sequence alignment tool.

๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅโœ“ VerifiedFreeNeeds API keys

bio-mcp-bwa

MCP (Model Context Protocol) server for the BWA (Burrows-Wheeler Aligner) sequence alignment tool.

Overview

This MCP server provides access to BWA functionality, allowing AI assistants to perform alignment of short and long sequencing reads to a reference genome.

Features

  • bwa_index: Create an index for a reference genome.
  • bwa_mem: Align reads using the BWA-MEM algorithm.
  • bwa_aln: Find SA coordinates with the BWA-backtrack algorithm.
  • bwa_samse: Generate single-end alignments in SAM format.
  • bwa_sampe: Generate paired-end alignments in SAM format.
  • Support for large reference genomes and read files.

Examples

Index a reference genome

Create a BWA index for the file hg38.fasta.

Align paired-end reads

Align the paired-end reads from r1.fastq and r2.fastq to the hg38 reference genome using BWA-MEM.

Development

Running tests

pytest tests/

Building Docker image

docker build -t bio-mcp-bwa .