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

m6Anet Analysis - Usage Guide

Overview

End-to-end m6A detection from Oxford Nanopore direct-RNA-sequencing (ONT DRS) signal data using m6Anet. Covers the required upstream pipeline (Dorado / Guppy basecalling -> minimap2 transcriptome alignment -> nanopolish eventalign -> m6anet dataprep -> m6anet inference), interpretation of the three per-site output columns (probability_modified posterior, mod_ratio stoichiometry, n_reads coverage) and the per-read modification probability output, the DRACH-only modeling constraint, minimum-coverage thresholds (20-50 reads per site), multi-condition comparison via xPore / Nanocompore / ELIGOS / Dorado native modification calling, reference-transcriptome version pinning, the cDNA-vs-DRS chemistry distinction, and orthogonal validation against MeRIP / GLORI.

Prerequisites

pip install m6anet ont-fast5-api xpore nanocompore
conda install -c bioconda minimap2 samtools nanopolish
# Dorado: download binary from https://github.com/nanoporetech/dorado

Reference inputs:

Quick Start

Example Prompts

Pipeline

"Basecall RNA004 POD5 files with Dorado rna004_130bps_sup@v5.0.0; align to GENCODE v44 transcriptome with minimap2 -ax map-ont -uf -k14 --secondary=no; run nanopolish eventalign with the m6Anet-required flag set; run m6anet dataprep and inference."

"Run m6anet dataprep and inference on a pre-computed eventalign.txt file from a HEK293T DRS run."

Filtering

"Filter m6anet results/data.site_proba.csv for high-confidence m6A sites: n_reads >= 20 AND probability_modified >= 0.9; export top 20 most-modified transcripts."

"Compute per-read modification rate per site by aggregating per-read CSV with threshold 0.5; report alongside per-site probability."

Differential Modification

"Run xPore diffmod between WT and METTL3-KO with 3 replicates per condition; report diff_mod_rate >= 0.1 AND pval < 0.05."

"Run Nanocompore sampcomp between two conditions on the same transcriptome; primary statistic GMM_logit_pvalue < 0.05."

Dorado Native

"Use Dorado modification calling on RNA004 data with m6A_DRACH@v1 model; report per-read modification probabilities for first-pass discovery."

"Cross-check Dorado high-recall site set against m6Anet for high-precision filtering."

Cross-Validation

"Compare my m6Anet site calls against published GLORI HEK293T m6A sites at gene level."

"Cross-reference m6Anet calls with MeRIP exomePeak2 peaks at common transcripts; report concordance."

Sanity Check

"Confirm my sequencing run is DRS (SQK-RNA002 / SQK-RNA004) and NOT cDNA-Nanopore; modification detection only works on DRS."

What the Agent Will Do

  1. Verify DRS protocol (kit SQK-RNA002 / SQK-RNA004) before any modification-detection pipeline
  2. Basecall POD5 / FAST5 with Dorado (modern) or Guppy (legacy); pin basecaller + model version
  3. Align to TRANSCRIPTOME (not genome) with minimap2 -ax map-ont -uf -k14 --secondary=no
  4. Sort and index BAM with samtools
  5. Run nanopolish eventalign with the m6Anet-required flag pair --scale-events --signal-index (plus --summary and --threads for housekeeping; --samples and --print-read-names are needed only by other downstream tools)
  6. Run m6anet dataprep + inference
  7. Apply minimum-coverage filter (n_reads >= 20 conservative; >= 50 stringent)
  8. Apply probability filter (probability_modified >= 0.9 high-confidence; >= 0.7 discovery)
  9. For stoichiometry estimates, compute per-read modification rate
  10. For differential between conditions, run xPore (Bayesian, no matched IVT needed) or Nanocompore
  11. For RNA004 first-pass screening, run Dorado native modification calling alongside m6Anet
  12. Cross-validate top sites against published GLORI / m6A-Atlas / MeRIP peaks
  13. Report per-site probability, per-read modification rate, coverage, and orthogonal validation status

Tips