-
Notifications
You must be signed in to change notification settings - Fork 7
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
fa8a531
commit 1fbe7cf
Showing
31 changed files
with
359 additions
and
154 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
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 |
---|---|---|
|
@@ -16,3 +16,4 @@ | |
/main/data/gene_info.csv | ||
/main/data/Repurposing_Hub_Preproc.tsv | ||
/main/microarray.db | ||
/main/data/config_sheets/* |
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,27 +1,35 @@ | ||
FROM jupyter/r-notebook:latest | ||
FROM jupyter/r-notebook:latest as builder | ||
|
||
COPY /environment.yaml "${HOME}/environment.yaml" | ||
COPY --chown=1000:100 main "${HOME}"/main | ||
COPY environment.yaml "${HOME}/environment.yaml" | ||
COPY --chown=1000:100 main "${HOME}/main" | ||
|
||
# Install python-related items | ||
# Remove "python" from the pinned file so we can install our own version | ||
RUN sed -i '/^python/d' /opt/conda/conda-meta/pinned && \ | ||
echo "auto_activate_base: true" >> "${HOME}/.condarc" && \ | ||
conda config --quiet --add channels conda-forge && \ | ||
conda config --quiet --add channels bioconda && \ | ||
conda config --quiet --add channels r && \ | ||
# Update base environment | ||
mamba env update --name=base --file="${HOME}/environment.yaml" && \ | ||
R -e "devtools::install_github('babessell1/zFPKM')" && \ | ||
# Trust the jupyter notebook | ||
jupyter trust "${HOME}/main/COMO.ipynb" && \ | ||
echo "c.ServerApp.ip = '0.0.0.0'" >> "${HOME}/.jupyter/jupyter_notebook_config.py" && \ | ||
echo "c.ServerApp.root_dir = '${HOME}/main'" >> "${HOME}/.jupyter/jupyter_notebook_config.py" && \ | ||
echo "c.ServerApp.token = ''" >> "${HOME}/.jupyter/jupyter_notebook_config.py" && \ | ||
echo "c.ServerApp.password = ''" >> "${HOME}/.jupyter/jupyter_notebook_config.py" && \ | ||
# Purge cache information, reducing image size | ||
conda config --quiet --add channels conda-forge && \ | ||
conda config --quiet --add channels bioconda && \ | ||
conda config --quiet --add channels r && \ | ||
rm -rf "${HOME}/main/tests" # Remove tests, they are not required for running COMO | ||
|
||
# Update base environment | ||
RUN ls "${HOME}" && \ | ||
mamba env update --name=base --file="${HOME}/environment.yaml" && \ | ||
R -e "devtools::install_github('babessell1/zFPKM')" && \ | ||
pip cache purge && \ | ||
conda clean --all --yes --force-pkgs-dirs && \ | ||
rm -f "${HOME}/environment.yaml" | ||
mamba clean --all --yes | ||
|
||
FROM jupyter/r-notebook:latest | ||
|
||
COPY --from=builder ${HOME} ${HOME} | ||
|
||
RUN pip cache purge && \ | ||
conda clean --all --yes | ||
|
||
EXPOSE 8888 | ||
VOLUME /home/joyvan/main/data/local_files |
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
Binary file not shown.
Binary file not shown.
File renamed without changes.
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,92 @@ | ||
Abbreviation | ||
D_LACtm | ||
HEX1 | ||
FBP | ||
PFK | ||
FBA2 | ||
GAPD | ||
PGI | ||
PGK | ||
ENO | ||
PGM | ||
PGMT | ||
TPI | ||
PYK | ||
LDH_L | ||
PDHm | ||
PEPCK | ||
PEPCKm | ||
r0354 | ||
r0355 | ||
G6PPer | ||
G3PD2m | ||
CSm | ||
ACONTm | ||
ICDHxm | ||
ICDH_m | ||
AKGDm | ||
SUCD1m | ||
FUMm | ||
MDHm | ||
SUCOAS1m | ||
SUCOASm | ||
ACITL | ||
ACCOAC | ||
ADRNCPT1 | ||
C160CPT1 | ||
C161CPT1 | ||
C161CPT12 | ||
CLPNDCPT1 | ||
DCSPTN1CPT1 | ||
DLNLCGCPT1 | ||
EICOSTETCPT1 | ||
ELAIDCPT1 | ||
LNELDCCPT1 | ||
LNLCCPT1 | ||
LNLNCACPT1 | ||
LNLNCGCPT1 | ||
STRDNCCPT1 | ||
TETPENT3CPT1 | ||
TETPENT6CPT1 | ||
TETTET6CPT1 | ||
TMNDNCCPT1 | ||
CATC140_c | ||
HMR_2602 | ||
HMR_2608 | ||
HMR_2611 | ||
HMR_2620 | ||
HMR_2633 | ||
HMR_2648 | ||
HMR_2651 | ||
HMR_2657 | ||
HMR_2660 | ||
HMR_2666 | ||
HMR_2669 | ||
HMR_2675 | ||
HMR_2681 | ||
HMR_2684 | ||
HMR_2687 | ||
HMR_2690 | ||
HMR_2693 | ||
HMR_2699 | ||
HMR_2702 | ||
HMR_2705 | ||
HMR_2708 | ||
HMR_2711 | ||
HMR_2733 | ||
HMR_2736 | ||
HMR_2739 | ||
HMR_2768 | ||
HMR_2771 | ||
HMR_2774 | ||
ATPS4mi | ||
CYOOm2i | ||
CYOR_u10mi | ||
NADH2_u10mi | ||
CYOOm3i | ||
FADH2ETC | ||
GLYC3PFADm | ||
PGL | ||
GNDc | ||
G6PDH2c | ||
r0249 |
Oops, something went wrong.