6679 |
19 Apr 22 |
nicklas |
Bootstrap: library |
6679 |
19 Apr 22 |
nicklas |
From: library/default/rockylinux:8.4 |
6679 |
19 Apr 22 |
nicklas |
3 |
|
6679 |
19 Apr 22 |
nicklas |
%post |
6686 |
21 Apr 22 |
nicklas |
yum install -y wget unzip tar bzip2 hostname |
6679 |
19 Apr 22 |
nicklas |
mkdir -p /download |
6679 |
19 Apr 22 |
nicklas |
7 |
|
6679 |
19 Apr 22 |
nicklas |
## Minconda 4.11 with Python 3.7 |
6679 |
19 Apr 22 |
nicklas |
wget https://repo.anaconda.com/miniconda/Miniconda3-py37_4.11.0-Linux-x86_64.sh -O /download/miniconda.sh |
6679 |
19 Apr 22 |
nicklas |
bash /download/miniconda.sh -b -p /miniconda |
6679 |
19 Apr 22 |
nicklas |
PATH=/miniconda/bin:$PATH |
6679 |
19 Apr 22 |
nicklas |
conda config --add channels defaults |
6679 |
19 Apr 22 |
nicklas |
conda config --add channels bioconda |
6679 |
19 Apr 22 |
nicklas |
conda config --add channels conda-forge |
6679 |
19 Apr 22 |
nicklas |
15 |
|
6679 |
19 Apr 22 |
nicklas |
## Mosdepth, VarDict, Vcfanno, Bedtools, SnpEff, SnpSift, R with MutationalPatterns |
6679 |
19 Apr 22 |
nicklas |
conda install -y \ |
6679 |
19 Apr 22 |
nicklas |
mosdepth=0.2.6 \ |
7070 |
17 Mar 23 |
nicklas |
vardict-java=1.8.3 \ |
6679 |
19 Apr 22 |
nicklas |
vcfanno=0.3.2 \ |
6679 |
19 Apr 22 |
nicklas |
bedtools=2.28 \ |
6679 |
19 Apr 22 |
nicklas |
snpeff=4.3.1t \ |
6679 |
19 Apr 22 |
nicklas |
snpsift=4.3.1t \ |
6679 |
19 Apr 22 |
nicklas |
r-base=3.6.3 \ |
6679 |
19 Apr 22 |
nicklas |
bioconductor-genomeinfodbdata=1.2.2 \ |
6679 |
19 Apr 22 |
nicklas |
bioconductor-mutationalpatterns=1.12.0 \ |
6679 |
19 Apr 22 |
nicklas |
bioconductor-bsgenome.hsapiens.ucsc.hg38=1.4.1 |
6679 |
19 Apr 22 |
nicklas |
28 |
|
6679 |
19 Apr 22 |
nicklas |
## Cleanup |
6679 |
19 Apr 22 |
nicklas |
rm -rf /download |
6679 |
19 Apr 22 |
nicklas |
conda clean -y --all |
6679 |
19 Apr 22 |
nicklas |
yum clean all |
6679 |
19 Apr 22 |
nicklas |
33 |
|
6679 |
19 Apr 22 |
nicklas |
34 |
|
6679 |
19 Apr 22 |
nicklas |
%environment |
6679 |
19 Apr 22 |
nicklas |
export PATH=/miniconda/bin:$PATH |
6679 |
19 Apr 22 |
nicklas |
export JAVA=/miniconda/bin/java |
6679 |
19 Apr 22 |
nicklas |
export MOSDEPTH=/miniconda/bin/mosdepth |
6679 |
19 Apr 22 |
nicklas |
export VARDICT=/miniconda/bin/vardict-java |
6679 |
19 Apr 22 |
nicklas |
export BEDTOOLS=/miniconda/bin/bedtools |
6679 |
19 Apr 22 |
nicklas |
export VCFANNO=/miniconda/bin/vcfanno |
6679 |
19 Apr 22 |
nicklas |
export SNPEFF=`find /miniconda/share -name snpEff.jar -type f` |
6679 |
19 Apr 22 |
nicklas |
export SNPSIFT=`find /miniconda/share -name SnpSift.jar -type f` |
6679 |
19 Apr 22 |
nicklas |
44 |
|
6679 |
19 Apr 22 |
nicklas |
%test |
6686 |
21 Apr 22 |
nicklas |
echo "Host : `hostname 2>&1`" |
6679 |
19 Apr 22 |
nicklas |
echo "OS : `cat /etc/os-release | grep PRETTY_NAME | cut -d '"' -f 2`" |
6679 |
19 Apr 22 |
nicklas |
echo "Java : `java -version 2>&1 | head -1`" |
6685 |
20 Apr 22 |
nicklas |
echo "Mosdepth : `mosdepth --version 2>&1`" |
6679 |
19 Apr 22 |
nicklas |
echo "VarDict : `ls -d /miniconda/pkgs/vardict*`" |
6679 |
19 Apr 22 |
nicklas |
echo "Vcfanno : `vcfanno 2>&1 | grep vcfanno | head -1`" |
6685 |
20 Apr 22 |
nicklas |
echo "Bedtools : `bedtools --version 2>&1`" |
6685 |
20 Apr 22 |
nicklas |
echo "SnpEff : `snpEff ann -h 2>&1 | head -1`" |
6679 |
19 Apr 22 |
nicklas |
echo "SnpSift : `SnpSift filter -h 2>&1 | head -1`" |
6685 |
20 Apr 22 |
nicklas |
echo "M.Patterns : `Rscript -e 'packageVersion("MutationalPatterns")' 2>&1`" |
6685 |
20 Apr 22 |
nicklas |
echo "Miniconda : `conda --version 2>&1`" |
6679 |
19 Apr 22 |
nicklas |
echo "Python : `python --version 2>&1`" |
6685 |
20 Apr 22 |
nicklas |
echo "R : `R --version 2>&1 | head -1`" |
6679 |
19 Apr 22 |
nicklas |
59 |
|
6679 |
19 Apr 22 |
nicklas |
60 |
|
6679 |
19 Apr 22 |
nicklas |
%labels |
6679 |
19 Apr 22 |
nicklas |
PipelineVersion v2 |
6679 |
19 Apr 22 |
nicklas |
Author Nicklas Nordborg |
6679 |
19 Apr 22 |
nicklas |
64 |
|
6679 |
19 Apr 22 |
nicklas |
65 |
|
6679 |
19 Apr 22 |
nicklas |
%help |
6679 |
19 Apr 22 |
nicklas |
A container with the tools that are needed for the variant |
6679 |
19 Apr 22 |
nicklas |
calling pipeline. To display versions of installed programs |
6679 |
19 Apr 22 |
nicklas |
use: |
6679 |
19 Apr 22 |
nicklas |
70 |
|
6679 |
19 Apr 22 |
nicklas |
singularity test <container.sif> |