Giter VIP home page Giter VIP logo

bayescanhierachical's Introduction

BayeScanHierachical

Hierachical version of BayeScan to detect natural selection from population-based genetic data. Most of the code and options are taken from the original BayeScan. There is one additional input file used to describe the hierachical structure of the populations (-s option). One first need to indicate the groups of populations, for example:

[groups]=2
1 2 1 2
2 2 3 4

indicates that we have two groups of population. The first group (1) is composed of two populations (2) that are labeled as 1 and 2 in the main input file. The second group (2) is composed of two populations (2) that are labeled as 3 and 4 in the main input file.

The second part of this input file describes the pattern of convergent selection tested by assigning common selection pressures to the groups of populations previously defined. For example if one wants to test for converget selection in the two groups of population:

[pressures]=1
1 2 1 2 

indicates that there is one selection pressure containing two groups labeled as 1 and 2. When convergent selection if not of a particular interest, the pressures can be defined as:

[pressures]=2
1 1 1 
2 1 2

indicating an independant selection pressure in each group of populations.

A statically linked binary can be downloaded in Releases, it should work with most Linux distributions. A docker container is available here.

Reference:

Foll M, Gaggiotti OE, Daub JT, Vatsiou A, Excoffier L. Widespread signals of convergent adaptation to high altitude in Asia and america. Am J Hum Genet. 2014 Oct 2;95(4):394-407. doi: 10.1016/j.ajhg.2014.09.002. Epub 2014 Sep 25. PubMed PMID: 25262650; PubMed Central PMCID: PMC4185124.

bayescanhierachical's People

Contributors

mfoll 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.