bio-epitranscriptomics-m6anet-analysis
m6Anet Analysis
Documentation: https://m6anet.readthedocs.io/
Data Preparation
# Basecall with Guppy (requires FAST5 files)
guppy_basecaller \
-i fast5_dir \
-s basecalled \
--flowcell FLO-MIN106 \
--kit SQK-RNA002
# Align to transcriptome
minimap2 -ax map-ont -uf transcriptome.fa reads.fastq > aligned.sam
Run m6Anet
from m6anet.utils import preprocess
from m6anet import run_inference
# Preprocess: extract features from FAST5
preprocess.run(
fast5_dir='fast5_pass',
out_dir='m6anet_data',
reference='transcriptome.fa',
n_processes=8
)
# Run m6A inference
run_inference.run(
input_dir='m6anet_data',
out_dir='m6anet_results',
n_processes=4
)
CLI Workflow
# Preprocess
m6anet dataprep \
--input_dir fast5_pass \
--output_dir m6anet_data \
--reference transcriptome.fa \
--n_processes 8
# Inference
m6anet inference \
--input_dir m6anet_data \
--output_dir m6anet_results \
--n_processes 4
Interpret Results
import pandas as pd
results = pd.read_csv('m6anet_results/data.site_proba.csv')
# Filter high-confidence m6A sites
# probability > 0.9: High confidence threshold
m6a_sites = results[results['probability_modified'] > 0.9]
Related Skills
- long-read-sequencing - ONT data processing
- m6a-peak-calling - MeRIP-seq alternative
- modification-visualization - Plot m6A sites
More from gptomics/bioskills
bio-single-cell-batch-integration
Integrate multiple scRNA-seq samples/batches using Harmony, scVI, Seurat anchors, and fastMNN. Remove technical variation while preserving biological differences. Use when integrating multiple scRNA-seq batches or datasets.
5bio-epitranscriptomics-merip-preprocessing
Align and QC MeRIP-seq IP and input samples for m6A analysis. Use when preparing MeRIP-seq data for peak calling or differential methylation analysis.
5bio-data-visualization-multipanel-figures
Combine multiple plots into publication-ready multi-panel figures using patchwork, cowplot, or matplotlib GridSpec with shared legends and panel labels. Use when combining multiple plots into publication figures.
5bio-data-visualization-specialized-omics-plots
Reusable plotting functions for common omics visualizations. Custom ggplot2/matplotlib implementations of volcano, MA, PCA, enrichment dotplots, boxplots, and survival curves. Use when creating volcano, MA, or enrichment plots.
5bio-read-qc-fastp-workflow
All-in-one read preprocessing with fastp including adapter trimming, quality filtering, deduplication, base correction, and HTML report generation. Use when preprocessing Illumina data and wanting a single fast tool instead of separate Cutadapt, Trimmomatic, and FastQC steps.
5bio-data-visualization-genome-tracks
Create genome browser-style visualizations showing multiple data tracks (coverage, peaks, genes) using pyGenomeTracks, Gviz, and IGV. Use when visualizing genomic data at specific loci with multiple aligned tracks.
5