This is a test version of Biostars. For the public version, visit https://www.biostars.org.
why mirnakey can't find bwa

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

Is bwa in your PATH?

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

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.

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

:(

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

DEvon I am with fedora 22 I think is bash

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

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

setenv PATH $PATH:/path_you_want_to_add

thank you

[izadi@lbox200 izadi]$ echo $SHELL

/bin/tcsh

[izadi@lbox200 izadi]$

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]$

1 answer

[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/

Log in to answer this question.