Code Monkey home page Code Monkey logo

slicer-docker's Introduction

slicer-docker

Environment for executing the slicer trajectory inference algorithm. Contains functions to convert the output to common formats. The container is hosted on docker hub.

This readme documents the native analysis script of the container, which has a uniform api across all Stuart lab trajectory algorithm dockers. For other possible ways to use the container, see the documentation for the monocle container.

For instructions below I suggest creating a shared volume, ./shared in the directory you are launching the docker from. This volume acts as shared storage. The shared storage is the easiest way to access input and output from the container.

You can run this command in bash (R needs to be installed) to create the test expression data, exp.tab:

R -e 'set.seed(13);write.table(replicate(110, rnbinom(500, c(3, 10, 45, 100), .1)),file="shared/exp.tab",col.names=1:110, sep="\t")'

Execute the container's native analysis script:

By convention our containers for TI algorithms have arun_method script in the image's $PATH. This allows a uniform interface for containers with different algorithms. The pattern is:

docker run -v $(pwd):/data <container_name> run_method <tab delim exp file> <output.json>

If the second positional argument is ommitted then a file called output_method.json will be produced. Hence, if your expression file 'exp.tab' is in your current working directory:

docker run -v $(pwd):/data stuartlab/slicer run_method exp.tab

will produce a 'output_slicer.json' file.

slicer-docker's People

Contributors

mrjeppard avatar

Watchers

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