Skip to content
Back to skills

Genomics Phasing

ASecurity

Haplotype phasing analysis: phase block N50, phased fraction, PS (Phase Set) field parsing, pipe-delimited genotype detection. Wraps WhatsHap, SHAPEIT5, Eagle2.

  • 36 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 7, 2026
toolspythongobash

Works with

  • cli

Security analysis

A100/100

Scanned September 7, 2026

npx -y skills add mdbabumiamssm/LLMs-Universal-Life-Science-and-Clinical-Skills- --skill genomics-phasing --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Genomics Phasing?

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

Security grade badge for Genomics Phasing
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mdbabumiamssm-genomics-phasing-1cae2be7/badge)](https://www.skillsdirectory.com/skills/mdbabumiamssm-genomics-phasing-1cae2be7)

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
---
name: genomics-phasing
description: >-
  Haplotype phasing analysis: phase block N50, phased fraction, PS (Phase Set) field parsing,
  pipe-delimited genotype detection. Wraps WhatsHap, SHAPEIT5, Eagle2.
version: 0.2.0
author: OmicsClaw
license: MIT
tags: [genomics, phasing, haplotype, WhatsHap, SHAPEIT]
metadata:
  omicsclaw:
    domain: genomics
    emoji: "🔀"
    trigger_keywords: [haplotype phasing, WhatsHap, SHAPEIT, Eagle, phasing]
    allowed_extra_flags:
      - "--method"
    legacy_aliases: [phase]
    saves_h5ad: false
---

# 🔀 Haplotype Phasing

Haplotype phasing for variant data. Wraps WhatsHap, SHAPEIT, and Eagle.

## CLI Reference

```bash
python omicsclaw.py run genomics-phasing --demo
python omicsclaw.py run genomics-phasing --input <data.vcf> --output <dir>
```

## Why This Exists

- **Without it**: Variants remain independent loci without knowledge of allelic connectivity
- **With it**: Haplotypes are formed spanning genes, essential for compound heterozygote analysis
- **Why OmicsClaw**: Standardizes input and output across read-backed and population-backed phasing tools

## Workflow

1. **Calculate**: Prepare VCF indices and sequence mappings.
2. **Execute**: Run haplotype graph resolution algorithms.
3. **Assess**: Perform switch error evaluation and quality flagging.
4. **Generate**: Output structured phased VCF representation.
5. **Report**: Synthesize N50 phase block stats into tables.

## Example Queries

- "Phase this vcf file using WhatsHap"
- "Use SHAPEIT for population phasing of variants"

## Output Structure

```
output_directory/
├── report.md
├── result.json
├── phased.vcf.gz
├── figures/
│   └── phase_block_distribution.png
├── tables/
│   └── phasing_metrics.csv
└── reproducibility/
    ├── commands.sh
    ├── requirements.txt
    └── checksums.sha256
```

## Safety

- **Local-first**: Strict offline processing without external upload.
- **Disclaimer**: Requires OmicsClaw reporting structures and disclaimers.
- **Audit trail**: Hyperparameters and operational flow states are logged fully.

## Integration with Orchestrator

**Trigger conditions**:
- Automatically invoked dynamically based on tool metadata and user intent matching.

**Chaining partners**:
- `variant-call` — Upstream generation of raw VCFs
- `annotation` — Downstream annotation of phased haplotypes

## Citations

- [WhatsHap](https://doi.org/10.1089/cmb.2014.0157)
- [SHAPEIT](https://doi.org/10.1038/nmeth.4507)

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.

View all in tools →

Comments

Loading comments…

Newsletter

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