Skip to content

Commit

Permalink
add dorado.def + change version in profile config
Browse files Browse the repository at this point in the history
  • Loading branch information
mAGLAVE committed Oct 8, 2024
1 parent e19db14 commit 6695b1d
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
29 changes: 29 additions & 0 deletions envs/singularity/dorado_0.8.0.def
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
BootStrap: docker
From: ubuntu:22.04

#build image
#sudo singularity build dorado_0.8.0.simg dorado_0.8.0.def
#using image
#singularity exec --no-home dorado_0.8..simg dorado --version
%environment
export RETICULATE_MINICONDA_ENABLED=FALSE #ne pas utiliser de miniconda dans le container
LANG=en_US.UTF-8
LC_TIME=en_US.UTF-8
LC_MONETARY=en_US.UTF-8
LC_PAPER=en_US.UTF-8
LC_MEASUREMENT=en_US.UTF-8
export PATH="/dorado-0.8.0-linux-x64/bin/:$PATH"
#export PATH="/usr/local/cuda/bin:$PATH"
#export LD_LIBRARY_PATH="/usr/local/cuda-11.1/targets/x86_64-linux/lib:$LD_LIBRARY_PATH"

%post #toutes les lignes de commande qu'on veux qu'il installe
echo "Ubuntu version ############"
cat /etc/lsb-release #afficher la version de ubuntu qui a été installé
apt-get -y update && apt-get -y upgrade
#prevent the configuration of timezone data to block the build:
ln -fs /usr/share/zoneinfo/Europe/Paris /etc/localtime
apt-get install -y tzdata=2024a-0ubuntu0.22.04.1 wget=1.21.2-2ubuntu1.1
dpkg-reconfigure --frontend noninteractive tzdata

wget https://cdn.oxfordnanoportal.com/software/analysis/dorado-0.8.0-linux-x64.tar.gz
tar -xvf dorado-0.8.0-linux-x64.tar.gz
2 changes: 1 addition & 1 deletion profiles/slurm/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ reason: false
printshellcmds: true
jobname: "{name}.{jobid}.snakejob"
use-conda: true
conda-prefix: /mnt/beegfs/pipelines/bigr_long-reads_bulk/dev/envs/compiled_conda
conda-prefix: /mnt/beegfs/pipelines/bigr_long-reads_bulk/2.1.0/envs/compiled_conda

0 comments on commit 6695b1d

Please sign in to comment.