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 -y install wget tar unzip bzip2 hostname |
6679 |
19 Apr 22 |
nicklas |
mkdir -p /download |
6679 |
19 Apr 22 |
nicklas |
7 |
|
6679 |
19 Apr 22 |
nicklas |
## Minconda 4.2 with Python 3.5 (Need this python version with bowtie) |
6679 |
19 Apr 22 |
nicklas |
wget https://repo.anaconda.com/miniconda/Miniconda3-4.2.12-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 |
## Picard, Bowtie2, Trimmomatic |
6679 |
19 Apr 22 |
nicklas |
conda install -y \ |
6679 |
19 Apr 22 |
nicklas |
picard-slim=2.22.3 \ |
6679 |
19 Apr 22 |
nicklas |
bowtie2=2.2.8 \ |
6679 |
19 Apr 22 |
nicklas |
trimmomatic=0.33 |
6679 |
19 Apr 22 |
nicklas |
21 |
|
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 |
26 |
|
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 BOWTIE=/miniconda/bin/bowtie2 |
6685 |
20 Apr 22 |
nicklas |
export PICARD=`find /miniconda/share -name picard.jar -type f` |
6685 |
20 Apr 22 |
nicklas |
export TRIMMOMATIC=`find /miniconda/share -name trimmomatic.jar -type f` |
6685 |
20 Apr 22 |
nicklas |
export TRIMMOMATIC_ADAPTERS=${TRIMMOMATIC%/*}/adapters |
6679 |
19 Apr 22 |
nicklas |
34 |
|
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`" |
6685 |
20 Apr 22 |
nicklas |
echo "Bowtie : `bowtie2 --version 2>&1 | head -1`" |
6679 |
19 Apr 22 |
nicklas |
echo "Java : `java -version 2>&1 | head -1`" |
6679 |
19 Apr 22 |
nicklas |
echo "Picard : `java -jar ${PICARD} ExtractIlluminaBarcodes --version 2>&1`" |
6679 |
19 Apr 22 |
nicklas |
echo "Trimmomatic : ${TRIMMOMATIC}" |
6685 |
20 Apr 22 |
nicklas |
echo "Miniconda : `conda --version 2>&1`" |
6679 |
19 Apr 22 |
nicklas |
echo "Python : `python --version 2>&1`" |
6679 |
19 Apr 22 |
nicklas |
44 |
|
6679 |
19 Apr 22 |
nicklas |
45 |
|
6679 |
19 Apr 22 |
nicklas |
%labels |
6679 |
19 Apr 22 |
nicklas |
PipelineVersion v5 |
6679 |
19 Apr 22 |
nicklas |
Author Nicklas Nordborg |
6679 |
19 Apr 22 |
nicklas |
49 |
|
6679 |
19 Apr 22 |
nicklas |
%help |
6679 |
19 Apr 22 |
nicklas |
A container with the tools that are needed to demux and merge RNA-seq data |
6679 |
19 Apr 22 |
nicklas |
for the Reggie pipeline. This container can also be used for importing |
6679 |
19 Apr 22 |
nicklas |
existing FASTQ files that need to be trimmed with Trimmomatic. To display |
6679 |
19 Apr 22 |
nicklas |
versions of installed programs use: |
6679 |
19 Apr 22 |
nicklas |
55 |
|
6679 |
19 Apr 22 |
nicklas |
singularity test <container.sif> |
6679 |
19 Apr 22 |
nicklas |
57 |
|