RNA indexing using STAR error
1
0
Entering edit mode
7 weeks ago
Shay • 0

Hi, I am trying to index using STAR for reference genome but it is showing me this error repeatedly. I have checked the permissions and it is executable.

*EXITING because of INPUT ERROR: could not open genomeFastaFile: /home/sj384/hg38genome/GCA_000001405.15_GRCh38_genomic.fa
Mar 06 22:33:51 ...... FATAL ERROR, exiting*

My code is:

#Loading the STAR module
module load star

#Defining the path to the genome fasta file
genome_fasta_file="/home/sj384/hg38genome/humangenome.fa" #GCA_000001405.15_GRCh38_genomic.fa original file name 

#Defining the path to the annotation file (GTF format)
annotation_file="/home/sj384/hg38genome/hg38.refGene.gtf"

# output directory path
cd /scratch/sctnbc/sj384/hg38refg

#Main indexing
STAR --runThreadN 16 \
     --runMode genomeGenerate \
     --genomeDir /scratch/sctnbc/sj384/hg38refg \
     --genomeFastaFiles "$genome_fasta_file" \
     --sjdbGTFfile "$annotation_file" \
     --sjdbOverhang 100

Could someone please help me with this?

RNA-seq STAR • 431 views
ADD COMMENT
0
Entering edit mode

Looks like you either re-named the file after creating the code above or simply used the wrong the name.

Error says /home/sj384/hg38genome/GCA_000001405.15_GRCh38_genomic.fa file does not exist/is not readable. But your code is referring to /home/sj384/hg38genome/humangenome.fa name.

ADD REPLY
0
Entering edit mode

Sorry, I changed the name after the error message. I ran it again and the same error pops up.

EXITING because of INPUT ERROR: could not open genomeFastaFile: /home/sj384/hg38genome/humangenome.fa
Mar 06 23:09:45 ...... FATAL ERROR, exiting
ADD REPLY
1
Entering edit mode

Can you make sure the file has data in it by posting output of head -4 humangenome.fa? Is the file of expected size? Human genome fasta file should be about 3 GB in size.

ADD REPLY
0
Entering edit mode

The size is 3.2GB

ADD REPLY
0
Entering edit mode
7 weeks ago
GenoMax 141k

There is a chance that your home directory (where this genome is stored) is not available from worker nodes where you are submitting this job. Can you move the file to genomeDir /scratch/sctnbc/sj384/ and try from there?

ADD COMMENT
0
Entering edit mode

I think that was the issue! It managed to work after being transferred to genomeDir /scratch/sctnbc/sj384 but the log.out file seems rather short. Is this normal?

Thank you so much for your help!

ADD REPLY

Login before adding your answer.

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