Skip to content

joellepasman/containers

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

The goal of this repository is to distribute tools for GWAS and post-GWAS analysis in CoMorMent project (http://comorment.eu/).

Most of these tools are packaged into singularity containers (https://sylabs.io/singularity/) and shared in singularity folder of this repository. You can download individual containers using github's Download button, or clone the entire repository from command line as described in the Getting started section below).

Most of the tools require additional reference data, provided in the reference folder of this repository. Certain reference data can not be made publicly available, in which case we provide access instructions in a separate GitHub repository: https://github.com/comorment/reference. This repository is private - please approach your contact within CoMorMent project to enable your access.

Description of containers and usage instructions are provided in the docs folder.

More extensive use cases of containers, focusing on real data analysis, are provided in the usecases folder.

Getting started

We recommend to clone this entire repository. This is done by running git clone https://github.com/comorment/containers.git command. However, you need to enable install GitLFS extension. This is done by downloading and unpacking the GitLFS package, adding git-lfs binary to a folder that is in your PATH, and running git lfs install command.

mkdir ~/bin
export PATH="/home/$USER/bin:$PATH"        # good idea to put this in your ~/.bashrc or ~/.bash_profile
wget https://github.com/git-lfs/git-lfs/releases/download/v2.13.2/git-lfs-linux-amd64-v2.13.2.tar.gz
tar -xzvf git-lfs-linux-amd64-v2.13.2.tar.gz
cp git-lfs /home/$USER/bin
git lfs install

Now you're all set to clone this repository:

git clone https://github.com/comorment/containers.git

For TSD system, a read-only copy of these containers is maintained at these locations (please read /cluster/projects/pNN/github/README.md file before using these copies):

/cluster/projects/p33/github/comorment
/cluster/projects/p697/github/comorment

Once you have a clone of this repository on your system, you may proceed with docs/hello.md example. Take a look at other README files in the docs folder, as well as detailed use cases in usecases folder.

To simplify instructions throughout this repository we use certain variables (it's a good idea to include them in your .bashrc or similar):

  • $COMORMENT refers to a folder with comorment and reference subfolders, containing a clone of containers and reference repositories from GitHub. Cloning reference repository is optional, and it's only needed for internal work within the CoMorMent project - for normal use you may proceed without it.
  • $SIF refers to $COMORMENT/containers/singularity folder, containing singulairty containers (the .sif files)
  • SINGULARITY_BIND="$COMORMENT/containers/reference:/REF:ro,$COMORMENT/containers/matlab:/MATLAB:ro,$COMORMENT/reference:/REF2:ro" defines default bindings within container (/REF, /REF2 and /MATLAB). If you don't have access to private reference, try out commands without mapping $COMORMENT/reference:/REF2:ro - most of the exmples don't require private reference data.
  • We assume that all containers run with --home $PWD:/home, mounting current folder mounted as /home within container
  • We also recommend using --contain argument to better isolate container from the environment in your host machine. If you choose not to mount --home $PWD:/home, you may want to add --no-home argument.

Legacy

Earlier version (prior to April 2021) of all containers and refrence data was distributed on Google Drive. This is no longer the case, the folder on Google drive is no longer maintained. ALl containers and reference data are released through this repository.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 58.0%
  • Shell 27.6%
  • MATLAB 14.4%