Giter VIP home page Giter VIP logo

local-moran-index-1d's Introduction

Local-Moran-Index-1D

This is the code that accompanies the paper Lopez de Maturana et al., (2020).

The scripts and the data contain the reference bioinformatic steps followed to get to the set of 510 SNPs that were selected by the LMI. Code is given in IPython notebooks, for clarity. The files are intended to be open with the Jupyter Notebook or any other *.ipynb interpreter.

Download or clone this repo and start by following the script 00_run_LMI.ipynb. It will run the LMI calculation on the SNPs on your sumstats. Some complementary data, like sumstats or 1000 Genomes CEU genotypes used in the paper can be downloaded from here so the LMI can be run.

Next, the script 01_GWAS_LMI_integration.ipynb contains the R reference code (with comments) we used to get the 510 SNPs we discuss in the paper. You can download some complementary sample data from here to use to test the script. Then, the SNPs will be integrated with HiC data and significant contacts in the 02_TADBit_HOMER_Overlap_SNPs.ipynb file. This file contains the bash commands to run HOMER and get significant interactions to be crossed with your SNPs.

Finally, the script calculate_credible_sets_LMI.R was used as an adaptation of https://github.com/hailianghuang/FM-summary to calculate our credible sets, qqplots and enrichments from the summary statistics.

local-moran-index-1d's People

Contributors

pollicipes avatar

Watchers

 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.