alexdobin / STAR

RNA-seq aligner

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

STAR2.7.11b indexing BUG: next index is smaller than previous, EXITING

hansong798 opened this issue · comments

Hello, I downloaded 'Homo_sapiens.GRCh38.dna.toplevel.fa' and 'Homo_sapiens.GRCh38.111.gtf' from Ensembl and ran STAR 2.7.11b to generate index file.
However, I met errors casting 'BUG: next index is smaller than previous, EXITING' many times.
This was the same with the fa and gtf file obtained from gencode.

time STAR
--runMode genomeGenerate
--genomeDir indexdir
--genomeFastaFiles Homo_sapiens.GRCh38.dna.toplevel.fa
--sjdbGTFfile Homo_sapiens.GRCh38.111.gtf
--sjdbOverhang 100

image
Also, when I adjust --genomeSAindexNbases 6, it throws same error.

image

Here is my free memory information and Log.out file (which I converted to txt file).
image

Logout.txt

What would be a problem?
Please need help.

Hi @hansong798

please use "primary" fasta and gtf, "top-level" contains a lot of unnecessary sequences.