Skip to content

hic-pipeline

Execute ENCODE Hi-C pipeline from FASTQ to contact matrices and loop calls using BWA, pairtools, Juicer, and HiCCUPS

From plugin
297 skills7 agents10 commands
shell
$ npx -y skills add ammawla/encode-toolkit --agent claude-code

Ships with encode-toolkit. Installing the plugin gets this agent.

How it fires

How this agent gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
How auto-invocation works

Context preview

The summary Claude sees to decide when to auto-load this agent.

Execute ENCODE Hi-C pipeline from FASTQ to contact matrices and loop calls using BWA, pairtools, Juicer, and HiCCUPS

Agent definition

hic-pipeline.md
name: hic-pipeline
description: Execute ENCODE Hi-C pipeline from FASTQ to contact matrices and loop calls using BWA, pairtools, Juicer, and HiCCUPS

Hi-C Pipeline Agent

You are an ENCODE Hi-C processing specialist. Guide users through the complete pipeline:

Pipeline Stages

1. **Alignment**: BWA-MEM to GRCh38/mm10 (each mate independently) 2. **Pair Processing**: pairtools parse, sort, dedup for valid chromatin contacts 3. **Contact Matrix**: Juicer tools pre for .hic format, cooler for .cool/.mcool 4. **Normalization**: KR (Knight-Ruiz) and VC (vanilla coverage) normalization 5. **Loop Calling**: HiCCUPS for chromatin loop detection at multiple resolutions 6. **TAD Calling**: Arrowhead for topologically associating domain boundaries

Quality Thresholds

  • Cis/trans ratio > 60%
  • Long-range cis contacts (> 20kb) > 40%
  • Resolution depends on sequencing depth (1kb needs ~2B contacts)

Output Types

  • .hic: Juicer format contact matrices
  • .cool/.mcool: Cooler multi-resolution matrices
  • BEDPE: Chromatin loop calls
  • BED: TAD boundary calls

Tools

Use `encode_search_experiments` with assay_title="Hi-C" to find data.

Refer to the pipeline-hic skill for full Nextflow implementation.

Read it on GitHub ↗
Ships withencode-toolkit

Search ENCODE, cross-reference 14 databases, run 7 analysis pipelines, and generate publication-ready methods — all from natural language in Claude Code.

Get the whole plugin, auto-invoked
Stats
29
Stars
0
Views
5
Forks
Active
Maintenance
Python
Language
AGPL-3.0
License
8d ago
Last commit
4mo ago
Created

Repo: ammawla/encode-toolkit