![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Samtools Mac Install | jlc_1020 | Bioinformatics | 35 | 05-09-2014 09:52 AM |
how to place samtools in "PATH" for use with TopHat on MAC | louis7781x | Bioinformatics | 15 | 12-16-2012 08:31 PM |
compiling samtools in mac | meritxellop | Bioinformatics | 3 | 01-30-2012 09:35 AM |
The problem of installing samtools on mac | louis7781x | Bioinformatics | 2 | 07-06-2011 10:57 AM |
samtools-0.1.12a and bwa-0.5.9rc1 installing problem on fedora14 | ketan_bnf | Bioinformatics | 2 | 01-14-2011 07:39 PM |
![]() |
|
Thread Tools |
![]() |
#1 |
Member
Location: UK Join Date: Jun 2010
Posts: 15
|
![]()
Hi,
I'm fairly new to Unix (and bioinformatics generally!). I'm trying to open .bam files, and thought samtools might be the way forward. However, I'm struggling to get it working. I downloaded samtools-0-1.1.7a.tar.bz2, and extracted it. In the terminal I then typed $ make samtools which appeared to compile it and put something called samtools in the folder which the terminal reckons is an application. However, when I try to open a .bam file with: $ samtools view all-hg18.bam I get -bash: samtools: command not found What am I doing wrong? All help gratefully received! A |
![]() |
![]() |
![]() |
#2 |
Peter (Biopython etc)
Location: Dundee, Scotland, UK Join Date: Jul 2009
Posts: 1,543
|
![]()
Try ./samtools rather than just samtools (meaning look in the current directory).
|
![]() |
![]() |
![]() |
#3 |
Member
Location: New Haven Join Date: Jun 2010
Posts: 28
|
![]()
and what maubp said is applicable to most other tools that you're going to need to install in the future. usually, using "./command" will work where "command" alone fails.
|
![]() |
![]() |
![]() |
#4 |
Member
Location: UK Join Date: Jun 2010
Posts: 15
|
![]()
Success! Thanks for the tip folks.
A |
![]() |
![]() |
![]() |
#5 |
Member
Location: canada Join Date: Jan 2011
Posts: 27
|
![]()
hello when I extracted samtools, I typed cd samtools-0.1.12a, then it went to the directory. Then I typed $ make samtools, it didn't work. How to install samtools anyway?
Thank you! |
![]() |
![]() |
![]() |
#6 |
Nils Homer
Location: Boston, MA, USA Join Date: Nov 2008
Posts: 1,285
|
![]()
More information is required. What did it say when you typed "make samtools"? How do you know it didn't work. In the "samtool-0.1.12a" did you try running "./samtools"?
|
![]() |
![]() |
![]() |
#7 |
Member
Location: canada Join Date: Jan 2011
Posts: 27
|
![]()
it said make: command not found. I also typed ./samtools it said no such directory!
|
![]() |
![]() |
![]() |
#8 |
Nils Homer
Location: Boston, MA, USA Join Date: Nov 2008
Posts: 1,285
|
![]() |
![]() |
![]() |
![]() |
Thread Tools | |
|
|