Ultralightweight NGS Server

Converts BAM and VCF files to json for consumption by a web application

install for mac and linux (no windows)

  1. download and install cmake

  2. run "gem install ngs_server" in the terminal

usage

  // in terminal
  ngs_server --help

  // add data directories to be served
  ngs_server add path-to-dir

  // start server
  ngs_server start
  ngs_server start --port 3000
  // daemonize
  ngs_server start -d

  // stop server if daemonized
  ngs_server stop

access data

see available data sources


invoke file: hg18.bam with coordinates 1 to 100000 on chromosome 22


vcf files must be compressed with index (see tabix)
invoke file: genotypes.vcf.gz with coordinates 1073361 to 1238825 on chromosome 1