-
Notifications
You must be signed in to change notification settings - Fork 0
non_reference_genomes
Use SQANTI-browser with non-model organisms using .2bit genome files.
A .2bit file is a compact binary format that stores complete genome sequences. It allows UCSC Genome Browser to display reference DNA when zooming to the base level.
When you need it: Working with species not in UCSC (plants, non-model animals, de novo assemblies)
python -m sqanti_browser \
--gtf corrected.gtf \
--classification classification.txt \
--output my_hub \
--genome my_species_v1 \
--twobit genome.2bitThat's it! No need for --chrom-sizes - chromosome info is auto-extracted.
When you provide --twobit, SQANTI-browser:
- Extracts chromosome sizes from the .2bit file (no separate chrom.sizes needed)
-
Copies .2bit into hub (
output/genome/genome.2bit) for portability -
Configures genomes.txt with:
-
twoBitPathpointing to bundled file -
organism,description,scientificNameset to "user-defined" -
defaultPosshowing first 5kb of largest chromosome -
htmlPathlinking to description page
-
- Creates description page listing all chromosomes and lengths
Result: Fully self-contained, portable track hub!
If you have a FASTA file, convert it to .2bit:
# Install tool (included in install_ucsc_tools.sh)
faToTwoBit genome.fasta genome.2bitFrom conda:
conda install -c bioconda ucsc-fatotwobit# 1. Convert FASTA to .2bit
faToTwoBit my_genome.fasta my_genome.2bit
# 2. Run SQANTI-browser
python -m sqanti_browser \
--gtf corrected.gtf \
--classification classification.txt \
--output my_hub \
--genome my_species_v1 \
--twobit my_genome.2bit \
--tables
# 3. Upload to web server (see Hosting Guide)
# 4. Load in UCSCThe twoBitInfo tool must be installed:
# Automatic (recommended)
bash install_ucsc_tools.sh
# Or via conda
conda install -c bioconda ucsc-twobitinfo| Problem | Solution |
|---|---|
| twoBitInfo not found | Run bash install_ucsc_tools.sh
|
| Invalid .2bit file | Recreate from FASTA with faToTwoBit
|
| Hub shows wrong genome | Check --genome matches your .2bit filename convention |
- Quick Reference - Example commands
- Usage Examples - More use cases
- Installation - Install twoBitInfo and faToTwoBit
- Hosting - Upload your hub
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