Hi,
I keep running into this error message no matter how I set the --runThreadN (I tried 8,6,4). I also tried different combination with --limitBAMsortRAM (0,30000000000,40000000000).
I was using SGE system submitting jobs -pe shared N (N is always kept same as --runThreadN).
Could you provide some suggestions on what parameters I should use? Thanks!!!
And here are my commands:
STAR --genomeDir $GenomeDir --readFilesIn $readsFiles_split --runThreadN 8 --outFilterMultimapScoreRange 1 --outFilterMultimapNmax 20 --outFilterMismatchNmax 10 --alignIntronMax 500000 --alignMatesGapMax 1000000 --sjdbScore 2 --alignSJDBoverhangMin 1 --genomeLoad NoSharedMemory --outFilterMatchNminOverLread 0.33 --outFilterScoreMinOverLread 0.33 --sjdbOverhang 99 --outSAMstrandField intronMotif --outSAMtype None --outSAMmode None --readFilesCommand zcat --outFileNamePrefix ${OutDir}/
STAR --runMode genomeGenerate --genomeDir "$OutDir".genome --genomeFastaFiles $GenomeFasta --sjdbOverhang 99 --runThreadN 8 --sjdbFileChrStartEnd ${OutDir}/SJ.out.tab
STAR --genomeDir "$OutDir".genome --readFilesIn $readsFiles_split --runThreadN 8 --outFilterMultimapScoreRange 1 --outFilterMultimapNmax 20 --outFilterMismatchNmax 10 --alignIntronMax 500000 --alignMatesGapMax 1000000 --sjdbScore 2 --alignSJDBoverhangMin 1 --genomeLoad NoSharedMemory --limitBAMsortRAM 0 --readFilesCommand zcat --outFilterMatchNminOverLread 0.33 --outFilterScoreMinOverLread 0.33 --sjdbOverhang 99 --outSAMstrandField intronMotif --outSAMattributes NH HI NM MD AS XS --outSAMunmapped Within --outSAMtype BAM SortedByCoordinate --outSAMheaderHD @HD VN:1.4 --outFileNamePrefix ${OutDir}/
Error message:
EXITING because of FATAL ERROR: number of bytes expected from the BAM bin does not agree with the actual size on disk: 61183420 19194135 8