Skip to content

Commit 71a76ab

Browse files
authored
Merge pull request #140 from getwilds/gtf-fix
Fixing a permissions issue in gtf-smash
2 parents 73f1a85 + ba863af commit 71a76ab

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

gtf-smash/Dockerfile_latest

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,11 @@ RUN apt-get update && \
1919
rm -rf /var/lib/apt/lists/*
2020

2121
# Pulling down collapse_annotation.py script from GitHub
22-
RUN wget https://raw.githubusercontent.com/broadinstitute/gtex-pipeline/refs/tags/gtex_v8/gene_model/collapse_annotation.py
22+
WORKDIR /usr/gtf-smash
23+
RUN wget https://raw.githubusercontent.com/broadinstitute/gtex-pipeline/refs/tags/gtex_v8/gene_model/collapse_annotation.py && \
24+
chmod +x collapse_annotation.py
25+
WORKDIR /
26+
ENV PATH="${PATH}:/usr/gtf-smash"
2327

2428
# Installing packages via pip
2529
RUN pip install --no-cache-dir pandas==2.2.3 bx-python==0.13.0

gtf-smash/Dockerfile_v8

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,11 @@ RUN apt-get update && \
1919
rm -rf /var/lib/apt/lists/*
2020

2121
# Pulling down collapse_annotation.py script from GitHub
22-
RUN wget https://raw.githubusercontent.com/broadinstitute/gtex-pipeline/refs/tags/gtex_v8/gene_model/collapse_annotation.py
22+
WORKDIR /usr/gtf-smash
23+
RUN wget https://raw.githubusercontent.com/broadinstitute/gtex-pipeline/refs/tags/gtex_v8/gene_model/collapse_annotation.py && \
24+
chmod +x collapse_annotation.py
25+
WORKDIR /
26+
ENV PATH="${PATH}:/usr/gtf-smash"
2327

2428
# Installing packages via pip
2529
RUN pip install --no-cache-dir pandas==2.2.3 bx-python==0.13.0

0 commit comments

Comments
 (0)