genomeGenerate: exiting because of *OUTPUT FILE* error: could not create output file ./GenomeDir//chrName.txt
0
0
Entering edit mode
4.2 years ago

I'm trying to run STAR alignment software on ubuntu to index the genome. The command is:

STAR --runThreadN 8 --runMode genomeGenerate –-genomeDir '/home/theory/Desktop/star/genome' --genomeFastaFiles '/home/theory/Desktop/star/ref.fa' --sjdbGTFfile '/home/theory/Desktop/star/apis_ref.gtf'

And it gives the error:

Aug 26 13:52:13 ..... started STAR run
Aug 26 13:52:13 ... starting to generate Genome files

genomeGenerate.cpp:209:genomeGenerate: exiting because of *OUTPUT FILE* error: could not create output file ./GenomeDir//chrName.txt
Solution: check that the path exists and you have write permission for this file

Aug 26 13:52:19 ...... FATAL ERROR, exiting

what problem?

software error • 2.6k views
ADD COMMENT
0
Entering edit mode

Does the genome directory exist in the star folder?

ADD REPLY
0
Entering edit mode

Is the error you posted exactly what you see (or have you changed directory names)? Why are you using those single quotes around file names?

ADD REPLY
0
Entering edit mode

try this on the command line before you run it

mkdir /home/theory/Desktop/star/genome/
ADD REPLY

Login before adding your answer.

Traffic: 1729 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6