Code Monkey home page Code Monkey logo

singularity_container_recipes's Introduction

Singularity container recipes

This repository contains recipes for building singularity containers for various tasks, usually to run software on TSD that is difficult to install due to its being offline.

Container descriptions

See subdirectories for the respective containers' descriptions.

Building containers

Building singularity containers requires

  1. A working singularity installation. I use a vagrant VM on macOS.
  2. Sudo privileges.

Building is done with the build command, and requires a name of the container image you're building, and the path to a recipe. E.g.:

sudo singularity build r_container.simg r_container_with_deseq2.txt

It's also a good idea to reroute output messages from stdout to a log file. This makes it easier to find errors in the quite long stream of output, and can be done by piping the output to a file using tee:

sudo singularity build r_container.simg r_container_with_deseq2.txt | tee build_log.txt

Running containers

To check if the built container works, e.g. that your R-packages have been installed correctly, you can run a shell in the container, open an R session and load the package:

singularity shell r_container.simg

then

R

and finally

library(DESeq2)

singularity_container_recipes's People

Contributors

jonasmst avatar

Watchers

James Cloos 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.