Skip to content
Snippets Groups Projects
Commit 7ba16439 authored by christine.tranchant_ird.fr's avatar christine.tranchant_ird.fr
Browse files

Error duplicate def

parent 7f7d6805
No related branches found
No related tags found
1 merge request!1Draft: Resolve "Vecscreen"
......@@ -25,6 +25,9 @@ echo "\n debconf debconf/frontend select Noninteractive\n" | debconf-set-selecti
echo "\n ###### wget...\n"
apt-get install -y wget
python3 -m pip install -U pip setuptools build numba --yes
python3 -m pip install ipython panel biopython pysam pandas matplotlib seaborn
echo "\n\n ########### Installing tools...\n"
echo "\n\n ###### samtools ea-utils bwa samtools...\n"
......@@ -37,7 +40,6 @@ echo "\n\n ###### ncbi-blast+ ncbi-tools-bin...\n"
apt-get install -y ncbi-blast+ ncbi-tools-bin
# Create a directory for Miniconda, download and install Miniconda
echo "\n\n ########### Setting up Miniconda...\n"
......@@ -56,61 +58,6 @@ export PATH="/usr/local/miniconda/miniconda3/bin:/usr/bin/:$PATH" >> $SINGULARIT
# Install the assembly-stats tool via conda
#echo "\n########### Installing assembly-stats via conda...\n"
conda install -y bioconda::assembly-stats
# Use Docker as the bootstrap with the base Ubuntu image
Bootstrap: docker
From: ubuntu:latest
# Metadata labels for the container
%labels
Maintainer Christine Tranchant-Dubreuil christine.tranchant@ird.fr
version="1.0"
software="frangiPANe"
description="Conda dependances of frangiPANe"
website=...
%environment
export PATH="/usr/local/miniconda/miniconda3/bin:/usr/bin:$PATH"
# Post-installation section
%post
# Update the system and install bioinformatic tools using apt-get
echo "\n\n ########### Updating the system...\n"
apt-get update -y
echo "\n debconf debconf/frontend select Noninteractive\n" | debconf-set-selections
echo "\n ###### wget...\n"
apt-get install -y wget
echo "\n\n ########### Installing tools...\n"
echo "\n\n ###### samtools ea-utils bwa samtools...\n"
apt-get install -y samtools ea-utils bwa samtools
echo "\n\n ###### abyss cd-hit...\n"
apt-get install -y abyss cd-hit
echo "\n\n ###### ncbi-blast+ ncbi-tools-bin...\n"
apt-get install -y ncbi-blast+ ncbi-tools-bin
python3 -m pip install -U pip setuptools build numba --yes
python3 -m pip install ipython panel biopython pysam pandas matplotlib seaborn
# Create a directory for Miniconda, download and install Miniconda
echo "\n\n ########### Setting up Miniconda...\n"
mkdir /usr/local/miniconda && cd /usr/local/miniconda
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O Miniconda3-latest-Linux-x86_64.sh
chmod +x Miniconda3-latest-Linux-x86_64.sh
./Miniconda3-latest-Linux-x86_64.sh -b -p /usr/local/miniconda/miniconda3 && rm Miniconda3-latest-Linux-x86_64.sh
cd /usr/local/miniconda/miniconda3/bin
export PATH="/usr/local/miniconda/miniconda3/bin:/usr/bin/:$PATH" >> $SINGULARITY_ENVIRONMENT
# Install the assembly-stats tool via conda
echo "\n########### Installing assembly-stats via conda...\n"
conda install -y bioconda::assembly-stats
# Use %runscript to set the default script to run when no command is specified
%runscript
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment