This is a test version of Biostars. For the public version, visit https://www.biostars.org.
STAR Aligment

Hi everyone, I'm trying create star genom index, but command doesn't work. my command is below. Does anyone know what's wrong with this command? Could you please help me, thanks a lot

'STAR \
  --runThreadN 2 \
  --runMode genomeGenerate \
  --genomeDir /truba/home/sbuyukkilic/rnaseq//genomeDir \
  --genomeFastaFiles /truba/home/sbuyukkilic/rnaseq/files/GRCh38.primary_assembly.genome.fa \
  --sjdbGTFfile /truba/home/sbuyukkilic/rnaseq/files/gencode.v42.annotation.gtf \
  --sjdbOverhang 50
star

but command doesn't work

what is the error message ?

-bash-4.2$ 'STAR --runThreadN 2 --runMode genomeGenerate --genomeDir /truba/home/sbuyukkilic/rnaseq//genomeDir --genomeFastaFiles /truba/home/sbuyukkilic/rnaseq/files/GRCh38.primary_assembly.genome.fa --sjdbGTFfile /truba/home/sbuyukkilic/rnaseq/files/gencode.v42.annotation.gtf --sjdbOverhang 50
>

This is only on screen, there is nothing beside this( > )

ı check it out, that means there is missing something on command. But what?

I did in different way, but there is another error.

-bash-4.2$ ./STAR --runThreadN 2 --runMode genomeGenerate --genomeDir /truba/home/sbuyukkilic/rnaseq//genomeDir --genomeFastaFiles /truba/home/sbuyukkilic/rnaseq/files/GRCh38.primary_assembly.genome.fa --sjdbGTFfile /truba/home/sbuyukkilic/rnaseq/files/gencode.v42.annotation.gtf --sjdbOverhang 50
-bash: ./STAR: cannot execute binary file

this is not a STAR error. It is a bash issue. You are trying to execute the './STAR', but it is a binary file, not a bash file.

1 answer

'STAR --runThreadN 2 --runMode genomeGenerate --genomeDir /truba/home/sbuyukkilic/rnaseq//genomeDir --genomeFastaFiles /truba/home/sbuyukkilic/rnaseq/files/GRCh38.primary_assembly.genome.fa --sjdbGTFfile /truba/home/sbuyukkilic/rnaseq/files/gencode.v42.annotation.gtf --sjdbOverhang 50

I think the initial ' is the problem here. You are starting a text block, but not closing it.

Log in to answer this question.