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
e73f02c9
Commit
e73f02c9
authored
1 year ago
by
Blaise Li
Browse files
Options
Downloads
Patches
Plain Diff
Prefix for test install in singularity Makefile.
parent
54d37c8f
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/Makefile
+16
-0
16 additions, 0 deletions
singularity/Makefile
with
16 additions
and
0 deletions
singularity/Makefile
+
16
−
0
View file @
e73f02c9
...
...
@@ -4,6 +4,10 @@ ifeq ($(PREFIX),)
PREFIX
:=
/opt/bioinfo_utils
endif
ifeq
($(TEST_PREFIX),)
TEST_PREFIX
:=
/opt/test_bioinfo_utils
endif
all
:
run_pipeline
install
:
run_pipeline run_pipeline.sh workflows_shell.sh
...
...
@@ -17,6 +21,18 @@ install: run_pipeline run_pipeline.sh workflows_shell.sh
done
ln
-sfn
$(
PREFIX
)
_
$(
VERSION
)
$(
PREFIX
)
# To test before replacing "prod" version in $(PREFIX)
install_test
:
run_pipeline run_pipeline.sh workflows_shell.sh
install
-d
$(
TEST_PREFIX
)
_
$(
VERSION
)
/bin
install
run_pipeline
$(
TEST_PREFIX
)
_
$(
VERSION
)
/bin/.
install
run_pipeline.sh
$(
TEST_PREFIX
)
_
$(
VERSION
)
/bin/.
install
workflows_shell.sh
$(
TEST_PREFIX
)
_
$(
VERSION
)
/bin/.
for
datatype
in
sRNA-seq small_RNA-seq RNA-seq GRO-seq PRO-seq Degradome-seq Ribo-seq iCLIP-seq iCLIP
;
\
do
\
ln
-sf
$(
TEST_PREFIX
)
_
$(
VERSION
)
/bin/run_pipeline.sh
$(
TEST_PREFIX
)
_
$(
VERSION
)
/bin/run_
$${
datatype
}
_pipeline
;
\
done
ln
-sfn
$(
TEST_PREFIX
)
_
$(
VERSION
)
$(
TEST_PREFIX
)
# TODO: Bind home on temporary directory at build time in order to decrease "pollution" risks?
# Should depend on the rest of the repository.
run_pipeline
:
run_pipeline.def workflows_base.sif
...
...
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