-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
73e4eb0
commit 5414112
Showing
1 changed file
with
16 additions
and
7 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,24 @@ | ||
tasks: | ||
- name: Setup Conda Environment | ||
init: | | ||
# Set up paths and environment variables | ||
export PATH=$PATH:/home/gitpod/.pyenv/versions/3.12.6/bin | ||
export PATH=$PATH:~/mirtop_env/bin | ||
echo "export PATH=\$PATH:~/mirtop_env/bin" >> ~/.bashrc | ||
echo "export PATH=\$PATH:/home/gitpod/.pyenv/versions/3.12.6/bin" >> ~/.bashrc | ||
wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O ~/miniconda.sh | ||
bash ~/miniconda.sh -b -p ~/mirtop_env | ||
bash ~/miniconda.sh -b -p ~/miniconda3 | ||
export PATH="$HOME/miniconda3/bin:$PATH" | ||
echo "export PATH=\$PATH:$HOME/miniconda3/bin" >> ~/.bashrc | ||
conda config --set ssl_verify false # For Gitpod compatibility | ||
conda install anaconda-client -y | ||
conda install -c bioconda samtools pybedtools -y | ||
# Create a new Conda environment with Python 3.12 and install packages | ||
conda create -y -n mirtop_env python=3.12 | ||
source activate mirtop_env | ||
conda install -y -c bioconda samtools pybedtools | ||
pip install pytest pyyaml six pysam pandas biopython | ||
# Make the environment available on startup | ||
echo "source activate mirtop_env" >> ~/.bashrc | ||
command: | | ||
python setup.py develop | ||
# Ensure the environment is activated and run the setup command | ||
source activate mirtop_env | ||
python setup.py develop |