Skip to content

Commit

Permalink
update install.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Ubuntu committed Oct 10, 2024
1 parent 8c2046b commit 8797dbc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
8 changes: 6 additions & 2 deletions pipelines/fq2sortedbam/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,16 @@ WORKDIR Open-Omics-Acceleration-Framework/pipelines/fq2sortedbam
#RUN git checkout e4cae79

RUN bash install.sh onprem
RUN echo "source ./miniforge3/bin/activate fq2bam" > ~/.bashrc
RUN ln -s ./miniforge3 /opt/miniforge3
ENV PATH=/opt/miniforge3/bin/:$PATH
RUN echo "source /opt/miniforge3/bin/activate fq2bam" >> ~/.bashrc
ENV source ~/.bashrc
#RUN /bin/bash -c "opt/miniforge3/bin/activate fq2bam"

RUN mkdir /input
RUN mkdir /out
RUN mkdir /refdir
RUN mkdir /tempdir

CMD bash
CMD ["/bin/bash"]

6 changes: 3 additions & 3 deletions pipelines/fq2sortedbam/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ fi

echo "Downloading and setting up miniconda..."
[[ ! -e "Miniforge3-24.3.0-0-Linux-x86_64.sh" ]] && wget https://github.com/conda-forge/miniforge/releases/download/24.3.0-0/Miniforge3-24.3.0-0-Linux-x86_64.sh
bash ./Miniforge3-24.3.0-0-Linux-x86_64.sh -u -b -p ./miniforge3
bash ./Miniforge3-24.3.0-0-Linux-x86_64.sh -u -b -p ~/miniforge3

echo "Setting up conda env named with given argument"
./miniforge3/bin/conda env create --name fq2bam -f environment.yml
~/miniforge3/bin/conda env create --name fq2bam -f environment.yml
echo "Setting up conda env named new_env...DONE"

echo "Activating conda env..."
source ./miniforge3/bin/activate fq2bam
source ~t /miniforge3/bin/activate fq2bam

#echo "Downloading and setting up miniconda..."
#if [ ! -e "Miniconda3-py39_23.3.1-0-Linux-x86_64.sh" ]
Expand Down

0 comments on commit 8797dbc

Please sign in to comment.