Coder Social home page Coder Social logo

nandobonf / wecall Goto Github PK

View Code? Open in Web Editor NEW

This project forked from genomicsplc/wecall

0.0 0.0 0.0 1.12 MB

Fast, accurate and simple to use command line tool for variant detection in NGS data.

License: Other

Makefile 0.08% Python 33.30% CMake 0.85% C++ 65.63% Shell 0.13%

wecall's Introduction

GENOMICS plc - weCall

Build Status

weCall is a fast, accurate and simple to use command line tool for variant detection in Next Generation Sequencing (NGS) data.

It identifies genomic sites where genetic variants exist relative to the reference genome, and infers genotypes at these sites. It reads data from one or more BAM files simultaneously, each containing reads from one or more samples, and calls variants in these samples jointly. The output consists of a single VCF or gVCF file, and summarises the evidence for a variant site as a genotype call, a genotype quality, and genotype likelihoods for each sample. weCall is fast to run and very easy to use in a single processing step.

Building

  1. Ensure you have cmake, ncurses, boost (>=1.54) and zlib installed.
  2. Clone weCall repository. Withing the repository type make install. This will add weCall and the unit test tools (unittest, iotest) to /usr/bin/local. The installation directory can be set by modifying the PREFIX variable in the Makefile.
  3. The user documentation can be created with make doc. The user documentation will be generated in the folder target/build/doc/weCall-userguide.pdf of the repository.
  4. weCall may be run directly from the command line. A quick summary of the parameters accepted by weCall can be obtained by invoking the help facility: weCall -h. For detailed information on how to use weCall, please refer to the user guide (target/build/weCall-userguide.pdf).

Running weCall

weCall can be run directly from the command line. For an example of variant calling for chromosome 20: position 0 to 100000, run the following:

weCall --inputs sample.bam --refFile reference.fa --regions 20:0-100000

An output.vcf should appear in the working directory if it succeeded.

Multiple samples can be called simultanously by providing a comma-separeted list of bam files.

weCall --inputs sample1.bam,sample2.bam --refFile reference.fa --regions 20:0-100000

User documentation

A quick summary of the parameters accepted by weCall may be obtained by invoking the help facility: weCall -h.

For detailed information on how to use weCall, please refer to the user guide in target/build/weCall-userguide.pdf. If it is not availble, it can be created by running make.

Testing Framework

weCall is tested using unit tests (C++) and acceptance test (python).

  • To reformat the C++ code: ./scripts/clang-reformat.sh
  • To run the C++ unit tests: make test-unit
  • To run the full acceptance test suite you'll need python 3.x and a virtual environment. This will be automatically installed when you run the tests with make test-acceptance.

wecall's People

Contributors

famousmoose avatar genomicsbob avatar st-thiem-gen avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.