Hi all,
I am really struggling with hisat2 recently and getting confused. I'm trying to run hisat2
python2 /home/yun/Downloads/hisat2-2.2.0/hisat2 -t -p 2 -x shiryn\ RNAseq\ data/reference/grch38_genome/grch38 -1 shiryn\ RNAseq\ data/trimmed\ data/ly1_paired_1.trim.fq.gz shiryn\ RNAseq\ data/trimmed\ data/ly1_paired_2.trim.fq.gz -S shiryn\ RNAseq\ data/alighed/ly1.sam
Heie is my error:
File "/home/yun/Downloads/hisat2-2.2.0/hisat2", line 31
use strict;
^
SyntaxError: invalid syntax
Any help is appreciated.
This was already indirectly answered in your other thread. Try typing
python3instead ofpython2.I see the problem actually, amusing
hisat2 runs via perl
hisat2-build runs via python
Serves me right for trying to answer the question in general without knowing the inner workings of the program. Xiaoyun, please ignore my response.