Hey guys,
[izadi@lbox161 ~]$ bash
[izadi@lbox161 ~]$ cd /usr/data/nfs6/izadi/gij/test_data
[izadi@lbox161 test_data]$ pwd
/usr/data/nfs6/izadi/gij/test_data
[izadi@lbox161 test_data]$ ls
reads_1.fq test_ref.2.bt2 test_ref.fa test_ref.rev.2.ebwt
reads_2.fq test_ref.2.ebwt test_ref.rev.1.bt2
test_ref.1.bt2 test_ref.3.bt2 test_ref.rev.1.ebwt
test_ref.1.ebwt test_ref.4.bt2 test_ref.rev.2.bt2
[izadi@lbox161 test_data]$ export TOP=/usr/data/nfs6/izadi/main/tophat-2.1.0.Linux_x86_64
[izadi@lbox161 test_data]$ echo $TOP
/usr/data/nfs6/izadi/main/tophat-2.1.0.Linux_x86_64
[izadi@lbox161 test_data]$ $TOP/tophat -r 20 test_ref reads_1.fq reads_2.fq
[2015-08-31 17:07:14] Beginning TopHat run (v2.1.0)
-----------------------------------------------
[2015-08-31 17:07:14] Checking for Bowtie
Bowtie 2 not found, checking for older version..
Error: Bowtie not found on this system.
[izadi@lbox161 test_data]$
What should I do now please? I'm exhausted, I am trying for hours
bowtie2 tophat2 vesion
you means set the path for bowtie2?
Goutham please,
suppose you have the test data in
/usr/data/nfs6/izadi/gij/test_data
bowtie2 in
/usr/people/home/izadi/fereshteh/bowtie2-2.2.5
and tophat in
/usr/data/nfs6/izadi/main/tophat-2.1.0.Linux_x86_64
then what I should do to run
as I described above
Add bowtie2 executable to your $PATH.
how mix two paths? both bowtie2 and tophat
See here for Fedora (though the method is similar for all *nix): https://ask.fedoraproject.org/en/question/44627/setting-permanent-path/
Add as many directories as you need that contain the relevant executables to $PATH (tophat, bowtie2 etc)
Fereshteh,
If you add the paths of bowtie2 and tophat2 to your
$PATH
then bowtie should be able to find tophat. If you are on a Unix/Linux platform you can do this by:thanks genomax2 for your patience...thank you alolex
I did like so
what I did wrong please?
This did not produce any output. Looks like
$TOP
got reset to null.If your
$PATH
(check byecho $PATH
) looks correct then just run from withintest_data
directorythank you
I could run tophat
then may you please tell me what is the further steps that someone might do using these resulted files in output?
@alolex Hi, I am working on ubuntu 16.04 and tried using your command to add tophat and bowtie to my path
but when I tried running tophat from a directory containing the fq files to be mapped, it says that tophat can't find the b2 index files. I have already created the index which is in the bowtie2 index directory. What am I doing wrong?