本文へスキップ
Skillpedia
分析とスプレッドシート51k · #3450

deeptools

できること

このツールは、次世代シーケンシング(NGS)のデータを分析するのに役立ちます。ファイルの変換、データ品質の確認、サンプルの比較、可視化のためのプロット作成ができます。

使う場面

  • ✓ゲノムデータのファイルを変換するとき(BAMからbigWigへ)。
  • ✓シーケンシング実験の品質を確認するとき。
  • ✓ゲノムデータを可視化するためのプロット(ヒートマップ)を作成するとき。

スキルのリンク

https://github.com/K-Dense-AI/scientific-agent-skills/blob/main/skills/deeptools/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/K-Dense-AI/scientific-agent-skills/blob/main/skills/deeptools/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“私のBAMファイルをbigWigに変換して、ChIP-seqデータのヒートマップを作成してください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

ユーザーがゲノムデータのファイルを用意すると、ツールがそれを処理します。さまざまな方法でデータを正規化し、可視化や品質レポートを作成します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

deepTools: NGS Data Analysis Toolkit

Overview

deepTools is a comprehensive suite of Python command-line tools designed for processing and analyzing high-throughput sequencing data. Use deepTools to perform quality control, normalize data, compare samples, and generate publication-quality visualizations for ChIP-seq, RNA-seq, ATAC-seq, MNase-seq, and other NGS experiments.

Core capabilities:

  • Convert BAM alignments to normalized coverage tracks (bigWig/bedGraph)
  • Quality control assessment (fingerprint, correlation, coverage)
  • Sample comparison and correlation analysis
  • Heatmap and profile plot generation around genomic features
  • Enrichment analysis and peak region visualization

When to Use This Skill

This skill should be used when:

  • File conversion: "Convert BAM to bigWig", "generate coverage tracks", "normalize ChIP-seq data"
  • Quality control: "check ChIP quality", "compare replicates", "assess sequencing depth", "QC analysis"
  • Visualization: "create heatmap around TSS", "plot ChIP signal", "visualize enrichment", "generate profile plot"
  • Sample comparison: "compare treatment vs control", "correlate samples", "PCA analysis"
  • Analysis workflows: "analyze ChIP-seq data", "RNA-seq coverage", "ATAC-seq analysis", "complete workflow"
  • Working with specific file types: BAM files, bigWig files, BED region files in genomics context

Quick Start

For users new to deepTools, start with file validation and common workflows:

1. Validate Input Files

Before running any analysis, validate BAM, bigWig, and BED files using the validation script:

python scripts/validate_files.py --bam sample1.bam sample2.bam --bed regions.bed

This checks local files, readable BAM/BAI/CSI structure and coordinate order, bigWig headers, and every BED row. It does not establish assembly identity or biological suitability.

2. Generate Workflow Template

For standard analyses, use the workflow generator to create customized scripts:

# List available workflows
python scripts/workflow_generator.py --list

# Generate ChIP-seq QC workflow
python scripts/workflow_generator.py chipseq_qc -o qc_workflow.sh \
    --input-bam Input.bam --chip-bams "ChIP1.bam ChIP2.bam"

# Make executable and run
chmod +x qc_workflow.sh
./qc_workflow.sh

3. Most Common Operations

See assets/quick_reference.md for frequently used commands and parameters.

Installation

uv venv --python 3.13 .venv-deeptools
uv pip install --python .venv-deeptools/bin/python deepTools==4.0.0
source .venv-deeptools/bin/activate
bamCoverage --version

Upstream recommends conda/bioconda for full dependency resolution, especially on shared HPC systems:

conda create -n deeptools -c conda-forge -c bioconda python=3.13 deeptools=4.0.0 samtools

The 4.0.0 PyPI release includes native macOS Intel/Apple Silicon and Linux wheels. Conda availability varies by platform; the PyPI workflow above was exercised on macOS.

4.0 migration: The five rewritten commands use Rust. bamCoverage, bamCompare, and multiBamSummary no longer accept --ignoreDuplicates; use --samFlagExclude 1024 only after duplicate marking. bamCompare no longer accepts SES. Its released Rust backend accepts RPGC despite a contradictory rolling-doc note; several advertised operations are incorrect (see review). --exactScaling is removed from the rewritten coverage commands because scaling now uses all reads. See references/review.md for verified contracts and remaining limits.

Core Workflows and Tool Categories

Complete command sequences for ChIP-seq QC, full ChIP-seq analysis, RNA-seq coverage, and ATAC-seq analysis — plus the BAM/bigWig processing, quality control, and visualization tool categories — are in references/core_workflows.md and references/workflows.md. Per-tool options are in references/tools_reference.md.

Normalization Methods

Choosing the correct normalization is critical for valid comparisons. Consult references/normalization_methods.md for comprehensive guidance.

Quick selection guide:

  • ChIP-seq coverage: Use RPGC or CPM
  • ChIP-seq comparison: Use bamCompare with log2 and readCount
  • RNA-seq bins: Use CPM
  • RNA-seq genes: Quantify with an annotation-aware gene/transcript workflow; bamCoverage RPKM scales genomic bins, not genes

…

よくある質問

BAMとbigWigのファイルとは何ですか?

どちらもシーケンシングデータを保存・可視化するためのファイル形式です。BAMはより詳細な情報を含み、bigWigは素早い可視化に最適化されています。

「データの正規化」とはどういう意味ですか?

読み取り数やライブラリサイズの違いを調整し、異なるサンプル同士を公平に比較できるようにデータを整えることです。

ヒートマップは何に使われますか?

大規模なゲノムデータのパターンを視覚化するために使われます。特定の領域で活性やカバレッジが高い部分は暖色、低い部分は寒色で表されます。

詳細

作者による元の説明

NGS analysis toolkit. BAM to bigWig conversion, QC (correlation, PCA, fingerprints), heatmaps/profiles (TSS, peaks), for ChIP-seq, RNA-seq, ATAC-seq visualization.

repo: K-Dense-AI/scientific-agent-skills

人気

GitHubのスター
51k
ランキング
#3450
ライセンス
MIT
更新日
2026/10/15

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル