Thank you.
Hi I am trying to run miRDeep2 for identification of miRNAs.
But its showing error miRNA reference this species file mature_osa.fa has not allowed whitespaces in its first identifier.
I checked it properly and matched with the file given in miRDeep2.pl tutorial, my file is also has a same pattern. I used sed command also but issue is not resolved
Can anyone please help me
Thank you in advance
1 answer
I found the same problem. I understand that I can test my input for errors with:
sanity_check_mature_ref.pl bta_mature.fa
This is the error I got:
Error in line 1: The identifier
bta-miR-26a MIMAT0003516 Bos taurus miR-26a
contains white spaces
Please check your file for the following issues:
I. Sequences are allowed only to comprise characters [ACGTNacgtn].
II. Identifiers are not allowed to have withespaces.
You could run remove_white_space_in_id.pl inputfile > newfile
This will remove everything from the id line after the first whitespace
So by calling
remove_white_space_in_id.pl bta_mature.fa > bta_mature.fa.fix
I was able to run mirdeep2 without problems
If an answer was helpful, you should upvote it; if the answer resolved your question, you should mark it as accepted. You can accept more than one answer if they all work. If an answer was not really helpful or did not work, provide detailed feedback so others know not to use that answer. 
Respected all,
I am working with miRNA data. Currently, I am facing the following issues in the genome.fa file. Please look at it and give your valuable comments to solve the error. What should I do next? should I change N instead of R or should I remove R?
Thanks
Error: problem with genome.fa
Error in line 6.618: The sequence
TCAAATACTGAAAAATATTTCACAGCATTCTCATATTTGTGGTGAATTTTCAGAAGCTTR
contains characters others than [acgtnACGTN]
Please check your file for the following issues:
I. Sequences are allowed only to comprise characters [ACGTNacgtn].
II. Identifiers are not allowed to have withespaces.
I think you'd be better off replacing R with N so you lose the least amount of information.
Log in to answer this question.