In order to align the RNA- seq reads to the genome I faced this error:
Could not locate a HISAT2 index corresponding to basename "../../Index/hg38"
Error: Encountered internal HISAT2 exception (#1)
Command: /usr/bin/hisat2-align-s --wrapper basic-0 --dta -x ../../Index/hg38 -S sra1.sam -U sra_data.fastq
(ERR): hisat2-align exited with value 1
The command that I entered for alignment is as below:
are you the user genetics? It seems you have used path: "../../Index/hg38" (as understood from error log "Could not locate a HISAT2 index corresponding to basename "../../Index/hg38"). Can you try below command and post error? You are supposed to provide basename of the index.
Could not locate a HISAT2 index corresponding to basename "/home/genetics/home/genetics/apps/Proj/Index/hg38/genome"
Error: Encountered internal HISAT2 exception (#1)
Command: /usr/bin/hisat2-align-s --wrapper basic-0 --dta -x /home/genetics/home/genetics/apps/Proj/Index/hg38/genome -S sra1.sam -U sra_data.fastq
(ERR): hisat2-align exited with value 1
I suggested to run hisat2 --dta -x /home/genetics/apps/Proj/Index/hg38/genome -U sra_data.fastq -S sra1.sam and instead you executed hisat2 --dta -x ~/home/genetics/apps/Proj/Index/hg38/genome -U sra_data.fastq -S sra1.sam. That is incorrect. Please run as suggested otherwise, issue will be difficult to troubleshoot.
That is most likely a RAM issue. How much memory you are using? Whatever you are specifying most likely it is not enough. Increase the allocated memory.
what is the output from
ls -l ~/apps/Proj/Index/hg38
? Check folder permissions and index is complete.thank you for your response, it is as below:
are you the user genetics? It seems you have used path: "../../Index/hg38" (as understood from error log "Could not locate a HISAT2 index corresponding to basename "../../Index/hg38"). Can you try below command and post error? You are supposed to provide basename of the index.
hisat2 --dta -x /home/genetics/apps/Proj/Index/hg38/genome -U sra_data.fastq -S sra1.sam
Please check this path (/home/genetics/apps/Proj/Index/hg38/) and it should have genome indices.
I entered below command:
this error appeared:
I suggested to run
hisat2 --dta -x /home/genetics/apps/Proj/Index/hg38/genome -U sra_data.fastq -S sra1.sam
and instead you executedhisat2 --dta -x ~/home/genetics/apps/Proj/Index/hg38/genome -U sra_data.fastq -S sra1.sam
. That is incorrect. Please run as suggested otherwise, issue will be difficult to troubleshoot.`