GithubHelp home page GithubHelp logo

phydocker's Introduction

phydocker

This will let you run R in your browser (using Rstudio) with phylogenetics packages installed already; you can also connect directly to run command line phylogenetics tools. These are all installed and configured to work. All of this is free.

You will need to install docker.

Then in a command window (i.e., using a terminal program (on a Mac, in /Applications/Utilities/Terminal.app):

docker run -v ~/Desktop:/data -e PASSWORD=mypassword -p 8787:8787 bomeara/phydocker

Then you can go to http://localhost:8787 in your web browser to run it; log in as rstudio with password mypassword (and you could replace mypassword with another string). Replace ~/Desktop with the full path to the folder where you have files (i.e., /Users/jsmith/Documents/Chapter1). You can keep it ~/Desktop, it'll then have your desktop present as the /data directory in Docker (i.e., in R, you can do save(ape::rcoal(10), file="/data/random.tre") and it'll save a random tree to your desktop. When you're done, you can kill the process with control+C.

Advanced

If you want to run on the command line instead (i.e., from inside Terminal on a Mac) you can do

docker run -it -v ~/Desktop:/data bomeara/phydocker /bin/bash

You can then use programs like raxmlHPC-SSE, treePL, and phlawd without having to go through installation. exit command when done.

Building

For building this from scratch (not most users)

docker build -t bomeara/phydocker .

Or if you want to not use the cached images (the --squash will make compressed images, but requires experimental docker):

docker build --no-cache --squash -t bomeara/phydocker .

To push to docker hub

docker push bomeara/phydocker

However, it is currently set to automatically build with pushes to github.

phydocker's People

Contributors

bomeara avatar

Watchers

James Cloos avatar Robert Herczeg 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.