GreenwoodLab/imputePrepSanger:imputeprepsanger_v1.0
$ singularity pull shub://GreenwoodLab/imputePrepSanger:imputeprepsanger_v1.0
Singularity Recipe
Bootstrap: docker
From: centos:6.9
%labels
Maintainer Natacha Beck && Marie Forest
%files
. /imputePrepSanger
%post
# Standard installation
cd /
yum update -y
yum install -y bzip2 \
gcc \
git \
make \
perl \
unzip \
wget \
zlib-devel \
which
# Bunch of chmod
chmod 755 /imputePrepSanger
chmod 755 /imputePrepSanger/*.awk
chmod 755 /imputePrepSanger/update_build.sh
chmod 755 /imputePrepSanger/imputePrep_script.sh
chmod 755 /imputePrepSanger/HRC-1000G-check-bim_v4.2.7.pl
chmod 755 /imputePrepSanger/reportRedaction.sh
# Install bcftools
cd /
wget https://github.com/samtools/bcftools/releases/download/1.3.1/bcftools-1.3.1.tar.bz2 \
&& bunzip2 -f bcftools-1.3.1.tar.bz2 \
&& tar -xvf bcftools-1.3.1.tar \
&& cd bcftools-1.3.1 \
&& make \
&& make install
# Install plink
cd /imputePrepSanger
unzip /imputePrepSanger/plink_linux_x86_64.zip -d /imputePrepSanger/plink
# Copy fix_data
mkdir /fix_data \
&& cd /fix_data \
&& wget ftp://ngs.sanger.ac.uk/production/hrc/HRC.r1-1/HRC.r1-1.GRCh37.wgs.mac5.sites.tab.gz \
&& gunzip HRC.r1-1.GRCh37.wgs.mac5.sites.tab.gz \
&& wget ftp://ftp.1000genomes.ebi.ac.uk/vol1/ftp/technical/reference/human_g1k_v37.fasta.gz \
&& gunzip human_g1k_v37.fasta.gz || true \
&& wget https://imputation.sanger.ac.uk/www/plink2ensembl.txt
%environment
PATH=$PATH:/imputePrepSanger:/imputePrepSanger/plink
%runscript
cd /imputePrepSanger/
Collection
- Name: GreenwoodLab/imputePrepSanger
- License: None
View on Datalad
Metrics
key | value |
---|---|
id | /containers/GreenwoodLab-imputePrepSanger-imputeprepsanger_v1.0 |
collection name | GreenwoodLab/imputePrepSanger |
branch | master |
tag | imputeprepsanger_v1.0 |
commit | 057e4746e14dbe62a00298ce02449ca4c66f5104 |
version (container hash) | b850963f2ba0c98fe3c172773cea401f |
build date | 2020-10-27T02:24:15.023Z |
size (MB) | 6137 |
size (bytes) | 1699803167 |
SIF | Download URL (please use pull with shub://) |
Datalad URL | View on Datalad |
Singularity Recipe | Singularity Recipe on Datalad |
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.