deepSRAMP

A sequence-based m6A site predictor by a combined deep learning framework

Introduction of deepSRAMP

SRAMP is a popular mammalian m6A site predictor we previously developed (Nucleic Acids Res 2016). SRAMP has been totally cited by more than 570 papers (Google Scholar, 4-16, 2024) and represents the mostly used algorithm in this field. A large number of m6A sites were identified by the helps of SRAMP.

After ~8 years after its development, Now we released deepSRAMP (www.cuilab.cn/deepsramp) , which is designed based on a combined framework of transformer neural network and recurrent neural network by fusing the sequence and genomic position features. The results showed that SRAMP2 greatly outperforms its predecessor SRAMP with 15.0% increase of AUROC and 30.9% increase of AUPRC, and greatly outperforms other state-of-the-art m6A predictors (WHISTLE and DeepPromise) with average 16.1% and 18.3% increase of AUC and 43.9% and 46.4% increase of AUPRC, respectively.

GitHub

zhfanrui/deepSRAMP

Update History

  • November, 2026, deepSRAMP was updated to version 0.2: the neighbour-m6A features no longer include the queried site itself, isoform positions are computed correctly, the Full transcript mode works again, and BLAST + MUSCLE were replaced by minimap2 + edlib (faster); all six models were retrained;
  • September, 2024, deepSRAMP was updated to new model; Adding local version software;
  • April, 2024, deepSRAMP was released;

Previous Version

SRAMP can be accessed here.

Contact us

Qinghua Cui, PhD
cuiqinghua@bjmu.edu.cn

School of Sports Medicine, Wuhan Institute of Physical Education, No.461 Luoyu Rd. Wuchang District, WuHan 430079, Hubei Province, China
Department of Biomedical Informatics, State Key Laboratory of Vascular Homeostasis and Remodeling, School of Basic Medical Sciences, Peking University, 38 Xueyuan Rd, Beijing 100191, China

Calculating...

Download


The source code of deepSRAMP can be downloaded from zhfanrui/deepSRAMP from Github.

And the trained models (version 0.2; .safetensors = weights, .json = settings) can also be downloaded from Github or as below.

model data features weights settings
deepSRAMP (mature) mature transcripts sequence + genome safetensors json
deepSRAMP (full) full transcripts sequence + genome safetensors json
Sequence only (mature) mature transcripts sequence safetensors json
Sequence only (full) full transcripts sequence safetensors json
Genome only (mature) mature transcripts genome safetensors json
Genome only (full) full transcripts genome safetensors json

Requirements

  • torch
  • numpy
  • pandas
  • scikit-learn
  • tqdm
  • safetensors
  • pyfaidx
  • mappy (minimap2)
  • edlib

Installation

  1. Create a Python environment (e.g. with conda).

    conda create -y -n deepsramp python=3.12 && conda activate deepsramp

  2. Clone this repo.

    git clone https://github.com/zhfanrui/deepSRAMP.git

  3. Install this package and dependencies.

    cd deepSRAMP && pip install .

Usage

Inference

  1. Download the transcript databases (db/hg38_mature, db/mm39_mature; the minimap2 index is built on first use).

    sh setup_inference.sh

  2. Prepare your query fasta and run

    deepsramp predict \ --fasta /path/to/fasta.fa \ --db db/hg38_mature \ --model model/deepsramp_mature \ --out ./result.csv

    Add --nonbr to ignore the known m6A sites of the database. The output lists every DRACH site of the query: the matched reference transcript, the 0-based position in the query, the motif, whether the site is a known m6A site in the database, and the predicted probability.