Annoying STAR aligner problem
0
0
Entering edit mode
8.3 years ago
Biogeek ▴ 470

Can anyone help?

My commands for star alignment:

./STAR --genomeDir genomedir --readFilesIn all_left_fwd_reads.fastq all_right_rev_reads.fastq --alignIntronMax 25000 --outSAMtype BAM SortedByCoordinate --runThreadN 60 --outBAMsortingThreadN 6 --outFileNamePrefix ALIGNEDREADS_

I keep getting a FATAL ERROR. I am running 250GB with 60 threads. 6 threads for BAM sorting, as i read sorting doesn't work above 6 threads.

Max memory needed for sorting = 9781928623 EXITING because of fatal ERROR: not enough memory for BAM sorting: \ SOLUTION: re-run STAR with at least --limitBAMsortRAM 10781928623 Aug 14 23:18:21 ...... FATAL ERROR, exiting

I've been through this process a few times now. Can anyone provide me with settings that won't make the program crash consistently or point to what's going wrong? My concatenated forward and reverse reads are pretty large files, but it only seems to be when I ask for a bam COORDINATED SORTED FILE.

Any help appreciated.

STAR aligner • 6.1k views
ADD COMMENT
0
Entering edit mode

I'm now proceeding with unsorted BAM output, then using SAM tools. Probably quicker anyway?

ADD REPLY
3
Entering edit mode

I'm guessing that STAR holds everything in memory, as opposed to samtools, which writes temp files. STAR will be faster, but man would it blow up memory requirements.

ADD REPLY
0
Entering edit mode

Thanks for the insight! Seems to be running sweet now.

ADD REPLY

Login before adding your answer.

Traffic: 2027 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6