-
Notifications
You must be signed in to change notification settings - Fork 0
quick_reference
Carolina MonzΓ³ edited this page Apr 29, 2026
·
12 revisions
One-page cheat sheet for common SQANTI-browser tasks.
-
python -m sqanti_browserβ Recommended. Uses your active Python (e.g. conda). -
sqanti_browserβ Afterpip install -e .with the correct Python. -
python sqanti_browser.pyβ From project root; setPYTHONPATH=.if needed.
Conda (Easy)
wget https://github.com/ConesaLab/SQANTI-browser/releases/download/v1.1.1/sqanti_browser-1.1.1.tar.gz
tar -xzvf sqanti_browser-1.1.1.tar.gz
cd sqanti_browser-1.1.1
conda env create -f environment.yml
conda activate sqanti-browser
pip install -e .# Basic conversion
python -m sqanti_browser \
--gtf corrected.gtf \
--classification classification.txt \
--output my_hub \
--genome hg38
# With all validation tracks
python -m sqanti_browser \
--gtf corrected.gtf \
--classification classification.txt \
--output my_hub \
--genome hg38 \
--star-sj SJ.out.tab \
--CAGE-peak CAGE_peaks.bed \
--polyA-peak polyA_peaks.bed \
--refGTF reference.gtf \
--tables
# Custom genome (.2bit)
python -m sqanti_browser \
--gtf corrected.gtf \
--classification classification.txt \
--output my_hub \
--genome my_species_v1 \
--twobit genome.2bit# In your output directory
git init
git add .
git commit -m "Add SQANTI track hub"
git remote add origin https://github.com/username/repo.git
git push -u origin mainhttps://raw.githubusercontent.com/username/repo/main/hub.txt
- Go to genome.ucsc.edu
- My Data β Track Hubs β My Hubs
- Paste your raw URL
- Click Add Hub
| Flag | What it does | When to use |
|---|---|---|
--tables |
Generate HTML reports | Always recommended |
--sort-by |
Sort isoforms |
basic (default), none (GTF order), or metric (FL, iso_exp, etc.) |
--no-category-tracks |
Skip category tracks | Faster, simpler hub |
--category-tracks FSM,ISM,NIC |
Only these categories | Custom subset of tracks |
--hub-name NAME |
Prefix for hub and track labels | Compare multiple hubs (e.g. SQANTI-reads samples) |
--no-highlight |
Disable highlighted isoforms | Uniform category colors |
--star-sj FILE |
Add junction track | You have STAR output |
--CAGE-peak FILE |
Validate TSS | Assess 5' accuracy |
--polyA-peak FILE |
Validate TTS | Assess 3' accuracy |
--refGTF FILE |
Show reference | Compare with annotation |
--twobit FILE |
Custom genome | Non-model organism |
--trix |
True | Explicitly enable Trix index generation (default behavior; requires ixIxx in PATH) |
--no-trix |
False | Disable Trix index generation (skip creating trix.ix/trix.ixx) |
| Problem | Quick Fix |
|---|---|
| Tools not found | bash install_ucsc_tools.sh |
| Hub not loading | Use raw GitHub URL (raw.githubusercontent.com) |
| Tracks not updating | Add udcTimeout=5 to URL after hgTracks?
|
| Filters not working | Right-click track β Configure |
| Search returns nothing | Use prefixed terms: structural_category_novel_in_catalog
|
| Dataset Size | Processing Time | Memory Needed |
|---|---|---|
| ~1,000 transcripts | 1-2 minutes | 500MB |
| ~10,000 transcripts | 5-10 minutes | 1GB |
| ~100,000 transcripts | 30-60 minutes | 4GB |
# Find specific gene
BRCA1
# Find FSM isoforms
structural_category_full-splice_match
# Find coding NIC on plus strand
structural_category_novel_in_catalog strand_plus coding_coding
# Find validated novel isoforms
structural_category_novel_in_catalog within_CAGE_peak_True
# Find potential NMD targets
predicted_NMD_True
# Test your setup
python tests/test_sqanti_browser.py
# Validate inputs only
python -m sqanti_browser ... --validate-only
# Validate hub structure (run from output directory)
hubCheck hub.txt
# Dry run (test without creating hub)
python -m sqanti_browser ... --dry-run
# Run example workflow
python example/example_usage.pymy_hub/
βββ hub.txt β Main entry point
βββ genomes.txt
βββ hg38/
βββ hg38_sqanti3.bb β Main track (all transcripts)
βββ hg38_sqanti3_*.bb β Category tracks
βββ trackDb.txt
βββ trix.ix/ixx β Search indexes (big file)
-
Always use
--tablesfor interactive HTML reports -
Add
--refGTFto compare with reference annotation -
Use
hubCheckbefore uploading to catch errors early -
Sort by
FLto see highest expressed isoforms first -
Keep your hub small - use
--no-category-tracksif you have >50K transcripts
- Installation: Installation Guide
- All options: Command Line Reference
- Filtering: Filtering in UCSC
- Problems: Troubleshooting
- Multi-sample: SQANTI-reads Integration
Wiki index
Home
Quick Reference
FAQ
Glossary
Installation Guide
Usage Examples
Hosting Guide
Command Line Reference
Output Files
Interactive HTML Tables
Filtering in UCSC
Trix Search Syntax
Isoform Ordering
Custom Coloring
Working with non-reference genomes
Sharing sessions
Creating subset sessions
SQANTI-reads Integration
Troubleshooting