why mirnakey can't find bwa
1
0
Entering edit mode
7.6 years ago
zizigolu ★ 4.3k

hi,

I have already installed bwa but whenver I am trying mirnakey telling Burrows-Wheeler Aligner must be installed to run miRNAkey (please see help -> requirements).

what should I do please?

miRNA mirnakey bwa software error • 1.9k views
ADD COMMENT
1
Entering edit mode

Is bwa in your PATH?

ADD REPLY
0
Entering edit mode

thank you Devon,

this is path to bwa : /usr/home/izadi/Downloads/bwa-0.7.12/

this is path to mirnakey: /usr/data/nfs6/izadi/miRNAkey/

how I can put them in path please?

I did like so

export PATH=$PATH:/usr/home/izadi/Downloads/bwa-0.7.12/ /usr/data/nfs6/izadi/miRNAkey/

but error is the same

ADD REPLY
1
Entering edit mode

export PATH=$PATH:/usr/home/izadi/Downloads/bwa-0.7.12:/usr/data/nfs6/izadi/miRNAkey

Note the colon where you had a space before.

ADD REPLY
0
Entering edit mode

thank you

[izadi@lbox200 ~]$ cd /usr/home/izadi/Downloads/bwa-0.7.12/

[izadi@lbox200 bwa-0.7.12]$ export PATH=$PATH:/usr/home/izadi/Downloads/bwa-0.7.12:/usr/data/nfs6/izadi/miRNAkey Bad : modifier in $ '/'.

[izadi@lbox200 bwa-0.7.12]$

I also tried

echo 'export PATH=$PATH:/usr/home/izadi/Downloads/bwa-0.7.12' /usr/data/nfs6/izadi/miRNAkey

but error again

:(

ADD REPLY
1
Entering edit mode

Apparently you're not using bash, but tcsh or something like that. I think you use setenv or something like that on such shells.

ADD REPLY
0
Entering edit mode

DEvon I am with fedora 22 I think is bash

ADD REPLY
1
Entering edit mode

You are using tcshell at the moment (based on the result below).

ADD REPLY
1
Entering edit mode

What does echo $SHELL show? If it shows tcsh/csh in there somewhere then

setenv PATH $PATH:/path_you_want_to_add
ADD REPLY
0
Entering edit mode

thank you

[izadi@lbox200 izadi]$ echo $SHELL

/bin/tcsh

[izadi@lbox200 izadi]$

ADD REPLY
0
Entering edit mode

sorry I did like below

[izadi@lbox200 izadi]$ cd /usr/home/izadi/Downloads/bwa-0.7.12/

[izadi@lbox200 bwa-0.7.12]$ setenv PATH $PATH:/usr/data/nfs6/izadi/miRNAkey/ Bad : modifier in $ '/'.

[izadi@lbox200 bwa-0.7.12]$

ADD REPLY
1
Entering edit mode
7.6 years ago
zizigolu ★ 4.3k

[izadi@lbox200 ~/Downloads]$ setenv PATH $PATH\:/usr/home/izadi/Downloads/bwa-0.7.12/

[izadi@lbox200 ~/Downloads]$ setenv PATH $PATH\:/usr/data/nfs6/izadi/miRNAkey/

ADD COMMENT

Login before adding your answer.

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