subjunc
Quick Start
- Command:
subjunc -i <index> -r <reads> -o <output.bam> - Local executable:
/home/vimalinx/miniforge3/envs/bio/bin/subjunc - Version: 2.1.1
- Full options: See references/help.md for complete argument reference
When To Use This Tool
- Align RNA-seq reads when exon-exon junction detection matters.
- Prefer
subjuncoversubread-alignfor splice-aware RNA workflows. - Detect canonical and non-canonical junctions, and optionally broader junction/fusion events.
- Produce BAM output that can go straight into
featureCountsor visual inspection.
Common Patterns
# 1) Standard paired-end RNA-seq alignment
subjunc \
-i ref_index \
-r sample_R1.fastq.gz \
-R sample_R2.fastq.gz \
-o sample.bam \
-T 8
# 2) Coordinate-sorted BAM for downstream browsing/counting
subjunc \
-i ref_index \
-r sample_R1.fastq.gz \
-R sample_R2.fastq.gz \
-o sample.bam \
-T 8 \
--sortReadsByCoordinates
# 3) Broader junction discovery, including non-canonical events
subjunc \
-i ref_index \
-r sample_R1.fastq.gz \
-R sample_R2.fastq.gz \
-o sample.bam \
-T 8 \
--allJunctions
Recommended Workflow
- Build a Subread index once and reuse it across the cohort.
- Run
subjuncon RNA-seq FASTQ with paired-end information if available. - Sort output if downstream tools or browsers expect coordinate order.
- Count with
featureCountsand inspect suspicious junction-rich loci separately.
Guardrails
-iexpects the pre-built index basename, not the original FASTA file.subjuncis RNA-oriented; usesubread-align -t 1for ordinary genomic DNA alignment.- The default
-m 1is permissive; tighten thresholds if false junctions become a problem. - The default maximum indel length is 5 bp; raise
-Iwhen longer indels are biologically expected. --allJunctionsexpands reporting scope and can increase noisy findings, so use it deliberately.