miRDeep2 for small RNA sequencing
1
0
Entering edit mode
2.1 years ago

Hello,

I am using the following tutorial for microRNA profiling: https://drmirdeep.github.io/mirdeep2_tutorial.html

I was able to follow it until the patching step which is: bash patchme.sh

However the next step where we install the miRBase reference file gives an error as follows:

mirdeep2_patch abhaykanodia$ mirbase.pl 21
-bash: mirbase.pl: command not found

Can someone please let me know how to fix it? Thanks a lot!

microRNA miRDeep2 • 2.3k views
ADD COMMENT
0
Entering edit mode

If you see the miRDeep2 usage instructions on the screen you can continue to install the patch. Otherwise something went wrong during the installation.

Try the step before: perl install pl ??

ADD REPLY
0
Entering edit mode

Hi @M.O.L.S,

Thanks for your response. The problem is not with the patch argument which runs successfully and I can see the usage instructions. The problem is with the next command where mirbase.pl where it is not recognized and says "command not found."

(base) MacBook-Pro-3:mirdeep2 abhaykanodia$ cd /Users/abhaykanodia/mirdeep2_patch
(base) MacBook-Pro-3:mirdeep2_patch abhaykanodia$ bash patchme.sh
File /Users/abhaykanodia/mirdeep2/bin/miRDeep2.pl has been moved to /Users/abhaykanodia/mirdeep2/bin/miRDeep2.pl.orig and the current /Users/abhaykanodia/mirdeep2_patch/miRDeep2_patch.pl has been linked to /Users/abhaykanodia/mirdeep2/bin/miRDeep2.pl
(base) MacBook-Pro-3:mirdeep2_patch abhaykanodia$ mirbase.pl 21
-bash: mirbase.pl: command not found
ADD REPLY
0
Entering edit mode

Another point: Unless the directory containing mirbase.pl is in your PATH, you should run it using the absolute/relative path to the script. If it's the current dir, ./mirbase.pl might work where mirbase.pl fails.

ADD REPLY
0
Entering edit mode
2.1 years ago
M.O.L.S ▴ 100

Perhaps you could type the word perl before mirbase.pl in order to run the program. If it is already installed it should run the same as other perl programs. This might work.

ADD COMMENT
0
Entering edit mode

Great! Thanks a lot. Will try that. I have added my code if that helps.

ADD REPLY
0
Entering edit mode

Adding perl before mirbase.pl actually worked. Thanks so much. Wow!

ADD REPLY
1
Entering edit mode

That's great abhay ! glad you got it working you can accept the answer , and continue your bioinformatic analysis.

ADD REPLY

Login before adding your answer.

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