HISAT2 alignment issue
Hello! I am trying to do a pair end read alignment. When I run the following code --
~/hisat2/hisat2 hisat2 -x ~/hisat2/grch38 -1 ~/hisat2/astra_r1.fastq.gz -2 ~/hisat2/astra_r2.fastq.gz -S ~hisat2/ouput.sam
I get that
(ERR): "/Users/simonlab/hisat2/grch38" does not exist Exiting now ...
I know I tried many different iterations of defining the index sequence but keep getting the same error. I know I have to define the path for hisat2 to run. Any help appreciated! Thanks!
• 1,243 views
•
link
1 answer
You need -x ~/hisat2/grch38/genome. The manual says:
Main arguments
-x <hisat2-idx>The basename of the index for the reference genome. The basename is the name of any of the index files up to but not including the final.1.ht2/ etc.hisat2looks for the specified index first in the current directory, then in the directory specified in theHISAT2_INDEXESenvironment variable.
• 0 views
•
link
Log in to answer this question.
Many alignment tools need the full path to their alignment index files with prefix. What is the output to the following commands:
Hello! output to file command is
Output to ls command is
I have also tried running the orginal tar.gz file and get the same error. Thank you!