This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Illegal instruction (core dumped) - Indexing a reference genome with STAR

Hello,

As the title suggests, I'm trying to index a reference genome (.fna and .gff of hg38 from the latest major release of https://www.ncbi.nlm.nih.gov/grc/human) with STAR aligner.

This is my script

#!/bin/bash
#SBATCH -A $group_name
#SBATCH -n 16
#SBATCH -N 1
#SBATCH -t 03:00:00
#SBATCH -J reference_genome_STAR_hg38
#SBATCH -o %j.STAR_reference.out
#SBATCH -e %j.STAR_reference.err

ml GCC/4.9.3-binutils-2.25
ml STAR/2.5.0a

STAR --runThreadN 16 --runMode genomeGenerate --genomeFastaFiles genome.fna --sjdbGTFfile annotation.gff --genomeDir ./reference_genome/ --sjdbOverhang 101

For some reason the job fails and I get

Illegal instruction     (core dumped) STAR --runThreadN 16 --runMode genomeGenerate --genomeFastaFiles genome.fna --sjdbGTFfile annotation.gff --genomeDir ./reference_genome/ --sjdbOverhang 101

On my stderr file.

Any help would be well appreciated, this is the first time I use this software and I'm pretty lost.

Note: I tested it with a smaller genome and annotation file and the problem persists.

rna-seq mapping star reference indexing

How much memory are you assigning to the job? You would need at least 30+GB.

I'm not sure how they installed STAR, so try providing your own version (you can download a binary from bioconda). Perhaps they installed it in an odd way.

@Alex Dobin also makes pre-made indexes available here, if that works for you.

I will get it from here. Thank you! :)

0 answers

No answers yet.

Log in to answer this question.