Skip to content
Back to skills

572 Usage Guide 5241a1ad

ASecurity

Bowtie2 is a fast and memory-efficient aligner for short reads. It supports both end-to-end and local alignment modes, making it versatile for ChIP-seq, ATAC-seq, and general short-read alignment.

  • 9 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 11, 2026
ai-agentsbash

Security analysis

A100/100

Scanned October 11, 2026

npx -y skills add tools-only/X-Skills --skill 572-usage-guide_5241a1ad --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 572 Usage Guide 5241a1ad?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for 572 Usage Guide 5241a1ad
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tools-only-572-usage-guide-5241a1ad/badge)](https://www.skillsdirectory.com/skills/tools-only-572-usage-guide-5241a1ad)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

SKILL.md
# Bowtie2 Alignment - Usage Guide

## Overview
Bowtie2 is a fast and memory-efficient aligner for short reads. It supports both end-to-end and local alignment modes, making it versatile for ChIP-seq, ATAC-seq, and general short-read alignment.

## Prerequisites
```bash
conda install -c bioconda bowtie2 samtools
```

## Quick Start
Tell your AI agent what you want to do:
- "Align my ChIP-seq reads using Bowtie2"
- "Build a Bowtie2 index for my reference genome"
- "Align ATAC-seq data with appropriate settings"

## Example Prompts

### Basic Alignment
> "Align r1.fq.gz and r2.fq.gz to my reference using Bowtie2"

> "Build a Bowtie2 index for reference.fa"

### ChIP-seq
> "Align my ChIP-seq paired-end reads with high sensitivity and filter low-quality alignments"

> "Run Bowtie2 alignment for ChIP-seq with MAPQ filtering"

### ATAC-seq
> "Align ATAC-seq reads allowing for large fragment sizes up to 2kb"

> "Run Bowtie2 on my ATAC-seq data with appropriate settings for open chromatin"

### Multi-mapping
> "Align reads and report up to 5 alignments per read for repetitive regions"

> "Run Bowtie2 in local mode for reads that may have adapter contamination"

## What the Agent Will Do
1. Build index if not present
2. Select appropriate alignment mode (end-to-end vs local)
3. Apply application-specific parameters (ChIP-seq, ATAC-seq, etc.)
4. Sort and index output BAM file

## Tips
- Use local mode (--local) for reads with potential adapter contamination
- For ChIP-seq/ATAC-seq, use --very-sensitive and filter with MAPQ >= 30
- Set -X appropriately for your expected fragment size distribution
- Use --no-mixed --no-discordant to keep only proper pairs

## When to Use Bowtie2 vs BWA

| Use Case | Bowtie2 | BWA-MEM2 |
|----------|---------|----------|
| ChIP-seq | Preferred | Works |
| ATAC-seq | Preferred | Works |
| RNA-seq | No (use STAR) | No |
| WGS | Works | Preferred |
| Local alignment | Yes | Limited |

## Application-Specific Settings

### ChIP-seq
```bash
bowtie2 -p 8 --very-sensitive --no-mixed --no-discordant \
    -x index -1 chip_R1.fq.gz -2 chip_R2.fq.gz 2> stats.txt | \
    samtools view -bS -q 30 -F 1804 - | \
    samtools sort -o chip.bam -
```

### ATAC-seq
```bash
bowtie2 -p 8 --very-sensitive -X 2000 --no-mixed --no-discordant \
    -x index -1 atac_R1.fq.gz -2 atac_R2.fq.gz 2> stats.txt | \
    samtools view -bS -q 30 - | \
    samtools sort -o atac.bam -
```

## Troubleshooting

### Low Alignment Rate
- Check read quality with FastQC
- Try local mode: --local
- Increase sensitivity: --very-sensitive
- Verify correct reference genome

### Wrong Fragment Sizes
```bash
bowtie2 -X 1000 -x index -1 r1.fq -2 r2.fq -S aligned.sam
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…