← Về thư mục
📄 / / profiles / r-and-d / raw_evidence / OpenAI4S / skills / bioskills / bio-epitranscriptomics-modification-visualization / references / usage-guide.md

RNA Modification Visualisation - Usage Guide

Overview

Visualise RNA-modification data with the canonical 5'UTR / CDS / 3'UTR transcript-feature metagene plot (Guitar), the genome-coordinate metagene (deepTools), peak-centred heatmaps clustered by condition (ComplexHeatmap / deepTools), IP-vs-input paired browser tracks at specific loci (pyGenomeTracks / ggcoverage / Gviz), DRACH sequence-logo plots (ggseqlogo), and the 5'UTR / CDS / 3'UTR stacked-bar feature-distribution summary (ChIPseeker + ggplot2). Establishes stop-codon enrichment in the metagene as the biological QC anchor: a MeRIP dataset without it is suspect.

Prerequisites

BiocManager::install(c('Guitar', 'TxDb.Hsapiens.UCSC.hg38.knownGene', 'ComplexHeatmap',
                       'rtracklayer', 'GenomicFeatures', 'BSgenome.Hsapiens.UCSC.hg38',
                       'ChIPseeker', 'ggseqlogo', 'Gviz'))
install.packages(c('ggcoverage', 'ggplot2', 'dplyr', 'circlize'))
conda install -c bioconda deeptools pygenometracks ucsc-bedtobigbed homer

Reference inputs:

Quick Start

Example Prompts

Metagene (THE Canonical Plot)

"Render the Guitar GuitarPlot of my exomePeak2 m6A peaks using TxDb.Hsapiens.UCSC.hg38.knownGene; expect stop-codon-proximal enrichment as the biological QC anchor."

"Confirm my MeRIP shows the canonical Dominissini 2012 / Meyer 2012 stop-codon enrichment pattern before downstream analysis."

"Build a per-condition Guitar metagene with WT vs KO peak BEDs side-by-side."

Browser Tracks

"Build a pyGenomeTracks INI for paired IP and Input bigWig + log2 IP/Input + m6A peaks BED + GENCODE GTF; render at chr19:54,792,000-54,799,000."

"Render an ggcoverage browser plot of IP-over-Input log2 with peaks highlighted at the METTL3 locus."

Heatmaps

"Build a peak-centred heatmap with deepTools computeMatrix reference-point + plotHeatmap; +/-500 bp window; k-means k=3."

"Render a ComplexHeatmap of multi-condition IP/Input signal at peaks with row annotation showing per-condition mean."

"Render a ggseqlogo of peak-centre 5-mers from my exomePeak2 BED; confirm DRACH consensus visually."

"Run HOMER findMotifsGenome.pl -rna on my peaks and report DRACH enrichment E-value."

Stacked Bar

"Render the Figure 1 5'UTR / CDS / 3'UTR / intron / intergenic stacked bar via ChIPseeker annotatePeak + ggplot2."

"Compare peak feature distribution between WT and KO conditions as side-by-side stacked bars."

Genome-Coordinate Metagene

"Build a deepTools scale-regions metagene over protein-coding genes; +/-500 bp flanks; render as plotProfile + plotHeatmap."

What the Agent Will Do

  1. Build the Guitar metagene FIRST as a smoke test for stop-codon enrichment (the biological QC anchor)
  2. If metagene does NOT show stop-codon enrichment, halt and recommend re-inspecting IP enrichment in merip-preprocessing
  3. Render the 5'UTR / CDS / 3'UTR stacked bar paired with the metagene
  4. Render the DRACH sequence logo as a sanity check on antibody specificity
  5. Build pyGenomeTracks INI for paired IP / Input / log2 browser tracks at specific loci
  6. Render peak-centred heatmap with deepTools computeMatrix + plotHeatmap (single-condition) or ComplexHeatmap (multi-condition)
  7. For differential m6A analyses, render volcano + MA plots (defers to m6a-differential)
  8. For per-condition or per-cluster comparison, build faceted plots
  9. Export publication-ready PDF and PNG outputs

Tips