Dear friend, I used your recommended command, but I got this error:
Killed
(ERR): hisat2-align exited with value 137
Hello everyone,
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:
hisat2 --dta -x ~/apps/Proj/Index/hg38 -U sra_data.fastq -S sra1.sam
I would be appreciate if you help me to solve it.
Thanks in advance
The path you're specifying is not correct. Look carefully at the expanded path.
Input Code:
hisat2 --dta -x ~/home/genetics/apps/Proj/Index/hg38/genome -U sra_data.fastq -S sra1.sam
the ~/home/genetics/apps/Proj/Index/hg38/genome gets expanded to /home/genetics/home/genetics/apps/Proj/Index/hg38/genome .
~ is causing the issue. remove that and rerun it.
The correct input should be
hisat2 --dta -x /home/genetics/apps/Proj/Index/hg38/genome -U sra_data.fastq -S sra1.sam
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.
Log in to answer this question.
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.samPlease 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.samand 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.`