Biostar Test Site

This is site is used for testing only. Visit: https://www.biostars.org to ask a question.

perl path in mirdeep
2
0
Entering edit mode
3.3 years ago
Sam ▴ 140

Hi, could you help me about this error with mirdeep2 ?

Error: problem with DNA.fa /usr/bin/env: ‘perl -W’: No such file or directory
perl env • 694 views
ADD COMMENT
0
Entering edit mode

I assume the problem is with DNA.fa. Is that file present in the the directory you are trying to run this from? It would be odd if your system does not have perl available (but there is always a first time for everything).

ADD REPLY
2
Entering edit mode
3.3 years ago

the problem might be with the -W and/or the way you call perl. If you use the /bin/env approach you can't add 'flags' after perl .

Would it be possible to post the first (shebang line) of that perl script?

ADD COMMENT
0
Entering edit mode

The problem was env after bin, so already I solved it. Thanks All

ADD REPLY
0
Entering edit mode
3.3 years ago
h.mon 32k

As lieven.sterck said, you can't use flags with #!/usr/bin/env perl.

In addition, I don't understand why you need -W, as mirDeep2.pl already use warnings;.

ADD COMMENT

Login before adding your answer.

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