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 (Need this python version with bowtie) |
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 |
## Samtools, Bowtie2, Hisat2, Picard and GATK |
6677 |
14 Apr 22 |
nicklas |
conda install -y \ |
6677 |
14 Apr 22 |
nicklas |
samtools=1.4 \ |
6677 |
14 Apr 22 |
nicklas |
bowtie2=2.2.8 \ |
6677 |
14 Apr 22 |
nicklas |
hisat2=2.2.1 \ |
6677 |
14 Apr 22 |
nicklas |
picard-slim=2.22.3 \ |
6677 |
14 Apr 22 |
nicklas |
gatk=3.8 |
6677 |
14 Apr 22 |
nicklas |
23 |
|
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 |
28 |
|
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 |
6677 |
14 Apr 22 |
nicklas |
export BOWTIE=/miniconda/bin/bowtie2 |
6677 |
14 Apr 22 |
nicklas |
export HISAT=/miniconda/bin/hisat2 |
6677 |
14 Apr 22 |
nicklas |
export SAMTOOLS=/miniconda/bin/samtools |
6685 |
20 Apr 22 |
nicklas |
export PICARD=`find /miniconda/share -name picard.jar -type f` |
6685 |
20 Apr 22 |
nicklas |
export GATK=`find /miniconda/opt -name GenomeAnalysisTK.jar -type f` |
6677 |
14 Apr 22 |
nicklas |
37 |
|
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`" |
6685 |
20 Apr 22 |
nicklas |
echo "Hisat : `hisat2 --version 2>&1 | head -1`" |
6685 |
20 Apr 22 |
nicklas |
echo "Bowtie : `bowtie2 --version 2>&1 | head -1`" |
6677 |
14 Apr 22 |
nicklas |
echo "Java : `java -version 2>&1 | head -1`" |
6677 |
14 Apr 22 |
nicklas |
echo "Picard : `java -jar ${PICARD} MarkDuplicates --version 2>&1`" |
6685 |
20 Apr 22 |
nicklas |
echo "GATK : `gatk3 --version 2>&1`" |
6685 |
20 Apr 22 |
nicklas |
echo "Samtools : `samtools --version 2>&1 | head -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 |
49 |
|
6677 |
14 Apr 22 |
nicklas |
%labels |
6677 |
14 Apr 22 |
nicklas |
PipelineVersion v5 |
6677 |
14 Apr 22 |
nicklas |
Author Nicklas Nordborg |
6677 |
14 Apr 22 |
nicklas |
53 |
|
6677 |
14 Apr 22 |
nicklas |
%help |
6677 |
14 Apr 22 |
nicklas |
A container with the tools that are needed to align RNA-seq |
6677 |
14 Apr 22 |
nicklas |
FASTQ files with Hisat. To display versions of installed |
6677 |
14 Apr 22 |
nicklas |
programs use: |
6677 |
14 Apr 22 |
nicklas |
58 |
|
6677 |
14 Apr 22 |
nicklas |
singularity test <container.sif> |