View Single Post
Old 08-10-2015, 10:35 AM   #11
cmccabe
Senior Member
 
Location: chicago

Join Date: Jul 2012
Posts: 353
Default

Code:
 dnascopev@ubuntu:~$ bowtie2-build -f /home/dnascopev/Desktop/hg19_fasta/hg19.fa /home/dnascopev/Desktop/hg19_fasta/my_hg19
Traceback (most recent call last):
  File "/home/dnascopev/Desktop/hg19_fasta/bowtie2-2.6.0/bowtie2-build", line 95, in <module>
    main()
  File "/home/dnascopev/Desktop/hg19_fasta/bowtie2-2.6.0/bowtie2-build", line 92, in main
    os.execv(build_bin_spec, argv)
OSError: [Errno 2] No such file or directory
I downloaded the package from github, extracted, and added the directory to path where bowtie2 is.

Code:
 export PATH=$PATH:/home/dnascopev/Desktop/hg19_fasta/bowtie2-2.6.0
I also made it executable using:

Code:
 chmod +x /home/dnascopev/Desktop/hg19_fasta/bowtie2-2.6.0/bowtie2*
as I was getting an error:

Code:
 No command 'bowtie2-build' found, did you mean:
 Command 'bowtie-build' from package 'bowtie' (universe)
bowtie2-build: command not found
making bowtie2 executable fixed one issue but lead to another. Thank you .
cmccabe is offline   Reply With Quote