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
1c716329
Commit
1c716329
authored
Sep 15, 2023
by
Valentin Vautrot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added python 3.9 packages installation up until the end of the CNV section in full_wes v.2.10.0
parent
61c38963
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
4 deletions
+11
-4
python_3.9.def
python_3.9.def
+11
-4
No files found.
python_3.9.def
View file @
1c716329
...
...
@@ -17,6 +17,8 @@ mkdir ${SINGULARITY_ROOTFS}/data
/home/valentinv/Documents/GitLab/gadpipeline/common/GeneralTools.py /data/
/home/valentinv/Documents/GitLab/gadpipeline/common/LabkeyTools.py /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/
%post
sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*
...
...
@@ -30,12 +32,16 @@ dnf remove -y python3 && dnf autoremove
# by safety but useless, "python3" not found. The python3 present in /usr/bin in final image is created with python3.9 install, so it is only a dependency ? python3 --version is 3.9.6 alright.
dnf install -y python39
#
copy
non-pip python packages
cp
/data/GeneralTools.py /usr/lib/python3.9/site-packages/
cp
/data/LabkeyTools.py /usr/lib/python3.9/site-packages/
#
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/
# import of LabkeyTools.py in python3 causes error (TabError - indentation). Probably compatibility problem with python2
cp /data/InterTools.py /usr/lib/python3.9/site-packages/
mv /data/InterTools.py /usr/lib/python3.9/site-packages/
mv /data/VcfTools.py /usr/lib/python3.9/site-packages/
mv /data/CnvTools.py /usr/lib/python3.9/site-packages/
rmdir /data/
# install python pip packages
pip3.9 install -t /usr/lib/python3.9/site-packages/ labkey
pip3.9 install -t /usr/lib/python3.9/site-packages/ numpy
pip3.9 install -t /usr/lib/python3.9/site-packages/ matplotlib
\ 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