6677 |
14 Apr 22 |
nicklas |
Bootstrap: library |
6677 |
14 Apr 22 |
nicklas |
From: library/default/rockylinux:8.4 |
6677 |
14 Apr 22 |
nicklas |
3 |
|
6677 |
14 Apr 22 |
nicklas |
%post |
6686 |
21 Apr 22 |
nicklas |
yum -y install wget tar unzip bzip2 hostname |
6677 |
14 Apr 22 |
nicklas |
mkdir -p /download |
6677 |
14 Apr 22 |
nicklas |
7 |
|
6677 |
14 Apr 22 |
nicklas |
## Minconda 4.2 with Python 3.5 |
6677 |
14 Apr 22 |
nicklas |
wget https://repo.anaconda.com/miniconda/Miniconda3-4.2.12-Linux-x86_64.sh -O /download/miniconda.sh |
6677 |
14 Apr 22 |
nicklas |
bash /download/miniconda.sh -b -p /miniconda |
6677 |
14 Apr 22 |
nicklas |
PATH=/miniconda/bin:$PATH |
6677 |
14 Apr 22 |
nicklas |
conda config --add channels defaults |
6677 |
14 Apr 22 |
nicklas |
conda config --add channels bioconda |
6677 |
14 Apr 22 |
nicklas |
conda config --add channels conda-forge |
6677 |
14 Apr 22 |
nicklas |
15 |
|
6677 |
14 Apr 22 |
nicklas |
## GATK |
6677 |
14 Apr 22 |
nicklas |
conda install -y \ |
6677 |
14 Apr 22 |
nicklas |
gatk=3.8 |
6677 |
14 Apr 22 |
nicklas |
19 |
|
6677 |
14 Apr 22 |
nicklas |
## Cleanup |
6677 |
14 Apr 22 |
nicklas |
rm -rf /download |
6677 |
14 Apr 22 |
nicklas |
conda clean -y --all |
6677 |
14 Apr 22 |
nicklas |
yum clean all |
6677 |
14 Apr 22 |
nicklas |
24 |
|
6677 |
14 Apr 22 |
nicklas |
%environment |
6677 |
14 Apr 22 |
nicklas |
export PATH=/miniconda/bin:$PATH |
6677 |
14 Apr 22 |
nicklas |
export JAVA=/miniconda/bin/java |
6685 |
20 Apr 22 |
nicklas |
export GATK=`find /miniconda/opt -name GenomeAnalysisTK.jar -type f` |
6677 |
14 Apr 22 |
nicklas |
29 |
|
6677 |
14 Apr 22 |
nicklas |
%test |
6686 |
21 Apr 22 |
nicklas |
echo "Host : `hostname 2>&1`" |
6677 |
14 Apr 22 |
nicklas |
echo "OS : `cat /etc/os-release | grep PRETTY_NAME | cut -d '"' -f 2`" |
6677 |
14 Apr 22 |
nicklas |
echo "Java : `java -version 2>&1 | head -1`" |
6685 |
20 Apr 22 |
nicklas |
echo "GATK : `gatk3 --version 2>&1`" |
6685 |
20 Apr 22 |
nicklas |
echo "Miniconda : `conda --version 2>&1`" |
6685 |
20 Apr 22 |
nicklas |
echo "Python : `python --version 2>&1`" |
6677 |
14 Apr 22 |
nicklas |
37 |
|
6677 |
14 Apr 22 |
nicklas |
%labels |
6677 |
14 Apr 22 |
nicklas |
PipelineVersion v1 |
6677 |
14 Apr 22 |
nicklas |
Author Nicklas Nordborg |
6677 |
14 Apr 22 |
nicklas |
41 |
|
6677 |
14 Apr 22 |
nicklas |
%help |
6677 |
14 Apr 22 |
nicklas |
A container with the tools that are needed perform genotype |
6677 |
14 Apr 22 |
nicklas |
calling for the mBAF analysis. To display versions of installed |
6677 |
14 Apr 22 |
nicklas |
programs use: |
6677 |
14 Apr 22 |
nicklas |
46 |
|
6677 |
14 Apr 22 |
nicklas |
singularity test <container.sif> |