STAR建索引terminate called after throwing an instance of 'std::bad_alloc

STAR 創建norway spruce的索引的時候,因爲Genome實在是太大,老是出現terminate called after throwing an instance of 'std::bad_alloc'這樣的錯誤,谷歌一下以後把命令改爲了this

STAR --runMode genomeGenerate --runThreadN 20 --genomeFastaFiles Pabies.fa  --genomeDir STAR_index --limitGenomeGenerateRAM 80000000000(運行內存加到80G) --genomeChrBinNbits 11(If you are using a genome with a large > 5,000 number of references (chrosomes/scaffolds), you may need to reduce the --{genomeChrBinNbits to reduce RAM consumption. The following scaling is recommended: --genomeChrBinNbits} = min(18, log2(GenomeLength/NumberOfReferences)). For example, for 3~gigaBase genome with 100,000 chromosomes/scaffolds, this is equal to 15),因此挪威雲杉12G的基因組須要log2(120,000,000,000/10,253,694)=11spa

相關文章
相關標籤/搜索