Prerequisites

Operating System UNIX/Linux (64 bit)
Software Python 2.7, SQLite3, Mercurial(Optional)
Disk Space Minimum of 60 GB

Easy Install

This requires the following 3 steps:

1. Download Data files and SQLite databases

    Data files (54MB)

    SQLite databases (12GB)

    md5sum file

2. Uncompress the downloaded files

    Command:

    

    Uncompressing the zipped files creates two folders – 'gcndata' and 'gcndb'

3. Set PYTHONPATH and Environment variables

    Set the python path to extracted Varant package location and set environment variables to data     files and SQLite databases. There are multiple ways to do this. These can be set temporarily for     the session in the terminal or stored permanently in the shell configuration files (recommended)     as shown below:

    For cshrc shell

    Edit the .cshrc file located in the home directory (e.g /home/username/.cshrc).
    You can set the PYTHONPATH to varant code base by adding the following to .cshrc -
    
    If the PYTHONPATH was already declared in .cshrc then append the location of varant code base
    as follows -
    
    Set the location of the Varant code base, data files, and databases to the environment variables
    in the .cshrc file as follows:
    
    Make these variables available to the terminal:
    

    For bash shell

    Edit the .bashrc file located in the home directory (e.g /home/username/.bashrc).
    You can set the PYTHONPATH to varant code base by adding the following to .bashrc -
    
    If the PYTHONPATH was already declared in .bashrc then append the location of varant code base
    as follows -
    
    Set the location of the Varant code base, data files, and databases to the environment variables
    in the .bashrc file as follows:
    
    Make these variables available to the terminal:
    

Running Varant

Varant is now installed and can be run as follows:

1. Go to the Varant 'bin' folder

    

2. Check the script usage

    

3. Run the script to annotate the input vcf file

    

The log file for the run is generated in the same folder as the output.