TAPIR: Transcript analysis pipelines in R
A field guide to long-read RNA-seq analysis
Welcome
Welcome to TAPIR (Transcript Analysis Pipelines in R), an open-source guide for analyzing long-read RNA sequencing data in R.
While long-read sequencing technologies enable full-length isoform resolution, downstream analysis in R often requires juggling transcript-level count matrices, gene-level aggregations, and exon-level genomic coordinates. Here, we provide modular workflows guiding you from [transcript abundance tables] all the way to [biological interpretation].
Who this book is for
- You’ve analyzed short-read RNA-seq and now have long-read data. Start with the Introduction. (Expand here, describe different usage cases)
- Your sequencing core sent you a GTF and a count table. The section Where TAPIR fits gives an introduction to…; then pick a workflow below.
- You build tools or teach. We design discrete, modular tools that can be used on their own or stacked with other workflows, and we welcome new ones (see Contributing and citing below).
You don’t need prior long-read experience. Some familiarity with R and the tidyverse will help.
How to use this book
- Part I: Foundations introduces the concepts.
- Part II: Workflows are independent, hands-on analyses of real datasets.
Each workflow carries badges so you can tell at a glance whether it suits you:
R Also works with short reads Beginner
Workflows at a glance
| Workflow | The question | Dataset | Key packages |
|---|---|---|---|
| Exploring a long-read transcriptome | What did we detect, and how much of it is novel? | Gandal et al., developing human brain (PacBio Iso-Seq, TALON) | readr, dplyr, plyxp |
| Gene- and transcript-level testing | Which genes change in total, and which change their isoform mix? | Glinos et al., PTBP1 knockdown (ONT, GTEx v9) | tximeta, DESeq2, satuRn, plyxp, Glimma |
| Splicing events, step by step | How do I go from a DTU result to a specific splicing event? | Small simulated dataset | plyxp, splicelogic |
| Splicing events in real data | Which exons does PTBP1 regulate, and what sequence surrounds them? | PTBP1 knockdown | splicelogic, plyranges, Biostrings, SPLain |
| Allele-specific expression (coming soon) | Is one parental copy of a gene expressed more than the other? | TBD | GATK, samtools, … |
Featured tools
plyxp: tidy verbs (mutate(), filter(), group_by(), summarize()) for SummarizedExperiment objects. (Succinct description of the benefit/use case of plyxp) Grouping transcripts by gene to compute isoform proportions becomes a single readable step. Landis & Love (2026), doi:10.64898/2026.05.06.721669
splicelogic: turns any two sets of transcripts into discrete splicing events. It reports skipped and included exons, mutually exclusive exons, retained introns, alternative 5′/3′ splice sites, and alternative transcription start/end sites. The two sets can come from the results of any DTU method or from a simple split such as novel vs. annotated isoforms. Results come back as genomic ranges, ready for plyranges and Biostrings. (Is this a good enough description? Update as needed) Campillo & Love (2026), doi:10.64898/2026.10.30.762958
Getting started
You’ll need R ≥ 4.6 and Bioconductor ≥ 3.23.
if (!requireNamespace("BiocManager", quietly = TRUE))
install.packages("BiocManager")
BiocManager::install(c(
# Containers and tidy grammar
"SummarizedExperiment", "GenomicRanges", "GenomicFeatures",
"plyxp", "plyranges", "dplyr", "tidyr", "readr", "stringr", "tibble", "here",
# Import, annotation and statistics
"tximeta", "DESeq2", "satuRn", "limma", "org.Hs.eg.db", "AnnotationDbi",
# Splicing events, sequences and visualization
"splicelogic", "Biostrings", "BSgenome.Hsapiens.UCSC.hg38",
"Glimma", "htmlwidgets", "shiny"
))Some workflows also use the interactive SPLain app:
git clone https://github.com/beamimc/SPLain.gitContributing and citing
TAPIR is open source at github.com/txomics/tapir. If you have a long-read dataset or workflow you’d like to share, or you spot a problem, please open an issue.
If TAPIR or its featured tools help your work, please cite the papers listed under Featured tools.