8 SUPPA & alternative splicing
8.1 Overview
IOBRpy uses SUPPA to analyze human alternative splicing from Salmon quantification results.
- Input: a Salmon directory containing
<sample>/quant.sffiles. - Output: event PSI for all samples; isoform PSI is also generated when a specific GTF file is provided.
8.2 Download GTF
BASE=/path/to/reference
mkdir -p "$BASE"
cd "$BASE"
wget -c https://ftp.ebi.ac.uk/pub/databases/gencode/Gencode_human/release_44/gencode.v44.annotation.gtf.gz
gunzip -f gencode.v44.annotation.gtf.gz8.3 Run SUPPA
iobrpy suppa \
-i /data/salmon \
-o /data/suppa \
--gtf "$BASE/gencode.v44.annotation.gtf"-i,--input: Salmon result directory containing<sample>/quant.sffiles.-o,--output: directory for output matrices and logs.--gtf: matching human GTF file (.gtfor.gtf.gz); optional, enables isoform PSI.
8.4 Output example
suppa/
|-- transcript_tpm.tsv # Transcript TPM matrix
|-- summary.json # Run summary
|-- psiPerEvent/
| |-- events.psi # Event PSI matrix
| |-- events.tpm # Total transcript TPM per event
| `-- psiPerEvent.log
`-- psiPerIsoform/ # Only when --gtf is provided
|-- isoforms.psi # Isoform PSI matrix
`-- psiPerIsoform.log
Both PSI matrices contain all input samples as columns, with events or isoforms as rows.