Skip to main content

LineageOT

Project description

LineageOT

This code accompanies the paper https://biorxiv.org/cgi/content/short/2020.07.31.231621v2. Documentation is available at https://lineageot.readthedocs.io/.

Requirements and installation guide

Installing dependencies

First, clone this repository with

git clone https://github.com/aforr/LineageOT

Dependencies are listed in conda_requirements.yml as well as in pip_requirements.txt; earlier versions of the packages may work but have not been tested. If you are using Anaconda, they can be installed with

conda env create -f conda_requirements.yml

Installation may take a few minutes. Activate the environment with

conda activate lineageOT

If you are using pip and not Anaconda, install dependencies with

pip install numpy cython
pip install -r pip_requirements.txt
Installing LineageOT

Once you have set up and activated the environment, install the most recent LineageOT by running

pip install .

from the repository's base directory. Alternatively, install from PyPI with

pip install lineageot

No specific operating system is required, though there may be a bug in one of the dependencies in certain versions of MacOS (https://github.com/PythonOT/POT/issues/93). The code has been tested on OS X 10.14.6 and Ubuntu 16.04.

Examples

An example of LineageOT applied to simulated data is in examples/simulation_demo.ipynb. Running the notebook for one simulation type took around 10 minutes on a "normal" desktop.

To fit LineageOT couplings in your own system, follow the steps in examples/pipeline_demo.ipynb replacing the synthetic AnnData object with your data. We recommend then using the downstream analysis tools available in the Waddington-OT package: https://broadinstitute.github.io/wot/.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lineageot-0.1.0.tar.gz (22.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lineageot-0.1.0-py3-none-any.whl (23.6 kB view details)

Uploaded Python 3

File details

Details for the file lineageot-0.1.0.tar.gz.

File metadata

  • Download URL: lineageot-0.1.0.tar.gz
  • Upload date:
  • Size: 22.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.3

File hashes

Hashes for lineageot-0.1.0.tar.gz
Algorithm Hash digest
SHA256 908f58b0dd55d605f0f720590e83829e2cc6d7708618983561b6fa6c1e0ac112
MD5 b397abef5e50be94c7f47ef0bce46691
BLAKE2b-256 0d5078897c4bccd689854c02aaaebfc018a1a789d548d80c9c9f22bd70f57a69

See more details on using hashes here.

File details

Details for the file lineageot-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: lineageot-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 23.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.3

File hashes

Hashes for lineageot-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e5c706abfdb5f4c8327ed5981258638b0688ec2726f59d242b4669129ee5d5a6
MD5 8f708e823469009e862c6eb42367d392
BLAKE2b-256 e6edc52250f87d709337b15da3817b8e331e12f9198ba66bad8cd17966cebb6c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page