Skip to content

Commit

Permalink
Update .gitpod.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Thiago Genez authored Sep 29, 2023
1 parent 367c751 commit 737deb2
Showing 1 changed file with 31 additions and 1 deletion.
32 changes: 31 additions & 1 deletion .gitpod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,47 @@ image: gitpod/workspace-base

tasks:
- name: wget data and install mamba
command: |
init: |
curl -L -O https://sk13.cog.sanger.ac.uk/Coleoptera_36-way_20230217.hal
curl -L -O "https://github.com/conda-forge/miniforge/releases/latest/download/Mambaforge-$(uname)-$(uname -m).sh"
bash Mambaforge-$(uname)-$(uname -m).sh -b -p /workspace/conda && rm Mambaforge-$(uname)-$(uname -m).sh
/workspace/conda/bin/mamba init bash
source ~/.bashrc
mkdir -p /workspace/cactus_install && cd /workspace/cactus_install
mamba create -n cactus_env -c conda-forge gxx_linux-64 hdf5 pip zlib icu lxml -y
mamba activate cactus_env
git clone https://github.com/ComparativeGenomicsToolkit/cactus.git --recursive
cd cactus
pip install -U .
pip install -U -r ./toil-requirement.txt
export LD_LIBRARY_PATH=/workspace/conda/envs/cactus_env/lib/:$LD_LIBRARY_PATH
export C_INCLUDE_PATH=/workspace/conda/envs/cactus_env/include
export CPLUS_INCLUDE_PATH=/workspace/conda/envs/cactus_env/include
make -j 8
command: |
/workspace/conda/bin/mamba init bash
echo 'export LD_LIBRARY_PATH=/workspace/conda/envs/cactus_env/lib/:$LD_LIBRARY_PATH;
export C_INCLUDE_PATH=/workspace/conda/envs/cactus_env/include;
export CPLUS_INCLUDE_PATH=/workspace/conda/envs/cactus_env/include;
export PATH=/workspace/cactus_install/cactus/bin:$PATH' >> ~/.bashrc
source ~/.bashrc
conda activate cactus_env
vscode:
extensions:
- anwar.papyrus-pdf

workspaceLocation: "/workspace"


github:
prebuilds:
# enable for the master/default branch (defaults to true)
Expand Down

0 comments on commit 737deb2

Please sign in to comment.