Skip to content
Back to skills

572 Usage Guide A2315cbd

ASecurity

Kraken2 is a fast taxonomic classifier that uses exact k-mer matches to assign reads to taxonomic nodes. It's highly accurate for well-represented taxa and ideal for screening large datasets.

  • 9 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added May 31, 2026
databashnodeawsgitdatabaseperformance

Security analysis

A96/100
  • mediumUses curl or wget to download content

Pro scans all 2 files and shows the line behind each finding

Scanned May 31, 2026

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

Installs into .claude/skills of the current project.

Are you the author of 572 Usage Guide A2315cbd?

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

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

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

Download with Pro
SKILL.md
# Kraken2 Classification - Usage Guide

## Overview
Kraken2 is a fast taxonomic classifier that uses exact k-mer matches to assign reads to taxonomic nodes. It's highly accurate for well-represented taxa and ideal for screening large datasets.

## Prerequisites
```bash
conda install -c bioconda kraken2

# Download pre-built database
wget https://genome-idx.s3.amazonaws.com/kraken/k2_standard_08gb_20230605.tar.gz
mkdir kraken2_db && tar -xzf k2_standard_08gb_20230605.tar.gz -C kraken2_db

# Or build standard database (~100GB disk, ~50GB final)
kraken2-build --standard --db kraken2_standard_db --threads 16
```

## Quick Start
Tell your AI agent what you want to do:
- "Classify my metagenomic reads to identify organisms"
- "Run Kraken2 on paired-end reads and generate a report"
- "Filter out human reads from my metagenome"

## Example Prompts
### Basic Classification
> "Run Kraken2 on reads_R1.fastq.gz and reads_R2.fastq.gz using the standard database"

> "Classify my shotgun metagenomics data and show me the top 20 species"

### Database Selection
> "Use the viral database to screen for viral sequences in my sample"

> "Run Kraken2 with the standard-8 database since I have limited RAM"

### Post-classification Analysis
> "Extract only bacterial classifications from my Kraken2 output"

> "Get species-level results and sort by abundance"

## What the Agent Will Do
1. Verify Kraken2 installation and database availability
2. Run classification with appropriate parameters for paired/single reads
3. Generate per-read classifications and taxonomic report
4. Parse and summarize results by taxonomic level

## Tips
- Use `--memory-mapping` for low-memory systems (slower but works)
- Classification rate of 30-70% is normal for environmental samples
- Store databases on SSD for better performance
- Run Bracken after Kraken2 for improved abundance estimates
- Use `--threads` to parallelize (8-16 typically optimal)

## Output Files

| File | Description |
|------|-------------|
| output.kraken | Per-read classifications |
| report.txt | Taxonomic summary |

## Resources
- [Kraken2 GitHub](https://github.com/DerrickWood/kraken2)
- [Pre-built Databases](https://benlangmead.github.io/aws-indexes/k2)

Files in this skill

  • README.md852 B
  • skill.md2.2 KB

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…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.