Dear all,
I want to use STAR to align my reads to a small reference genome (~12.500 UTRs). Although I have created a .fa-file of my library STAR is not able to generate a genome, as it is unable to read the file. I was wondering if anyone else has experienced the same problem? Or whether anyone has a solution to this problem?
Best, Bram Verhagen
Code:
./STAR --runMode genomeGenerate --genomeDir home/hub_tanenbaum/bverhagen/star-genome/ --genomeFastaFiles home/hub_tanenbaum/bverhagen/star-genome/sequence.fa
As you are building an index with thousands of sequences, you will have to play with the value of
--genomeChrBinNbits
parameter - check STAR manual on how to set a proper value.Now I wrote the following script script.sh):
And submitted it with the following command:
I get the following error, although a folder with the name STARtemp is made:
Moreover if I schange the script to:
With $STAR being: /home/hub_tanenbaum/bverhagen /STAR/source/STAR
I receive an error stating that the path is not found. Do I need to specify the path in another way? In the script?
Please use the
code
button to format code, commands and such.Also, do not post questions on the space reserved for answers.
How did you acquire
STAR
? Did you download the executable directly or compiled it from source? If you got the executable did you get the one appropriate for your operating system?STAR=/home/hub_tanenbaum/bverhagen/STAR/source/STAR
? Probably not a great idea to use a variable name as the program executable./home/hub_tanenbaum/bverhagen /STAR/source/STAR
As posted there is a space betweenbverhagen
and next/STAR
.STAR
with 8 threads but there is no corresponding request for cores in the job scheduler.