Coder Social home page Coder Social logo

ggl's Introduction

GenomeGeometricLearning

Implementation of Characterization of network hierarchy reflects cell-state specificity in genome organization Adapted PyTorch implementation of Poincaré Embeddings for Learning Hierarchical Representations

Installation

Simply clone this repository via

git clone https://github.com/wjychem/GGL.git
cd GGL
conda env create -f environment.yml
python setup.py build_ext --inplace
source activate poincare

HiC2graph

To fulfill network inference and graph analyses from Hi-C datasets, first

mkdir Data graph_statistics hic

Then run HiC2graph_statistics.m. This will derive the closeness centrality and average shortest path length of chromatin contacts networks (CCNs) as well as the inputs for betweenness centrality calculation and Poincaré Embeddings.

Embed Chromatin Contact Networks in Poincaré disk

cd train_script/
./sub-train-hic.sh

This will train the embeddings and save the output results in the hic directory with the same name as input Hi-C datasets. Scripts in train_script directory contain the hyperparameter setting to reproduce the results for Characterization of network hierarchy reflects cell-state specificity in genome organization.The loci ids and embedded coordinates will be saved in the output folder as keys.*.txt and pe.coors.*.txt, respectively, which are used for visualization.

Dependencies

  • Python 3 with NumPy
  • PyTorch
  • Scikit-Learn

ggl's People

Contributors

catmaohphp avatar wjychem avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

skelviper

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.