Skip to content

Commit

Permalink
Add session_ml_deep_learning_integration_amd workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
rasools committed Sep 13, 2024
1 parent 3419de6 commit d8c0e5b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions session_ml/DeepLearningDataIntegration/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ USER root
RUN apt-get update && apt-get install curl -y --no-install-recommends && \
apt-get clean && rm -rf /var/lib/apt/lists/*

# Create data directory
RUN mkdir -p /home/jovyan/lab/data
# Clone the repository and checkout only .txt files from the DeepLearningDataIntegration folder
RUN git clone --depth=1 --filter=blob:none --sparse https://github.com/NBISweden/workshop_omics_integration.git /tmp/repo && \
cd /tmp/repo && \
git sparse-checkout init --cone && \
git sparse-checkout set session_ml/DeepLearningDataIntegration && \
find session_ml/DeepLearningDataIntegration -name "*.txt" -exec mv {} /home/jovyan/lab/data/ \; && \
rm -rf /tmp/repo

# Download specific .txt files from GitHub
RUN curl -L https://github.com/NBISweden/workshop_omics_integration/blob/main/session_ml/DeepLearningDataIntegration/scATACseq.txt -o /home/jovyan/lab/data/scATACseq.txt && \
curl -L https://github.com/NBISweden/workshop_omics_integration/blob/main/session_ml/DeepLearningDataIntegration/scBSseq.txt -o /home/jovyan/lab/data/scBSseq.txt && \
curl -L https://github.com/NBISweden/workshop_omics_integration/blob/main/session_ml/DeepLearningDataIntegration/scRNAseq.txt -o /home/jovyan/lab/data/scRNAseq.txt && \
curl -L https://github.com/NBISweden/workshop_omics_integration/blob/main/session_ml/DeepLearningDataIntegration/scRNAseq.txt -o /home/jovyan/lab/data/scRNAseq_CITEseq.txt

# Install pip requirements as root
RUN pip install --no-cache-dir -r /tmp/requirements.txt

Expand Down

0 comments on commit d8c0e5b

Please sign in to comment.