hisat2 index file error
1
0
Entering edit mode
14 months ago

Hi

I do

hisat2 -q -x ../hg38/*.ht2 -1 SRR23132814_1_trim.fastq -2 SRR23132814_2_trim.fastq --add-chrname -S SRR23132814.sa

and also I do

hisat2 -q -x //wsl.localhost/Ubuntu-22.04/home/alikian/RNAseqData/hg38/*.ht2 -1 SRR23132814_1_trim.fastq -2 SRR23132814_2_trim.fastq --add-chrname -S SRR23132814.sa

but I see this error

(ERR): "../hg38/genome.1.ht2" does not exist
Exiting now ...

or this error

(ERR): "//wsl.localhost/Ubuntu-22.04/home/alikian/RNAseqData/hg38/*.ht2" does not exist
Exiting now ...

What can I do?

Thanks

RNA-seq hisat2 • 726 views
ADD COMMENT
1
Entering edit mode
14 months ago
ATpoint 86k

The -x argument takes the basename of the index files. Here that would probably be just genome, probably -x //wsl.localhost/Ubuntu-22.04/home/alikian/RNAseqData/hg38/genome.

Some other things: Keep fastq files compressed. No need to ever use non gzipped files. Same for SAM files (.sam, not .sa), write as BAM. For example:

(hisat2 command...) | samtools view -o out.bam
ADD COMMENT
0
Entering edit mode

thanks it work

ADD REPLY

Login before adding your answer.

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