File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11#! /bin/bash
2- VERS=$1
2+ VERS=${1-master}
33YMP_VERS=master
4+ echo " Building Virprof $VERS "
45apptainer build \
56 --force \
67 --build-arg version=$VERS \
Original file line number Diff line number Diff line change @@ -61,9 +61,6 @@ sed -i 's%conda_prefix: .*%conda_prefix: /opt/envs%' \
6161virprof init-test demo
6262cd demo
6363
64- # DEBUG
65- ymp show dir -vvv
66-
6764# Install environments
6865ymp env install \
6966 bbmap \
@@ -84,9 +81,15 @@ ymp env install \
8481 vp_rnaseq_r \
8582 wget
8683
84+ # Install current virprof into virprof_py environment
85+ vp_env=$(ymp env list virprof_py | tail -n 1 | awk '{print $3}')
86+ micromamba install -p $vp_env git
87+ micromamba run -p $vp_env pip install git+https://github.com/seiboldlab/virprof.git@{{version}} --no-deps
88+
8789# Cleanup
90+ cd
8891mamba clean --all
89- rm -rf /root/.cache
92+ rm -rf /root/.cache /root/demo
9093
9194%environment
9295export LC_ALL=C
You can’t perform that action at this time.
0 commit comments