star-avx
Quick Start
- Command:
STAR-avx [options] --genomeDir /path/to/genome/index/ --readFilesIn R1.fq R2.fq - Local executable:
/home/vimalinx/miniforge3/envs/bio/bin/STAR-avx - Full reference:
references/help.md
When To Use This Tool
- Build STAR genome indices for RNA-seq alignment.
- Perform splice-aware alignment of short RNA-seq reads against a genome.
- Run STARsolo, BAM-input, or lift-over modes with the AVX-optimized STAR binary.
- Generate splice-junction-aware mappings for downstream counting, transcript assembly, or QC.
Common Patterns
# 1) Build a STAR genome index
STAR-avx \
--runMode genomeGenerate \
--genomeDir star_index \
--genomeFastaFiles genome.fa \
--sjdbGTFfile genes.gtf \
--runThreadN 16
# 2) Align paired-end gzipped RNA-seq reads
STAR-avx \
--genomeDir star_index \
--readFilesIn sample_R1.fastq.gz sample_R2.fastq.gz \
--readFilesCommand zcat \
--runThreadN 16
# 3) Align and emit coordinate-sorted BAM
STAR-avx \
--genomeDir star_index \
--readFilesIn sample_R1.fastq.gz sample_R2.fastq.gz \
--readFilesCommand zcat \
--outSAMtype BAM SortedByCoordinate \
--runThreadN 16
Recommended Workflow
- Generate a genome index using
--runMode genomeGeneratewith--genomeFastaFilesand--sjdbGTFfile - Align reads with
--runMode alignReadsspecifying--genomeDirand--readFilesIn - Set appropriate thread count with
--runThreadNbased on available cores - Review output alignments (SAM/BAM) and splice junction files (
SJ.out.tab)
Guardrails
- Genome index must be compatible with STAR version 2.7.4a or later (
versionGenomeparameter) - Ensure
--genomeSAindexNbasesis scaled appropriately for small genomes:min(14, log2(GenomeLength)/2 - 1) - Use
--readFilesCommand zcatfor compressed.gzinput files; FASTA/FASTQ inputs cannot be zipped directly