Slides on Google slides
NA
Link to Dockerfile: Dockerfile
Link: https://hub.docker.com/repository/docker/stefmueller/plink2
Name Most Recent: 'stefmueller/plink2:20190326'
On some cluster it might be necessary to load singularity client (piece of software that is managing access to and running of container).
Not necessary on CS cluster, singularity is in PATH.
singularity pull docker://stefmueller/plink2:20190326
Expected output:
- creation of Singularity Image File (.sif) called
plink2_20190326.sif
Script to run: code/plink_example_script.sh
#!/bin/bash
# prerequisite: copy plink toy data into current working directory
plink2 \
--bfile toy \
--missing \
--out test_container
singularity exec plink2_20190326.sif ./plink_example_script.sh
https://github.com/RTIInternational/code_docker_lib/tree/master/metaxcan
Link to Dockerfile: Dockerfile
Link: https://hub.docker.com/r/stefmueller/metaxcan/tags
Name Most Recent: 'stefmueller/metaxcan:20201115'
On some cluster it might be necessary to load singularity client (piece of software that is managing access to and running of container).
Not necessary on CS cluster, singularity is in PATH.
singularity pull docker://stefmueller/metaxcan:20201115
Expected output:
- creation of Singularity Image File (.sif) called
metaxcan_20201115.sif
Script to run: metaXcan_example_script.sh
#!/usr/bin/env bash
# prerequisite: copy metaXcan sample data
# and update INPUT and OUTPUT directory paths accordingly
source /opt/code_docker_lib/run.sh
INPUT_DIR="data/metaXcan_sample_data"
OUTPUT_DIR="data/output_metaXcan"
#./SPrediXcan.py \
/opt/code_docker_lib/MetaXcan/software/SPrediXcan.py \
--model_db_path ${INPUT_DIR}/DGN-WB_0.5.db \
--covariance ${INPUT_DIR}/covariance.DGN-WB_0.5.txt.gz \
--gwas_folder ${INPUT_DIR}/GWAS \
--gwas_file_pattern ".*gz" \
--snp_column SNP \
--effect_allele_column A1 \
--non_effect_allele_column A2 \
--beta_column BETA \
--pvalue_column P \
--output_file $OUTPUT_DIR/test.csv
singularity exec metaxcan_20201115.sif ./metaXcan_example_script.sh