Skip to content

dasmoth/ldserv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple LD server

Check out with git clone --recursive to pick up dependencies (currently just tabixpp), then build with make.

For performance reasons, genotypes are stored in a simplified ("genotab") format, then indexed with tabix.

         gzip -dc genotypes.vcf.gz | vcf2gt >genotypes.gt
         bgzip genotypes.gt
         tabix -p vcf genotypes.gt.gz

The ldserv program itself is intended to be run as a CGI script. It consults the GENOTYPE_FILE environment variable to locate the (Tabix-indexed) genotypes. If using Apache, you can configure this using something like:

    SetEnv GENOTYPE_FILE /path/to/genotypes.gt.gz
    ScriptAlias /cgi-bin/ /path/to/directory-containing-ldserv

About

Simple server for on-the-fly LD calculations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published