-
Notifications
You must be signed in to change notification settings - Fork 22
Description
Hello ShapeMapper Team,
I'm encountering a consistent Segmentation fault when trying to use the --star-aligner option on WSL2 (Ubuntu 22.04.4 LTS on Windows 11).
The analysis runs perfectly fine with the default Bowtie2 aligner on the exact same dataset, which suggests the issue is specific to the STAR integration or its interaction with the WSL2 environment.
Environment Details:
OS: Windows 11
WSL Version: WSL2
Linux Distribution: Ubuntu 22.04.4 LTS
ShapeMapper Version: v2.3.0
Command Used:
./shapemapper \
--name Ecoli_TPP_analysis_STAR \
--target ~/Ecoli/data/TPP_ref.fa \
--out ~/Ecoli/results_star \
--modified --R1 ~/Ecoli/data/N_R1.fastq.gz --R2 ~/Ecoli/data/N_R2.fastq.gz \
--untreated --R1 ~/Ecoli/data/D_R1.fastq.gz --R2 ~/Ecoli/data/D_R2.fastq.gz \
--star-aligner \
--nproc 14 \
--overwrite
Log Output and Error:
The pipeline fails very quickly during the STAR index building step. Here is the complete log output:
Started ShapeMapper v2.3.0 at 2025-08-28 15:29:56
Output will be logged to Ecoli_TPP_analysis_STAR_shapemapper_log.txt
Running from directory: /home/adm_wh/shapemapper2-2.3
args: --name Ecoli_TPP_analysis_STAR --target /home/adm_wh/Ecoli/data/TPP_ref.fa --out /home/adm_wh/Ecoli/results_star --modified --R1 /home/adm_wh/Ecoli/data/N_R1.fastq.gz --R2 /home/adm_wh/Ecoli/data/N_R2.fastq.gz --untreated --R1 /home/adm_wh/Ecoli/data/D_R1.fastq.gz --R2 /home/adm_wh/Ecoli/data/D_R2.fastq.gz --star-aligner --nproc 14 --overwrite
Serial mode currently required for STAR aligner. Switching.
Created pipeline at 2025-08-28 15:29:56
Running FastaFormatChecker at 2025-08-28 15:29:56 . . .
. . . done at 2025-08-28 15:29:56
Running StarIndexBuilder at 2025-08-28 15:29:56 . . .
ERROR: Component "StarIndexBuilder" failed, giving the following error message:=======================
Segmentation fault
=======================================================================================================
ShapeMapper run failed at 2025--08-28 15:29:58.
I have tried using both the system-installed STAR (apt-get install rna-star) and the official pre-compiled STAR binary (v2.7.11a), but the result is identical in both cases. The Bowtie2 pipeline continues to work flawlessly.
Please let me know if you need any more information or if there are other tests I can run to help diagnose this.
Thank you for your time and for developing this great tool!