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

Small RNA-seq Pipeline - Usage Guide

Overview

Complete workflow from small RNA-seq FASTQ to differential miRNA expression and target prediction, with the small-RNA-specific decisions surfaced at each step. The pipeline trims kit-specific adapters, quantifies known miRNAs and isomiRs (miRge3) or discovers novel miRNAs (miRDeep2), runs compositionally-aware differential expression (DESeq2 on raw counts), and predicts targets filtered by expression evidence. When abundant non-miRNA classes appear, it branches to tRF/piRNA profiling.

Prerequisites

conda install -c bioconda cutadapt mirdeep2 bowtie viennarna miranda
pip install mirge3 umi_tools
# BiocManager::install(c('DESeq2', 'apeglm'))

Quick Start

Example Prompts

Full Pipeline

"Run the complete small RNA-seq pipeline from trimming to target prediction"

"Find DE miRNAs between my conditions and predict their targets"

Specific Steps

"Just quantify known miRNAs and isomiRs with miRge3"

"Predict targets for my DE miRNAs and intersect with my mRNA-seq"

"Profile the tRFs and piRNAs instead of miRNAs"

Pipeline-level decisions

"Which normalization should I use - my library is dominated by a few miRNAs?"

"My samples are plasma/serum - how do I normalize when there's no stable endogenous miRNA?"

"Should I quantify known miRNAs (miRge3) or discover novel ones (miRDeep2)?"

"My size factors look skewed and lots of miRNAs are 'down' - is that real?"

What the Agent Will Do

  1. Trim the kit adapter (discarding untrimmed reads) and handle any 4N spacer or UMI
  2. Quantify known miRNAs/isomiRs with miRge3, or discover novel miRNAs with miRDeep2 when needed
  3. Check the RNA-class composition and branch to tRF/piRNA profiling if non-miRNA classes dominate
  4. Run DESeq2 on raw counts, inspecting size factors for compositional distortion
  5. Predict targets and filter them by anti-correlated mRNA DE and validated databases

Tips