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-agent-23description: AI-powered analysis of long-read sequencing data (PacBio, ONT) for structural variant detection, isoform discovery, epigenetic modifications, and de novo assembly.4license: MIT5---67# Long-Read Sequencing Agent89The **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.1011## When to Use This Skill1213* When detecting structural variants (SVs) missed by short-read sequencing.14* To characterize full-length transcript isoforms and alternative splicing.15* For detecting DNA base modifications (5mC, 6mA) directly from sequencing.16* When performing de novo genome assembly for complex regions.17* To phase variants and generate fully-resolved haplotypes.1819## Core Capabilities20211. **Structural Variant Detection**: AI-enhanced SV calling for deletions, insertions, inversions, translocations, and complex rearrangements.22232. **Isoform Discovery**: Full-length transcript sequencing for novel isoform and fusion detection.24253. **Base Modification Calling**: Direct detection of DNA methylation (5mC, 5hmC, 6mA) from native sequencing.26274. **Haplotype Phasing**: Phase-resolved assemblies and variant calling.28295. **De Novo Assembly**: Assemble complex genomic regions (centromeres, telomeres, HLA).30316. **Error Correction**: AI-based error correction for long-read data.3233## Platform Comparison3435| Feature | PacBio HiFi | ONT (R10+) |36|---------|-------------|------------|37| Read length | 15-25 kb | >100 kb possible |38| Accuracy | >99.9% (HiFi) | >99% (Q20+) |39| Base mods | 5mC, 6mA | 5mC, 5hmC, 6mA, more |40| Throughput | 20-40 Gb/run | 100+ Gb/run |41| Cost | Higher | Lower |4243## Workflow44451. **Input**: Long-read FASTQ/BAM files from PacBio or ONT sequencing.46472. **QC & Alignment**: Filter reads by quality, align to reference genome.48493. **SV Calling**: Detect structural variants using Sniffles, PBSV, or CuteSV.50514. **Isoform Analysis**: Identify full-length isoforms with IsoSeq or FLAIR.52535. **Modification Calling**: Extract base modifications from signal data.54556. **Phasing**: Generate haplotype-resolved variant calls.56577. **Output**: SV calls, isoform annotations, modification maps, phased assemblies.5859## Example Usage6061**User**: "Analyze this PacBio HiFi dataset for structural variants and DNA methylation in a cancer sample."6263**Agent Action**:64```bash65python3 Skills/Genomics/Long_Read_Sequencing_Agent/longread_analyzer.py \66 --input cancer_hifi.bam \67 --platform pacbio_hifi \68 --reference GRCh38.fa \69 --sv_calling sniffles2 \70 --methylation true \71 --phasing true \72 --output longread_results/73```7475## Structural Variant Detection7677| Tool | Platform | SV Types | Strengths |78|------|----------|----------|-----------|79| Sniffles2 | Both | All SV types | Speed, accuracy |80| PBSV | PacBio | All SV types | HiFi optimized |81| CuteSV | Both | All SV types | Sensitivity |82| SAVANA | Both | Somatic SVs | Cancer-specific |83| Jasmine | Both | Population SV | Multi-sample |8485**SV Size Spectrum**:86- Small SVs: 50-500 bp (often missed by short-read)87- Medium SVs: 500 bp - 10 kb88- Large SVs: >10 kb89- Complex SVs: Multi-breakpoint events9091## Isoform Analysis9293**Full-Length Transcript Sequencing**:94- Capture full gene structures (5' to 3')95- Detect novel exons and splice junctions96- Identify gene fusions97- Quantify isoform expression9899**Tools**:100- IsoSeq3 (PacBio): Clustering and polishing101- FLAIR (Both): Isoform discovery and quantification102- StringTie2 (Both): Guided assembly103- SQANTI3: Isoform classification and QC104105## Base Modification Detection106107| Modification | Detection | Biological Role |108|--------------|-----------|-----------------|109| 5mC | Both platforms | Gene silencing |110| 5hmC | ONT primarily | Active demethylation |111| 6mA | Both platforms | Bacterial/mitochondrial |112| BrdU | ONT | Replication timing |113114**Resolution**: Single-base, single-molecule, strand-specific115116## AI/ML Components117118**Error Correction**:119- DeepConsensus (PacBio): Transformer for HiFi calling120- Medaka (ONT): Neural network polishing121- PEPPER-Margin-DeepVariant: AI variant calling122123**SV Classification**:124- Deep learning for complex SV characterization125- ML filters for false positive reduction126- Multi-sample joint calling127128## Clinical Applications1291301. **Cancer Genomics**: Detect SVs driving oncogene activation1312. **Rare Disease**: Resolve variants in complex regions1323. **Pharmacogenomics**: Phase CYP450 star alleles1334. **HLA Typing**: Full-resolution typing for transplant1345. **Repeat Expansions**: Size tandem repeat diseases135136## Prerequisites137138* Python 3.10+139* Sniffles2, PBSV, CuteSV for SV calling140* minimap2/pbmm2 for alignment141* High-memory system (64GB+ recommended)142143## Related Skills144145* Long_Read_SV_Caller - For specialized SV analysis146* Variant_Interpretation - For variant annotation147* Epigenomics_MethylGPT_Agent - For methylation analysis148149## Output Files150151| Output | Format | Content |152|--------|--------|---------|153| SVs | VCF | Structural variants |154| Methylation | BED/bigWig | Modification calls |155| Isoforms | GTF | Transcript annotations |156| Phased | VCF | Haplotype-resolved variants |157| Assembly | FASTA | Assembled contigs |158159## Author160161AI Group - Biomedical AI Platform