STAR alignment command.
2
0
Entering edit mode
6.4 years ago

Which file used as STAR index file? I have downloaded STAR index file from online. Please help me to resolve this problem.

Desktop/STARindex$ STAR --genomeDir /home/amit/Desktop/STARindex --readFilesIn '/media/amit/New Volume/database/SRR1931816.fastq' 
Jun 25 12:54:36 ..... started STAR run
Jun 25 12:54:36 ..... loading genome

EXITING because of FATAL ERROR: could not open genome file /home/amit/Desktop/STARindex/Genome

SOLUTION: check that the path to genome files, specified in --genomeDir is correct and the files are present, and have user read permissions

Jun 25 12:54:36 ...... FATAL ERROR, exiting
RNA-Seq alignment sequence assembly rna-seq • 10k views
ADD COMMENT
2
Entering edit mode

Do yourself and all of us a favor and first spend some time getting comfortable working with linux and the command line. A starting point could be this tutorial from codecademy, but there are many more available online if you just google. Spending a couple of days on this now will definitely pay of in the future.

ADD REPLY
1
Entering edit mode

Have you checked this "check that the path to genome files, specified in --genomeDir is correct and the files are present, and have user read permissions"?

ADD REPLY
0
Entering edit mode

How can enable have user read permissions??

ADD REPLY
1
Entering edit mode

type ls -l /home/amit/Desktop/STARindex to see which privileges are present for the files, with chmod command you can change the privileges.

ADD REPLY
0
Entering edit mode

/media/amit/New Volume/database/SRR1931816.fastq

Probably not related to your issue but spaces in paths are generally a bad idea.

ADD REPLY
1
Entering edit mode

On unix (linux) you'll need to escape spaces actually, so even if this is not causing this particular error, it will cause an additional error once the index error is solved.

Solution here for.

/media/amit/New\ Volume/database/SRR1931816.fastq
ADD REPLY
0
Entering edit mode

It showing like this,

prashant@prashant-07:~/Desktop/STARindex$ ls -l /home/amit/Desktop/STARindex
ls: cannot access '/home/amit/Desktop/STARindex': No such file or directory
ADD REPLY
0
Entering edit mode

Looks like the directory is not present. Are you sure you didn't make a typo? It looks like you are in this directory already, just type ls -l

ADD REPLY
0
Entering edit mode

After running "ls -l" command it's showing all file in directory.

ADD REPLY
1
Entering edit mode

I know... The permissions are also shown before the files. Please read more about permissions on unix. This way I cannot help you. Also check if all files are there that the STAR aligner needs. Also check if the directory permissions are accessible to you or to STAR.

ADD REPLY
2
Entering edit mode
6.4 years ago
Benn 8.3k

In the --genomeDir /home/amit/Desktop/STARindex folder, there needs to be a file called Genome. If it is not present, direct to a folder which contains this file (and the rest of the index files). If not present at all, try to index correctly, see previous post here for instructions. If the files are there but you don't have (read) permissions, change them with chmod command.

ADD COMMENT
0
Entering edit mode

Please tell me how to use chmod command? I am not much aware from linux.

Thank you

ADD REPLY
1
Entering edit mode

Try to read about it first. chmod is a basic linux command, learning more about basic functions is in my opinion a good idea. You'll probably have to add 'read' permission, but I don't know what ls -l /home/amit/Desktop/STARindex showed you...

ADD REPLY
3
Entering edit mode
3.7 years ago
DareDevil ★ 4.3k

if you are sure about path to --genomeDir, I would suggest to add / at the end of path as --genomeDir /home/amit/Desktop/STARindex/

ADD COMMENT

Login before adding your answer.

Traffic: 1741 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