Hi,
I'm using STAR to align human PE RNAseq (101x2 bp) reads on a fasta file made up by 185,825 sequences (total length 305,601,694 nt).
I'm building the index using the following command:
STAR --runThreadN 20 --runMode genomeGenerate --genomeDir $wd --genomeFastaFiles $fasta --genomeSAindexNbases 13 --genomeChrBinNbits 10
Then I'm mapping the reads using:
STAR --outSAMunmapped None --outSAMprimaryFlag AllBestScore --outFilterScoreMin 196 --outMultimapperOrder Random --outStd SAM --runThreadN 20 --genomeDir $wd --readFilesIn $reads1 $reads2 > Aligned.sam
If I create the index and then analyze just one sample all it's working fine.
The error comes when I try to analyze at the same time different RNAseq samples on different computing nodes of the cluster using the same index file.
I have 16 samples, if I run 16 different jobs on 16 different nodes and try to map on the same index I obtain a segmentation fault error. ("Segmentation fault (core dumped)")
In my opinion each node should load to its own memory a copy of the index and then start to perform the mapping analysis. I think this is confirmed by the Log files. In each of the 16 log files there is the sentence "Finished loading the genome". Are my assumptions wrong?
What's happening? Could you please help me?
Thanks,
Federico