Skip to content

Commit 3419de6

Browse files
authored
Merge pull request #109 from rasools/OMICSINT_H24
Add session_ml_deep_learning_integration_amd workflow
2 parents d44acaa + 3a1ebbb commit 3419de6

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

session_ml/DeepLearningDataIntegration/Dockerfile

+9-8
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,15 @@ USER root
1414
RUN apt-get update && apt-get install curl -y --no-install-recommends && \
1515
apt-get clean && rm -rf /var/lib/apt/lists/*
1616

17-
# Clone the repository and checkout only .txt files from the DeepLearningDataIntegration folder
18-
RUN git clone --depth=1 --filter=blob:none --sparse https://github.com/NBISweden/workshop_omics_integration.git /tmp/repo && \
19-
cd /tmp/repo && \
20-
git sparse-checkout init --cone && \
21-
git sparse-checkout set session_ml/DeepLearningDataIntegration && \
22-
find session_ml/DeepLearningDataIntegration -name "*.txt" -exec mv {} /home/jovyan/lab/data/ \; && \
23-
rm -rf /tmp/repo
24-
17+
# Create data directory
18+
RUN mkdir -p /home/jovyan/lab/data
19+
20+
# Download specific .txt files from GitHub
21+
RUN curl -L https://github.com/NBISweden/workshop_omics_integration/blob/main/session_ml/DeepLearningDataIntegration/scATACseq.txt -o /home/jovyan/lab/data/scATACseq.txt && \
22+
curl -L https://github.com/NBISweden/workshop_omics_integration/blob/main/session_ml/DeepLearningDataIntegration/scBSseq.txt -o /home/jovyan/lab/data/scBSseq.txt && \
23+
curl -L https://github.com/NBISweden/workshop_omics_integration/blob/main/session_ml/DeepLearningDataIntegration/scRNAseq.txt -o /home/jovyan/lab/data/scRNAseq.txt && \
24+
curl -L https://github.com/NBISweden/workshop_omics_integration/blob/main/session_ml/DeepLearningDataIntegration/scRNAseq.txt -o /home/jovyan/lab/data/scRNAseq_CITEseq.txt
25+
2526
# Install pip requirements as root
2627
RUN pip install --no-cache-dir -r /tmp/requirements.txt
2728

0 commit comments

Comments
 (0)