Git Product home page Git Product logo

uxm_deconv's Introduction

UXM fragment-level deconvolution algorithm

UXM is a computational fragment-level reference-based deconvolution algorithm for DNA methylation sequencing data. It constructs a reference atlas where the percentages of unmethylated fragments is computed for every marker (row) in each cell type (column). A non-negative least squares (NNLS) algorithm is then used to fit an input sample, and estimate its relative contributions.

Visualization of the reference atlas published in Loyfer et al.

Quick start

Installation

  • Make sure wgbstools is installed and found in $PATH.
  • Clone UXM.
  • Optionally, add the "uxm" main scrip to your $PATH.
git clone https://github.com/nloyfer/UXM_deconv.git
cd UXM_deconv/
# Optionally, add to PATH (or link "./uxm" to some directory in $PATH)
export PATH=${PATH}:$PWD

Dependencies

  • python 3+
  • pandas, numpy, scipy
  • wgbstools

Usage examples

Running deconvolution

$ uxm deconv data/*pat.gz -o output.csv
dumped atlas to output.csv

Plotting deconvolution results

# Plot a stacked bar plot
$ uxm plot output.csv -o output.pdf
dumped figure to output.pdf

This project is developed by Netanel Loyfer in Prof. Tommy Kaplan's lab at the Hebrew University, Jerusalem, Israel.
If you are using the UXM deconvolution in a paper, please cite:

Loyfer*, Magenheim*, Peretz* et al. (2023) ‘A DNA methylation atlas of normal human cell types’, Nature.

See the tutorial for more information

uxm_deconv's People

Contributors

nloyfer 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.