Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
singularity
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gad-public
singularity
Commits
0d67915e
Commit
0d67915e
authored
Sep 29, 2023
by
Valentin Vautrot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleaning unecessary command lines for previous installations attempts (rmats, lumpy)
parent
0cd8b53e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
26 deletions
+2
-26
python_3.9.def
python_3.9.def
+2
-26
No files found.
python_3.9.def
View file @
0d67915e
...
...
@@ -19,7 +19,6 @@ mkdir ${SINGULARITY_ROOTFS}/data
/home/valentinv/Documents/GitLab/gadpipeline/common/InterTools.py /data/
/home/valentinv/Documents/GitLab/gadpipeline/common/VcfTools.py /data/
/home/valentinv/Documents/GitLab/gadpipeline/common/CnvTools.py /data/
/home/valentinv/Documents/projet_apptainer/rMATS.4.0.2/rMATS-turbo-Linux-UCS4 /data/
%post
sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*
...
...
@@ -33,15 +32,6 @@ dnf update -y --exclude=filesystem
dnf remove -y python3 && dnf autoremove
dnf install -y python39
# install rMATS & required packages
dnf --enablerepo=powertools -y install lapack-devel
dnf --enablerepo=powertools -y install blas-devel
dnf install -y gsl-devel.x86_64
dnf install -y gcc-gfortran
mkdir /usr/bin/rMATS4.2.0/
mv /data/rMATS-turbo-Linux-UCS4 /usr/bin/rMATS4.2.0/rMATS-turbo-Linux-UCS4
# causes error (parenthesis). rMATS written in python2.7.x so probably compatibility problem with python3
# install non-pip python packages
mv /data/GeneralTools.py /usr/lib/python3.9/site-packages/
mv /data/LabkeyTools.py /usr/lib/python3.9/site-packages/
...
...
@@ -63,18 +53,6 @@ pip3.9 install --upgrade -t /usr/lib/python3.9/site-packages/ scipy
pip3.9 install --upgrade -t /usr/lib/python3.9/site-packages/ pyvcf
pip3.9 install --upgrade -t /usr/lib/python3.9/site-packages/ simplejson
# install packages required by lumpy (pysam)
# dnf install -y make
# dnf install -y zlib-devel
# dnf install -y bzip2-devel
# dnf install -y xz-devel
# dnf install -y libcurl-devel
# pip3.9 install --upgrade -t /usr/lib/python3.9/site-packages/ cython
# let pip install htslib may not be a good idea, unless configuring with, eg :
# export HTSLIB_CONFIGURE_OPTIONS=--enable-plugins
# pip3.9 install --upgrade -t /usr/lib/python3.9/site-packages/ pysam
#clean
rmdir /data/
...
...
@@ -83,6 +61,4 @@ printf "\n\ntest phase ################\n\n"
echo "python version :"
python3 -V
echo "listing installed pip packages :"
python3 -m pip list
echo "checking if there is any outdated or unrequired packages :"
python3 -m pip list -o --not-required
\ No newline at end of file
python3 -m pip list
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment