-
Notifications
You must be signed in to change notification settings - Fork 10
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 #193 from Artur-man/main
push to dev
- Loading branch information
Showing
10 changed files
with
191 additions
and
127 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 |
---|---|---|
|
@@ -6,4 +6,6 @@ git | |
dev | ||
^.github$ | ||
^index\.md$ | ||
^LICENSE\.md$ | ||
^LICENSE\.md$ | ||
Dockerfile | ||
environment.yml |
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 |
---|---|---|
|
@@ -148,8 +148,6 @@ jobs: | |
# All Other dependencies | ||
- name: Install Suggested dependencies | ||
run: | | ||
install.packages(c('reticulate')) | ||
BiocManager::install(c('basilisk')) | ||
BiocManager::install(c('DelayedArray')) | ||
BiocManager::install(c('HDF5Array')) | ||
remotes::install_github('bnprks/BPCells/[email protected]') | ||
|
@@ -183,3 +181,9 @@ jobs: | |
check_dir = "check" | ||
) | ||
shell: Rscript {0} | ||
|
||
# All Other dependencies | ||
- name: Install other Suggested dependencies | ||
run: | | ||
install.packages(c('reticulate')) | ||
BiocManager::install(c('basilisk')) |
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 |
---|---|---|
|
@@ -6,12 +6,28 @@ RUN apt-get update | |
RUN apt-get install -y libgdal-dev libfftw3-dev libmagick++-dev cmake libhdf5-dev git libopencv-dev libopencv-features2d-dev | ||
RUN apt-get install -y libssl-dev libcurl4-openssl-dev libgit2-dev libxml2-dev libfontconfig1-dev libharfbuzz-dev libfribidi-dev libfreetype6-dev libpng-dev libtiff5-dev libjpeg-dev libz-dev | ||
|
||
# build conda | ||
RUN ls | ||
RUN wget https://github.com/conda-forge/miniforge/releases/download/24.11.2-1/Miniforge3-Linux-aarch64.sh | ||
RUN bash Miniforge3-Linux-aarch64.sh -b | ||
SHELL ["/bin/bash", "-c"] | ||
RUN /root/miniforge3/bin/conda init | ||
RUN source /root/.bashrc | ||
|
||
# build voltron env | ||
ADD environment.yml environment.yml | ||
RUN /root/miniforge3/bin/conda env create -f environment.yml | ||
|
||
# OpenCV | ||
RUN git clone https://github.com/opencv/opencv.git | ||
RUN git clone https://github.com/opencv/opencv_contrib.git | ||
RUN wget https://github.com/opencv/opencv/archive/refs/tags/4.8.1.zip | ||
RUN unzip 4.8.1.zip | ||
RUN rm 4.8.1.zip | ||
RUN wget https://github.com/opencv/opencv_contrib/archive/refs/tags/4.8.1.zip | ||
RUN unzip 4.8.1.zip | ||
RUN rm 4.8.1.zip | ||
RUN mkdir build | ||
WORKDIR "build" | ||
RUN cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D INSTALL_C_EXAMPLES=ON -D INSTALL_PYTHON_EXAMPLES=ON -D OPENCV_GENERATE_PKGCONFIG=ON -D OPENCV_EXTRA_MODULES_PATH=../opencv_contrib/modules/ -D BUILD_opencv_xfeatures2d=ON ../opencv/ | ||
RUN cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D INSTALL_C_EXAMPLES=ON -D INSTALL_PYTHON_EXAMPLES=ON -D OPENCV_GENERATE_PKGCONFIG=ON -D OPENCV_EXTRA_MODULES_PATH=../opencv_contrib-4.8.1/modules/ -D BUILD_opencv_xfeatures2d=ON ../opencv-4.8.1/ | ||
RUN make -j5 | ||
RUN make install | ||
RUN sh -c 'echo "/usr/local/lib" > /etc/ld.so.conf.d/opencv.conf' | ||
|
@@ -27,7 +43,6 @@ RUN R -e "BiocManager::install(c('EBImage', 'S4Arrays'))" | |
|
||
# Install Suggested dependencies | ||
RUN R -e "install.packages(c('reticulate'))" | ||
RUN R -e "BiocManager::install(c('basilisk'))" | ||
RUN R -e "BiocManager::install(c('DelayedArray'))" | ||
RUN R -e "BiocManager::install(c('HDF5Array'))" | ||
RUN R -e "remotes::install_github('bnprks/BPCells/[email protected]')" | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: voltron | ||
channels: | ||
- bioconda | ||
- conda-forge | ||
dependencies: | ||
- python==3.10.14 | ||
- numpy==1.* | ||
- pandas==1.* | ||
- anndata==0.8.* | ||
#- anndata==0.7.* | ||
- h5py==3.* | ||
- hdf5==1.* | ||
- natsort==7.* | ||
- packaging==20.* | ||
- scipy==1.* | ||
- sqlite==3.* | ||
- zarr==2.* | ||
- numcodecs==0.* | ||
- tifffile==2024.2.12 | ||
- pip | ||
- pip: | ||
- ome-zarr==0.2.1 |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.