-
Notifications
You must be signed in to change notification settings - Fork 506
FAQ: Run time
Alexander Dobin edited this page Jun 16, 2020
·
2 revisions
STAR major memory requirements are:
- Genome + Suffix Array: *~(1+8/genomeSAsparseD)**GenomeLength bytes.
- SAindex: ~6*4^(genomeSAindexNbases) bytes. By default
--genomeSAindexNbases 14
and it takes 1.5GB of RAM. If you reduce--genomeSAindexNbases to 12
you can make it <100MB. - limitIObufferSize*NumberOfThreads for I/O buffers. By default, it's 150MB per thread, but you can probably go as low as 50MB per thread.
At the moment, the only safe option for large file and low RAM is to output unsorted BAM with --outSAMtype BAM Unsorted
and then sort it with samtools sort -@... -m... Aligned.out bam Aligned.sorted
specifying number of threads and max memory per thread.