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.

Monday, May 20, 2013

How to Install Vcftools

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!

4 comments:

  1. and then you type "make" and nothing happens.

    ReplyDelete
  2. When you type make, is your current directory the vcftools directory?

    ReplyDelete
  3. typed make in the directory of vcftools and then gave me this

    make: *** No targets specified and no makefile found. Stop.

    please note that I'm trying to install it on my mac ox 10.10.5

    ReplyDelete
  4. 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.

    1 cd vcftools_0.1.13
    2 make

    ReplyDelete