Giter Club home page Giter Club logo

shasta-docker's Introduction

This project is abandoned.

Please refer to the Shasta repo fork for software release options.


Docker images for doing de-novo assembly using Shasta.

How to install Docker?

Docker can be installed on most platforms. Detailed instructions available at https://docs.docker.com/engine/install/

How to manage Docker as a non-root user in Linux?

https://docs.docker.com/engine/install/linux-postinstall/#manage-docker-as-a-non-root-user

How to use the Shasta Docker images?

Shasta Docker images are available for the x86_64 (amd64) & arm64v8 (aarch64) platforms.

Platform Docker image
x86_64 https://github.com/orgs/chanzuckerberg/packages/container/package/shasta
arm64v8 https://github.com/orgs/chanzuckerberg/packages/container/package/shasta-arm64v8

You can use the following command to see which Shasta releases are available and how to use them.

docker run ghcr.io/chanzuckerberg/shasta:latest --help

OR

docker run ghcr.io/chanzuckerberg/shasta-arm64v8:latest --help

Examples

The following examples assume that you're on the x86_64 (amd64) platform. If you're on the arm64v8 (aarch64) platform, replace ghcr.io/chanzuckerberg/shasta:latest with ghcr.io/chanzuckerberg/shasta-arm64v8:latest, in the following examples.

  1. If the reads (fasta/fastq) files are located at /path/to/folder/containing/reads and you would like the Assembly Directory be created in the current working directory, then
docker run -u `id -u`:`id -g` \
    -v `pwd`:/output \
    -v /path/to/folder/containing/reads:/reads:ro \
    ghcr.io/chanzuckerberg/shasta:latest \
    <SHASTA-VERSION-STRING> \
    --input /reads/input.fasta
  1. If you would also like to provide a Shasta conf file, located in the current working directory, then
docker run -u `id -u`:`id -g` \
    -v `pwd`:/output \
    -v /path/to/folder/containing/reads:/reads:ro \
    ghcr.io/chanzuckerberg/shasta:latest \
    <SHASTA-VERSION-STRING> \
    --input /reads/input.fasta \
    --conf Nanopore-Sep2020.conf
  1. If you would also like to override specific configuration parameters, then
docker run -u `id -u`:`id -g` \
    -v `pwd`:/output \
    -v /path/to/folder/containing/reads:/reads:ro \
    ghcr.io/chanzuckerberg/shasta:latest \
    <SHASTA-VERSION-STRING> \
    --input /reads/input.fasta \
    --conf Nanopore-Sep2020.conf \
    --MinHash.minBucketSize 13 \
    --assemblyDirectory ShastaRunInDocker

Passing the user:group of the user running the Docker command with the -u flag will result in the Assembly Directory being owned by that user. Otherwise, the Assembly Directory will be owned by root.

Detailed information about running a Shasta assembly can be found at https://chanzuckerberg.github.io/shasta/Running.html.

Note

Optimal Shasta performance can be achieved by using --memoryMode filesystem --memoryBacking 2M. However, this requires the --privileged flag, as shown below

docker run --privileged \
    -v `pwd`:/output \
    ghcr.io/chanzuckerberg/shasta:latest \
    <SHASTA-VERSION-STRING> \
    --input input.fasta --memoryMode filesystem --memoryBacking 2M

shasta-docker's People

Contributors

bagashe avatar paoloczi avatar

Stargazers

Mike Lin avatar  avatar

Watchers

Girish Patangay avatar Jessica Gadling avatar James Cloos avatar  avatar Andrey Kislyuk avatar Bruce Martin avatar  avatar  avatar

shasta-docker's Issues

Remove -DBUILD_WITH_HTTP_SERVER=OFF from cmake command line

Using -DBUILD_WITH_HTTP_SERVER=OFF no longer has any effect and should be removed from the cmake command line when building Shasta. It generates the following cmake warning message:

CMake Warning:
  Manually-specified variables were not used by the project:

    BUILD_WITH_HTTP_SERVER

However this message is innocuous as the build proceeds anyway.

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.