Skip to content

Commit

Permalink
Switch docker image to nvscorevariants Python environment
Browse files Browse the repository at this point in the history
  • Loading branch information
droazen committed Oct 21, 2022
1 parent 643fa70 commit 55d88f8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,10 @@ ENV CLASSPATH /gatk/gatk.jar:$CLASSPATH
WORKDIR /gatk
RUN chmod -R a+rw /gatk
ENV PATH $CONDA_PATH/envs/gatk/bin:$CONDA_PATH/bin:$PATH
RUN conda env create -n gatk -f /gatk/gatkcondaenv.yml && \
echo "source activate gatk" >> /gatk/gatkenv.rc && \
RUN conda env create -n nvscorevariants -f /gatk/nvscorevariants_environment.yml && \
echo "source activate nvscorevariants" >> /gatk/gatkenv.rc && \
echo "source /gatk/gatk-completion.sh" >> /gatk/gatkenv.rc && \
echo "echo This docker image is specially built as a pre-release preview image for running the new GATK tool NVScoreVariants, and comes with a Python environment specific to that tool. Other Python-based GATK tools cannot be run using this image: use the official GATK release images instead." >> /gatk/gatkenv.rc && \
conda clean -afy && \
find /opt/miniconda/ -follow -type f -name '*.a' -delete && \
find /opt/miniconda/ -follow -type f -name '*.pyc' -delete && \
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,7 @@ task collectBundleIntoDir(type: Copy) {
}

from("$buildDir/$pythonPackageArchiveName")
from("$buildDir/$gatkCondaYML")
from("scripts/nvscorevariants_environment.yml")
from("scripts/sv", { into("scripts/sv") })
from("scripts/cnv_wdl/", { into("scripts/cnv_wdl") })
from("scripts/mutect2_wdl/", { into("scripts/mutect2_wdl") })
Expand Down
1 change: 1 addition & 0 deletions scripts/nvscorevariants_environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ dependencies:
- pytorch-lightning
- biopython
- pysam
- gatkPythonPackageArchive.zip

0 comments on commit 55d88f8

Please sign in to comment.