Skip to content

STARsolo SmartSeq segfault (2.7.7a) #1107

@vasiliosz

Description

@vasiliosz

Hi Alex,

I've used STAR for SmartSeq2 library alignments (and then separate read counting). Now trying out the STARsolo option. However, I'm getting segfault errors with any cells I try (always paired-end/two files per cell). From the log and output SAM-file I can't see that it even starts mapping, meaning a reference issue?

Same error for 2.7.6a and 2.7.7a -- both installed via bioconda. Trimmed or untrimmed reads doesn't matter. Re-built the genome index a couple of times too.

Any ideas where to start?

$ STAR --version
2.7.7a

$ STAR \
--genomeDir /wrk/resources/genomes/hg38-iGenome-ERCC/hg38-iGenome-ERCC_STAR_FULL_ANNOTATED_v2.7.7 \
--readFilesIn fq1.fastq fq2.fastq \
--soloType SmartSeq \
--soloStrand Unstranded \
--soloFeatures Gene \
--soloUMIdedup Exact \
--outFileNamePrefix out/

Jan 05 17:02:52 ..... started STAR run
Jan 05 17:02:52 ..... loading genome
Jan 05 17:03:02 ..... started mapping
Segmentation fault

Log-file and example cell (fq1 + fq2) attached. Reference is iGenomes hg38 build + ERCC reads with corresponding GTF file. No errors given in index building.

Log-file just ends with:

Finished loading the genome: Tue Jan  5 17:15:35 2021

Processing splice junctions database sjdbN=256213,   pGe.sjdbOverhang=69 
alignIntronMax=alignMatesGapMax=0, the max intron size will be approximately determined by (2^winBinNbits)*winAnchorDistNbins=589824
Loaded transcript database, nTr=87490
Loaded exon database, nEx=962563
Thread #0 end of input stream, nextChar=-1

STARsolo_SS2.zip

Our standard alignment settings for STAR, and the equivalent log section:

STAR \
--genomeDir $refdir \
--readFilesIn fq1.fastq fq2.fastq \
--outFileNamePrefix out-std/ \
--outFilterType BySJout \
--outFilterMultimapNmax 20 \
--alignSJoverhangMin 8 \
--alignSJDBoverhangMin 1 \
--outFilterMismatchNmax 999 \
--outFilterMismatchNoverLmax 0.04 \
--alignIntronMin 20 \
--alignIntronMax 1000000 \
--alignMatesGapMax 1000000 \
--outSAMstrandField intronMotif \
--outSAMtype BAM SortedByCoordinate \
--outSAMattributes NH HI NM MD \
--genomeLoad LoadAndRemove \
--limitBAMsortRAM 12000000000
[...]
Finished loading the genome: Tue Jan  5 17:20:19 2021

Processing splice junctions database sjdbN=256213,   pGe.sjdbOverhang=69 
To accommodate alignIntronMax=1000000 redefined winBinNbits=18
To accommodate alignIntronMax=1000000 and alignMatesGapMax=1000000, redefined winFlankNbins=4 and winAnchorDistNbins=8
Opening the file: out-std/_STARtmp//FilterBySJoutFiles.mate1.thread0 ... ok
Opening the file: out-std/_STARtmp//FilterBySJoutFiles.mate2.thread0 ... ok
Thread #0 end of input stream, nextChar=-1
BAM sorting: 365078 mapped reads
[...]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions