Long read sequencing agent

From swaruplab/operon · View interactive version

Long read sequencing agent is an AI agent skill from the GitHub repository swaruplab/operon. AI-powered analysis of long-read sequencing data (PacBio, ONT) for structural variant detection, isoform discovery, epigenetic modifications, and de novo assembly.

How to use this skill

Skill file

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

Core Capabilities

  1. Structural Variant Detection: AI-enhanced SV calling for deletions, insertions, inversions, translocations, and complex rearrangements.
  1. Isoform Discovery: Full-length transcript sequencing for novel isoform and fusion detection.
  1. Base Modification Calling: Direct detection of DNA methylation (5mC, 5hmC, 6mA) from native sequencing.
  1. Haplotype Phasing: Phase-resolved assemblies and variant calling.
  1. De Novo Assembly: Assemble complex genomic regions (centromeres, telomeres, HLA).
  1. 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

  1. Input: Long-read FASTQ/BAM files from PacBio or ONT sequencing.
  1. QC & Alignment: Filter reads by quality, align to reference genome.
  1. SV Calling: Detect structural variants using Sniffles, PBSV, or CuteSV.
  1. Isoform Analysis: Identify full-length isoforms with IsoSeq or FLAIR.
  1. Modification Calling: Extract base modifications from signal data.
  1. Phasing: Generate haplotype-resolved variant calls.
  1. 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:

Isoform Analysis

Full-Length Transcript Sequencing:

Tools:

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:

SV Classification:

Clinical Applications

  1. Cancer Genomics: Detect SVs driving oncogene activation
  2. Rare Disease: Resolve variants in complex regions
  3. Pharmacogenomics: Phase CYP450 star alleles
  4. HLA Typing: Full-resolution typing for transplant
  5. Repeat Expansions: Size tandem repeat diseases

Prerequisites

Related Skills

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 |

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.