Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
bioinfo_utils
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Blaise LI
bioinfo_utils
Commits
795c27e3
Commit
795c27e3
authored
5 years ago
by
Blaise Li
Browse files
Options
Downloads
Patches
Plain Diff
Install dependencies using requirements.txt
parent
daef0163
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
singularity/run_pipeline.def
+15
-14
15 additions, 14 deletions
singularity/run_pipeline.def
with
15 additions
and
14 deletions
singularity/run_pipeline.def
+
15
−
14
View file @
795c27e3
...
...
@@ -95,20 +95,21 @@ From:python:3.7-buster
#git clone --recurse-submodules https://gitlab+deploy-token-75:sakyTxfe-PxPHDwqsoGm@gitlab.pasteur.fr/bli/bioinfo_utils.git
git clone https://gitlab+deploy-token-75:sakyTxfe-PxPHDwqsoGm@gitlab.pasteur.fr/bli/bioinfo_utils.git
cd bioinfo_utils
git submodule update --init --remote --merge
has_requirements=$(find . -name requirements.txt -print | xargs dirname)
# Needed for scipy (https://stackoverflow.com/a/58534155/1878788)
# No, does not solve the issue...
# apt install -y gfortran
for dir in ${has_requirements}
do
(cd ${dir} && pip install -r requirements.txt)
done
has_install=$(find . -name install.sh -print | xargs dirname | grep -v "Nim" | grep -v "Haskell")
for dir in ${has_install}
do
(cd ${dir} && ./install.sh)
done
pip install -r requirements.txt
#git submodule update --init --remote --merge
#has_requirements=$(find . -name requirements.txt -print | xargs dirname)
## Needed for scipy (https://stackoverflow.com/a/58534155/1878788)
## No, does not solve the issue...
## apt install -y gfortran
#for dir in ${has_requirements}
#do
# (cd ${dir} && pip install -r requirements.txt)
#done
#has_install=$(find . -name install.sh -print | xargs dirname | grep -v "Nim" | grep -v "Haskell")
#for dir in ${has_install}
#do
# (cd ${dir} && ./install.sh)
#done
%environment
export LC_ALL=C
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment