Skip to content

Commit

Permalink
fix(cbio): monkeypatch vcf2maf to remove deprecated --af_esp flag
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlougheed committed Apr 4, 2024
1 parent 1e6841f commit 5f88ee2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ FROM --platform=$BUILDPLATFORM debian:bullseye-slim AS downloaded-deps
SHELL ["/bin/bash", "-c"]

# Install VCF2MAF
# - support VEP v107+ by patching vcf2maf to remove references to removed --af_esp option
# TODO: I don't like /opt as a home for these

WORKDIR /tmp/vcf2maf
Expand All @@ -15,6 +16,7 @@ RUN apt-get update -y && \
mv "vcf2maf-${VCF2MAF_VERSION}" vcf2maf && \
mkdir -p /opt/data && \
cp vcf2maf/*.pl /opt && \
sed '/ --af_esp/d' /opt/vcf2maf.pl && \
cp -r vcf2maf/data /opt/data && \
rm -rf vcf2maf

Expand Down
2 changes: 2 additions & 0 deletions dev.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ FROM --platform=$BUILDPLATFORM debian:bullseye-slim AS downloaded-deps
SHELL ["/bin/bash", "-c"]

# Install VCF2MAF
# - support VEP v107+ by patching vcf2maf to remove references to removed --af_esp option
# TODO: I don't like /opt as a home for these

WORKDIR /tmp/vcf2maf
Expand All @@ -15,6 +16,7 @@ RUN apt-get update -y && \
mv "vcf2maf-${VCF2MAF_VERSION}" vcf2maf && \
mkdir -p /opt/data && \
cp vcf2maf/*.pl /opt && \
sed '/ --af_esp/d' /opt/vcf2maf.pl && \
cp -r vcf2maf/data /opt/data && \
rm -rf vcf2maf

Expand Down

0 comments on commit 5f88ee2

Please sign in to comment.