-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #235 from lcdb/v1.5.3.rc
V1.5.3.rc
- Loading branch information
Showing
18 changed files
with
215 additions
and
198 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,14 @@ | ||
#!/bin/bash | ||
set -e | ||
|
||
WORKSPACE=`pwd` | ||
MINICONDA_VER=4.3.21 | ||
|
||
# Set path | ||
echo "export PATH=$WORKSPACE/miniconda/bin:$PATH" >> $BASH_ENV | ||
source $BASH_ENV | ||
|
||
if ! type conda > /dev/null; then | ||
apt install -y locales-all locales | ||
export LC_ALL=en_US.utf8 | ||
export LANG=en_US.utf8 | ||
if ! conda env list | grep -q "lcdb-wf-test"; then | ||
echo "Setting up conda..." | ||
|
||
# setup conda if not loaded from cache | ||
mkdir -p $WORKSPACE | ||
|
||
# step 1: download and install miniconda | ||
if [[ $OSTYPE == darwin* ]]; then | ||
tag="MacOSX" | ||
elif [[ $OSTYPE == linux* ]]; then | ||
tag="Linux" | ||
else | ||
echo "Unsupported OS: $OSTYPE" | ||
exit 1 | ||
fi | ||
curl -L -o miniconda.sh https://repo.continuum.io/miniconda/Miniconda3-$MINICONDA_VER-$tag-x86_64.sh | ||
bash miniconda.sh -b -p $WORKSPACE/miniconda | ||
|
||
conda config --system --add channels defaults | ||
conda config --system --add channels bioconda | ||
conda config --system --add channels conda-forge | ||
|
||
# After SSHing in, for some reason this seems to fix it... | ||
#conda install -y r-base=3.4.1 bioconductor-genomeinfodbdata bioconductor-annotationhub | ||
conda update -y conda | ||
conda create -n lcdb-wf-test -y --file requirements.txt | ||
yum install -y git | ||
fi | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.