SUPPA on Biowulf

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.

References:

Documentation
Important Notes
Interactive job
Interactive jobs should be used for testing commands and preparing a workflow.

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:

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.

Batch job
Most jobs should be run as batch jobs.

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.sh
where
--cpus-per-task=1allocates one CPU because SUPPA is single-threaded.
--mem=4gallocates 4 GB of memory; adjust this for the size of the input data.