Hi everyone,
I am trying to run miRDeep2.pl and I keep getting the following error message:
#Starting miRDeep2
[1;31mError: [0mmiRNA reference this species file miRBase_ame.fa has not allowed whitespaces in its first identifier
As far as I can tell, it doesn't have any white spaces in its first identifier. The first line of the file looks like this
>ame_miR_3736
I've checked manually by opening in notepad and there isn't a whitespace hanging around at the end of the line - I also ran a script to remove any just in case. It looks exactly the same as the .fa file given in the miRDeep2 tutorial
>cel-miR-36
except that I have underscores instead of hyphens. If I change it to hyphens I get exactly the same error message.
Any suggestions?
If I don't input a known miRNA ref file it runs OK.
try
dos2unix miRBase_ame.fa
I have encountered to the same problem for this code:
I run dos2unix.However, I could not solve it via dos2unix. This is the error code I received:
Then I changed my fasta file. I used ucsc.hg19.fasta instead (for both indexing, mapping and mirdeep2 later). It worked without any whitespace error.
what is the output of:
?
alysonashe, were you able to resolve this issue? I am in the same position. I have an input .fa which appears to have no white space in the file and am recieving the same error with miRDeep2.pl
I used
sed -i 's/ //g'
on the file to be sure. Here is thehead
of the .fa file:Perhaps there is a formatting error I have made with the FASTA that I am unaware of?
Cheers,
Tim