Skip to content
Back to skills

1506 Usage Guide C7f4abe8

ASecurity

Call HLA alleles from NGS data (WGS, WES, or RNA-seq) for transplant matching, neoantigen prediction, and pharmacogenomic screening.

  • 9 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 11, 2026
documentationbash

Works with

  • cli

Security analysis

A96/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned October 11, 2026

npx -y skills add tools-only/X-Skills --skill 1506-usage-guide_c7f4abe8 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 1506 Usage Guide C7f4abe8?

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

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

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

SKILL.md
# HLA Typing - Usage Guide

## Overview

Call HLA alleles from NGS data (WGS, WES, or RNA-seq) for transplant matching, neoantigen prediction, and pharmacogenomic screening.

## Prerequisites

```bash
# OptiType (HLA Class I)
conda install -c bioconda optitype

# HLA-HD
# Download from https://www.genome.med.kyoto-u.ac.jp/HLA-HD/

# arcasHLA (RNA-seq)
pip install arcas-hla
arcasHLA reference --update
```

## Quick Start

Tell your AI agent:
- "Run HLA typing on my WES data"
- "Type HLA from my RNA-seq BAM"
- "Check if this patient has HLA-B*57:01 for abacavir"
- "Get 4-field HLA resolution from my sample"

## Example Prompts

### Basic Typing

> "Run OptiType on my WES BAM to get HLA-A, B, C"

> "Type HLA from my tumor RNA-seq"

### Pharmacogenomics

> "Check HLA alleles for carbamazepine contraindication"

> "Screen for HLA-B*57:01 before abacavir"

### Transplant

> "Get full HLA typing (Class I and II) for transplant matching"

## What the Agent Will Do

1. Extract reads mapping to HLA region (chr6:28-34Mb)
2. Run appropriate HLA typing tool based on data type
3. Parse results to standard nomenclature
4. Report alleles at requested resolution (2-field or 4-field)
5. Check against pharmacogenomic risk alleles if requested

## Tool Selection

| Data Type | Recommended Tool | Classes |
|-----------|------------------|---------|
| WES/WGS | OptiType, HLA-HD | I (OptiType) or I+II (HLA-HD) |
| RNA-seq | arcasHLA | I and II |
| Targeted panel | HLA-HD | I and II |

## Tips

- **OptiType is fastest** but only types Class I (HLA-A, B, C)
- **4-field resolution** (A*02:01) is clinical standard
- **Extract HLA region** from BAM before typing to speed up
- **RNA-seq typing** works well with arcasHLA from STAR-aligned BAMs
- **HLA-B*57:01 screening** is required before abacavir prescription
- **Population-specific alleles** affect pharmacogenomic risk

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.