GithubHelp home page GithubHelp logo

adawon / kmersgwas Goto Github PK

View Code? Open in Web Editor NEW

This project forked from voichek/kmersgwas

0.0 1.0 0.0 7 MB

A library for running k-mers based GWAS

Makefile 0.62% C++ 78.12% R 13.01% Awk 0.04% Python 8.22%

kmersgwas's Introduction

A library for genome-wide associations using k-mers

A library for running k-mers-based GWAS

Binaries for beta version can be downloaded from here.

Details on how to create a k-mers table and how to run GWA can be found in the manual.

key functionalities

Run pipeline:

  • python2.7 src/py/pipeline.py - Running the k-mers-GWAS pipeline

Build the k-mers table:

  • kmers_add_strand_information - Create k-mers list from KMC output
  • list_kmers_found_in_multiple_samples - Create a list of k-mers to use in the k-mers table
  • build_kmers_table - Build the k-mers table

Other functionalities:

  • kmers_table_to_bed - Convert the k-mers table to PLINK binary format
  • filter_kmers - Textual output the presence/absence patterns of a set of k-mers
  • emma_kinship_kmers - Calculate the kinship matrix from PLINK binary format
  • emma_kinship - Calcualte the kinship matrix of the k-mers table

Prerequisites:

  • Linux system with a 64 bit CPU
  • R
  • python2.7
  • KMC (part of the release under external_programs/ directory)
  • GEMMA (part of the release under external_programs/ directory)
  • R packages (if not present the pipeline will try to automatically install):
    • MASS
    • Mvnpermute
    • matrixcalc

Examples:

In the examples directory there are two examples of how to use the library:

  1. Pre-existing k-mers table, only run the k-mers-base GWA - Using the k-mers table for A. thaliana 1001G to run k-mers-based GWA on flowering time (same as Fig. 1 in our paper). This table can be used also to run GWA on other phenotypes measured on accessions part of the 1001G.
  2. Building the k-mers table and using it to run GWAS - Building the k-mers table on 241 E. coli accessions (from Earle et al. 2016) and then running the GWA using this table.

Citing

If you used our library for published work, please cite us:

Finding genetic variants in plants without complete genomes

Yoav Voichek and Detlef Weigel (2019).

kmersgwas's People

Contributors

voichek avatar

Watchers

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.