Code Monkey home page Code Monkey logo

mitoclone's Introduction

mitoClone R Package

The tool is used for performing the analysis of clonal heterogeneity based on nuclear and mitochondrial mutations in single cell RNA or DNA sequencing.

1. System Requirements:

  • Linux/Mac
  • R 3.5+
  • Python 2.7, 3.6, or 3.7
  • Gurobi 9.0.0+

Importantly, an installation of both Gurobi and the gurobipy python package, Gurobi Installation Instructions and Instructions for Installing gurobipy. Gurobi is freely available for academic users see http://www.gurobi.com.

See DESCRIPTION file for specific R package requirements.

The software has been successfully implemented and tested using: Python 3.6.5, R 4.0.0, and Gurobi 9.0.3 on CentOS 7.

2. Installation

For manual package installation use the command:

git clone https://github.com/veltenlab/mitoClone.git

For installing the library from github into R directly use:

library(devtools)
devtools::install_github("veltenlab/mitoClone", build_vignettes = FALSE)

Estimated installation time: < 1 hour*

*Not including acquiring and installing Gurobi license.

3. Demo

Please see R vignettes for further instructions and a demo using real data. Use the command vignette("mitoClone") after loading the library (see Instructions) to list all available tutorials.

Following included tutorials should output figures reproducing publication results.

Estimated demo completion time: < 1 hour

4. Usage Instructions

After installing all dependencies, open an R session and load the library from its installation directory (e.g. mitoClone-master) using the following command:

library(devtools)
load_all('mitoClone-master')

Or if installed via install_github:

library(mitoClone)

Please make sure to set your environmental python variables correctly for use of gurobi. See for example the python_env parameter used in the muta_cluster function.

Again please view the R vignettes for usage possibilities. See the following webpages (located in the cloned github folder inst/doc) for various tutorials.

  • callingCohort: Instructions on how to filter mitochondrial mutations using the strategy applied in the manuscript (typical runtime: > 5 minutes)
  • calling: Instructions on how to filter mitochondrial mutations if only data from a single individual is available (typical runtime: > 5 minutes )
  • clustering: Instructions on how to cluster mutations into a clonal hierarchy and how to assign cells to clones (typical runtime: > 2 hours)
  • denovo: Instructions on how to identify new mutations associated with the clones. This final part can have long runtimes depending on the dataset size and number of mutations. The vignettes contain further instructions so that user can adapt parameters to their appropriate computational infrastructure.

mitoclone's People

Contributors

velten-lab avatar benstory 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.