name: 'long-read-sequencing-agent'
description: 'AI-powered analysis of long-read sequencing data (PacBio, ONT) for structural variant detection, isoform discovery, epigenetic modifications, and de novo assembly.'
measurable_outcome: Execute skill workflow successfully with valid output within 15 minutes.
allowed-tools:
- read_file
- run_shell_command
Long-Read Sequencing Agent
The Long-Read Sequencing Agent provides comprehensive AI-driven analysis of long-read sequencing data from PacBio (HiFi) and Oxford Nanopore (ONT) platforms. It enables structural variant detection, full-length isoform discovery, base modification calling, and de novo genome assembly.
When to Use This Skill
- When detecting structural variants (SVs) missed by short-read sequencing.
- To characterize full-length transcript isoforms and alternative splicing.
- For detecting DNA base modifications (5mC, 6mA) directly from sequencing.
- When performing de novo genome assembly for complex regions.
- To phase variants and generate fully-resolved haplotypes.
Core Capabilities
Structural Variant Detection: AI-enhanced SV calling for deletions, insertions, inversions, translocations, and complex rearrangements.
Isoform Discovery: Full-length transcript sequencing for novel isoform and fusion detection.
Base Modification Calling: Direct detection of DNA methylation (5mC, 5hmC, 6mA) from native sequencing.
Haplotype Phasing: Phase-resolved assemblies and variant calling.
De Novo Assembly: Assemble complex genomic regions (centromeres, telomeres, HLA).
Error Correction: AI-based error correction for long-read data.
Platform Comparison
| Feature |
PacBio HiFi |
ONT (R10+) |
| Read length |
15-25 kb |
>100 kb possible |
| Accuracy |
>99.9% (HiFi) |
>99% (Q20+) |
| Base mods |
5mC, 6mA |
5mC, 5hmC, 6mA, more |
| Throughput |
20-40 Gb/run |
100+ Gb/run |
| Cost |
Higher |
Lower |
Workflow
Input: Long-read FASTQ/BAM files from PacBio or ONT sequencing.
QC & Alignment: Filter reads by quality, align to reference genome.
SV Calling: Detect structural variants using Sniffles, PBSV, or CuteSV.
Isoform Analysis: Identify full-length isoforms with IsoSeq or FLAIR.
Modification Calling: Extract base modifications from signal data.
Phasing: Generate haplotype-resolved variant calls.
Output: SV calls, isoform annotations, modification maps, phased assemblies.
Example Usage
User: "Analyze this PacBio HiFi dataset for structural variants and DNA methylation in a cancer sample."
Agent Action:
python3 Skills/Genomics/Long_Read_Sequencing_Agent/longread_analyzer.py \
--input cancer_hifi.bam \
--platform pacbio_hifi \
--reference GRCh38.fa \
--sv_calling sniffles2 \
--methylation true \
--phasing true \
--output longread_results/
Structural Variant Detection
| Tool |
Platform |
SV Types |
Strengths |
| Sniffles2 |
Both |
All SV types |
Speed, accuracy |
| PBSV |
PacBio |
All SV types |
HiFi optimized |
| CuteSV |
Both |
All SV types |
Sensitivity |
| SAVANA |
Both |
Somatic SVs |
Cancer-specific |
| Jasmine |
Both |
Population SV |
Multi-sample |
SV Size Spectrum:
- Small SVs: 50-500 bp (often missed by short-read)
- Medium SVs: 500 bp - 10 kb
- Large SVs: >10 kb
- Complex SVs: Multi-breakpoint events
Isoform Analysis
Full-Length Transcript Sequencing:
- Capture full gene structures (5' to 3')
- Detect novel exons and splice junctions
- Identify gene fusions
- Quantify isoform expression
Tools:
- IsoSeq3 (PacBio): Clustering and polishing
- FLAIR (Both): Isoform discovery and quantification
- StringTie2 (Both): Guided assembly
- SQANTI3: Isoform classification and QC
Base Modification Detection
| Modification |
Detection |
Biological Role |
| 5mC |
Both platforms |
Gene silencing |
| 5hmC |
ONT primarily |
Active demethylation |
| 6mA |
Both platforms |
Bacterial/mitochondrial |
| BrdU |
ONT |
Replication timing |
Resolution: Single-base, single-molecule, strand-specific
AI/ML Components
Error Correction:
- DeepConsensus (PacBio): Transformer for HiFi calling
- Medaka (ONT): Neural network polishing
- PEPPER-Margin-DeepVariant: AI variant calling
SV Classification:
- Deep learning for complex SV characterization
- ML filters for false positive reduction
- Multi-sample joint calling
Clinical Applications
- Cancer Genomics: Detect SVs driving oncogene activation
- Rare Disease: Resolve variants in complex regions
- Pharmacogenomics: Phase CYP450 star alleles
- HLA Typing: Full-resolution typing for transplant
- Repeat Expansions: Size tandem repeat diseases
Prerequisites
- Python 3.10+
- Sniffles2, PBSV, CuteSV for SV calling
- minimap2/pbmm2 for alignment
- High-memory system (64GB+ recommended)
Related Skills
- Long_Read_SV_Caller - For specialized SV analysis
- Variant_Interpretation - For variant annotation
- Epigenomics_MethylGPT_Agent - For methylation analysis
Output Files
| Output |
Format |
Content |
| SVs |
VCF |
Structural variants |
| Methylation |
BED/bigWig |
Modification calls |
| Isoforms |
GTF |
Transcript annotations |
| Phased |
VCF |
Haplotype-resolved variants |
| Assembly |
FASTA |
Assembled contigs |
Author
AI Group - Biomedical AI Platform
1---2name: long-read-sequencing-agent3description: <!--4---5<!--6# COPYRIGHT NOTICE7# This file is part of the "Universal Biomedical Skills" project.8# Copyright (c) 2026 MD BABU MIA, PhD <md.babu.mia@mssm.edu>9# All Rights Reserved.10#11# This code is proprietary and confidential.12# Unauthorized copying of this file, via any medium is strictly prohibited.13#14# Provenance: Authenticated by MD BABU MIA1516-->1718---19name: 'long-read-sequencing-agent'20description: 'AI-powered analysis of long-read sequencing data (PacBio, ONT) for structural variant detection, isoform discovery, epigenetic modifications, and de novo assembly.'21measurable_outcome: Execute skill workflow successfully with valid output within 15 minutes.22allowed-tools:23 - read_file24 - run_shell_command25---262728# Long-Read Sequencing Agent2930The **Long-Read Sequencing Agent** provides comprehensive AI-driven analysis of long-read sequencing data from PacBio (HiFi) and Oxford Nanopore (ONT) platforms. It enables structural variant detection, full-length isoform discovery, base modification calling, and de novo genome assembly.3132## When to Use This Skill3334* When detecting structural variants (SVs) missed by short-read sequencing.35* To characterize full-length transcript isoforms and alternative splicing.36* For detecting DNA base modifications (5mC, 6mA) directly from sequencing.37* When performing de novo genome assembly for complex regions.38* To phase variants and generate fully-resolved haplotypes.3940## Core Capabilities41421. **Structural Variant Detection**: AI-enhanced SV calling for deletions, insertions, inversions, translocations, and complex rearrangements.43442. **Isoform Discovery**: Full-length transcript sequencing for novel isoform and fusion detection.45463. **Base Modification Calling**: Direct detection of DNA methylation (5mC, 5hmC, 6mA) from native sequencing.47484. **Haplotype Phasing**: Phase-resolved assemblies and variant calling.49505. **De Novo Assembly**: Assemble complex genomic regions (centromeres, telomeres, HLA).51526. **Error Correction**: AI-based error correction for long-read data.5354## Platform Comparison5556| Feature | PacBio HiFi | ONT (R10+) |57|---------|-------------|------------|58| Read length | 15-25 kb | >100 kb possible |59| Accuracy | >99.9% (HiFi) | >99% (Q20+) |60| Base mods | 5mC, 6mA | 5mC, 5hmC, 6mA, more |61| Throughput | 20-40 Gb/run | 100+ Gb/run |62| Cost | Higher | Lower |6364## Workflow65661. **Input**: Long-read FASTQ/BAM files from PacBio or ONT sequencing.67682. **QC & Alignment**: Filter reads by quality, align to reference genome.69703. **SV Calling**: Detect structural variants using Sniffles, PBSV, or CuteSV.71724. **Isoform Analysis**: Identify full-length isoforms with IsoSeq or FLAIR.73745. **Modification Calling**: Extract base modifications from signal data.75766. **Phasing**: Generate haplotype-resolved variant calls.77787. **Output**: SV calls, isoform annotations, modification maps, phased assemblies.7980## Example Usage8182**User**: "Analyze this PacBio HiFi dataset for structural variants and DNA methylation in a cancer sample."8384**Agent Action**:85```bash86python3 Skills/Genomics/Long_Read_Sequencing_Agent/longread_analyzer.py \87 --input cancer_hifi.bam \88 --platform pacbio_hifi \89 --reference GRCh38.fa \90 --sv_calling sniffles2 \91 --methylation true \92 --phasing true \93 --output longread_results/94```9596## Structural Variant Detection9798| Tool | Platform | SV Types | Strengths |99|------|----------|----------|-----------|100| Sniffles2 | Both | All SV types | Speed, accuracy |101| PBSV | PacBio | All SV types | HiFi optimized |102| CuteSV | Both | All SV types | Sensitivity |103| SAVANA | Both | Somatic SVs | Cancer-specific |104| Jasmine | Both | Population SV | Multi-sample |105106**SV Size Spectrum**:107- Small SVs: 50-500 bp (often missed by short-read)108- Medium SVs: 500 bp - 10 kb109- Large SVs: >10 kb110- Complex SVs: Multi-breakpoint events111112## Isoform Analysis113114**Full-Length Transcript Sequencing**:115- Capture full gene structures (5' to 3')116- Detect novel exons and splice junctions117- Identify gene fusions118- Quantify isoform expression119120**Tools**:121- IsoSeq3 (PacBio): Clustering and polishing122- FLAIR (Both): Isoform discovery and quantification123- StringTie2 (Both): Guided assembly124- SQANTI3: Isoform classification and QC125126## Base Modification Detection127128| Modification | Detection | Biological Role |129|--------------|-----------|-----------------|130| 5mC | Both platforms | Gene silencing |131| 5hmC | ONT primarily | Active demethylation |132| 6mA | Both platforms | Bacterial/mitochondrial |133| BrdU | ONT | Replication timing |134135**Resolution**: Single-base, single-molecule, strand-specific136137## AI/ML Components138139**Error Correction**:140- DeepConsensus (PacBio): Transformer for HiFi calling141- Medaka (ONT): Neural network polishing142- PEPPER-Margin-DeepVariant: AI variant calling143144**SV Classification**:145- Deep learning for complex SV characterization146- ML filters for false positive reduction147- Multi-sample joint calling148149## Clinical Applications1501511. **Cancer Genomics**: Detect SVs driving oncogene activation1522. **Rare Disease**: Resolve variants in complex regions1533. **Pharmacogenomics**: Phase CYP450 star alleles1544. **HLA Typing**: Full-resolution typing for transplant1555. **Repeat Expansions**: Size tandem repeat diseases156157## Prerequisites158159* Python 3.10+160* Sniffles2, PBSV, CuteSV for SV calling161* minimap2/pbmm2 for alignment162* High-memory system (64GB+ recommended)163164## Related Skills165166* Long_Read_SV_Caller - For specialized SV analysis167* Variant_Interpretation - For variant annotation168* Epigenomics_MethylGPT_Agent - For methylation analysis169170## Output Files171172| Output | Format | Content |173|--------|--------|---------|174| SVs | VCF | Structural variants |175| Methylation | BED/bigWig | Modification calls |176| Isoforms | GTF | Transcript annotations |177| Phased | VCF | Haplotype-resolved variants |178| Assembly | FASTA | Assembled contigs |179180## Author181182AI Group - Biomedical AI Platform183184185<!-- AUTHOR_SIGNATURE: 9a7f3c2e-MD-BABU-MIA-2026-MSSM-SECURE -->