STAR --runThreadN 8 \
--genomeDir star_GRCh37.75_Xonly \
--twopassMode None \
--outFilterMultimapNmax 20 \
--outFilterMismatchNoverLmax 0.05 \
--outSAMtype BAM Unsorted \
--outReadsUnmapped Fastx \
--alignIntronMin 21 \
--alignIntronMax 0 \
--alignEndsType EndToEnd \
--outFileNamePrefix Remap. \
--readFilesIn read1.fq read2.fq
It turned out:
Sep 22 11:51:05 ..... Started STAR run
Sep 22 11:51:06 ..... Loading genome
Sep 22 11:51:11 ..... Started mapping
Segmentation fault
I also tried to use different genomeSAindexNbases values, from 2 to 14, to rebuild the genome index, but all failed at the mapping stage with segmentation fault.
I attached my Log.out file here. I found a lot of warnings like "not enough space allocated for transcript. Did not process all windows for read...". This never occurred when I mapped the same reads files to the whole human genome reference. (BTW, the reads are 150bp paired-end before adapter trimming)
Any help or suggestion is really appreciated.
UPDATE: I complied a newer version 2.5.2a and re-run the alignment against the X chromosome index built under 2.4.2a. It finished without any error. It turns out that the seg-fault was due to the aligner itself instead of index. I'm wondering what has been changed between the two versions? Do I need to re-do the first round of mapping, which is to map all the original fastq files (from 200 samples) against the whole human genome, using 2.5.2a?
Best,
Dadi