Hello, I downloaded Saccharomyces reference genome from SGD, the latset version. And then I used hisat2-build to build index, code as :
hisat2-build --wrapper basic-0 S288C_reference_genome_R64-2-1_20150113.fa ./INDEX
But there is always this mistake:
Reference file does not seem to be a FASTA file
Time to join reference sequences: 00:00:00
Total time for call to driver() for forward index: 00:00:01
Error: Encountered internal HISAT2 exception (#1)
Command: hisat2-build --wrapper basic-0 S288C_reference_genome_R64-2-1_20150113.fa ./INDEX Deleting "./INDEX.1.ht2" file written during aborted indexing attempt. Deleting "./INDEX.2.ht2" file written during aborted indexing attempt. Deleting "./INDEX.3.ht2" file written during aborted indexing attempt. Deleting "./INDEX.4.ht2" file written during aborted indexing attempt. Deleting "./INDEX.5.ht2" file written during aborted indexing attempt. Deleting "./INDEX.6.ht2" file written during aborted indexing attempt. Deleting "./INDEX.7.ht2" file written during aborted indexing attempt. Deleting "./INDEX.8.ht2" file written during aborted indexing attempt.
what should I do about it?
thanks for your answer.
Why are you adding the
--wrapper
(or if that is not your original command then please provide that instead)? A simpleshould be enough.
still the same error
What do the following two commands print?
head -4 S288C_reference_genome_R64-2-1_20150113.fa
andgrep ">" S288C_reference_genome_R64-2-1_20150113.fa
?Settings:
This is NOT the output of the two commands I had asked you to provide output of.
There aren't the two commands print that you asked.
If the
head
andgrep
command are not printing any useful output then there is something wrong with your fasta format sequence file. What doesfile S288C_reference_genome_R64-2-1_20150113.fa
show? If it does not showASCII text
you may have a corrupt sequence file, which you will need to re-download.These are two commands outputs:
Looks like your fasta sequence file is corrupt. You will need to re-download the file. It should be plain text in right format.
ok, thank you.
I re-download the reference genome several times. But still the same error.
wuwuwu....
Where and how are you downloading the reference from?
If that is not working then you could download pre-made indexes from iGenomes site. That includes sequence/annotation/indexes everything.
Command:
Please edit your original question or use
ADD REPLY/ADD COMMENT
when providing additional information.SUBMIT ANSWER
should only be used for providing new answers for original question.