Hi,
I have a quick question regarding directing the path to the indexed genome folder. Following is the code I used;
hisat2 -p $threads --dta --rna-strandness RF -x /scratch/datasets/genome_indexes/other_genomes/potato/hisat2 -1 ${SAMPLE}.fq.gz -2 ${SAMPLE}.fq.gz -S ${SAMPLE}.sam
after loading the module
module load HISAT2/2.2.0-foss-2018b
I was running the script on our ADA cluster and got the following error
sh: /sw/eb/software/HISAT2/2.2.0-foss-2018b/bin/hisat2_read_statistics.py: No such file or directory (ERR): "/scratch/datasets/genome_indexes/other_genomes/potato/hisat2" does not exist Exiting now ...
Can someone help me to resolve this issue? Thanks in advance.
Output of
ls /scratch/datasets/genome_indexes/other_genomes/potato/
?Based on the listing above it looks like there is no
hisat2
directory. So you will need to tryMy apologies. I was using
Here is the correct output for
ls /scratch/datasets/genome_indexes/other_genomes/potato/
Then simply insert
hisat2
in right spot above.Sorry, I think I confused you;
The output for
ls /scratch/datasets/genome_indexes/other_genomes/potato/
is (answer to ATPoint's question)When I ran the job I used the following code
Directing to the hisat2 folder and got the error mentioned in the original post.
These are not genome indices, are they? The hisat index consists of several files, e.g. genome.ht2 etc...
This is how it should look e.g. for a genome called
mm10.fa
:Here it would be
-x mm10
as it is the suffix of the indexed file you have to provide. it then uses these ht2 files as needed.Inside the hisat2 folder (
ls /scratch/datasets/genome_indexes/other_genomes/potato/hisat2/
), there are eight files (I guess that is the default number it makes)Ah I see; that means I need to use
DM_1-3_516_R44_potato_genome_assembly.v6.1.1
as follows/scratch/datasets/genome_indexes/other_genomes/potato/hisat2/DM_1-3_516_R44_potato_genome_assembly.v6.1
Thank you! I will do that
Even after changing the path, I am getting the following error (I killed the job after this error to save my service units)
Prob due to a problem at cluster? (I emailed them too.... but no reply yet)
Are the fastq files in the right spot? Are those variables correctly pointing to those files?
they are in the same directory where the job is running from. I also check the file extensions too. Nothing makes sense :(
This by the way is the same file. Try simplifying your script.
Oh, Shoot! You are correct. Still learning A, B, Cs..