6681 |
20 Apr 22 |
nicklas |
Bootstrap: library |
6681 |
20 Apr 22 |
nicklas |
From: library/default/rockylinux:8.4 |
6681 |
20 Apr 22 |
nicklas |
3 |
|
6681 |
20 Apr 22 |
nicklas |
%post |
6686 |
21 Apr 22 |
nicklas |
yum install -y wget unzip tar bzip2 hostname |
6681 |
20 Apr 22 |
nicklas |
mkdir -p /download |
6681 |
20 Apr 22 |
nicklas |
7 |
|
6681 |
20 Apr 22 |
nicklas |
## Minconda 2 with Python 2.7 |
6681 |
20 Apr 22 |
nicklas |
wget https://repo.anaconda.com/miniconda/Miniconda2-py27_4.8.3-Linux-x86_64.sh -O /download/miniconda.sh |
6681 |
20 Apr 22 |
nicklas |
bash /download/miniconda.sh -b -p /miniconda |
6681 |
20 Apr 22 |
nicklas |
PATH=/miniconda/bin:$PATH |
6681 |
20 Apr 22 |
nicklas |
conda config --add channels defaults |
6681 |
20 Apr 22 |
nicklas |
conda config --add channels bioconda |
6681 |
20 Apr 22 |
nicklas |
conda config --add channels conda-forge |
6681 |
20 Apr 22 |
nicklas |
15 |
|
6681 |
20 Apr 22 |
nicklas |
## Bowtie2, Tophat, Samtools, Cufflinks, Picard |
6681 |
20 Apr 22 |
nicklas |
conda install -y \ |
6681 |
20 Apr 22 |
nicklas |
bowtie2=2.2.8 \ |
6681 |
20 Apr 22 |
nicklas |
tophat=2.1.0 \ |
6681 |
20 Apr 22 |
nicklas |
samtools=1.9 \ |
6681 |
20 Apr 22 |
nicklas |
cufflinks=2.2.1 \ |
6681 |
20 Apr 22 |
nicklas |
picard-slim=2.22.3 |
6681 |
20 Apr 22 |
nicklas |
23 |
|
6681 |
20 Apr 22 |
nicklas |
## Cleanup |
6681 |
20 Apr 22 |
nicklas |
rm -rf /download |
6681 |
20 Apr 22 |
nicklas |
conda clean -y --all |
6681 |
20 Apr 22 |
nicklas |
yum clean all |
6681 |
20 Apr 22 |
nicklas |
28 |
|
6681 |
20 Apr 22 |
nicklas |
29 |
|
6681 |
20 Apr 22 |
nicklas |
%environment |
6681 |
20 Apr 22 |
nicklas |
export PATH=/miniconda/bin:$PATH |
6681 |
20 Apr 22 |
nicklas |
export JAVA=/miniconda/bin/java |
6681 |
20 Apr 22 |
nicklas |
export BOWTIE=/miniconda/bin/bowtie2 |
6681 |
20 Apr 22 |
nicklas |
export TOPHAT=/miniconda/bin/tophat |
6681 |
20 Apr 22 |
nicklas |
export SAMTOOLS=/miniconda/bin/samtools |
6681 |
20 Apr 22 |
nicklas |
export CUFFLINKS=/miniconda/bin/cufflinks |
6685 |
20 Apr 22 |
nicklas |
export PICARD=`find /miniconda/share -name picard.jar -type f` |
6681 |
20 Apr 22 |
nicklas |
38 |
|
6681 |
20 Apr 22 |
nicklas |
39 |
|
6681 |
20 Apr 22 |
nicklas |
%test |
6686 |
21 Apr 22 |
nicklas |
echo "Host : `hostname 2>&1`" |
6686 |
21 Apr 22 |
nicklas |
echo "OS : `cat /etc/os-release | grep PRETTY_NAME | cut -d '"' -f 2`" |
6686 |
21 Apr 22 |
nicklas |
echo "Bowtie : `bowtie2 --version 2>&1 | head -1`" |
6686 |
21 Apr 22 |
nicklas |
echo "Tophat : `tophat --version 2>&1`" |
6686 |
21 Apr 22 |
nicklas |
echo "Cufflinks : `cufflinks 2>&1 | head -1`" |
6686 |
21 Apr 22 |
nicklas |
echo "Picard : `java -jar ${PICARD} MarkDuplicates --version 2>&1`" |
6686 |
21 Apr 22 |
nicklas |
echo "Samtools : `samtools --version 2>&1 | head -1`" |
6686 |
21 Apr 22 |
nicklas |
echo "Java : `java -version 2>&1 | head -1`" |
6686 |
21 Apr 22 |
nicklas |
echo "Miniconda : `conda --version 2>&1`" |
6686 |
21 Apr 22 |
nicklas |
echo "Python : `python --version 2>&1`" |
6681 |
20 Apr 22 |
nicklas |
51 |
|
6681 |
20 Apr 22 |
nicklas |
52 |
|
6681 |
20 Apr 22 |
nicklas |
%labels |
6681 |
20 Apr 22 |
nicklas |
PipelineVersion v13 |
6681 |
20 Apr 22 |
nicklas |
Author Nicklas Nordborg |
6681 |
20 Apr 22 |
nicklas |
56 |
|
6681 |
20 Apr 22 |
nicklas |
%help |
6681 |
20 Apr 22 |
nicklas |
A container with the tools that are needed to align RNA-seq |
6681 |
20 Apr 22 |
nicklas |
FASTQ files with Tophat and get expression data with Cufflinks. |
6681 |
20 Apr 22 |
nicklas |
To display versions of installed programs use: |
6681 |
20 Apr 22 |
nicklas |
61 |
|
6681 |
20 Apr 22 |
nicklas |
singularity test <container.sif> |