bwa-mem2-dna-aligner

Align short DNA sequencing reads to a reference genome using BWA-MEM2.

298|27|Updated Feb 18, 2026
One-click install
npx skills add https://github.com/jaechang-hits/SciAgent-Skills --skill bwa-mem2-dna-aligner
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: bwa-mem2-dna-aligner
Source: https://github.com/jaechang-hits/SciAgent-Skills/tree/main/skills/genomics-bioinformatics/bwa-mem2-dna-aligner
Command: npx skills add https://github.com/jaechang-hits/SciAgent-Skills --skill bwa-mem2-dna-aligner

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires bwa-mem2, samtools, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill efficiently aligns short DNA sequencing reads to a reference genome, a crucial first step for variant calling and genomic analysis.

Core Features & Use Cases

  • High-throughput Alignment: Processes whole-genome, whole-exome, and ChIP-seq data rapidly.
  • GATK Compatibility: Generates SAM/BAM files with required read group headers for downstream analysis with GATK.
  • Use Case: Align millions of DNA sequencing reads from a patient's exome data to the human reference genome to prepare for identifying genetic mutations.

Quick Start

Align paired-end DNA reads from sample1_R1.fastq.gz and sample1_R2.fastq.gz to the GRCh38 reference genome.

Frequently Asked Questions about bwa-mem2-dna-aligner

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

FAQPage Schema
How do I align paired-end DNA sequencing reads to a reference genome for variant calling?▼

To align paired-end DNA reads for variant calling, you can use the BWA-MEM2 algorithm to map short reads from FASTQ files to a reference genome. This process generates GATK-compatible BAM files with read group headers required for downstream genomic analysis.

Does BWA-MEM2 produce GATK-compatible BAM files with read group headers?▼

Yes, BWA-MEM2 produces GATK-compatible BAM files with read group headers. This ensures the aligned reads are properly formatted for downstream variant calling and whole-genome or whole-exome data analysis pipelines.

Can I use BWA-MEM2 for whole-exome and ChIP-seq data alignment?▼

Yes, you can use BWA-MEM2 for whole-exome and ChIP-seq data alignment. It performs efficient and accurate alignment of short DNA sequencing reads across high-throughput genomic applications, including whole-genome analysis.

Do I need samtools to sort BAM files after DNA alignment with BWA-MEM2?▼

Yes, you need samtools to sort BAM files after DNA alignment. The Skill requires both bwa-mem2 and samtools to perform the indexing, alignment, and sorting operations necessary to produce final aligned BAM files.

What's the best way to prepare FASTQ files for short-read DNA alignment?▼

The best way to prepare FASTQ files for short-read DNA alignment is to ensure paired-end reads are properly paired and compressed. BWA-MEM2 then processes these reads to generate sorted BAM files suitable for genomic analysis.

Why are read group headers important in BAM files for genomic analysis?▼

Read group headers are important in BAM files because they provide essential metadata for GATK compatibility during variant calling. BWA-MEM2 includes these headers to ensure aligned DNA sequencing reads are correctly processed in downstream genomic pipelines.