Coder Social home page Coder Social logo

chris1221 / mchg Goto Github PK

View Code? Open in Web Editor NEW
0.0 4.0 0.0 107.64 MB

Validation of Multiple Comparisons techniques for the human genome

Makefile 0.54% C++ 94.95% Shell 0.18% C 1.49% CSS 0.21% Perl 0.02% M4 0.01% Batchfile 0.02% HTML 0.86% Max 0.02% XSLT 0.27% Python 0.87% CMake 0.06% Cuda 0.03% Assembly 0.11% JavaScript 0.34% TeX 0.02% Perl 6 0.01% Tcl 0.01% Ruby 0.01%

mchg's Introduction

Multiple Correction in the Human Genome

Depends:

Explaination of Logic

The goal of this program is to take a genome (simulated using HapGen2 off of a 1KG reference genome), superimpose an imaginary genetic condition, blind ourselves to the basis of this condition and attempt to identify the contributing variants through association analysis. We can then use different multiple comparrisons techniques and attempt to identify

  1. Methods which identify more true positives while maintaining FDR or FWER
  2. Contributing covariates to the disovery of variants

Full details of the implimentation may be found in the associated preprint -- please contact the maintainors for a current version.

Plans for development

The first priority is to understand how to take input arguements and parse them. We have a lot of parameters that need to be incorporated unfortuantely.

An example of intended usage:

./mchg --gen $GEN_FILE \ 
	--summary $SUMMARY_FILE \
	--output $OUTPUT_STREAM \
	--h2 $HERITABILITY \
	--pc $PERCENT_CAUSAL \
	--pnc $PERCENT_NON_CAUSAL \
	--nc $NUMBER_CAUSAL \
	--maf $MAF \
	--maf-range $MAF_RANGE \
	--nrep $NREP

Variables:

  • $GEN_FILE: File path to the .gen file.
  • $SUMMARY_FILE: File path to the .summary file.
    • Output of snptest --summary-stats-only, reference here
    • std::string
  • $OUTPUT_STREAM: File path to the output stream for depositing summary statistics.
    • std::string
  • $HERITABILITY: The heritability of the simulated condition.
    • double in [0,1]
  • $PERCENT_CAUSAL: Percent of the causal variants to be included in the second strata.
    • double in [0,1]
  • $PERCENT_NON_CAUSAL: Percent of the non-causal variants to be included in the second strata.
    • double in [0,1]
    • I know these two are confusing, but couldn't think of a better way to do this.
  • $NUMBER_CAUSAL: Number of causal SNPs to be simulated
    • int
  • $MAF: Simulate based on MAF bins or not
    • bool
  • $MAF_RANGE: Vector of length two; lower end of the MAF and upper end of the MAF bin to be generated.
    • arma::vec
  • $NREP: Number of permutations to perform
    • int

Secondly

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.