starlong
Shell wrapper around multiple STARlong-* binaries. It chooses the best SIMD build available for the current CPU (avx2, avx, sse4.1, ssse3, sse3, sse2, sse) and otherwise falls back to STARlong-plain, while exposing the normal STARlong command-line interface.
Quick Start
- Command:
STARlong --genomeDir /path/to/index --readFilesIn reads.fastq - Local executable:
/home/vimalinx/miniforge3/envs/bio/bin/STARlong - Observed version:
2.7.11b
When To Use This Tool
- Aligning PacBio or Nanopore-style long RNA-seq reads with STARlong
- Using the wrapper that auto-selects a CPU-specific STARlong binary on this machine
- Building or reusing STAR-compatible genome indices for long-read splice-aware alignment
- Producing standard STAR outputs such as SAM/BAM,
SJ.out.tab, and log files
Common Patterns
# Build a genome index
STARlong \
--runMode genomeGenerate \
--genomeDir starlong_index \
--genomeFastaFiles genome.fa \
--sjdbGTFfile genes.gtf \
--runThreadN 16
# Align long reads
STARlong \
--genomeDir starlong_index \
--readFilesIn longreads.fastq \
--runThreadN 16
# Align gzipped reads and emit coordinate-sorted BAM
STARlong \
--genomeDir starlong_index \
--readFilesIn longreads.fastq.gz \
--readFilesCommand zcat \
--outSAMtype BAM SortedByCoordinate \
--runThreadN 16
Recommended Workflow
- Generate a compatible STAR genome index, optionally with
--sjdbGTFfilefor splice annotations. - Run the
STARlongwrapper rather than hard-coding one SIMD binary unless you specifically need a fixed backend. - Add
--readFilesCommand zcator a similar decompressor for compressed inputs. - Review the standard STAR outputs along with long-read-specific alignment quality and splice-junction summaries.
Guardrails
STARlongis a wrapper script, not the aligner binary itself.bash -x STARlong --versionon this host showed it selectingSTARlong-avx2.--helpshows the generic STAR usage banner (Usage: STAR ...) because the wrapper forwards directly to the selected backend.--versionworks and returned2.7.11blocally.- Help text declares
versionGenome 2.7.4aas the earliest compatible genome index version for this release. - Genome FASTA files for
--runMode genomeGeneratemust be plain text and cannot be zipped. - Default output is SAM (
outSAMtype SAM), so request BAM explicitly when needed. - Help text exposes STARlong-specific window coverage controls such as
winReadCoverageRelativeMinandwinReadCoverageBasesMin; adjust them only if you intentionally tune long-read sensitivity.