GithubHelp home page GithubHelp logo

koelling / platypus Goto Github PK

View Code? Open in Web Editor NEW

This project forked from andyrimmer/platypus

0.0 0.0 0.0 54.7 MB

Platypus Variant Caller

License: GNU General Public License v3.0

Makefile 0.29% Python 75.41% Shell 0.31% C 23.00% C++ 0.99%

platypus's Introduction

#Platypus

Build Status

The Platypus variant caller. The main Web site is https://github.com/andyrimmer/Platypus.

##Installation and execution

To build Platypus, do the following:

make

Then to run do

python bin/Platypus.py --bamFiles=BAM.bam --refFile=REF.fa --output=variants.vcf

Platypus has been tested with Python 2.6 and 2.7, and requires Cython 0.20.2 or later to build.

####Prerequisites

Platypus requires HTSlib 1.2.1 or greater. HTSlib can be downloaded from the HTSlib Web site.

To build and install HTSlib, cd into HTSlib source and type make install. This will install HTSlib under /usr/local/ (see note below). To install HTSlib in any other directory use make install prefix=/path/to/dir.

NOTE: HTSlib should be installed in a standard location (e.g. /usr/local/). If not installed in a standard location, you will need to set your library paths:

For GNU/Linux:

export C_INCLUDE_PATH=/path/to/dir/include
export LIBRARY_PATH=/path/to/dir/lib (only for making)
export LD_LIBRARY_PATH=/path/to/dir/lib

Note the /include and /lib sub-directories. e.g. if you installed HTSlib under /Users/me/htslib then set

export C_INCLUDE_PATH=/Users/me/htslib/include
export LIBRARY_PATH=/Users/me/htslib/lib
export LD_LIBRARY_PATH=/Users/me/htslib/lib

HTSlib will automatically make the include and lib directories on install.

For OSX:

export C_INCLUDE_PATH=/path/to/dir/include
export LIBRARY_PATH=/path/to/dir/lib (only for making)
export DYLD_FALLBACK_LIBRARY_PATH=/path/to/dir/lib

platypus's People

Contributors

andyrimmer avatar chapmanb avatar gerton avatar hangphan avatar ivanthedugtrio avatar jrandall avatar koelling avatar mattions avatar paulmenzel 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.