SUPPA is a command-line tool for studying alternative splicing from transcript quantification data. It can generate local alternative-splicing events from a GTF annotation, calculate transcript or event inclusion levels (PSI), test for differential splicing across conditions, and cluster events by their PSI profiles.
suppa (see the modules page for more information).generateEvents, psiPerEvent, psiPerIsoform, diffSplice, clusterEvents, and joinFiles.generateEvents requires a GTF annotation containing exon records with gene_id and transcript_id attributes..ioe or .ioi file.suppa.py subcommand --help to display the options for a subcommand.Allocate an interactive session, load the module, and run SUPPA. This example generates skipped-exon (SE) events with strict boundaries and calculates their PSI values from transcript abundances.
The example uses the following files and output prefixes:
annotation.gtf is an existing GTF annotation file.splicing_events is the chosen generateEvents -o output prefix. SUPPA adds the event code, boundary label, and extension. For SE events with strict boundaries, it creates splicing_events_SE_strict.ioe and a corresponding .gtf file.transcript_tpm.tsv is an existing tab-separated expression matrix. Each data row begins with a transcript ID followed by TPM values for one or more samples. The header contains the sample names and therefore has one fewer field than the data rows.event_psi is the chosen psiPerEvent -o output prefix. The command writes PSI values to event_psi.psi.Note that -e has a different meaning in the two commands: it selects event types for generateEvents, but specifies the expression file for psiPerEvent.
[user@biowulf]$ sinteractive --mem=4g salloc.exe: Pending job allocation 46116226 salloc.exe: job 46116226 queued and waiting for resources salloc.exe: job 46116226 has been allocated resources salloc.exe: Granted job allocation 46116226 salloc.exe: Waiting for resource configuration salloc.exe: Nodes cn3144 are ready for job [user@cn3144 ~]$ module load suppa [user@cn3144 ~]$ suppa.py generateEvents -i annotation.gtf -o splicing_events -f ioe -e SE -b S [user@cn3144 ~]$ suppa.py psiPerEvent -i splicing_events_SE_strict.ioe -e transcript_tpm.tsv -o event_psi [user@cn3144 ~]$ exit salloc.exe: Relinquishing job allocation 46116226 [user@biowulf ~]$
Other event-type choices are alternative 5' and 3' splice sites (SS), mutually exclusive exons (MX), retained introns (RI), and alternative first and last exons (FL). The SS choice generates separate A5 and A3 files, while FL generates separate AF and AL files. Adjust memory according to the size of the annotation and expression matrices.
Create a batch input file called suppa.sh:
#!/bin/bash
set -e
module load suppa
suppa.py generateEvents \
-i annotation.gtf \
-o splicing_events \
-f ioe \
-e SE \
-b S
suppa.py psiPerEvent \
-i splicing_events_SE_strict.ioe \
-e transcript_tpm.tsv \
-o event_psi
Submit the job using the Slurm sbatch command:
[user@biowulf]$ sbatch --cpus-per-task=1 --mem=4g suppa.shwhere
--cpus-per-task=1 | allocates one CPU because SUPPA is single-threaded. |
--mem=4g | allocates 4 GB of memory; adjust this for the size of the input data. |