Singularity
gwas.sif
container
Description
The gwas.sif
container file has multiple tools related to imputation and GWAS analysis, as summarized in the Sofware table below.
Note that some specific tools (e.g. bolt
) are added to the path directly from their /tools
folder (e.g. /tools/bolt
) due to hard-linked dependencies.
Either way, all tools can be invoked by their name, as listed above. For example:
>singularity exec gwas.sif regenie
|=============================|
| REGENIE v2.0.2.gz |
|=============================|
Copyright (c) 2020 Joelle Mbatchou and Jonathan Marchini.
Distributed under the MIT License.
Compiled with Boost Iostream library.
Using Intel MKL with Eigen.
ERROR: You must provide an output prefix using '--out'
For more information, use option '--help' or visit the website: https://rgcgithub.github.io/regenie/
Software
List of software included in the container:
OS/tool |
version |
license |
---|---|---|
ubuntu |
20.04 |
|
bcftools[1] |
1.19 |
|
bedtools[2] |
2.31.1 |
|
22Jul22.46e |
||
bgenix[5] |
1.1.7 |
|
bolt[6] |
v2.4.1 |
|
cat-bgen[7] |
same version as bgenix |
|
duohmm[8] |
95bd395 |
|
eagle[9] |
v2.4.1 |
|
edit-bgen[10] |
same version as bgenix |
|
flashpca_x86-64[11] |
2.0 |
|
gcta64[12] |
1.94.1 |
|
gctb[13] |
2.04.3 |
|
GWAMA[14] |
2.2.2 |
|
HTSlib[15] |
1.19.1 |
|
king[16] |
2.3.2 |
|
ldak[17] |
5.2 |
|
liftOver[18] |
latest |
|
metal[19] |
2020-05-05 |
- |
minimac4[20] |
v4.1.6 |
|
plink[21] |
v1.90b7.2 64-bit (11 Dec 2023) |
|
plink2[22] |
v2.00a5.10LM 64-bit Intel (5 Jan 2024) |
|
plink2_avx2[22] |
v2.00a5.10LM AVX2 Intel (5 Jan 2024) |
|
PRSice_linux[23] |
2.3.5 |
|
qctool[24] |
2.2.2, revision e5723df2c0c85959 |
|
regenie[25] |
v3.4 |
|
samtools[1] |
v1.19.2 |
|
shapeit4.2[26] |
v4.2.2 |
|
shapeit5[27] phase_rare |
v5.1.1 |
|
shapeit5[27] phase_common |
v5.1.1 |
|
shapeit5[27] ligate |
v5.1.1 |
|
shapeit5[27] switch |
v5.1.1 |
|
shapeit5[27] xcftools |
v5.1.1 |
|
simu_linux[28] |
v0.9.4 |
|
snptest[29] |
v2.5.6 |
|
switchError[30] |
6e688b1 |
|
vcftools[31] |
0.1.17 (git SHA: d511f469e) |
python3.sif
container
Description
python3.sif
container runs Python packaged by Conda-forge, and has many useful python modules already installed,
including pandas, numpy, scipy, matplotlib, jupyter and few others (see here for full details).
Basic usage is very simple:
>singularity exec --contain --home $PWD:/home python3.sif python
Python 3.10.6 | packaged by conda-forge | (main, Aug 22 2022, 20:35:26) [GCC 10.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
You may also use jupyter notebook like this:
singularity exec --contain --home $PWD:/home $SIF/python3.sif jupyter notebook --no-browser --port 8890
The port is optional, but you may want to specify it if you’d like to run jupyter on a remote server - in which case you need to enable port forwarding as described here. This also works if you connect from Windows using Putty as described here.
python3.sif
container has few additional tools installed:
/tools/ukb/ukb_helper.py
- https://github.com/precimed/ukb//tools/python_convert
- https://github.com/precimed/python_convertldpred
- https://github.com/bvilhjal/ldpred is installed via pip, simply run ‘ldpred –help’ to get started
Software
List of software in the container:
OS/tool |
version |
license |
---|---|---|
ubuntu |
20.04 (LTS) |
|
LDpred[32] |
1.0.11 |
|
plink[21] |
v1.90b6.18 64-bit (16 Jun 2020) |
|
python3[33] |
python 3.10.6 + numpy, pandas, etc. |
|
python_convert[34] |
git SHA bcde562 |
r.sif
container
Description
The r.sif
container has multiple genetics tools based or relying on R, with a full R environment and Rstudio-server, based on the Rocker Project rocker/verse
image.
Please refer to the Software table below for details.
In addition, several standard R packages are also included (e.g. data.table, ggplot2, rmarkdown, etc.)
Please report an issue if you encounter errors that have not been reported.
For GSMR, the example data (http://cnsgenomics.com/software/gsmr/static/test_data.zip
) is available in $COMORMENT/containers/reference/example/gsmr
folder.
You may start the container like this:
cd $COMORMENT/containers/reference/examples/gsmr
singularity shell --home $PWD:/home $SIF/r.sif
and then follow the official tutorial https://cnsgenomics.com/software/gsmr/ .
Note that gcta64
tool is also included in r.sif
container, as the tutorial depends on it.
Invoking Rstudio-server
The r.sif
container includes Rstudio-server, which can be accessed in a browser running on the host machine by
Start Rstudio-server on the local or remote machine as:
cd <working/dir>
mkdir -p run var-lib-rstudio-server
printf 'provider=sqlite\ndirectory=/var/lib/rstudio-server\n' > database.conf
singularity exec --bind run:/run,var-lib-rstudio-server:/var/lib/rstudio-server,database.conf:/etc/rstudio/database.conf <path/to/r.sif /usr/lib/rstudio-server/bin/rserver --www-address=127.0.0.1
where <working/dir>
is the directory where you want to start Rstudio-server, and <path/to/r.sif>
is the path to the r.sif
container.
(Optional) Create SSH tunnel using port 8787 from the local host to the remote machine
ssh -N -f -L "localhost:8787:localhost:8787" <remote/machine/address> # replace <remote/machine/address> as necessary
Then, open 0.0.0.0:8787 in a web browser on the host.
Please refer to the Rocker Project documentation for more details.
Software
Genetic analysis software
List of main software in the container:
OS/tool |
version |
license |
---|---|---|
ubuntu |
20.04 |
|
R[35] |
4.0.5 (2021-03-31) + data.table, ggplot, etc. |
|
gcta64[12] |
1.94.1 |
|
GenomicSEM[36] |
||
GSMR[37] |
v1.0.9 |
|
rareGWAMA[38] |
- |
|
seqminer[39] |
||
PRSice_linux[23] |
2.3.5 |
|
TwoSampleMR[40] |
||
snpStats[40] |
v1.40.0 |
R packages
In addition to the rocker/verse
image and the above genomics tools listed above there are a host of additional R packages and dependencies installed in the container.
See the installer scripts for CRAN,
Bioconductor,
GitHub,
and source packages for details.
ldsc.sif
container
LD score regression. For details, see github.com/comorment/ldsc.
HDL.sif
container
High-Definition Likelihood. For details, see github.com/comorment/HDL.
MAGMA.sif
container
MAGMA, LAVA, and LAVA-partitioning tools. For details, see github.com/comorment/MAGMA.
MiXeR.sif
container
Causal Mixed Effect Models for Cross-Trait and Cross-Ancestry Analysis. For details, see github.com/comorment/MiXeR.