GithubHelp home page GithubHelp logo

autpop's Introduction

autpop

Introduction

Tool for exploring models of populations with autism.

The tools accompanies our "Wroten et al. Sharing parental genomes by siblings concordant or discordant for autism" manuscript that will hopefully be published soon.

The models and the methods used to make predictions about populations of families with autism are described in detail in the manuscript.

Installation

autpop is distributed as a conda package in the iossifovlab conda channel. To install one needs first to intall a conda infrastructure. There are many alternative ways to accomplish that. The easiest one may be to install Anaconda from https://www.anaconda.com/products/distribution.

Anaconda installs a large number of packages related to Datascience. If these are not needed, one can install the much smaller (and quicker to install) Miniconda from https://docs.conda.io/en/latest/miniconda.

Once Anaconda or Miniconda are installed, one can install autpop using the following command prompt command:

$ conda install -c iossifovlab autpop

Basic use

autpop is a command line tool. To use it one has to define one or more population models in a yaml file. A example of a model definition is:

threshold_model:
  name: basic
  male_threshold: 9
  female_threshold: 11
  locus_classes:
  - w: 1
    f: 0.4
    n: 5
  - w: 8
    f: 0.01
    n: 2

If we store the above in a file called simple.yaml we can compute the predicted risks and parental genomic sharing by running the following command:

$ autpop simple.yaml

The intermediate and final results will be stored in three files: family_stats_simple.txt, global_stats_simple.txt and models_results.txt. These files are described in detail in the manuscript.

autpop accepts many optional parameter that controll how the predictions will be computed. For a list and a description of all optional parameters one can use:

$ autpop --help

Soucre code

https://github.com/iossifovlab/autpop

autpop's People

Contributors

iossifov avatar

Watchers

Lubomir Chorbadjiev avatar James Cloos 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.