This is a test version of Biostars. For the public version, visit https://www.biostars.org.
STAR aligner - Segmentation fault (core dumped) multiple fastq paired-end samples

Hi, I am using STAR-2.5.2b on virtualbox with 65 gb of RAM assigned and 28 CPUs/threads. When I ran STAR with single paired-end sample, it worked like a charm, very quick compared to TopHat but when I am trying to run STAR with multiple samples, I got the core dumped error.

1) d9@d9-VirtualBox:/media/sf_John/star/CR004/test_together_,$ '/media/sf_John/star/STAR-2.5.2b/bin/Linux_x86_64/STAR' --runThreadN 28 --sjdbOverhang 99 --genomeDir '/media/sf_John/star/genome_build' --readFilesIn '/media/sf_John/star/CR004/samples/CR004_S24_L005_R1_001.fastq', '/media/sf_John/star/CR004/samples/CR004_S24_L005_R2_001.fastq' '/media/sf_John/star/CR004/samples/CR004_S24_L006_R1_001.fastq', '/media/sf_John/star/CR004/samples/CR004_S24_L006_R2_001.fastq' --outFileNamePrefix SampleA --chimSegmentMin 20

Segmentation fault (core dumped)

also tried

2) d9@d9-VirtualBox:/media/sf_John/star/CR004/test_together_,$ '/media/sf_John/star/STAR-2.5.2b/bin/Linux_x86_64/STAR' --sjdbOverhang 99 --genomeDir '/media/sf_John/star/genome_build' --readFilesIn /media/sf_John/star/CR004/samples/*.fastq --outFileNamePrefix SampleA --chimSegmentMin 20

Segmentation fault (core dumped)

same error. I know this has to do something with memory but don't know how to resolve it.

Please guide. Thanks D

rna-seq multiple fastq star segmentation fault

I don't think STAR can take multiple paired-end samples as a single command. Try STAR ... --readFilesIn read1.fq read2.fq, then repeat and rinse for other samples you may have.

So you meant, I have to run each sample individually ?

Yes indeed. Why would you want to run samples together?

I wanted to run samples in a batch instead of together in a same code.

You can run them sequential using a bash loop or using gnu parallel.

Sorry, I did not know I can post it in only one forum. I will delete Seqanswers one

There is no rule that mandates posting to just one site but many people who answer questions participate on both sites and as such posting on just one site prevents duplication of effort for people who are helping others.

0 answers

No answers yet.

Log in to answer this question.