Vcftools is a handy program to manipulate .vcf files. This page describes how to install vcftools. Here is a brief summary of what to do.
1) Download the most recent version of vcftools.
2) Extract vcftools using the extract command or the following line of code.
3) To build vcftools, cd into the vcftools directory and type make.
4) Add the following two lines to you .bashrc file and then type source .bashrc.
One final note: vcftools requires .vcf files be zipped by bgzip and indexed by Tabix. To install Tabix, see these installation instructions. Enjoy using vcftools!
A repository of programs, scripts, and tips essential to
genetic epidemiology, statistical genetics, and bioinformatics
Welcome to the Genome Toolbox! I am glad you navigated to the blog and hope you find the contents useful and insightful for your genomic needs. If you find any of the entries particularly helpful, be sure to click the +1 button on the bottom of the post and share with your colleagues. Your input is encouraged, so if you have comments or are aware of more efficient tools not included in a post, I would love to hear from you. Enjoy your time browsing through the Toolbox.
Subscribe to:
Post Comments (Atom)
and then you type "make" and nothing happens.
ReplyDeleteWhen you type make, is your current directory the vcftools directory?
ReplyDeletetyped make in the directory of vcftools and then gave me this
ReplyDeletemake: *** No targets specified and no makefile found. Stop.
please note that I'm trying to install it on my mac ox 10.10.5
I did on my mac too. Once you have the file and you extract it, make sure you chose the extracted file as you directory. Once you do that type make.
ReplyDelete1 cd vcftools_0.1.13
2 make
Johnpaul@JP /
ReplyDelete$ ls
'~' dev tmp
bin etc usr
cygdrive home var
Cygwin.bat lib vcftools_0.1.13.tar.gz
Cygwin.ico proc vcftools-vcftools-581c231
Cygwin-Terminal.ico sbin vcftools-vcftools-v0.1.16-18-g581c231.tar.gz
Johnpaul@JP /
$ cd vcftools-vcftools-581c231
Johnpaul@JP /vcftools-vcftools-581c231
$ make
-bash: make: command not found
why not type in every step in your terminal the copy and paste so that newbies will follow the exact command you are typing in
ReplyDelete