Git Product home page Git Product logo

smcite's Introduction

Project Status: WIP โ€“ Initial development is in progress, but there has not yet been a stable, usable release suitable for the public. Rust

BlackForest

Note: This is an early-stage project, which has not reached any stable release yet. Frequent changes to the API (and possibly bugs) are expected.

What are we aiming for?

tl;dr: BlackJAX for trees modeling cancer evolution.

Background: There exist many models aiming at the reconstruction of a phylogenetic tree from observational data sequenced at the single-cell level (e.g., SCITE, SCICoNE, COMPASS, PYggdrasil).

They usually consist of proposing a likelihood function, connecting the tree to the observed data, and a method for optimizing the likelihood or sampling it using Markov chain Monte Carlo algorithms.

This package aims at providing an ecosystem such that:

  • It allows easy development of new models, thanks to orthogonal abstractions built around sampling on tree spaces.
  • Does not only include Markov chain Monte Carlo samplers, but als Sequential Monte Carlo samplers.
  • Is fast and supports multithreading.
  • Although the main sampling part is implemented in Rust, it integrates well with Python and Snakemake thanks to Maturin.

Disclaimer

This is an early-stage experimental project and it may be later abandoned due to the lack of time, computational issue which have not been anticipated, or unforeseen reasons. We welcome contributions, but at the same time we suggest to not rely on this package at this stage.

Why a new package?

There are several alternatives we have considered:

  • BlackJAX would be our preferred choice due to a great ecosystem of different samplers. However, we found working with combinatorial structures, such as trees with variable number of nodes, not very convenient in JAX (which is however excellent for working with array-like objects).
  • Blang, which is a full probabilistic programming language, but does not seem to support models for cancer phylogeny inference.
  • Julia has an excellent ecosystem consisting of Pigeons.jl and Turing.jl. However, Rust has better capabilities for integration with Python and static compilation.

smcite's People

Contributors

pawel-czyz 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.