SKILL.md
Version Compatibility
Reference examples tested with: kallisto 0.50+, pandas 2.2+
Before using code patterns, verify installed versions match. If versions differ:
- Python:
pip show <package>thenhelp(module.function)to check signatures - CLI:
<tool> --versionthen<tool> --helpto confirm flags
If code throws ImportError, AttributeError, or TypeError, introspect the installed package and adapt the example to match the actual API rather than retrying.
Splicing Quantification
Quantify alternative splicing events as PSI (percent spliced in) values from RNA-seq data.
Event Types
| Type | Code | Description |
|---|---|---|
| Skipped exon | SE | Exon inclusion/exclusion |
| Alternative 5' splice site | A5SS | Alternative donor site |
| Alternative 3' splice site | A3SS | Alternative acceptor site |
| Mutually exclusive exons | MXE | One of two exons included |
| Retained intron | RI | Intron retention |
Tool Selection
SUPPA2 (transcript TPM-based)
- Input: Transcript TPM from Salmon/kallisto
- Faster, requires transcript quantification
- Better for isoform-level analysis
rMATS-turbo (BAM-based)
- Input: Aligned BAM files
- Junction read counting
- Better for novel junction discovery
SUPPA2 Workflow
Goal: Calculate PSI values for all splicing event types from transcript-level quantification.
Approach: Generate event definitions from GTF annotation, then compute per-event PSI from transcript TPM using SUPPA2.
